Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123325 - app-shells/bash-3.1_p8 causes segmentation fault
Summary: app-shells/bash-3.1_p8 causes segmentation fault
Status: RESOLVED DUPLICATE of bug 123342
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 123326 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-18 16:40 UTC by Nestor Arocha
Modified: 2006-10-04 21:59 UTC (History)
1 user (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 Nestor Arocha 2006-02-18 16:40:35 UTC
After upgrading bash to the latest version, emerge refuses to install:

-bash:
...
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --without-afs --disable-profiling --without-gnu-malloc --without-installed-readline --with-ncurses --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
./configure: line 17:  6065 Violaci
Comment 1 Nestor Arocha 2006-02-18 16:40:35 UTC
After upgrading bash to the latest version, emerge refuses to install:

-bash:
...
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --without-afs --disable-profiling --without-gnu-malloc --without-installed-readline --with-ncurses --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
./configure: line 17:  6065 Violación de segmento   expr a : '\(a\)' >/dev/null 2>&1
./configure: line 196:  6102 Segmentation fault      expr a : '\(a\)' >/dev/null 2>&1
configure: error: invalid package name: 

!!! ERROR: app-shells/bash-3.1_p8 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

-ruby: 

....
 * econf: updating ruby-1.8.4/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --program-suffix=18 --enable-shared --disable-socks --disable-install-doc --disable-pthread --with-sitedir=/usr/lib64/ruby/site_ruby --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
./configure: line 56: 12841 Segmentation fault      expr a : '\(a\)' >/dev/null 2>&1
./configure: line 198: 12855 Segmentation fault      expr a : '\(a\)' >/dev/null 2>&1
configure: error: invalid feature name: 

!!! ERROR: dev-lang/ruby-1.8.4-r1 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  ruby-1.8.4-r1.ebuild, line 82:   Called econf 'compile' '--program-suffix=18' '--enable-shared' '--disable-socks' '--disable-install-doc' '--disable-pthread'

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

---------------------------------------------

Isolating the segfault:

$ if expr a : '\(a\)'; then ls ; fi
Segmentation fault

----------------------------------------------

emerge info

Portage 2.1_pre4-r1 (default-linux/amd64/2005.0/no-multilib, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -mtune=athlon64 -ffast-math -pipe -O3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -ffast-math -pipe -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LC_ALL="C"
LINGUAS="es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X alsa bitmap-fonts cid crypt dvd fortran gif ipv6 jpeg mp3 mpeg ncurses nls opengl pam pdflib perl png python qt readline sdl spell ssl truetype-fonts type1-fonts usb userlocales xcomposite xv zlib elibc_glibc kernel_linux linguas_es userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, PORTDIR_OVERLAY
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2006-02-18 17:05:56 UTC
*** Bug 123326 has been marked as a duplicate of this bug. ***
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-19 00:03:15 UTC

*** This bug has been marked as a duplicate of 123342 ***