Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95490 - Segmentation fault in autoconf
Summary: Segmentation fault in autoconf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-08 12:46 UTC by Marius
Modified: 2005-06-09 04:31 UTC (History)
0 users

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 Marius 2005-06-08 12:46:50 UTC
The first symptom of the problem raised when I tried to:

ACCEPT_KEYWORDS="~x86" emerge -u gnome

The installation was interrupted when installing nautilus 2.10.1, with the message:

------------------------------------------------------------------------
>>> Unpacking source...
>>> Unpacking nautilus-2.10.1.tar.bz2 to /var/tmp/portage/nautilus-2.10.1/work
 * Applying nautilus-2.9.90-icon_view_gst.patch ...                       [ ok
]autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h',
`config.h.bot'
autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader-2.59: WARNING: is deprecated and discouraged.
autoheader-2.59:
autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader-2.59: WARNING: `acconfig.h':
autoheader-2.59:
autoheader-2.59: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.59:                [Define if a function `main' is needed.])
autoheader-2.59:
autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the
autoheader-2.59: WARNING: documentation.
sh: line 1: 20959 Segmentation fault      /usr/bin/autom4te-2.59
--language=autoconf --trace AC_CONFIG_HEADERS:'$$config_h ||= '"'"'$1'"'"';'
--trace AH_OUTPUT:'$$verbatim{'"'"'$1'"'"'} = '"'"'$2'"'"';' --trace
AC_DEFINE_TRACE_LITERAL:'$$symbol{'"'"'$1'"'"'} = 1;' configure.in
>/var/tmp/portage/nautilus-2.10.1/temp/ah3TiXeW/traces.pl
autoheader-2.59: /usr/bin/autom4te-2.59 failed with exit status: 139
/usr/portage/gnome-base/nautilus/nautilus-2.10.1.ebuild: line 63: 20954
Segmentation fault      WANT_AUTOCONF=2.5 autoheader

!!! ERROR: gnome-base/nautilus-2.10.1 failed.
!!! Function src_unpack, Line 91, Exitcode 139
!!! (no error message)
------------------------------------------------------------------------

After this, I tried to reinstall autoconf and maybe to solve the problem but
the result was:

------------------------------------------------------------------------
mv autom4te.tmp autom4te.cfg
make[3]: Leaving directory
`/var/tmp/portage/autoconf-2.59-r6/work/autoconf-2.59/lib'
../../tests/autom4te                            \
        --language=m4sugar                      \
        --freeze                        \
        --output=m4sugar.m4f
../../tests/autom4te                            \
        --language=m4sh                 \
        --freeze                        \
        --output=m4sh.m4f
make[2]: *** [m4sugar.m4f] Segmentation fault
make[2]: *** Deleting file `m4sugar.m4f'
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [m4sh.m4f] Segmentation fault
make[2]: *** Deleting file `m4sh.m4f'
make[2]: Leaving directory
`/var/tmp/portage/autoconf-2.59-r6/work/autoconf-2.59/lib/m4sugar'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/autoconf-2.59-r6/work/autoconf-2.59/lib'
make: *** [all-recursive] Error 1

!!! ERROR: sys-devel/autoconf-2.59-r6 failed.
!!! Function src_compile, Line 25, Exitcode 2
!!! (no error message)
------------------------------------------------------------------------



also tried to reinstall automake but:

------------------------------------------------------------------------
checking whether autoconf is installed... yes
checking whether autoconf works... no
configure: error: The installed version of autoconf does not work.
    Please check config.log for error messages before this one.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/automake-1.9.5/work/automake-1.9.5/config.log

!!! ERROR: sys-devel/automake-1.9.5 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
------------------------------------------------------------------------

The config.log is attached in "Additional information" section.

Reproducible: Always
Steps to Reproduce:




---------/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/config.log---------------------

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU Automake configure 1.9.5, which was
generated by GNU Autoconf 2.59c.  Invocation command line was

  $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --build=i686-pc-linux-gnu

## --------- ##
## Platform. ##
## --------- ##

hostname = MariusServer
uname -m = i686
uname -r = 2.6.10-cko3
uname -s = Linux
uname -v = #1 Thu Jan 13 18:59:24 Local time zone must be set--see zic manu

/usr/bin/uname -p = AMD Athlon(tm) XP 1600+
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /opt/bin
PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.4.4
PATH: /opt/Acrobat5
PATH: /opt/sun-jdk-1.4.2.08/bin
PATH: /opt/sun-jdk-1.4.2.08/jre/bin
PATH: /opt/sun-jdk-1.4.2.08/jre/javaws
PATH: /usr/qt/3/bin
PATH: /usr/kde/3.3/sbin
PATH: /usr/kde/3.3/bin
PATH: /usr/kde/3.2/sbin
PATH: /usr/kde/3.2/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1665: checking build system type
configure:1683: result: i686-pc-linux-gnu
configure:1712: checking for a BSD-compatible install
configure:1767: result: /bin/install -c
configure:1778: checking whether build environment is sane
configure:1821: result: yes
configure:1886: checking for gawk
configure:1902: found /bin/gawk
configure:1912: result: gawk
configure:1922: checking whether make sets $(MAKE)
configure:1943: result: yes
configure:2144: checking for perl
configure:2162: found /usr/bin/perl
configure:2174: result: /usr/bin/perl
configure:2195: checking for tex
configure:2211: found /usr/bin/tex
configure:2221: result: tex
configure:2235: checking whether autoconf is installed
configure:2240: eval autoconf --version
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2243: $? = 0
configure:2251: result: yes
configure:2261: checking whether autoconf works
configure:2268: cd conftest && eval autoconf -o /dev/null conftest.ac
./configure: line 2269: 21657 Segmentation fault      autoconf -o /dev/null
conftest.ac
configure:2271: $? = 139
configure:2280: result: no
configure:2284: error: The installed version of autoconf does not work.
    Please check config.log for error messages before this one.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_PERL=/usr/bin/perl
ac_cv_path_install='/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_TEX=tex
ac_cv_prog_make_make_set=yes
am_cv_autoconf_installed=yes
am_cv_autoconf_works=no

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='perllibdir=/var/tmp/portage/automake-1.9.5/work/automake-1.9.5"/lib:./lib"
/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/aclocal --acdir=m4'
AMTAR='${SHELL} /var/tmp/portage/automake-1.9.5/work/automake-1.9.5/lib/missing
--run tar'
APIVERSION='1.9'
AUTOCONF='${SHELL}
/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/lib/missing --run autoconf'
AUTOHEADER='${SHELL}
/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/lib/missing --run autoheader'
AUTOMAKE='perllibdir=/var/tmp/portage/automake-1.9.5/work/automake-1.9.5"/lib:./lib"
/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/automake --libdir=lib'
AWK='gawk'
CYGPATH_W='echo'
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
FGREP=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LIBOBJS=''
LIBS=''
LN=''
LTLIBOBJS=''
MAKEINFO='${SHELL}
/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/lib/missing --run makeinfo'
MODIFICATION_DELAY=''
PACKAGE='automake'
PACKAGE_BUGREPORT='bug-automake@gnu.org'
PACKAGE_NAME='GNU Automake'
PACKAGE_STRING='GNU Automake 1.9.5'
PACKAGE_TARNAME='automake'
PACKAGE_VERSION='1.9.5'
PATH_SEPARATOR=':'
PERL='/usr/bin/perl'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
TEX='tex'
VERSION='1.9.5'
ac_ct_STRIP=''
am_AUTOCONF='autoconf'
am__leading_dot='.'
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias='i686-pc-linux-gnu'
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias='i686-pc-linux-gnu'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/lib/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgvdatadir='${datadir}/automake-1.9'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##


#define PACKAGE "automake"
#define PACKAGE_BUGREPORT "bug-automake@gnu.org"
#define PACKAGE_NAME "GNU Automake"
#define PACKAGE_STRING "GNU Automake 1.9.5"
#define PACKAGE_TARNAME "automake"
#define PACKAGE_VERSION "1.9.5"
#define VERSION "1.9.5"
------------------------------------------------------------------------



--------------------------emerge info-----------------------------------
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.10-cko3 i686)
=================================================================
System uname: 2.6.10-cko3 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.4.16
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.4.3-r4, 1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/ ftp://mir.zyrianes.net/gentoo/
http://mir.zyrianes.net/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="x86 3dnow X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl
divx4linux eds emboss encode esd fam foomaticdb fortran gdbm gif gnome gpm
gstreamer gtk gtk2 guile imagemagick imlib ipv6 java jpeg junit ldap libg++
libwww mad mikmod mmx mozilla mp3 mpeg mysql ncurses network nls no_wxgtk1
nvidia ogg oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime
readline real sdl spell sse ssl svga tcpd tetex threads tiff truetype
truetype-fonts type1-fonts vorbis xml xml2 xmms xv xvid zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------------------------------------------------------------------------
Comment 1 SpanKY gentoo-dev 2005-06-08 15:00:55 UTC
autoconf is written in perl so any segfaults "in autoconf" is really in perl
Comment 2 Marius 2005-06-08 15:26:50 UTC
(In reply to comment #1)
> autoconf is written in perl so any segfaults "in autoconf" is really in perl

YES! It was really a perl problem!
I merged perl version 5.8.5-r5 in substitution of the version 5.8.6-r4 and all
seems to go well,now!

So it seems that perl version 5.8.6-r4, has something wrong.

Thanks a lot for the help.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2005-06-09 02:39:02 UTC
This is going to be hard (impossible) for us to assist with since the OP 
downgraded their perl and I can't duplicate over here with nautilus-2.10.1, 
perl-5.8.6-r4, and autoconf-2.59. I suspect that the problem was still 
inadvertently related to autoconf originally being built against libperl-5.8.5, 
but how do you pursue it when there's nothing to work with? Marius, mind if I 
just close this out?  
Comment 4 Marius 2005-06-09 02:53:10 UTC
> I suspect that the problem was still 
> inadvertently related to autoconf originally being built against libperl-5.8.5


Yes, maybe the problem was this.
To my opinion you can close this thread.
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2005-06-09 04:31:28 UTC
Closing out. If this shows up in someone's bug searches later, please open a 
new bug and don't downgrade your perl first :)