Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40326 - kdebase-3.2.0 emerge fail due to automake version conflict
Summary: kdebase-3.2.0 emerge fail due to automake version conflict
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-03 16:38 UTC by Nicolas Laplante
Modified: 2004-02-05 06:08 UTC (History)
3 users (show)

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


Attachments
Patched ebuild. (kdebase-3.2.0-r1.ebuild,3.10 KB, text/plain)
2004-02-03 19:25 UTC, Heiko Wundram
Details
kdebase-3.2.0 portage log (2035-kdebase-3.2.0.log,363.17 KB, text/plain)
2004-02-04 16:04 UTC, FieldySnuts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Laplante 2004-02-03 16:38:47 UTC
A while after starting the kdebase-3.2.0 emerge, I get the following error message:

make[3]: Leaving directory `/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0/kcontrol/arts'
Making all in kcontrol
make[3]: Entering directory `/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0/kcontrol/kcontrol'
cd ../.. && \
  /bin/sh /var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0/admin/missing --run automake-1.7 --foreign  kcontrol/kcontrol/Makefile
configure.in:43: version mismatch.  This is Automake 1.7.7,
configure.in:43: but the definition used by this AM_INIT_AUTOMAKE
configure.in:43: comes from Automake 1.7.6.  You should recreate
configure.in:43: aclocal.m4 with aclocal and run automake again.
make[3]: *** [Makefile.in] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0/kcontrol/kcontrol'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0/kcontrol'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0'
make: *** [all] Error 2

!!! ERROR: kde-base/kdebase-3.2.0 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make


Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge =kdebase-3.2.0 (or emerge kde, since it's a new install)
2. wait
3. cry

Actual Results:  
The emerge process died with the above error

Expected Results:  
The emerge process should have completed the build of kdebase-3.2.0

holyshit root # emerge info
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1-gentoo)
=================================================================
System uname: 2.6.1-gentoo i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-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/share/config /usr/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
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="3dnow X aalib alsa apache2 apm avi berkdb cdr crypt cscope cups curl dga
encode flash foomaticdb gd gdbm gif gpm gtk2 imlib java jpeg kde libg++ libwww
mad mcal mikmod mmx motif moznocompose moznoirc moznomail mpeg mysql ncurses
oggvorbis opengl oss pam perl png python qt quicktime readline samba sdl spell
sse ssl svga tcpd tetex tiff truetype vim-with-x x86 xml2 xmms xv zlib"
Comment 1 Heiko Wundram 2004-02-03 16:49:08 UTC
Same here.

Portage 2.0.50_pre21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.3.12
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe"
DISTDIR="/home/space/portage/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j6"
PKGDIR="/home/space/portage/usr/portage/packages"
PORTAGE_TMPDIR="/home/space/portage/var/tmp"
PORTDIR="/home/space/portage/usr/portage"
PORTDIR_OVERLAY="/home/space/portage/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib acl acpi alsa apache2 apm arts avi berkdb bonobo cdr crypt cups curl doc dvd dvdr encode esd fam flac flash foomaticdb freetds gd gdbm gif gnome gpm gtk gtk2 gtkhtml idea imap imlib innodb ipv6 java javascript jbig jpeg kde lcms ldap leim libg++ libwww mad maildir mbox mcal memlimit mikmod mmx motif mozilla mpeg mysql nas ncurses nls offensive oggvorbis opengl oss pam pda pdflib perl png postgres pwdb python qt quicktime readline ruby samba sasl sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype unicode wmf x86 xml xml2 xmms xv zlib"
Comment 2 azote 2004-02-03 17:18:07 UTC
same... here.... (just incase u guys need more info on profiles)
Portage 2.0.50_pre21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.1-mm4)
=================================================================
System uname: 2.6.1-mm4 i686 Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/kde/cvs/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.linux.no/pub/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/ "
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 aalib acpi alsa arts avi berkdb cdr crypt cups dga directfb dvd dvdr encode esd fbcon foomaticdb gd gdbm ggi gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib java jikes jpeg kde libg++ libwww lirc mad mikmod motif mozilla mpeg nas ncurses nls offensive oggvorbis opengl oss pam pcmcia pdflib perl png python qt quicktime readline ruby samba sdl slang spell ssl svga tcltk tcpd truetype usb x86 xml2 xmms xv xvid zlib"
Comment 3 Nicolas Laplante 2004-02-03 17:40:10 UTC
On forums.gentoo.org, caleb told me to do this:

Change this part of the ebuild:

src_unpack() {
kde_src_unpack
epatch ${FILESDIR}/{P}-kcontrol.patch
}

to:

src_unpack() {
kde_src_unpack
epatch ${FILESDIR}/{P}-kcontrol.patch
cd ${S} && aclocal
}

and it did the trick.
Comment 4 azote 2004-02-03 18:40:05 UTC
Thanks! but you forgot the $ sign in front of {P}
it shoud be replace by:

src_unpack() {
    kde_src_unpack
    epatch ${FILESDIR}/${P}-kcontrol.patch
    cd ${S} && aclocal
}
Comment 5 Dice Random 2004-02-03 19:05:21 UTC
The above fix also worked for me.


Portage 2.0.50_pre21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.2-rc2-mm1)
=================================================================
System uname: 2.6.2-rc2-mm1 i686 AMD Athlon(tm) MP Processor 1800+
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=athlon-xp -mcpu=athlon-xp -pipe -fomit-frame-pointer -funroll-loops -mmmx -msse -m3dnow -mfpmath=sse,387"
CHOST="i686-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/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-Os -march=athlon-xp -mcpu=athlon-xp -pipe -fomit-frame-pointer -funroll-loops -mmmx -msse -m3dnow -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/"
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="3dnow X aalib acpi alsa apache2 apm avi berkdb cdr composite crypt encode ethereal fbcon foomaticdb freetype gdbm gif gnome gphoto2 gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd threads truetype videos x86 xft xml2 xmms xv zlib"
Comment 6 Heiko Wundram 2004-02-03 19:25:19 UTC
Created attachment 24915 [details]
Patched ebuild.

1. Place this patch in a $PORTAGE_OVERLAY directory (e.g.
/usr/local/portage/kde-base/kdebase)

2. copy all other files and directories from the kdebase directory there (e.g.
/usr/portage/kde-base/kdebase)

3. run ebuild kdebase-3.2.0-r1.ebuild digest

Now you can just do an emerge -Du world (or emerge kde) and kde will emerge
successfully.
Comment 7 Jason Huebel (RETIRED) gentoo-dev 2004-02-03 22:39:56 UTC
It's probably NOT a good idea to use the patched ebuild with the -r1 on it.  I don't think that this small of a change will warrant a revision bump. It's an ebuild bug, not an improvement.  If you download the patched ebuild, make sure you name it kdebase-3.2.0.ebuild (without the -r1) or you may have versioning issues later on down the line.
Comment 8 Derk W te Bokkel 2004-02-04 08:11:44 UTC
once the patch is in place build failed with a sandboxing problem at install stage
doing

FEATURES="-sandbox" ebuild kdebase-3.2.0.ebuild install qmerge

allowed install and merge to complete  
Comment 9 Stefan Briesenick (RETIRED) gentoo-dev 2004-02-04 10:16:38 UTC
ok folks, I get another interesting error with kdebase-3.2.0:

/bin/sh ../../admin/mkinstalldirs /vol1/gentoo/tmp/portage/kdebase-3.2.0/image//usr/kde/3.2/lib/kde3
 /bin/sh ../../libtool --silent --mode=install /usr/bin/install -c -p  kgreet_classic.la /vol1/gentoo/tmp/portage/kdebase-3.2.0/image//usr/kde/3.2/lib/kde3/kgreet_classic.la
libtool: install: warning: remember to run `libtool --finish /usr/kde/3.2/lib/kde3'
./genkdmconf --in /vol1/gentoo/tmp/portage/kdebase-3.2.0/image//usr/kde/3.2/share/config/kdm --face-src ./pics
Cannot create parent /vol1/gentoo of target directory /vol1/gentoo/tmp/portage/kdebase-3.2.0/image//usr/kde/3.2/share/config/kdm: Permission denied
make[4]: *** [install-data-local] Error 1
make[4]: Leaving directory `/vol1/gentoo/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0/kdm/kfrontend'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/vol1/gentoo/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0/kdm/kfrontend'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/vol1/gentoo/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0/kdm/kfrontend'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/vol1/gentoo/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0/kdm'
make: *** [install-recursive] Error 1

!!! ERROR: kde-base/kdebase-3.2.0 failed.
!!! Function kde_src_install, Line 185, Exitcode 2
!!! died running make install, kde_src_install:make

strange!

Stefan.
Comment 10 Derk W te Bokkel 2004-02-04 10:44:15 UTC
sandbox problem appears to be only for... userpriv usersandbox .. settings of FEATURES
Comment 11 FieldySnuts 2004-02-04 16:03:09 UTC
Me Too(tm). Attaching portage log.



Portage 2.0.49-r18 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.2-rc3)
=================================================================
System uname: 2.6.2-rc3 i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.4.3.10p1
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-fstack-protector -O2 -march=athlon-xp -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe -mmmx -msse -m3dnow -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-fstack-protector -O2 -march=athlon-xp -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe -mmmx -msse -m3dnow -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache notitles sandbox"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://gentoo.noved.org/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apm avi berkdb cdr crypt cups dv encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tiff truetype x86 xml2 xmms xv zlib"
Comment 12 FieldySnuts 2004-02-04 16:04:46 UTC
Created attachment 24965 [details]
kdebase-3.2.0 portage log
Comment 13 Caleb Tennis (RETIRED) gentoo-dev 2004-02-05 06:08:18 UTC
This should be fixed in portage now.