src/sdcte.c: In function `s_DCTE_process': src/sdcte.c:140: warning: cast discards qualifiers from pointer target type src/sdcte.c:147: warning: passing arg 2 of `gs_jpeg_write_scanlines' from incompatible pointer type src/sdcte.c:166: error: invalid operands to binary - make: *** [obj/sdcte.o] Error 1 !!! ERROR: app-text/ghostscript-7.07.1-r8 failed. !!! Function src_compile, Line 136, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. USE="atm alsa apache2 doc imap maildir mmx offensive gd dba php svg apache2 zlib session snmp \ mysql \ -arts -avi -cups -foomaticdb -gif \ -gtk -gtk2 -imlib -jpeg -kde -gnome -motif -mpeg -opengl -pdflib -qt \ -quicktime -sdl -svga -truetype -X -xmms -xv" CFLAGS="-march=pentium2 -O2 -pipe" Reproducible: Always Steps to Reproduce: 1. 2. 3.
I should add that I foolishly unmerged the previous version and (after forgetting this) masked the new version in an attempt to let me update my system. Compiling the r7 version failed with the same error, so the problem is not specific to r8. Ive got around the problem by using the USE="-doc" flag when compiling net-snmp. This is what caused my system to want ghostscript in the first place. Ill leave the bug open because I still feel there is something funny going on here...
please provide emerge info
kowloon root # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc- 2.3.4.20041102-r1, 2.6.11.9 i686) ================================================================= System uname: 2.6.11.9 i686 Pentium II (Deschutes) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 11:30:54)] dev-lang/python: 2.2.3-r5, 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2, 2.4.19-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium2 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 aalib alsa apache2 apm atm berkdb bitmap-fonts crypt curl dba emboss encode fortran gd gdbm gpm imap ipv6 java libg++ libwww mad maildir mikmod mmx mp3 mysql ncurses nls offensive ogg oggvorbis oss pam perl php png python readline samba session slang snmp spell ssl svg tcpd truetype-fonts type1-fonts xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY As I stated, this is no longer an issue for me. I simply emerged snmp with USE="-doc" my system no longer wants ghostscript now!
old bug, please reopen if ghostscript still fails for you.