| Summary: | dev-libs/glib-2.26.1 fails to build if util-linux is already built | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Mounir Lamouri (volkmar) (RETIRED) <volkmar> |
| Component: | Mac OSX | Assignee: | Gentoo Prefix <prefix> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | OS X | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
Mounir Lamouri (volkmar) (RETIRED)
2011-01-06 16:57:54 UTC
Created attachment 259085 [details]
build.log
FWIW, I tried with 2.24.1-r1 and I got the same failure. hmm, I have dev-libs/glib-2.26.1 installed here Shouldn't the uuid.h from MacOS X be used? It looks like no headers from OS X are used. If I force the usage of /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/ to be added in the include path, I got another error (which let me think, other directories should be included). Maybe uuid.h could come from the prefix but I don't see from which package then... uuid.h comes from /usr/include/uuid/uuid.h on my 10.5/ppc system where I also have 2.26.1 installed. Previous report was from a 10.4/ppc system. I have dev-libs/glib-2.24.1-r1 installed on 10.5/i686 and 10.5/x86_64 Indeed, my bad. I have $EPREFIX/usr/include/uuid/uuid.h from sys-apps/util-linux. Is it working with 10.6 for you? uuid.h doesn't have uuid_string_t defined and I guess that's the same for you so maybe my system tries to include something that isn't compatible with this version of util-linux? I'm just trying to drop ideas... Interesting: I removed util-linux and then glib is emerging. By any chance, can you merge glib with util-linux already installed? hmmm, interesting, so uuid from util-linux actually breaks on Darwin. (In reply to comment #9) > hmmm, interesting, so uuid from util-linux actually breaks on Darwin. Yes, it's obviously different from the uuid.h bundled in MacOS X. Ok, I checked this, and it seems Snow Leopard for the first time references uuid stuff from /usr/include/hfs/hfs_format.h. Older versions have uuid in libc, but insufficient for libblkid for example. For this reason, I disabled building libuuid on Snow Leopard for now, but I'm not sure if the system provided uuid is sufficient there. |