I did an upgrade from Kde 3.1.1a, but emerge died at this point. The exact output: Calculating dependencies ...done! >>> emerge (1 of 1) kde-base/kdegraphics-3.1.1a-r1 to / >>> md5 ;-) kdegraphics-3.1.1a-r1.diff.bz2 >>> md5 ;-) kdegraphics-3.1.1.tar.bz2 >>> Unpacking source... >>> Unpacking kdegraphics-3.1.1a-r1.diff.bz2 to /var/tmp/portage/kdegraphics-3.1.1a-r1/work >>> Unpacking kdegraphics-3.1.1.tar.bz2 to /var/tmp/portage/kdegraphics-3.1.1a-r1/work patching file admin/CVS/Entries patching file admin/debianrules patching file debian/CVS/Entries patching file debian/changelog patching file debian/rules patching file kamera/kcontrol/CVS/Entries patching file kamera/kcontrol/kamera.desktop patching file kcoloredit/CVS/Entries patching file kcoloredit/kcolorchooser.desktop patching file kcoloredit/kcoloredit.desktop patching file kdvi/CVS/Entries patching file kdvi/dvi_init.cpp patching file kdvi/dvi_init.h patching file kdvi/dviwin.cpp patching file kdvi/dviwin.h patching file kdvi/kdvi.desktop patching file kdvi/psgs.cpp patching file kdvi/psgs.h patching file kdvi/special.cpp patching file kfax/CVS/Entries patching file kfax/kfax.desktop patching file kfaxview/CVS/Entries patching file kfaxview/kfax.desktop patching file kfile-plugins/bmp/CVS/Entries patching file kfile-plugins/bmp/kfile_bmp.desktop patching file kfile-plugins/gif/CVS/Entries patching file kfile-plugins/gif/kfile_gif.desktop patching file kfile-plugins/ico/CVS/Entries patching file kfile-plugins/ico/kfile_ico.desktop patching file kfile-plugins/jpeg/CVS/Entries patching file kfile-plugins/jpeg/kfile_jpeg.desktop patching file kfile-plugins/pdf/CVS/Entries patching file kfile-plugins/pdf/kfile_pdf.desktop patching file kfile-plugins/png/CVS/Entries patching file kfile-plugins/png/kfile_png.desktop patching file kfile-plugins/ps/CVS/Entries patching file kfile-plugins/ps/kfile_ps.desktop patching file kfile-plugins/tga/CVS/Entries patching file kfile-plugins/tga/kfile_tga.desktop patching file kfile-plugins/tiff/CVS/Entries patching file kfile-plugins/tiff/kfile_tiff.desktop patching file kfile-plugins/xbm/CVS/Entries patching file kfile-plugins/xbm/kfile_xbm.desktop patching file kghostview/CVS/Entries patching file kghostview/kdscerrordialog.cpp patching file kghostview/kghostview.desktop patching file kghostview/kgv_miniwidget.cpp patching file kghostview/kgv_miniwidget.h patching file kghostview/kgv_view.cpp patching file kghostview/kgv_view.h patching file kghostview/kpswidget.cpp patching file kghostview/kpswidget.h patching file kghostview/main.cpp patching file kiconedit/CVS/Entries patching file kiconedit/kiconedit.desktop patching file kmrml/kmrml/CVS/Entries patching file kmrml/kmrml/kcontrol/CVS/Entries patching file kmrml/kmrml/kcontrol/kcmkmrml.desktop patching file kmrml/kmrml/mrml-servicemenu.desktop patching file kmrml/kmrml/mrml.desktop patching file kmrml/kmrml/mrml_part.desktop patching file kmrml/kmrml/server/CVS/Entries patching file kmrml/kmrml/server/daemonwatcher.desktop patching file kooka/CVS/Entries patching file kooka/kooka.desktop patching file kooka/scanpackager.cpp patching file kpaint/CVS/Entries patching file kpaint/kpaint.desktop patching file kpovmodeler/CVS/Entries patching file kpovmodeler/kpovmodeler.desktop patching file kpovmodeler/pmblendmapmodifiers.cpp patching file kruler/CVS/Entries patching file kruler/eventsrc patching file kruler/kruler.desktop patching file ksnapshot/CVS/Entries patching file ksnapshot/ksnapshot.desktop patching file kuickshow/src/CVS/Entries patching file kuickshow/src/kuickshow.desktop patching file kview/CVS/Entries patching file kview/kimageviewer/CVS/Entries patching file kview/kimageviewer/kimageviewer.desktop patching file kview/kimageviewer/kimageviewercanvas.desktop patching file kview/kview.desktop patching file kview/kviewcanvas/CVS/Entries patching file kview/kviewcanvas/kviewcanvas.desktop patching file kview/kviewviewer/CVS/Entries patching file kview/kviewviewer/kviewviewer.desktop patching file kview/modules/browser/CVS/Entries patching file kview/modules/browser/kviewbrowser.desktop patching file kview/modules/presenter/CVS/Entries patching file kview/modules/presenter/kviewpresenter.desktop patching file kview/modules/scale/CVS/Entries patching file kview/modules/scale/kview_scale.desktop patching file kview/modules/scanner/CVS/Entries patching file kview/modules/scanner/kviewscanner.desktop patching file kview/modules/template/CVS/Entries patching file kview/modules/template/kviewtemplate.desktop patching file libkscan/CVS/Entries patching file libkscan/scanservice.desktop >>> Source unpacked. *** Creating acinclude.m4 *** Creating list of subdirectories *** Creating configure.in *** Creating aclocal.m4 *** Creating configure /usr/bin/autom4te-2.54: unrecognized option `--cache=autom4te.cache' Try `/usr/bin/autom4te-2.54 --help' for more information. make: *** [cvs] Error 1 !!! ERROR: kde-base/kdegraphics-3.1.1a-r1 failed. !!! Function kde_src_compile, Line 107, Exitcode 1 !!! no configure script found, generation unsuccessful I have the latest automake and autoconf, I have tried reinstalling them, but with no luck. On the forums more people are having this problem. Reproducible: Always Steps to Reproduce: 1. emerge -u kdegraphics 2. 3. Actual Results: The same as above: emerge fails. Expected Results: The emerge script should continue and start compiling. Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20 i686 AMD Athlon(tm) MP 1700+ GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo ftp://ftp.skynet.be/mirror/gentoo ftp://ftp.belnet.be/packages/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/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="" USE="libg++ mikmod zlib gdbm berkdb slang aalib tcltk guile tcpd pam ssl esd 3dnow acpi alsa apm arts avi cdr crypt cups dga directfb doc dvd encode ethereal fbcon flash gd ggi gif gnome gpm gtk gtk2 gtkhtml imap imlib java jikes jpeg junit kde libg+ libwww maildir mbox mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss -pcmcia pdflib perl pic plotutils png python qt quicktime readline samba sdl spell svga tiff truetype usb wmp X xml xml2 xmms xv x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.be.gentoo.org/gentoo-portage/" FEATURES="sandbox ccache"
This: /usr/bin/autom4te-2.54 obviously does not belong to autoconf 2.57-r1 - could you please tell me the output of "qpkg -v sys-devel/autoconf"? Maybe something went wrong with your autoconf update and you didn't notice?
This is the output: sys-devel/autoconf-2.57-r1 * sys-devel/autoconf-2.54 sys-devel/autoconf-2.13-r2 sys-devel/autoconf-2.53a sys-devel/autoconf-2.57 sys-devel/autoconf-2.54-r1 sys-devel/autoconf-2.57-r1 Where the first is coloured blue, the others are coloured orange. I haven't noticed problems in my autoconf updates, and I have tried re-emerging autoconf and automake. ('emerge autoconf automake`) Should I try that again?
Strange. What says epm -qf /usr/bin/autom4te-2.54 ?
file /usr/bin/autom4te-2.54 is not owned by any package This is getting very strange indeed.
do you have the .57 file there?
# ls autom* autom4te autom4te-2.57 automake-1.4 automake-1.6 autom4te-2.54 automake automake-1.5 automake-1.7 So it exists. I tried to symlink .54 to .57, but then the merge failed a few steps later.
Would you please be so kind to tell us the error message instead of just "fails a few steps later", then? :-) Btw, I just tried emerging with autoconf 2.54-r1 and could not reproduce your error.
Sorry fot that, here's what I try: # ls autom* autom4te autom4te-2.57 automake-1.4 automake-1.6 autom4te-2.54 automake automake-1.5 automake-1.7 # mv autom4te-2.54 autom4te-2.54backup # ln -s autom4te-2.57 autom4te-2.54 # ls -la autom4* lrwxrwxrwx 1 root root 29 Apr 13 10:17 autom4te -> ../lib/autoconf/ac-wrapper.pl lrwxrwxrwx 1 root root 13 Apr 14 15:20 autom4te-2.54 -> autom4te-2.57 -rwxr-xr-x 1 root root 31522 Mar 29 17:48 autom4te-2.54backup -rwxr-xr-x 1 root root 33532 Apr 13 10:17 autom4te-2.57 Then I emerge -u kdegraphics: .... /* whole bunch of patches */ >>> Source unpacked. *** Creating acinclude.m4 *** Creating list of subdirectories *** Creating configure.in *** Creating aclocal.m4 *** Creating configure configure.in:44: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst configure.in:477: warning: do not use m4_regexp: use regexp or m4_bregexp *** Creating config.h template Bareword found where operator expected at /var/tmp/portage/kdegraphics-3.1.1a-r1/temp/ahrYp2FD/traces.pl line 160, near "extern "C" (Might be a runaway multi-line "" string starting on line 146) (Do you need to predeclare extern?) String found where operator expected at /var/tmp/portage/kdegraphics-3.1.1a-r1/temp/ahrYp2FD/traces.pl line 164, near "extern "" (Might be a runaway multi-line "" string starting on line 160) (Missing semicolon on previous line?) Bareword found where operator expected at /var/tmp/portage/kdegraphics-3.1.1a-r1/temp/ahrYp2FD/traces.pl line 164, near "extern "C" (Do you need to predeclare extern?) String found where operator expected at /var/tmp/portage/kdegraphics-3.1.1a-r1/temp/ahrYp2FD/traces.pl line 168, near """ (Might be a runaway multi-line "" string starting on line 164) (Missing semicolon on previous line?) Bareword found where operator expected at /var/tmp/portage/kdegraphics-3.1.1a-r1/temp/ahrYp2FD/traces.pl line 263, near "extern "C" (Might be a runaway multi-line "" string starting on line 259) (Do you need to predeclare extern?) String found where operator expected at /var/tmp/portage/kdegraphics-3.1.1a-r1/temp/ahrYp2FD/traces.pl line 267, near """ (Might be a runaway multi-line "" string starting on line 263) (Missing semicolon on previous line?) Bareword found where operator expected at /var/tmp/portage/kdegraphics-3.1.1a-r1/temp/ahrYp2FD/traces.pl line 280, near "extern "C" (Might be a runaway multi-line "" string starting on line 276) (Do you need to predeclare extern?) String found where operator expected at /var/tmp/portage/kdegraphics-3.1.1a-r1/temp/ahrYp2FD/traces.pl line 284, near """ (Might be a runaway multi-line "" string starting on line 280) (Missing semicolon on previous line?) Bareword found where operator expected at /var/tmp/portage/kdegraphics-3.1.1a-r1/temp/ahrYp2FD/traces.pl line 297, near "extern "C" (Might be a runaway multi-line "" string starting on line 293) (Do you need to predeclare extern?) String found where operator expected at /var/tmp/portage/kdegraphics-3.1.1a-r1/temp/ahrYp2FD/traces.pl line 301, near """ (Might be a runaway multi-line "" string starting on line 297) (Missing semicolon on previous line?) couldn't parse /var/tmp/portage/kdegraphics-3.1.1a-r1/temp/ahrYp2FD/traces.pl: syntax error at /var/tmp/portage/kdegraphics-3.1.1a-r1/temp/ahrYp2FD/traces.pl line 160, near "extern "C" syntax error at /var/tmp/portage/kdegraphics-3.1.1a-r1/temp/ahrYp2FD/traces.pl line 263, near "extern "C" syntax error at /var/tmp/portage/kdegraphics-3.1.1a-r1/temp/ahrYp2FD/traces.pl line 280, near "extern "C" syntax error at /var/tmp/portage/kdegraphics-3.1.1a-r1/temp/ahrYp2FD/traces.pl line 297, near "extern "C" autoheader-2.54: error: AC_CONFIG_HEADERS not found in configure.in make: *** [cvs] Error 1 /* whole bunch of checks */ .... /* whole bunch of fast creations */ config.status: creating config.h config.status: executing default-1 commands Good - your configure finished. Start make now cd . && \ /bin/sh /var/tmp/portage/kdegraphics-3.1.1a-r1/work/kdegraphics-3.1.1/admin/missing --run automake --foreign Makefile aclocal.m4:3020: your implementation of AM_INIT_AUTOMAKE comes from an aclocal.m4:3020: old Automake version. You should recreate aclocal.m4 aclocal.m4:3020: with aclocal and run automake again. make: *** [Makefile.in] Error 1 !!! ERROR: kde-base/kdegraphics-3.1.1a-r1 failed. !!! Function kde_src_compile, Line 123, Exitcode 2 !!! died running emake, kde_src_compile:make So do I have an old automake running? My version installed is 1.7.2.
1.7.2 is fine, I just fear that you sometimes don't have installed what you think you have there... wild symlinking isn't very helpful in such cases. Please try removing all autoconf and automake related stuff from your system, clean up manually in the lib and bin directories. Then get a clean autoconf/automake and try again. I'll scratch my head when I look at the result tomorrow - have to leave now. Good luck!
Ok, I have unmerged automake and autoconf, and then emerged them again. The result is painfull, the script now fails on the same place with this frightening error: *** Creating acinclude.m4 *** Creating list of subdirectories *** Creating configure.in *** Creating aclocal.m4 *** Creating configure /usr/bin/autoconf-2.54: line 1: set: --: invalid option set: usage: set [--abefhkmnptuvxBCHP] [-o option] [arg ...] And that's it, no working autoconf any more I'm afraid. But very strange: autom4te 2.54 is gone, it doesn't exist any more... Things aren't going well around here :-(
I just hope you are kidding... to which package does /usr/bin/autoconf-2.54 belong?
I'm not kidding, and I can assure you it's not funny any more... autoconf-2.54 belongs to autoconf, and I see no reason why it fails. In the meantime I have installed some packages, which all emerged without problems, so I think (hope) it's not dramatic.
When I emerge autoconf, I get the following files in /usr/bin: /usr/bin/autoconf /usr/bin/autom4te /usr/bin/autoscan /usr/bin/autoheader /usr/bin/ifnames-2.13 /usr/bin/ifnames-2.57 /usr/bin/autoreconf /usr/bin/autoheader-2.13 /usr/bin/autoheader-2.57 /usr/bin/autoupdate /usr/bin/autoreconf-2.13 /usr/bin/autoreconf-2.57 /usr/bin/autoconf-2.13 /usr/bin/autoconf-2.57 /usr/bin/autom4te-2.57 /usr/bin/autoupdate-2.13 /usr/bin/autoupdate-2.57 /usr/bin/ifnames /usr/bin/autoscan-2.13 /usr/bin/autoscan-2.57 - what do you get? I am speaking of 2.57-r1 and wonder where that 2.54 in your error message comes from.
I have moved the .54 files away, and now everything works just fine! I was probably an error on my side. Thank you very, very much, if you need something done: you saw my mailaddress ;-)
Moving these files away was what I asked you for in comment #9... ok, so I set this to resolved/invalid.