emerge -u --deep mysql -pv These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-db/mysql-4.1.21 [4.0.25-r2] USE="berkdb perl ssl -big-tables -cluster% -debug -embedded% -extraengine% -latin1% -minimal -raid% (-selinux) -srvdir% -static (-doc%) (-readline%*) (-tcpd%*)" 0 kB [ebuild U ] dev-perl/Net-Daemon-0.38 [0.37] 0 kB [ebuild N ] virtual/perl-Storable-2.15 0 kB [ebuild U ] dev-perl/PlRPC-0.2018 [0.2016-r1] 0 kB [ebuild U ] dev-perl/DBI-1.50 [1.46] 0 kB [ebuild U ] dev-perl/DBD-mysql-2.9007 [2.9003] 0 kB emerge -u --deep mysql * Running automake --add-missing --copy --foreign ... /usr/portage/eclass/autotools.eclass: line 219: 1370 Segmentation fault $@ >>${STDERR_TARGET%/*}/$1-${STDERR_TARGET##*/} 2>&1 [ !! ] * Failed Running automake ! * * Include in your bugreport the contents of: * * /var/tmp/portage/mysql-4.1.21/temp/automake-452.out !!! ERROR: dev-db/mysql-4.1.21 failed. Call stack: ebuild.sh, line 1546: Called dyn_unpack ebuild.sh, line 708: Called src_unpack ebuild.sh, line 1255: Called mysql_src_unpack mysql.eclass, line 405: Called eautoreconf autotools.eclass, line 73: Called eautoreconf autotools.eclass, line 87: Called eautomake autotools.eclass, line 188: Called autotools_run_tool 'automake' '--add-missing' '--copy' '--foreign' autotools.eclass, line 240: Called die !!! Failed Running automake ! !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info Portage 2.1.1-r1 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.6-r4, 2.6.11-gentoo-r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.15 Last Sync: Tue, 31 Oct 2006 08:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.3.5, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12 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-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.inode.at" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://gentoo.inode.at/gentoo-portage" USE="x86 apache2 apm arts berkdb bitmap-fonts cli cracklib crypt cups dlloader dri eds elibc_glibc emboss encode esd foomaticdb fortran gcj gdbm gif gpm gstreamer gtk2 hardened iconv imlib innodb input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls nptl objc ogg oss pam pcre perl png pppd python qt3 qt4 quicktime readline reflection sasl session spell spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU vhosts video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis xml xorg xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS emerge -u --deep mysql
Eh, looks like your autotools or bash is borked, not a mysql bug.
you should just update your system in general those versions of gcc/glibc are outdated