I have another problem with another machine emerging kde-base 3.2.0, which suggested updating gcc would help. I tried that on this machine and no luck here. I have tried updating m4 with no luck. Maybe someone else has an idea? Reproducible: Always Steps to Reproduce: 1. emerge kde-base 2. ??? 3. no build Actual Results: # emerge kde-base ... fast creating pics/Makefile fast creating pics/crystalsvg/Makefile fast creating pics/wallpapers/Makefile config.pl: fast created 435 file(s). config.status: creating config.h config.status: executing depfiles commands You're missing libsmbclient from samba 3.0 KDE will use a wrapper for smbclient without it, consider installing it. Look at kioslave/smb/libsmbclient-HOWTO.txt cd . && \ /bin/sh /var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0/admin/missing --run automake-1.7 --foreign Makefile cd . && rm -f configure cd . && make -f admin/Makefile.common configure make[1]: Entering directory `/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0' String found where operator expected at /usr/bin/autom4te-2.57 line 280, near "error "need GNU m4 1.4 or later: $m4"" (Do you need to predeclare error?) syntax error at /usr/bin/autom4te-2.57 line 280, near "error "need GNU m4 1.4 or later: $m4"" BEGIN not safe after errors--compilation aborted at /usr/bin/autom4te-2.57 line 453. make[1]: *** [configure] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0' make: *** [configure] Error 2 make: *** Waiting for unfinished jobs.... cd . && perl admin/am_edit Makefile.in make: *** Waiting for unfinished jobs.... !!! ERROR: kde-base/kdebase-3.2.0 failed. !!! Function kde_src_compile, Line 127, Exitcode 2 !!! died running emake, kde_src_compile:make Expected Results: kde-base installs
*** Bug 42017 has been marked as a duplicate of this bug. ***
"emerge sync", "emerge autoconf", then "emerge -c"
commenting on comment #2: i've tried that, resulting in: >> No outdated packages were found on your system. But I've fixed the autom4te issue by hand: there were leftover files from previous installations of autoconf in /usr/bin, i.e /usr/bin/auto{conf,header,m4te,reconf,scan,update}-x.yz where x.yz all of 2.13, 2.57 and 2.58 - although only autoconf-2.58-r1 is installed. I've [re]moved all leftover binaries and all is working. arch == sparc64
I had the same problem, stale files from 2.57 lying around, belonging to no package. Wonder why that happened...
fixed after cleaning out old autoconf versions - more recent versions have this problem fixed.