Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380035 - dev-vcs/mercurial-1.9.1.ebuild emerge fails
Summary: dev-vcs/mercurial-1.9.1.ebuild emerge fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-21 05:34 UTC by kazuhiro
Modified: 2011-08-21 07:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,42.72 KB, text/plain)
2011-08-21 05:41 UTC, kazuhiro
Details
diff and patch (util-linux-2.18-r1.ebuild.diff,350 bytes, patch)
2011-08-21 05:43 UTC, kazuhiro
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kazuhiro 2011-08-21 05:34:21 UTC
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
Comment 1 kazuhiro 2011-08-21 05:41:01 UTC
Created attachment 284087 [details]
build.log
Comment 2 kazuhiro 2011-08-21 05:43:10 UTC
Created attachment 284089 [details, diff]
diff and patch
Comment 3 Fabian Groffen gentoo-dev 2011-08-21 07:52:16 UTC
eh, thanks a lot.  That should have been done long ago.  Committed now!