Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 380373

Summary: =app-text/ghostscript-gpl-9.04-r2 fails to build with USE=cups with =net-print/cups-1.4.8
Product: Gentoo Linux Reporter: Cesko Voeten <cvoeten>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build log

Description Cesko Voeten 2011-08-23 14:18:01 UTC
Fails to build with:

In file included from /usr/include/sys/socket.h:40:0,
                 from /usr/include/cups/http.h:43,
                 from /usr/include/cups/ipp.h:25,
                 from /usr/include/cups/cups.h:34,
                 from /usr/include/cups/raster.h:27,
                 from cups/colord.c:32:
/usr/include/bits/socket.h:429:12: fout: conflicting types for ‘recvmmsg’
/usr/include/bits/socket.h:429:12: note: previous declaration of ‘recvmmsg’ was here
cups/colord.c: In functie ‘gs_spawn’:
cups/gstoraster.c:412:12: let op: ignoring return value of ‘dup’, declared with attribute warn_unused_result
make: *** [bin/gstoraster] Fout 1
emake failed

Reproducible: Always

Steps to Reproduce:
USE=cups emerge app-text/ghostscript-gpl on a fully up to date ~amd64 system



If this is relevant:
$ emerge -p ghostscript-gpl cups

These are the packages that would be merged, in order:

Calculating dependencies        ... done!
[ebuild   R    ] net-print/cups-1.4.8  USE="X acl dbus gnutls jpeg ldap pam png samba ssl threads tiff -debug -java -kerberos -perl -php -python -slp -static-libs -usb -xinetd" LINGUAS="nl -da -de -es -eu -fi -fr -id -it -ja -ko -no -pl -pt -pt_BR -ru -sv -zh -zh_TW" 0 kB                                        
[ebuild   R    ] app-text/ghostscript-gpl-9.04-r2  USE="X cups* dbus djvu -bindist -gtk -idn -jpeg2k -static-libs" LINGUAS="-ja -ko -zh_CN -zh_TW" 0 kB

I had just added cups to USE to work around bug #376379.
Comment 1 Cesko Voeten 2011-08-23 14:18:48 UTC
Created attachment 284363 [details]
emerge --info

Couldn't paste emerge --info as asked to because the comment was too long
Comment 2 Cesko Voeten 2011-08-23 14:21:48 UTC
Created attachment 284365 [details]
build log
Comment 3 Timo Gurr (RETIRED) gentoo-dev 2011-08-24 13:58:10 UTC
-combine is not supported in CFLAGS and support for it was already removed from GCC >=4.6 in favor of LTO. You could report this to ghostscript upstream to get it fixed though.