Summary: | dev-libs/gnome-build-0.3.0: compile failure (field ‘reg’ has incomplete type) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | 5FBCDB43 |
Component: | [OLD] GNOME | Assignee: | Saleem Abdulrasool (RETIRED) <compnerd> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cbm, kanelxake, mathieu.segaud |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 225459 | ||
Attachments: |
Build log
patched ebuild |
Description
5FBCDB43
2008-06-08 21:02:43 UTC
Created attachment 156005 [details]
Build log
which version of glib and gdl do you have ? I am also running into this same build error. glib 2.16.3 and 1.2.10-r5 gdl 0.7.11 The same here with dev-libs/glib-2.16.3 and dev-libs/gdl-0.7.11. Looks like glibc 2.8 breakage :) yay phun! Same here also glibc-2.8_p20080602 installed I've got the same libs and the same problem. http://blog.flameeyes.eu/articles/2008/06/09/recognising-glibc-2-8-failures lists it as a usual problem with glibc 2.8 Adding "append-flags -D_GNU_SOURCE" to the ebuild didn't help. And I don't know how to add limits.h (which one or where to add). Any ideas? Not maintained by gnome. Created attachment 156483 [details]
patched ebuild
This is the ebuild I used to install gnome-build.
Your patched ebuild worked for me, too. It was (nearly) identical to the one I made for myself and reported not to work. My fault: I added the "append-flags -D_GNU_SOURCE", but forgot the "inherit flag-o-matic". Doesn't work without it. Kristiaan Lenaerts' fixed ebuild in comment #9 makes it work for me! (In reply to comment #11) > Kristiaan Lenaerts' fixed ebuild in comment #9 makes it work for me! > as dev-zero pointed out about the same issue on freeradius, this works, but, in the long-run, this is not the way to do this. Better to provide an ebuild that explicitly patch configure.(in|ac) to have it do the job it should do. Because this problem is independant on Gentoo as soon as glibc 2.8 is used by other distros. Ok, I've added a even simpler patch to append the flag. Next versions of gnome-build won't need this hack because the offending code has just been completely removed. I wanted to backport the patch but it was just too big. Fixed in portage without a revbump. Thanks |