emerge -u system fails on sys-apps/shadow-4.0.3-r6. I currently have -r3 installed, but am unable to upgrade to either -r6 or -r7. A large number of messages along the lines of "gshadow.c:1895: stray '\377' in program" are given before the compile dies. I'll attach a typescript which shows all the errors. The system is an 85MHz SparcStation 5. gcc --version: gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice) patch --version: patch 2.5.9 Reproducible: Always Steps to Reproduce: Output of emerge info: Portage 2.0.48-r5 (default-sparc-1.4, gcc-3.2.3, glibc-2.3.1-r4) ================================================================= System uname: 2.4.21-sparc-r1 sparc sun4m GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="sparc crypt cups fbcon foomaticdb imlib jpeg libwww mikmod motif mad mpeg ncurses nls opengl png qt spell truetype xv zlib gdbm berkdb slang readline tcpd pam ssl perl python -X -gtk -gnome -alsa -kde -arts -java" COMPILER="gcc3" CHOST="sparc-unknown-linux-gnu" CFLAGS="-O2 -pipe" CXXFLAGS="-O2 -pipe" ACCEPT_KEYWORDS="sparc" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" FEATURES="ccache"
Created attachment 16119 [details] typescript of emerge shadow (-r7) This is the typescript session for -r7. Similar messages occur for -r6.
I've played around a bit more, and it looks like the culprit here is ccache. I can emerge successfully with FEATURES="-ccache", but turning it on breaks the compile (even if I clear the cache beforehand). I have ccache_2.2. Don't know if there's some way to force -ccache from within the ebuild?
Closing, fixed in a later version of ccache. If there is still a problem, reopen this bug.