emerge ksh fails with: src/lib/libdll/dllscan.c tar: Read 8192 bytes from - src/lib/libdll/features/dll ------------ NOTICE -- LICENSED SOFTWARE -- SEE README FOR DETAILS ------------ >>> Source unpacked. package: initialize the /var/tmp/portage/ksh-93.20040229/work/arch/linux.i386 view package: update /var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/lib/probe/C/make/probe package: proto: not found: make the local linux.i386 binary package before linux.i386 !!! ERROR: app-shells/ksh-93.20040229 failed. !!! Function src_compile, Line 50, Exitcode 1 !!! (no error message) Reproducible: Always Steps to Reproduce: emerge info: Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6. 6-love1) ================================================================= System uname: 2.6.6-love1 i686 AMD Athlon(TM) MP 1800+ Gentoo Base System version 1.4.12 distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-w -mcpu=athlon-mp -march=athlon-mp -O2 -pipe -fomit-frame-pointer -ffast-math -mfpmath=sse,387 -frename-registers -malign-functions=4" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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/bind /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/X11R6/lib/X11/xkb; /usr/X11R6/lib/X11/locale /etc/env.d" CXXFLAGS="-w -mcpu=athlon-mp -march=athlon-mp -O2 -pipe -fomit-frame-pointer -ffast-math -mfpmath=sse,387 -frename-registers -malign-functions=4" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages prelink sandbox strict" GENTOO_MIRRORS=" ftp: //ftp.vc-graz.ac.at/mirror/gentoo ftp://gentoo.inode.at/source http://gentoo.inode.at/source ftp://gd.tuwien.ac.at:2121/pub/linux/gentoo ftp://gd. tuwien.ac.at:/pub/linux/gentoo ftp://ftp.tu-clausthal. de/pub/linux/gentoo " MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage-internet /usr/local/portage-local" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage/" USE="3dnow X aalib acpi acpi4linux alsa apache2 arts avi berkdb bindist cdr crypt cups dga directfb dvd encode faad fbcon flac foomaticdb gdbm gif gphoto2 gpm gtk gtk2 icc icc-pgo imlib innobd java jikes joystick jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg mysql nas ncurses nocardbus nptl oggvorbis openal opengl oss pam pdflib perl pic png postgres psyco python qt qtmt quicktime readline samba sdl slang spell sse ssl stroke svga svgalib tcpd tetex theora tiff truetype unicode usb wmf x86 xml xml2 xmms xv xvid zlib"
could you drop down your CFLAGS and try again ?
Did that, but it doesn't help. Same error, even with CFLAGS="-O0", sorry.
I've never seen this error before... please confirm you're not doing anything weird, like using a non standard /bin/sh perhaps? I'll look thought the build scripts (unfortunately they are not very readable, david korn doesnt mess about :) and see if I can work out what is going wrong.
Definitely not any more weird than your average Gentooista. /bin/sh is standard bash-2.05b-r9, I'm using a NPTL-compiled glibc on a SMP x86 system and the above on-the-brink-of-insanity CFLAGS. Everything else behaves normally. Just for kicks I tried a CFLAGS="" FEATURES="" ebuild ksh-93.20040229.ebuild clean compile to rule out ccache or distcc involvement, same error. Feel free to request more info.
bump & request to close. Problem disappeared for unknown reasons. Compile worls now until it catches bug #50000 =:-/
The version of ksh93 in Gentoo is very out of date. The latest version is released under the Common Public License (CPL) and I was able to compile it from source on my Gentoo (AMD64) system. Perhaps the developers could update the Gentoo package and determine whether this bug remains thereafter.
Jason: it's only one version behind, which was only released last month... anyway, i'll bump it. closing as requested in c#5