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.
Created attachment 284363 [details] emerge --info Couldn't paste emerge --info as asked to because the comment was too long
Created attachment 284365 [details] build log
-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.