Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59631 - kdelibs-3.2.3-r1 fails to build
Summary: kdelibs-3.2.3-r1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Git (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-06 12:09 UTC by merwan kashouty
Modified: 2011-10-30 22:47 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description merwan kashouty 2004-08-06 12:09:56 UTC
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.
Comment 1 Benjamin Martin 2004-08-06 13:51:42 UTC
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.
Comment 2 Aniruddha Shankar 2004-08-06 16:32:01 UTC
At any rate then, the ebuild should contain a dep for automake-1.8.3 shouldn't it ? 
Comment 3 Philipp Hoffmeister 2004-08-06 17:39:25 UTC
You could also untar the source and run aclocal in the extracted directory and then tar again.
Comment 4 Imad R. Faiad 2004-08-07 02:07:15 UTC
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 5 Benjamin Martin 2004-08-07 04:51:07 UTC
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?
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2004-08-07 10:27:34 UTC
Added the aclocal run to the ebuild.  Thanks for the report.