Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 42017

Summary: kdebase-3.2.0 failed to compile : autom4te error just after ./configure
Product: Gentoo Linux Reporter: Remy Nicolas <nsr2oo2>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Remy Nicolas 2004-02-18 03:32:47 UTC
Good - your configure finished. Start make now
 
cd . && \
  /bin/sh /var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0/admin/missing --run automake-1.7 --foreign  Makefile
cd . && rm -f configure
cd . && make -f admin/Makefile.common configure
make[1]: Entering directory `/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0'
String found where operator expected at /usr/bin/autom4te-2.57 line 280, near "e rror "need GNU m4 1.4 or later: $m4""
        (Do you need to predeclare error?)
syntax error at /usr/bin/autom4te-2.57 line 280, near "error "need GNU m4 1.4 or  later: $m4""
BEGIN not safe after errors--compilation aborted at /usr/bin/autom4te-2.57 line 453.
make[1]: *** [configure] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0'
make: *** [configure] Error 2
make: *** Waiting for unfinished jobs....
cd . && perl admin/am_edit Makefile.in
make: *** Waiting for unfinished jobs....
 
!!! ERROR: kde-base/kdebase-3.2.0 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make

I don't really understand this error :( I tried to emerge with sandbox, userpriv, usersandbox disabled but nothing changed. I seems to be a problem whith autoconf 2.57.

Got an idea?

Reproducible: Always
Steps to Reproduce:
1. emerge kdebase
2. watch it fail :(


Actual Results:  
Compilation failed

Expected Results:  
compilation complete

emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2,
glibc-2.3.3_pre20031212-r0,2.3.3_pre20031222-r0,2.3.3_pre20040207-r0,2.3.2-r1,2.3.2-r9,
2.6.3-rc3-mm1)
=================================================================
System uname: 2.6.3-rc3-mm1 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.4.3.13
Autoconf:
sys-devel/autoconf-2.57-r1,sys-devel/autoconf-2.59-r3,sys-devel/autoconf-2.58,sys-devel/autoconf-2.59
Automake:
sys-devel/automake-1.7.5-r2,sys-devel/automake-1.7.8,sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="no"
CFLAGS="-mcpu=athlon-xp -O3 -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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs keeptemp keepwork noauto noclean sandbox
usersandbox"
GENTOO_MIRRORS="http://gentoo.linux.no 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=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm arts avi berkdb bonobo cdr crypt dvd encode esd foomaticdb
gdbm gif gnome gtk gtk2 gtkhtml imlib java jpeg kde libg++ libwww mad mikmod
motif mozilla mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png
python quicktime readline sdl slang spell sse ssl svga tcltk tcpd truetype x86
xml2 xmms xv zlib"
Comment 1 Christian Bricart 2004-02-18 04:04:37 UTC
confirm for:

Portage 2.0.50-r1 (default-sparc64-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.24-sparc-r1)
=================================================================
System uname: 2.4.24-sparc-r1 sparc64 sun4u
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="sparc"
FEATURES="ccache sandbox"

Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-02-18 05:02:09 UTC
emerge sync, emerge autoconf, and make sure that you clean out any old autoconf versions (emerge -c)
Comment 3 Remy Nicolas 2004-02-18 05:15:08 UTC
It worked for me thx, I will let u know when the compilation is finished. thx again.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-02-18 06:12:24 UTC

*** This bug has been marked as a duplicate of 41455 ***
Comment 5 Remy Nicolas 2004-02-18 06:28:28 UTC
kdebase successfully built. Sorry for the duplicate bug :/