| Summary: | app-text/ghostscript-gpl-9.04-r3 build failure - conflicting types for ‘recvmmsg’ | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Richard Freeman <rich0> |
| Component: | Current packages | Assignee: | Printing Team <printing> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | curious, jstein, toolchain |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build log
gzip build log emerge --info log with reduced CFLAGS |
||
|
Description
Richard Freeman
2011-09-27 14:51:03 UTC
Created attachment 287937 [details]
build log
Created attachment 287939 [details]
gzip build log
Created attachment 287941 [details]
emerge --info
(Note that I can reproduce this with simplified CFLAGS.)
Created attachment 287943 [details]
log with reduced CFLAGS
Error is same with reduced cflags.
I suspect the issue lies with a package in @system. During tests building from a stage3 I could reproduce this problem with my CFLAGS and USE flags. If I drop the kerberos USE flag I can build with my CFLAGS, and if I reduce the CFLAGS to something more reasonable I can build with my full USE flags. So, it is the combination of the kerberos USE flag and one of my CFLAGS that causes the problem when building ghostscript-gpl from a stage3. The stage3 build fails on ghostscript-gpl but I'm pretty sure the problem originates from something in @system. Simply building ghostscript-gpl without the kerberos USE flag doesn't fix the issue. Neither does emerge -e ghostscript-gpl, which makes me suspect the problem isn't in a named dependency. The other possibility is a non-system dependency that isn't named somewhere in the dependency graph. In any case, this is obviously pretty obscure - up to you guys whether you want to track it down or close this... In the end I just emerged it from a binary package from a stage3 chroot. Is this still a problem with 9.05? (In reply to comment #6) > Is this still a problem with 9.05? Yup. Builds fine in a chroot. The issue obviously creeps in from some dependency since nothing I do when building gimp seems to matter. i also bumped against this bug. system is plain x86. it happens only on one of machines, but is very stubborn (reemerged world several times since, and bug is still on). tried to manually compile gstoraster.c and stripped various options. it seems it's gcc bug - removing -combine makes it compile. it seems gcc is confused by two .c files given in single commandline , which are mutually interlinked (sharing various includes). in simple words , just compile with CFLAGS="-Os" emerge ghostscript-gpl until gcc will be fixed, and file gcc bug Maybe someone from toolchain could have a look. is the problem still present in 9.10 and 9.15, or can we close the ticked? if it's still present, can you get it to the point where you can go into the build dir and run the gcc command by hand and have it fail ? (In reply to Jonas Stein from comment #11) > is the problem still present in 9.10 and 9.15, or can we close the ticked? |