I wanted to upgrade to kdebase-3.1.3 today and I get a ./configure error. The conifgure runs through nearly to the end and it stops at a Automake version conflict (It says so). The interesting parts of the configure-output is: ******************************************************** [...] checking for X11/extensions/shape.h... yes checking for X11/extensions/XKBstr.h... (cached) yes checking X11/extensions/XKBrules.h usability... no checking X11/extensions/XKBrules.h presence... yes configure: WARNING: X11/extensions/XKBrules.h: present but cannot be compiled configure: WARNING: X11/extensions/XKBrules.h: check for missing prerequisite headers? configure: WARNING: X11/extensions/XKBrules.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## checking for X11/extensions/XKBrules.h... yes checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include [...] fast creating nsplugins/Makefile fast creating nsplugins/test/Makefile fast creating nsplugins/viewer/Makefile fast creating nsplugins/wrapper/Makefile fast creating pics/Makefile fast creating pics/crystalsvg/Makefile fast creating pics/wallpapers/Makefile 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 Performing head fix on klipper/klipperrc.desktop cd . && \ /bin/sh /var/tmp/portage/kdebase-3.1.3/work/kdebase-3.1.3/admin/missing --run automake-1.7 --foreign Makefile configure.in:39: version mismatch. This is Automake 1.7.5, configure.in:39: but the definition used by this AM_INIT_AUTOMAKE configure.in:39: comes from Automake 1.7.2. You should recreate configure.in:39: aclocal.m4 with aclocal and run automake again. make: *** [Makefile.in] Error 1 !!! ERROR: kde-base/kdebase-3.1.3 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make ******************************************************** The first error message occures some more times for different libs, but I think this is not the reason for the failure. automake --version says that it is version 1.4-p6, so I do not know what the error is about... I have two gentoo boxes, one did the compile withour errors and one did not and gave the shown errors. emerge info says: Portage 2.0.48-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.21-rc7-laptop1 i686 Intel(R) Pentium(R) M processor 1300MHz GENTOO_MIRRORS="http://192.168.30.3/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://www.ibiblio.org/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/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/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="x86 foomaticdb libg++ mad mikmod xml2 xv zlib directfb gtkhtml gdbm berkdb slang readline svga guile sdl gpm tcpd pam libwww ssl esd imlib motif opengl dga ggi plotutils xml gd -3dnow -apm -arts -alsa hbci X ipv6 gtk gnome oss tcltk gtk2 kde aalib acpi apache2 avi bonobo cdr crypt cups dvd encode fbcon gif jpeg tiff png -java mozilla mmx maildir mbox ncurses nls cardbus oggvorbis mpeg pdflib perl python qt quicktime samba scanner spell sse tetex truetype usb xface xmms mysql" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -mcpu=pentium3 -pipe" CXXFLAGS="-O3 -march=pentium3 -mcpu=pentium3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" Every other (relevant) packages are up-to-date in gentoo ~x86 tree. The error occures while doing emerge -uD world.
As suggest by ebrosting on forums http://forums.gentoo.org/viewtopic.php?t=73257 cd /var/tmp/portage/kdebase-3.1.3/work/kdebase-3.1.3 aclocal ebuild /usr/portage/kde-base/kdebase/kdebase-3.1.3.ebuild compile ebuild /usr/portage/kde-base/kdebase/kdebase-3.1.3.ebuild install ebuild /usr/portage/kde-base/kdebase/kdebase-3.1.3.ebuild qmerge
I will attempt to get this fixed in portage in the next few days.
*** Bug 26182 has been marked as a duplicate of this bug. ***
This has happened already with the previous version of kdebase (3.1.2). The problem was that aclocal in kdebase was genereted with the old automake (1.7.2) I have tried to fall back to automake 1.7.2 but kde requires the latest version. What a contradiction, it makes it compulsory to have installed the newest version of automake, when in reality it needs the older one. Also check about samba 3.0! I have seen our version is still 2.xx and that's why there appear some problems using samba on kde!
I have run these commands: cd /var/tmp/portage/kdebase-3.1.3/work/kdebase-3.1.3 aclocal ebuild /usr/portage/kde-base/kdebase/kdebase-3.1.3.ebuild compile and after running the last one I get: kcmkhotkeys.cpp:116: warning: unused parameter `bool edit_P' /bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE -o kcm_khotkeys.la.closure kcm_khotkeys_la_closure.lo -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib -module -avoid-version -module -no-undefined -R /usr/kde/3.1/lib -R /usr/qt/3/lib -R /usr/X11R6/lib kcmkhotkeys.lo ../shared/libshared.la -lkio /bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE -o kcm_khotkeys.la -rpath /usr/kde/3.1/lib/kde3 -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib -module -avoid-version -module -no-undefined -R /usr/kde/3.1/lib -R /usr/qt/3/lib -R /usr/X11R6/lib kcmkhotkeys.lo ../shared/libshared.la -lkio make[3]: Leaving directory `/var/tmp/portage/kdebase-3.1.3/work/kdebase-3.1.3/khotkeys/kcontrol' Making all in khotkeys make[3]: Entering directory `/var/tmp/portage/kdebase-3.1.3/work/kdebase-3.1.3/khotkeys/khotkeys' /usr/qt/3/bin/moc ./khotkeys.h -o khotkeys.moc /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../shared -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE -c -o main.lo `test -f 'main.cpp' || echo './'`main.cpp /usr/kde/3.1/bin/dcopidl ./khotkeys.h > khotkeys.kidl || ( rm -f khotkeys.kidl ; false ) echo > dummy.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../shared -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE -c -o khotkeys.lo `test -f 'khotkeys.cpp' || echo './'`khotkeys.cpp /usr/kde/3.1/bin/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub khotkeys.kidl g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../shared -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE -c -o dummy.o `test -f 'dummy.cpp' || echo './'`dummy.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../shared -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE -c -o khotkeys_skel.lo `test -f 'khotkeys_skel.cpp' || echo './'`khotkeys_skel.cpp In file included from /usr/qt/3/include/qapplication.h:45, from /usr/kde/3.1/include/kapplication.h:39, from /usr/kde/3.1/include/kuniqueapplication.h:24, from khotkeys.h:14, from khotkeys_skel.cpp:9: /usr/qt/3/include/qtranslator.h: In destructor `QTranslatorMessage::~QTranslatorMessage()': /usr/qt/3/include/qtranslator.h:135: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. make[3]: *** [khotkeys_skel.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdebase-3.1.3/work/kdebase-3.1.3/khotkeys/khotkeys' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdebase-3.1.3/work/kdebase-3.1.3/khotkeys' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdebase-3.1.3/work/kdebase-3.1.3' make: *** [all] Error 2 !!! ERROR: kde-base/kdebase-3.1.3 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make
Deathwing, do you get this Segmentation fault at the same position when you try to repeat emerging kdebase? if yes, please post your emerge info ourput. if not, check for proper cooling and bad ram.
Yesterday I checked my memory with a program and all tests passed. About cooling, my AthlonXP 1800+ never goes above 50
Yesterday I checked my memory with a program and all tests passed. About cooling, my AthlonXP 1800+ never goes above 50ºC and the motherboard, Gigabyte GA-7VA never goes above 45ºC. This is very strange because it might be a cooling problem but... WHERE? BTW, no I can't compile: 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 Performing head fix on klipper/klipperrc.desktop cd . && /bin/sh: -c: line 2: syntax error: unexpected end of file make: *** [aclocal.m4] Error 2 !!! ERROR: kde-base/kdebase-3.1.3 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make
Same here as Deathwing00, I'm currently trying to compile with less aggressive CFLAGS.
I had the same problem, and I finally manage to launch compile with the following steps : 1 - edit /usr/portage/kde-base/kdebase/kdebase-3.1.3.ebuild and comment this line : kde_fix_head_instances acinclude.m4 aclocal.m4 admin/cvs.sh admin/libtool.m4.in configure 2 - then emerge -u kdebase
My modification finally worked fine
So when will the portage tree be updated?
*** Bug 26399 has been marked as a duplicate of this bug. ***
The kde_fix_head_instances should be in portage now, and the fix for the "aclocal" stuff will go in as soon as I figure out a slick way to handle it. If you have any suggestions please post them.
*** Bug 26408 has been marked as a duplicate of this bug. ***
As a fix, please try the following: add the following lines to kdebase-3.1.3.ebuild before src_compile: src_unpack() { kde_src_unpack cd ${S} && aclocal } And let me know if this fixes the problems for you.
Sorry, but my problem (Bug 26399) isn't solved with this modification. Greetings, Tim
Ok, reallllly strange here. If I edit the ebuild and emerge kdebase, I get an unmatched ebuild for 'cupsd'.... *blink blink* If I remove those four lines, it remains the same...ebuild for cupsd not found. I have to emerge sync before the kdebase ebuild startup appears normal. I guarantee just replacing the kdebase-3.1.3.ebuild with the original from sync doesn't fix it, I have to run the full sync again. Portage 2.0.48-r7 powerix # emerge kdebase Calculating dependencies \ emerge: there are no masked or unmasked ebuilds to satisfy "cupsd". !!! Error calculating dependencies. Please correct.
Created attachment 15952 [details] modified kde-base ebuild
Okay, well, here's an attached version. Try using this one and see if it fixes your "cupsd" issues :)
I'm having problem with kdebase-3.1.3 too. ---------------------------- /.../ 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 Performing head fix on klipper/klipperrc.desktop cd . && /bin/sh /var/tmp/portage/kdebase-3.1.3/work/kdebase-3.1.3/admin/missing --run aclocal-1.7 cd . && \ /bin/sh /var/tmp/portage/kdebase-3.1.3/work/kdebase-3.1.3/admin/missing --run automake-1.7 --foreign Makefile cd . && /bin/sh /var/tmp/portage/kdebase-3.1.3/work/kdebase-3.1.3/admin/missing --run autoconf autom4te-2.57: cannot not rename autom4te.cache/traces.0t as autom4te.cache/traces.0: No such file or directory configure.in: no proper invocation of AM_INIT_AUTOMAKE was found. configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE, configure.in: that aclocal.m4 is present in the top-level directory, configure.in: and that aclocal.m4 was recently regenerated (using aclocal). configure.in: required file `./install-sh' not found configure.in: required file `./mkinstalldirs' not found configure.in: required file `./missing' not found SUBDIRS: variable `TOPSUBDIRS' is used but `TOPSUBDIRS' is undefined make: *** [Makefile.in] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: kde-base/kdebase-3.1.3 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make --------------------------- emerge info Portage 2.0.48-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-ck6 i686 AMD Duron(tm) processor GENTOO_MIRRORS="ftp://ftp.gentoo.linux.no/pub/gentoo http://www.ibiblio.org/pub/Linux/distributions/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/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/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="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg nls pdflib png quicktime truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts bonobo guile X sdl gpm tcpd pam libwww ssl python imlib oggvorbis gnome gtk qt kde motif opengl -svga -spell -ldap 3dnow apache2 cdr cjk dvd esd flash gphoto2 imap ipv6 java lcms maildir mbox mmx mozilla mysql ncurses perl postgres ruby samba sasl sse tcltk tetex tiff usb" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -mfpmath=sse,387 -mmmx -msse -m3dnow" CXXFLAGS="-march=athlon-xp -O3 -pipe -mfpmath=sse,387 -mmmx -msse -m3dnow -Wno-deprecated" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache fixpackages"
My compilation of kdebase-3.1.3 isn't quite done yet, but it's well past the configure stage. I guess that means your patched ebuild works for me. Thanks.
I had the same problem as originally posted, so I tried the modified ebuild. It worked for me just fine, no more errors.
Veiko Kukk: you dont have the same bug so please dont post different bugs into bug reports ... once again, your problem very likely is your original Bug 17051
I think the original problem has been fixed with the ebuild in portage.