Both machines have been synched today. The AMD machine behaved fine, the Intel machine broke.
Downgrading the broken machine's coreutils to 5.93 (with a binary package build on my working box) solved the problem there. The question remains: why?
Code: Select all
gentoo-1 bin # ls -l exp*
-rwxr-xr-x 1 root root 81164 2006-02-19 09:16 expr
-rwxr-xr-x 1 root root 24372 2006-02-19 00:20 expr.broke
Code: Select all
Portage 2.1_pre4-r1 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
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="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -fomit-frame-pointer -pipe"
CHOST="i686-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/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=prescott -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.osuosl.org http://gentoo.mirrors.tds.net/gentoo http://gentoo.ccccom.com http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_US.utf-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa apache2 arts artswrappersuid asf audiofile avi bash-completion berkdb bigger-fonts bitmap-fonts bluetooth bzip2 cairo ccache cdparanoia cdr cgi clamav commercial crypt css cups curl dbus divx4linux dri dvd dvdr dvdread eds emboss encode esd exif fam fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif gimp gimpprint glitz gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl idn imagemagick imap imlib ipv6 java jpeg kde kdeenablefinal kdexdeltas lcms libg++ libwww lm_sensors logitech-mouse logrotate mad mbox mikmod mmx mng motif mozilla mp3 mpeg musicbrainz nautilus ncurses nls nptl nptlonly nsplugin nvidia offensive ogg on-the-fly-crypt opengl oss pam pcre pdf pdflib perl pic png pop ppds python qt quicktime rdesktop readline real samba scanner sdl slang smp smtp snmp sockets spell sse sse2 ssl svg sysfs tcltk tcpd tiff toolbar transcode truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vorbis win32codecs xcomposite xine xinerama xml xml2 xmms xprint xscreensaver xv xvid zeroconf zlib elibc_glibc input_devices_evdev input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS, LINGUAS
bash-3.1_p8 emerged fine after coreutils. system still behaving. running another emerge -e system to look for some more problems. No acl on my system.
you sir are a lifesaver!RaZoR1394 wrote:Here are the working Ubuntu Coreutils 5.93 expr binaries:
amd64http://www.razoreye.org/files/expr-amd64/expr
i386http://www.razoreye.org/files/expr-i386/expr
ppchttp://www.razoreye.org/files/expr-ppc/expr
Copy them to /usr/bin. After that I would mask Coreutils 5.94 and emerge the previous one (5.93):
/etc/portage/package.mask wrote: =sys-apps/coreutils-5.94
thanks a lot, it fixed the problem for meRaZoR1394 wrote:Here are the working Ubuntu Coreutils 5.93 expr binaries:
amd64http://www.razoreye.org/files/expr-amd64/expr
i386http://www.razoreye.org/files/expr-i386/expr
ppchttp://www.razoreye.org/files/expr-ppc/expr
Copy them to /usr/bin. After that I would mask Coreutils 5.94 and emerge the previous one (5.93):
/etc/portage/package.mask wrote: =sys-apps/coreutils-5.94
This fixed my problem. Thanks!RaZoR1394 wrote:Here are the working Ubuntu Coreutils 5.93 expr binaries:
amd64http://www.razoreye.org/files/expr-amd64/expr
i386http://www.razoreye.org/files/expr-i386/expr
ppchttp://www.razoreye.org/files/expr-ppc/expr
Copy them to /usr/bin. After that I would mask Coreutils 5.94 and emerge the previous one (5.93):


Code: Select all
# emerge --info
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.14.3 i686)
=================================================================
System uname: 2.6.14.3 i686 AMD Duron(tm)
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python: 2.3.5, 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="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -fno-ident -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -fno-ident -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://194.149.10.102/ http://gentoo.ynet.sk/pub ftp://mirror.nutsmaas.nl/gentoo/"
MAKEOPTS="-j3"
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 apm avi berkdb bitmap-fonts crypt cups eds emboss encode foomaticdb fortran gdbm gif gpm gstreamer imlib jpeg libg++ libwww mad mikmod mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis oss pam pdflib perl png python quicktime readline spell ssl tcpd threads truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib elibc_glibc kernel_linux userland_GNU"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Code: Select all
>>> emerge (1 of 1) sys-devel/make-3.80-r3 to /
>>> checksums files ;-) make-3.80-r2.ebuild
>>> checksums files ;-) make-3.80-r1.ebuild
>>> checksums files ;-) make-3.80-r3.ebuild
>>> checksums files ;-) files/make-3.80-parallel-build-failure.patch
>>> checksums files ;-) files/3.80-memory.patch
>>> checksums files ;-) files/digest-make-3.80-r1
>>> checksums files ;-) files/digest-make-3.80-r2
>>> checksums files ;-) files/digest-make-3.80-r3
>>> checksums files ;-) files/make-3.80-ppc64-hardened-clock_gettime.patch
>>> checksums src_uri ;-) make-3.80.tar.bz2
>>> Unpacking source...
>>> Unpacking make-3.80.tar.bz2 to /var/tmp/portage/make-3.80-r3/work
* Applying 3.80-memory.patch ... [ ok ]
* Applying make-3.80-parallel-build-failure.patch ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/make-3.80-r3/work/make-3.80 ...
* econf: updating make-3.80/config/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating make-3.80/config/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 --enable-nls --program-prefix=g --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
./configure: line 56: 5818 Segmentation fault expr a : '\(a\)' >/dev/null 2>&1
./configure: line 198: 5832 Segmentation fault expr a : '\(a\)' >/dev/null 2>&1
configure: error: invalid feature name:
!!! ERROR: sys-devel/make-3.80-r3 failed.
Call stack:
ebuild.sh, line 1894: Called dyn_compile
ebuild.sh, line 941: Called src_compile
make-3.80-r3.ebuild, line 29: Called econf 'compile' '--enable-nls'
!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Ok, that confirms that it definitely is a coreutils issue (and not library related). Now the tough question is what in the config triggers it?hbk3131 wrote:Genone:
[Amd64]
I dl'ed your expr binary that you posted from coreutils-5.94 and it seems to work fine.