When I emerge dev-vcs/mercurial-1.9.1, emerge failed src_compile phase. following message is excerpts from build.log. x86_64-apple-darwin11-gcc -O2 -pipe -march=nocona -fno-strict-aliasing -I/Users/kazuhiro/Gentoo/usr/include/python2.7 -c mercurial/osutil.c -o build-2.7/temp.macosx-10.7-x86_64-2.7/mercurial/osutil.o In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h:32, from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:210, from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20, from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21, from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:20, from mercurial/osutil.c:518: /usr/include/hfs/hfs_format.h:786: error: expected specifier-qualifier-list before ‘uuid_string_t’ error: command 'x86_64-apple-darwin11-gcc' failed with exit status 1 [31;01m*[0m ERROR: dev-vcs/mercurial-1.9.1 failed (compile phase): [31;01m*[0m Building failed with CPython 2.7 in distutils_building() function So, I change sys-apps/util-linux-2.18-r1.ebuild as follows: want_libuuid() { # bug #350841, currently only not on OS X Snow Leopard [[ ${CHOST} != *-darwin10 ]] + [[ ${CHOST} != *-darwin11 ]] } src_configure() { Emerge dev-vcs/mercurial-1.9.1 succeeded after reinstall sys-apps/util-linux. Reproducible: Always
Created attachment 284087 [details] build.log
Created attachment 284089 [details, diff] diff and patch
eh, thanks a lot. That should have been done long ago. Committed now!