Making all in kcookiejar make[4]: Entering directory `/var/tmp/portage/kdelibs-3.2.3-r1/work/kdelibs-3.2.3/kioslave/http/kcookiejar' cd ../../.. && /bin/sh /var/tmp/portage/kdelibs-3.2.3-r1/work/kdelibs-3.2.3/admin/missing --run automake-1.8 --foreign kioslave/http/kcookiejar/Makefile configure.in:21: version mismatch. This is Automake 1.8.5, configure.in:21: but the definition used by this AM_INIT_AUTOMAKE configure.in:21: comes from Automake 1.8.3. You should recreate configure.in:21: aclocal.m4 with aclocal and run automake again. make[4]: *** [Makefile.in] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdelibs-3.2.3-r1/work/kdelibs-3.2.3/kioslave/http/kcookiejar' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.2.3-r1/work/kdelibs-3.2.3/kioslave/http' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.2.3-r1/work/kdelibs-3.2.3/kioslave' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.2.3-r1/work/kdelibs-3.2.3' make: *** [all] Error 2 !!! ERROR: kde-base/kdelibs-3.2.3-r1 failed. !!! Function kde_src_compile, Line 130, Exitcode 2 !!! died running emake, kde_src_compile:make root@JaiBaba ~ # emerge info Portage 2.0.50-r9 (gcc34-amd64-2004.1, gcc-3.4.1, glibc-2.3.4.20040619-r1, 2.6.8-rc3) ================================================================= System uname: 2.6.8-rc3 x86_64 5 Gentoo Base System version 1.5.2 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -march=k8 -pipe -ftracers -fweb" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe -ftracers -fweb" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://adelie.polymtl.ca/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 apm arts avi berkdb cdr crypt dvd dvdr encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mikmod motif mpeg mssql multilib mysql ncurses nls ntpl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcltk tcpd truetype xml2 xmms xv zlib" Reproducible: Always Steps to Reproduce: 1. 2. 3.
This is because automake 1.8.3 is expected. A workaround is to emerge automake 1.8.3 and upgrade to the version you were using before, after you emerged kdelibs.
At any rate then, the ebuild should contain a dep for automake-1.8.3 shouldn't it ?
You could also untar the source and run aclocal in the extracted directory and then tar again.
or you can run aclocal after the source has been unpacked and patched. just add "aclocal -I ${S}" at the end of src_unpack() so src_unpack() will look as follows src_unpack() { kde_src_unpack epatch ${FILESDIR}/post-3.2.3-kdelibs-kcookiejar.patch epatch ${FILESDIR}/post-3.2.3-kdelibs-kstandarddirs.patch epatch ${FILESDIR}/post-3.2.3-kdelibs-htmlframes.patch cd ${S}/dcop && patch -p0 < ${FILESDIR}/post-3.2.3-kdelibs-dcopserver.patch cd ${S} aclocal -I ${S} }
Comment #4 sounds good. Of course you could untar it, run aclocal and tar it again but that would mean regenerating the digest, wouldn't it?
Added the aclocal run to the ebuild. Thanks for the report.