pstoraster/gdevcups.c:4033: error: syntax error before ')' token pstoraster/gdevcups.c:4034: warning: left-hand operand of comma expression has no effect pstoraster/gdevcups.c:4058: error: `CUPS_CSPACE_GMCK' undeclared (first use in this function) pstoraster/gdevcups.c:4059: error: `CUPS_CSPACE_GMCS' undeclared (first use in this function) pstoraster/gdevcups.c:4060: error: `CUPS_CSPACE_RGBA' undeclared (first use in this function) pstoraster/gdevcups.c:4061: error: `CUPS_CSPACE_CMYK' undeclared (first use in this function) pstoraster/gdevcups.c:4062: error: `CUPS_CSPACE_YMCK' undeclared (first use in this function) pstoraster/gdevcups.c:4063: error: `CUPS_CSPACE_KCMY' undeclared (first use in this function) pstoraster/gdevcups.c:4064: error: syntax error before ')' token pstoraster/gdevcups.c:4065: warning: left-hand operand of comma expression has no effect pstoraster/gdevcups.c:4089: error: `CUPS_CSPACE_KCMYcm' undeclared (first use in this function) pstoraster/gdevcups.c:4090: error: syntax error before ')' token pstoraster/gdevcups.c:4091: warning: left-hand operand of comma expression has no effect pstoraster/gdevcups.c:4111: error: syntax error before ')' token pstoraster/gdevcups.c:4113: error: syntax error before ')' token pstoraster/gdevcups.c:4116: error: syntax error before ')' token pstoraster/gdevcups.c:4117: warning: left-hand operand of comma expression has no effect pstoraster/gdevcups.c:4171: error: syntax error before ')' token pstoraster/gdevcups.c:4172: warning: left-hand operand of comma expression has no effect pstoraster/gdevcups.c:4226: error: syntax error before ')' token pstoraster/gdevcups.c:4228: error: syntax error before ')' token pstoraster/gdevcups.c:4239: error: syntax error before ')' token pstoraster/gdevcups.c:4239: warning: left-hand operand of comma expression has no effect pstoraster/gdevcups.c:4283: error: syntax error before ')' token pstoraster/gdevcups.c:4283: warning: left-hand operand of comma expression has no effect pstoraster/gdevcups.c:4316: error: syntax error before ')' token pstoraster/gdevcups.c:4327: error: syntax error before ')' token pstoraster/gdevcups.c:4327: error: syntax error before ')' token pstoraster/gdevcups.c: In function `cups_get_params': pstoraster/gdevcups.c:677: warning: value computed is not used pstoraster/gdevcups.c: In function `cups_set_color_info': pstoraster/gdevcups.c:3160: warning: value computed is not used pstoraster/gdevcups.c:3160: warning: value computed is not used pstoraster/gdevcups.c: In function `cups_put_params': pstoraster/gdevcups.c:2587: warning: statement with no effect pstoraster/gdevcups.c:2589: warning: statement with no effect pstoraster/gdevcups.c:2591: warning: statement with no effect pstoraster/gdevcups.c:2595: warning: statement with no effect pstoraster/gdevcups.c:2599: warning: statement with no effect pstoraster/gdevcups.c:2600: warning: statement with no effect pstoraster/gdevcups.c:2602: warning: statement with no effect pstoraster/gdevcups.c:2603: warning: statement with no effect pstoraster/gdevcups.c:2604: warning: statement with no effect pstoraster/gdevcups.c:2605: warning: statement with no effect pstoraster/gdevcups.c:2683: warning: statement with no effect pstoraster/gdevcups.c:2683: warning: value computed is not used pstoraster/gdevcups.c:2712: warning: statement with no effect pstoraster/gdevcups.c:2712: warning: value computed is not used pstoraster/gdevcups.c: At top level: pstoraster/gdevcups.c:955: warning: 'cups_map_cielab' defined but not used make: *** [obj/gdevcups.o] Error 1 !!! ERROR: app-text/ghostscript-gnu-8.16-r1 failed. !!! Function src_compile, Line 90, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message ============================================================================ Portage 2.0.54 (hardened/x86/2.6, gcc-3.4.5, glibc-2.3.5-r3, 2.6.11-hardened-r15 i686) ================================================================= System uname: 2.6.11-hardened-r15 i686 Celeron (Coppermine) Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage//packages/x86/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 bzip2 crypt cups dlloader expat fastcgi gdbm gpm hardened jpeg libwww mhash mysql ncurses nls nptl nptlonly pam pcre perl php pic pie png python radius readline samba ssl ssp swat symlink tcpd threads tiff truetype udev userlocales x86 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
It's ghostcript-gnu that fails, changing the completely misleading summary. :)
It was a cups ebuid problem. If I emerge cups there was such order: 1) ghostscript-gnu 2) poppler 3) cups And compilation of ghostscript-gnu fails If I just emerge ghostscript-gnu order changes: 1) virtual/ghostscript 2) poppler 3) cups ... (maybe something else, don't remember) 4) ghostscript-gnu And everything goes fine
I can confirm this on a 2006.0 AMD64 box. The solution suggested in comment #2 also works on said box. Please change hardware from x86 to all.
I removed the poppler->ghostscript depend, that should sovle this bug. Available through rsync in one hour. Thank you all for helping!
*** Bug 128726 has been marked as a duplicate of this bug. ***
*** Bug 129656 has been marked as a duplicate of this bug. ***
Please reopen, the bug still exists. See bug #141250
*** Bug 141250 has been marked as a duplicate of this bug. ***
(In reply to comment #7) > Please reopen, the bug still exists. See bug #141250 > # emerge -vat cups Calculating dependencies... done! [ebuild N ] net-print/cups-1.2.1-r2 USE="dbus -gnutls jpeg nls pam png -ppds -samba -slp ssl tiff" 0 kB [ebuild N ] app-text/libpaper-1.1.14.8 0 kB [ebuild N ] app-text/poppler-0.5.3 USE="jpeg" 0 kB [ebuild N ] sys-apps/dbus-0.62 USE="X -debug doc gtk -mono python qt3 qt4" 0 kB [ebuild N ] x11-libs/qt-3.3.6-r1 USE="cups -debug -doc -examples -firebird gif -immqt -immqt-bc -ipv6 -mysql -nas nis -odbc -opengl -postgres -sqlite -xinerama" 0 kB [ebuild N ] x11-libs/qt-4.1.4 USE="-accessibility cups -debug -doc -examples -firebird gif jpeg -mng -mysql -nas nis -odbc -opengl png -postgres -sqlite -xinerama zlib" 0 kB [ebuild N ] app-doc/doxygen-1.4.7 USE="-doc -qt3 -tetex" 0 kB [ebuild N ] virtual/ghostscript-0 0 kB [ebuild N ] app-text/ghostscript-gpl-8.54 USE="X -cjk cups -emacs gtk -jpeg2k" 0 kB Compilation of ghostscript-gpl fails: i686-pc-linux-gnu-gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" -O2 -march=pentium4 -pipe -I./obj -I./src -o ./obj/gdevcups.o -c pstoraster/gdevcups.c pstoraster/gdevcups.c:64:25: cups/raster.h: No such file or directory pstoraster/gdevcups.c:65:22: cups/ppd.h: No such file or directory pstoraster/gdevcups.c:191: error: parse error before "cups_raster_t" pstoraster/gdevcups.c:191: warning: no semicolon at end of struct or union pstoraster/gdevcups.c:192: warning: type defaults to `int' in declaration of `header' pstoraster/gdevcups.c:192: warning: data definition has no type or storage class pstoraster/gdevcups.c:194: error: parse error before '}' token pstoraster/gdevcups.c:194: warning: type defaults to `int' in declaration of `gx_device_cups' pstoraster/gdevcups.c:194: warning: data definition has no type or storage class pstoraster/gdevcups.c:277: error: parse error before "gs_cups_device" pstoraster/gdevcups.c:277: warning: type defaults to `int' in declaration of `gs_cups_device' pstoraster/gdevcups.c:279: warning: excess elements in scalar initializer pstoraster/gdevcups.c:279: warning: (near initialization for `gs_cups_device') pstoraster/gdevcups.c:279: warning: excess elements in scalar initializer pstoraster/gdevcups.c:279: warning: (near initialization for `gs_cups_device') pstoraster/gdevcups.c:279: warning: excess elements in scalar initializer pstoraster/gdevcups.c:279: warning: (near initialization for `gs_cups_device') [...] (And about a bazillion of lines, probably all caused by cups/raster.h or cups/ppd.h not being available.) pstoraster/gdevcups.c: At top level: pstoraster/gdevcups.c:1037: warning: 'cups_map_cielab' defined but not used make: *** [obj/gdevcups.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: app-text/ghostscript-gpl-8.54 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile ghostscript-gpl-8.54.ebuild, line 123: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. (chroot2) dewup-ww02 / # emerge --info Portage 2.1.1_pre3-r1 (default-linux/x86/2006.0, gcc-3.4.4/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r3.05 i686) ================================================================= System uname: 2.6.17-gentoo-r3.05 i686 Intel(R) Xeon(TM) CPU 2.40GHz Gentoo Base System version 1.12.1 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/Gentoo/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig buildpkg ccache collision-protect distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS=" http://localhost/~vz6tml/gentoo-files http://dewup-ww02.dewup.europe.delphiauto.net/~vz6tml/gentoo-files http://localhost/gentoo-files/ http://dewup-ww02.dewup.europe.delphiauto.net/gentoo-files/ http://localhost/~vz6tml/gentoo-files/ http://cifs-srvr1.europe.delphiauto.net/~vz6tml/Misc._Software/Gentoo/ http://alexander.skwar.name/~askwar/stuff/gentoo/ http://localhost:60081/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://localhost:60080/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://localhost:60082/mirror/rsync.gentoo.org/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://localhost:60083/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://localhost:60084/ http://distfiles.gentoo.org/ " LANG="de_DE.utf8" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/Gentoo/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/Gentoo/portage/tmp" PORTDIR="/Gentoo/portage/tree" PORTDIR_OVERLAY="/Gentoo/portage/local-tree/misc" SYNC="rsync://localhost:10873/gentoo-portage" USE="x86 X acl apache2 apm avi bash-completion berkdb bitmap-fonts cli crypt cups dbus dlloader dri emboss encode fam firefox foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib isdnlog jikes jpeg kde kdeenablefinal kdehiddenvisibility libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nis nls noaudio nptl nptlonly offensive ogg oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xorg xv zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_void kernel_linux linguas_de userland_GNU video_cards_ati video_cards_vesa video_cards_vga video_cards_none" Unset: CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS