crew fails to build on Solaris

Giorgos Keramidas keramida at ceid.upatras.gr
Thu Oct 11 13:50:38 UTC 2007


The crew repository no longer builds on Solaris 10:

% s10:/home/gker/hg/mercurial/build> sudo python setup.py install
% [...]
% building 'mercurial.osutil' extension
% cc -DNDEBUG -O -xcode=pic32 -I/opt/local/include/python2.4 \
%   -c mercurial/osutil.c -o build/temp.solaris-2.10-i86pc-2.4/mercurial/osutil.o
% cc: Warning: illegal option -xcode=pic32
% "mercurial/osutil.c", line 191: undefined struct/union member: dd_fd
% cc: acomp failed for mercurial/osutil.c
% error: command 'cc' failed with exit status 2
% s10:/home/gker/hg/mercurial/build> hg tip
% changeset:   5453:9d77f2b47eb7
% tag:         tip
% user:        Benoit Boissinot <benoit.boissinot at ens-lyon.org>
% date:        Thu Oct 11 12:16:55 2007 +0200
% summary:     fix UnboundLocalError, refactor a bit
%
% s10:/home/gker/hg/mercurial/build>

Where is AT_SYMLINK_NOFOLLOW defined during the build process of
Mercurial?  I can't find any obvious location by grepping...

% s10:/home/gker/hg/mercurial/build> ggrep -r AT_SYMLINK_NOFOLLOW .
% ./mercurial/osutil.c:#ifdef AT_SYMLINK_NOFOLLOW
% ./mercurial/osutil.c:#ifdef AT_SYMLINK_NOFOLLOW
% ./mercurial/osutil.c:           ret = fstatat(dfd, name, stp, AT_SYMLINK_NOFOLLOW);
% s10:/home/gker/hg/mercurial/build>




More information about the Mercurial-devel mailing list