Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 51429

Summary: app-shells/ksh compile fails
Product: Gentoo Linux Reporter: Peter Gantner (a.k.a. nephros) <gentoo>
Component: Current packagesAssignee: Tavis Ormandy (RETIRED) <taviso>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter Gantner (a.k.a. nephros) 2004-05-18 15:52:09 UTC
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"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-05-22 11:45:16 UTC
could you drop down your CFLAGS and try again ?
Comment 2 Peter Gantner (a.k.a. nephros) 2004-05-24 08:59:29 UTC
Did that, but it doesn't help.
Same error, even with CFLAGS="-O0", sorry.
Comment 3 Tavis Ormandy (RETIRED) gentoo-dev 2004-05-24 10:19:05 UTC
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.
Comment 4 Peter Gantner (a.k.a. nephros) 2004-05-24 10:30:58 UTC
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.
Comment 5 Peter Gantner (a.k.a. nephros) 2004-08-01 07:11:49 UTC
bump & request to close.

Problem disappeared for unknown reasons.
Compile worls now until it catches bug #50000 =:-/
Comment 6 Jason White 2005-03-27 00:15:00 UTC
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.
Comment 7 Tavis Ormandy (RETIRED) gentoo-dev 2005-03-27 01:37:37 UTC
Jason: it's only one version behind, which was only released last month...

anyway, i'll bump it.

closing as requested in c#5