Opened 11 years ago

Closed 11 years ago

#3860 closed defect (fixed)

[with spkg, positive review] itanium -- can't build mercurial extension

Reported by: was Owned by: mabshoff
Priority: blocker Milestone: sage-3.1
Component: build Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

building 'mercurial.osutil' extension
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/home/wstein/iras/build/sage-3.1.alpha2/local/include/python2.5 -c mercurial/osutil.c -o build/temp.linux-ia64-2.5/mercurial/osutil.o
gcc -pthread -shared build/temp.linux-ia64-2.5/mercurial/osutil.o -o build/lib.linux-ia64-2.5/mercurial/osutil.so
building 'hgext.inotify.linux._inotify' extension
creating build/temp.linux-ia64-2.5/hgext
creating build/temp.linux-ia64-2.5/hgext/inotify
creating build/temp.linux-ia64-2.5/hgext/inotify/linux
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/home/wstein/iras/build/sage-3.1.alpha2/loc
al/include/python2.5 -c hgext/inotify/linux/_inotify.c -o build/temp.linux-ia64-2.5/hgext/inotify/linux/_inotify.o
hgext/inotify/linux/_inotify.c:172: error: ‘IN_ONLYDIR’ undeclared here (not in a function)
hgext/inotify/linux/_inotify.c:173: error: ‘IN_DONT_FOLLOW’ undeclared here (not in a function)
hgext/inotify/linux/_inotify.c:174: error: ‘IN_MASK_ADD’ undeclared here (not in a function)
hgext/inotify/linux/_inotify.c: In function ‘define_consts’:
hgext/inotify/linux/_inotify.c:266: warning: passing argument 3 of ‘define_const’ makes integer from pointer without a
 cast
hgext/inotify/linux/_inotify.c:267: warning: passing argument 3 of ‘define_const’ makes integer from pointer without a
 cast
hgext/inotify/linux/_inotify.c:268: warning: passing argument 3 of ‘define_const’ makes integer from pointer without a
 cast
error: command 'gcc' failed with exit status 1
Error building mercurial

real    0m3.062s
user    0m2.308s
sys     0m0.280s
sage: An error occurred while installing mercurial-1.01.p0

Change History (4)

comment:1 Changed 11 years ago by was

This is on IRAS. It builds fine on Cleo.

comment:2 Changed 11 years ago by mabshoff

  • Status changed from new to assigned
  • Summary changed from itanium -- can't build mercurial extension to [with spkg, needs review] itanium -- can't build mercurial extension

The spkg at

http://sage.math.washington.edu/home/mabshoff/release-cycles-3.1/rc0/mercurial-1.01.p1.spkg

fixes the issue by disabling the inotify extension which is broken on SLES 10 Itanium for some reason.

Cheers,

Michael

comment:3 Changed 11 years ago by was

  • Summary changed from [with spkg, needs review] itanium -- can't build mercurial extension to [with spkg, positive review] itanium -- can't build mercurial extension

comment:4 Changed 11 years ago by mabshoff

  • Resolution set to fixed
  • Status changed from assigned to closed

Merged in Sage 3.1.rc0

Note: See TracTickets for help on using tickets.