First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 50000
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Default Assignee for Orphaned Packages <maintainer-needed@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Don Seiler (RETIRED) <rizzo@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
make.out make.out for failed emerging text/plain Tim Hobbs 2004-05-06 02:46 0000 490.76 KB Details
ksh-20040229-link.patch Patch for ksh-93.20040229: fix linking with ast and shell libs. patch CFuga 2006-11-04 16:02 0000 1.71 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 50000 depends on: Show dependency tree
Show dependency graph
Bug 50000 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-05-04 10:59 0000
Here is the last bit of the emerge process.  Fails every time:

+ chmod ugo+x /var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/fun/pushd
mamake: *** exit code 1 making cmd/ksh93
package: make: errors making /var/tmp/portage/ksh-93.20040229/work/arch/linux.i3
86/bin/ksh
package: make done  at Tue May  4 12:56:20 CDT 2004 in /var/tmp/portage/ksh-93.2
0040229/work/arch/linux.i386

!!! ERROR: app-shells/ksh-93.20040229 failed.
!!! Function src_compile, Line 50, Exitcode 1
!!! (no error message)


Here is my emerge info:

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.2-r10,2.2.5-r2, 2.6.5)
=================================================================
System uname: 2.6.5 i686 Intel(R) Pentium(R) 4 CPU 1400MHz
Gentoo Base System version 1.4.10
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://amonsul.nbill.cellcom.com/gentoo-portage"
USE="X aac aalib acpi acpi4linux alsa apache2 apm avi berkdb cdr cjk crypt cups curl debug dga dv encode ethereal faad fbcon fbdev flash foomaticdb gd gd-bundled gdbm ggi gif gpm gstreamer gtk gtk2 guile imlib innodb java jpeg junit ldap libg++ libwww mad mbox memlimit mikmod motif moznocompose moznoirc moznomail mpeg mysql ncurses nls oci8 odbc offensive oggvorbis opengl oscar oss pam pcre perl png python qt qtmt quicktime readline regexp ruby samba sdl slang slp smooth snmp speedo speex spell sse ssl svga tcltk tcpd tetex tiff truetype usb wmf x86 xinerama xml xml2 xmms xv zlib"

There is no config.log that I can find in /var/tmp/portage for it.   I'm going to attempt to build with USE="-nls".  It fails 100% of the time as it is now with USE="nls".

------- Comment #1 From Don Seiler (RETIRED) 2004-05-04 11:12:24 0000 -------
This builds fine with USE="-nls", FYI.  Something with nls is wacky doo.

------- Comment #2 From Michael S Costello (MiscRat) 2004-05-04 12:25:42 0000 -------
Same experience here... no explicit nls in my /etc/make.conf but i noticed that
it is implicitly defined when i ran ufed.

------- Comment #3 From Tavis Ormandy (RETIRED) 2004-05-05 10:17:53 0000 -------
I cant reproduce on my machine, it might be useful if you could gzip and attach
the file make.out it's probably at
/var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/lib/package/gen/make.out

------- Comment #4 From Don Seiler (RETIRED) 2004-05-05 10:57:06 0000 -------
Hmm now I can't reproduce after having installed it successfully without NLS.

*sigh*  I don't know what to tell you.  Up until yesterday it would fail EVERY time.

------- Comment #5 From Tim Hobbs 2004-05-06 02:44:34 0000 -------
Attaching my make.out, which seems to be the same whether I do 'emerge ksh' or
'USE="-nls" emerge ksh'

------- Comment #6 From Tim Hobbs 2004-05-06 02:46:20 0000 -------
Created an attachment (id=30841) [edit]
make.out for failed emerging

------- Comment #7 From Tavis Ormandy (RETIRED) 2004-05-06 11:42:26 0000 -------
wow 500k ;)

luckily after a few greps i think i can see whats going on

taviso@insomniac:~$ grep -A 1 -- '-o ksh' make.out 
+ cc -mcpu=pentium3 -O3 -pipe -L. -L/var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/lib -rdynamic -o ksh pmain.o libshell.a /var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/lib/libcmd.a -lfsg /var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/lib/libast.a -liconv /var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/lib/libdll.a -ldl -ldld /var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/lib/libast.a -liconv /var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/lib/libast.a -liconv -lm -ljobs -li -lsecdb -lintl -ldl /var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/lib/libast.a -liconv
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lfsg

I think i've seen this before, i'll try and track it down.

------- Comment #8 From Tim Hobbs 2004-05-07 10:28:41 0000 -------
Oop, sorry - forgot to gzip (doh!)

Here is my emerge info if it will assist (as you can see I'm using ccache and distcc if that will make a difference):

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.
6.6-rc3)
=================================================================
System uname: 2.6.6-rc3 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System version 1.4.10
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1
/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla
/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium3 -O3 -pipe"
DISTDIR="/home/ftp/pub/gentoo/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://www.rectrix.cx/pub/gentoo/ http://gentoo.inode.at/ ftp://
gentoo.inode.at/source/ ftp://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/vol/portage"
PORTDIR_OVERLAY="/vol/portage.local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X acpi aim alsa apm avi berkdb bonobo cdr crypt cups directfb dvd enc
ode esd fbcon foomaticdb gd gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml icq imli
b jabber java jpeg lcms libg++ libwww mad maildir mmx motif mozilla mpeg msn ncu
rses nls oggvorbis opengl oscar pam pdflib perl png ppds python qt quicktime rea
dline samba sdl slang slp spell sse ssl svga tcltk tcpd tiff truetype usb wmf x8
6 xml2 xv yahoo zlib"

------- Comment #9 From Don Seiler (RETIRED) 2004-08-11 14:31:20 0000 -------
fwiw, I just installed ksh on a new install and it went fine.  Not sure if this
was due to some weird configs on my old box (it was originally a 1.1a install
that had been upgraded and misconfigured a lot).

------- Comment #10 From Denis Kot 2004-09-22 00:05:18 0000 -------
have the same bug

------- Comment #11 From Denis Kot 2004-09-23 00:38:38 0000 -------
found one more error:
/var/tmp/portage/ksh-93.20040229/work/src/cmd/ksh93/include/fault.h:33:24: sig.h: No such file or directory
p.s. more info here:
http://forums.gentoo.org/viewtopic.php?t=223652

------- Comment #12 From Tavis Ormandy (RETIRED) 2004-09-23 01:11:54 0000 -------
I wasn't aware so many people were hitting this bug. I'm having a lot of
trouble tracking this down due to the complexity of the ksh build process, and
the fact that I can't reproduce it on my machines.

I've checked google and people on other operating systems and other
distributions are hitting the same issue and as some people hit it and some
people on identical systems dont, it's a real pain to isolate.

Anyway, I've found a patch that some people seem to think fix the issues, but
as I cant reproduce, i can't verify that....can someone sync in about 30
minutes and retry building?

------- Comment #13 From Dylan Vanderhoof 2004-09-23 18:10:59 0000 -------
Pretty sure its been 30 minutes now.  Still no dice on any of my 3 gentoo
boxes.  

------- Comment #14 From sysop@ipudev.com 2004-09-24 07:29:43 0000 -------
  Success for me.. Emerge sync'ed this morning and ksh compiled normally (which
it hasn't been able to for a week or so now.)

------- Comment #15 From Wolfram Schlich 2004-10-17 04:41:37 0000 -------
I just experienced something very similar -- there's a segfault during the
compilation of ksh but the compilation goes along (!) and portage installs the
broken ksh (!!!).

--8<--[ emerge =app-shells/ksh-93.20040229 ]--8<--
[...]
+ /bin/mv /var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/fun/pushd
/var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/fun/pushd.old
+ true
+ /bin/cp /var/tmp/portage/ksh-93.20040229/work/src/cmd/ksh93/fun/pushd
/var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/fun/pushd
+ chmod ugo+x /var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/fun/pushd
package: make with mamake
mamake: *** exit code 139 making all
package: make done  at Sun Oct 17 02:35:07 CEST 2004 in
/var/tmp/portage/ksh-93.20040229/work/arch/linux.i386
nls
./bin/package: line 2691: 20641 Segmentation fault      (core dumped) $SHELL -c
'trap "exit 0" 0; exit 1' 2>/dev/null
package: make with mamake
package: make output captured in
/var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/lib/package/gen/make.out
package: make start at Sun Oct 17 02:35:08 CEST 2004 in
/var/tmp/portage/ksh-93.20040229/work/arch/linux.i386
mamake: *** exit code 139 making all
package: make done  at Sun Oct 17 02:35:09 CEST 2004 in
/var/tmp/portage/ksh-93.20040229/work/arch/linux.i386

>>> Install ksh-93.20040229 into /var/tmp/portage/ksh-93.20040229/image/ category app-shells
nls
man:
prepallstrip:
strip:
strip:
   bin/ksh
>>> Completed installing into /var/tmp/portage/ksh-93.20040229/image/
--8<--

USE="nls" is set.

The broken ksh segfaults upon execution:

--8<--[ ksh ]--8<--
[wschlich@prometheus(pts/55):wschlich]$ ksh
Segmentation fault
>>> last exit code: 139
[wschlich@prometheus(pts/55):wschlich]$
--8<--

Here's more info on the system:

--8<--[ emerge info ]--8<--
[wschlich@prometheus(pts/55):wschlich]$ emerge info
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) MP
Gentoo Base System version 1.4.16
distcc 2.13 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"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /lib/modules /opt/glftpd/etc /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/AntiVir/hbedv.key
/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/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo
/etc/env.d"
CXXFLAGS="-march=athlon-mp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache digest notitles sandbox userpriv
usersandbox"
GENTOO_MIRRORS="http://gentoo.bla.fasel.org
        http://ftp.snt.utwente.nl/pub/os/linux/gentoo
        http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror
        http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo
        http://gentoo.inode.at
        http://ftp.ussg.iu.edu/linux/gentoo
        http://gentoo.oregonstate.edu
        http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://localhost/gentoo-portage"
USE="3dnow X509 aalib accounting acl acpi afs aim aliaschain alsa apache2 apm
async autofs avi berkdb bitmap-fonts calendar cap caps cdb cddb cdr cdrom cgi
chroot client cnamefix cpdflib crypt cscope ctype cups curl curlwrappers
dedicated devmap distcache divx4linux doc dvd dvdr dvdread encode etdyn evms2
expat extensions f77 faad fam fastcgi fax fbcon flac flash foomaticdb ftp
fwdzone gd gd-external gdbm geoip gif gpm hardened hardenedphp iconv icq idea
imagemagick imap imlib imlib2 innodb ipv6 ipv6arpa jabber java javascript jikes
jpeg kerberos lcd ldap libwww live lm_sensors lmtp ltsp lufsusermount mad
mailbox maildir maildrop mailwrapper makecheck mbox mcal md5sum memlimit
messages mhash mikmod ming mmap mmx mpeg mpeg4 msn mssql multipleip mysql
mysqli nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nethack nls nntp
nocardbus ntlm oav odbc offensive oggvorbis oss pam parse-clocks pcap pcntl
pcre pdflib pear-db perl php pic pie png pnp posix postfix postgres ppds
prelude procmail propolice pthreads pwdb python quicktime readline recode
regexp roundrobin rtc ruby samba sasl sdl semanticfix serial server session
shared silc simplexml skey slp smartcard smime snmp snortsam soap sockets
socks5 spamassassin spell sqlite sse ssl svg svga sysvipc tcpd tcsim tetex
theora tiff tokenizer transcode truetype trusted unicode usb uudeview v4l v4l2
vda vhosts virus-scan vpopmail wmf x86 xbase xface xinetd xml xml2 xmlrpc
xprint xsl yahoo yv12 zlib"
--8<--

Trying to remerge ksh with USE="-nls" resulted in the following
--8<--[ env USE="-nls" emerge =app-shells/ksh-93.20040229 ]--8<--
>>> Source unpacked.
./bin/package: line 2668: 13904 Segmentation fault      (core dumped) $SHELL -c
'trap "exit 0" 0; exit 1' 2>/dev/null
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: update /var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/bin/proto
package: update
/var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/bin/mamake
package: update /var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/bin/ratz
package: update
/var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/bin/release
package: make output captured in
/var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/lib/package/gen/make.out
package: make start at Sun Oct 17 13:13:27 CEST 2004 in
/var/tmp/portage/ksh-93.20040229/work/arch/linux.i386
mamake: *** exit code 139 making all
package: make: errors making
/var/tmp/portage/ksh-93.20040229/work/arch/linux.i386/bin/ksh
package: make done  at Sun Oct 17 13:13:27 CEST 2004 in
/var/tmp/portage/ksh-93.20040229/work/arch/linux.i386

!!! ERROR: app-shells/ksh-93.20040229 failed.
!!! Function src_compile, Line 51, Exitcode 1
!!! (no error message)

>>> last exit code: 1
[wschlich@prometheus(pts/55):wschlich]$
--9<--

------- Comment #16 From Cole Hoosier 2005-05-30 08:15:06 0000 -------
I was receiving the same error with distcc enabled, but disabling it resulted
in
a successful build.

------- Comment #17 From Peter Gantner (a.k.a. nephros) 2006-02-04 04:57:42 0000 -------
Just got reminded of this bug by the Bugday "randomly selected bugs" list.

Seeing the last comment I did a test compile with  app-shells/ksh-93.20050202.

It compiled without distcc, but failed with the distcc feature enabled.
And this even though I was using only localhost and a non-existant IP address
as distcc hosts.

The error looks like this (I think that is it):
+ cc -w -mtune=athlon-mp -march=athlon-mp -O2 -pipe -fomit-frame-pointer
-momit-leaf-frame-pointer -mmmx
 -msse -m3dnow -mfpmath=sse,387 -malign-functions=4 -fno-ident -fweb -ftracer
-L. -L/var/tmp/portage/ksh
-93.20050202/work/arch/linux.i386/lib -o ksh pmain.o libshell.a
/var/tmp/portage/ksh-93.20050202/work/ar
ch/linux.i386/lib/libdll.a -ldl -ldld
/var/tmp/portage/ksh-93.20050202/work/arch/linux.i386/lib/libast.a
 /var/tmp/portage/ksh-93.20050202/work/arch/linux.i386/lib/libcmd.a -lfsg
/var/tmp/portage/ksh-93.200502
02/work/arch/linux.i386/lib/libast.a
/var/tmp/portage/ksh-93.20050202/work/arch/linux.i386/lib/libast.a 
-lm -ljobs -li -lsecdb -ldl
/var/tmp/portage/ksh-93.20050202/work/arch/linux.i386/lib/libast.a
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -ldld
collect2: ld returned 1 exit status
distcc[8658] ERROR: compile (null) on localhost failed
mamake [cmd/ksh93]: *** exit code 1 making ksh
+ cc -w -mtune=athlon-mp -march=athlon-mp -O2 -pipe -fomit-frame-pointer
-momit-leaf-frame-pointer -mmmx
 -msse -m3dnow -mfpmath=sse,387 -malign-functions=4 -fno-ident -fweb -ftracer
-Iinclude -I/var/tmp/porta
ge/ksh-93.20050202/work/src/cmd/ksh93/include
-I/var/tmp/portage/ksh-93.20050202/work/arch/linux.i386/in
clude/ast '-DSH_DICT="libshell"' -DSHOPT_KIA -D_PACKAGE_ast -DSHOPT_DYNAMIC
-DSHOPT_OO '-DUSAGE_LICENSE=
"[-author?David Korn <dgk@research.att.com>][-copyright?Copyright (c) 1982-2005
AT&T Corp.][-license?htt
p://www.opensource.org/licenses/cpl1.0.txt][--catalog?libshell]"' -c
/var/tmp/portage/ksh-93.20050202/wo
rk/src/cmd/ksh93/sh/shcomp.c
+ cc -w -mtune=athlon-mp -march=athlon-mp -O2 -pipe -fomit-frame-pointer
-momit-leaf-frame-pointer -mmmx
 -msse -m3dnow -mfpmath=sse,387 -malign-functions=4 -fno-ident -fweb -ftracer
-L. -L/var/tmp/portage/ksh
-93.20050202/work/arch/linux.i386/lib -o shcomp shcomp.o libshell.a
/var/tmp/portage/ksh-93.20050202/wor
k/arch/linux.i386/lib/libdll.a -ldl -ldld
/var/tmp/portage/ksh-93.20050202/work/arch/linux.i386/lib/liba
st.a /var/tmp/portage/ksh-93.20050202/work/arch/linux.i386/lib/libcmd.a -lfsg
/var/tmp/portage/ksh-93.20
050202/work/arch/linux.i386/lib/libast.a
/var/tmp/portage/ksh-93.20050202/work/arch/linux.i386/lib/libas
t.a -lm -ljobs -li -lsecdb -ldl
/var/tmp/portage/ksh-93.20050202/work/arch/linux.i386/lib/libast.a
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -ldld
collect2: ld returned 1 exit status
distcc[8670] ERROR: compile (null) on localhost failed
mamake [cmd/ksh93]: *** exit code 1 making shcomp

Hope this helps a bit.

------- Comment #18 From Martin Mokrejs 2006-03-24 00:33:10 0000 -------
+ /bin/cp /var/tmp/portage/ksh-93.20050202/work/src/cmd/ksh93/fun/popd
/var/tmp/portage/ksh-93.20050202/work/arch/linux.i386/fun/popd
+ chmod ugo+x /var/tmp/portage/ksh-93.20050202/work/arch/linux.i386/fun/popd
+ test '' = fun/pushd
+ /usr/bin/cmp -s /var/tmp/portage/ksh-93.20050202/work/src/cmd/ksh93/fun/pushd
/var/tmp/portage/ksh-93.20050202/work/arch/linux.i386/fun/pushd
+ /bin/mv /var/tmp/portage/ksh-93.20050202/work/arch/linux.i386/fun/pushd
/var/tmp/portage/ksh-93.20050202/work/arch/linux.i386/fun/pushd.old
+ true
+ /bin/cp /var/tmp/portage/ksh-93.20050202/work/src/cmd/ksh93/fun/pushd
/var/tmp/portage/ksh-93.20050202/work/arch/linux.i386/fun/pushd
+ chmod ugo+x /var/tmp/portage/ksh-93.20050202/work/arch/linux.i386/fun/pushd
mamake: *** exit code 1 making cmd/ksh93
package: make: errors making
/var/tmp/portage/ksh-93.20050202/work/arch/linux.i386/bin/ksh
package: make done  at Fri Mar 24 09:31:19 CET 2006 in
/var/tmp/portage/ksh-93.20050202/work/arch/linux.i386

!!! ERROR: app-shells/ksh-93.20050202 failed.


Portage 2.1_pre6-r5 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.4-r1,
2.6.16-rc5 i686)
=================================================================
System uname: 2.6.16-rc5 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.4-r1, 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-r2
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="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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/lib/mozilla/defaults/pref /usr/share/config
/usr/spool/PBS /var/bind /var/qmail/alias /var/qmail/control /var/spool/PBS"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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 FFmpeg X Xaw3d aac aalib acpi alsa apache2 apm arts ati avi berkdb
bitmap-fonts bonobo caca cdparanoia cdr cpudetection crypt cscope ctype cups
curl dba dga directfb divx divx5 divx5linux doc dri dv dvb dvd dvdr dvdread eds
emacs emacs-w3 emboss encode esd ethereal evo f77 faad faad2 fam fame fbcon
ffmpeg flash foomaticdb fortran fvwm fvwm2 gb gd gdbm ggi gif gphoto2 gpm
gstreamer gtk gtk2 gtkhtml i8x0 icc iconv ifc imagemagick imlib imlib2 inifile
innodb ipv6 ithreads java jpeg kerberos lcms leim libcaca libg++ libwww live
lzo mad matroska mcal mesa mhash mikmod ming mmx mmx2 mmxext motif mozilla mp3
mpeg mule mysql ncurses network nls nptl nptlonly ogg oggvorbis opengl oss pam
pcre pda pdflib perl plotutils plugin png ppds pthread pthreads python qt qtx
quicktime readline rtc samba scanner scp sdl server session slp spell sse sse2
ssl stroke tcltk tcpd tetex theora thread threads tiff truetype truetype-fonts
type1-fonts unicode usb v4l v4l2 vorbis win32 win32codecs winvidix wmf xanim
xml xml2 xmms xosd xv xvid xvmc zeo zlib elibc_glibc kernel_linux userland_GNU
video_cards_radeon"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS,
MAKEOPTS


# gcc-config -l
 [1] i686-pc-linux-gnu-3.3.6
 [2] i686-pc-linux-gnu-3.3.6-hardened
 [3] i686-pc-linux-gnu-3.3.6-hardenednopie
 [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.3.6-hardenednossp
 [6] i686-pc-linux-gnu-3.4.5 *
 [7] i686-pc-linux-gnu-3.4.5-hardened
 [8] i686-pc-linux-gnu-3.4.5-hardenednopie
 [9] i686-pc-linux-gnu-3.4.5-hardenednopiessp
 [10] i686-pc-linux-gnu-3.4.5-hardenednossp
#


I see the ksh-93.20050202.ebuild lacks the patch mentioned in comment #12. So I
picked that line up from the previous, ksh-93.20040229.ebuild and retried, but
that failed with same message again. So the patch does not fix the problem. ;(
That is also verified by unsuccessfulls attempt to compile
=app-shells/ksh-93.20040229 and =app-shells/ksh-93.20030724.

------- Comment #19 From Martin Mokrejs 2006-03-24 01:04:50 0000 -------
USE="-nls -utf8" emerge =app-shells/ksh-93.20050202 doesn't help me either.

------- Comment #20 From Martin Mokrejs 2006-03-26 12:10:25 0000 -------
This can be fixed by providing this ebuild: app-shells/ksh-93.20060214. It
works for me.

------- Comment #21 From Martin Parm 2006-04-28 03:02:25 0000 -------
(In reply to comment #20)
> This can be fixed by providing this ebuild: app-shells/ksh-93.20060214. It
> works for me.
> 

This is not enough for me:
mamake: *** exit code 1 making cmd/ksh93
package: make: errors making
/var/tmp/portage/ksh-93.20060214/work/arch/linux.i386/bin/ksh
package: make done  at Fri Apr 28 11:59:26 CEST 2006 in
/var/tmp/portage/ksh-93.20060214/work/arch/linux.i386

!!! ERROR: app-shells/ksh-93.20060214 failed.
!!! Function src_compile, Line 44, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


# emerge --info
Portage 2203-svn
(!/usr/local/portage/profiles/default-linux/x86/2006.0/DIKU/workstation,
gcc-3.4.5, glibc-2.3.6-r3, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gentoo.diku.dk/ http://www.ibiblio.org/gentoo/
ftp://gentoo.linux.no/pub/gentoo/ http://gentoo.linux.no/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.diku.dk/gentoo-portage/"
USE="x86 X alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts
browserplugin bzip2 cjk cli crypt dri eds emacs emboss encode esd expat
foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imap imlib ipv6
isdnlog jpeg kde ldap libg++ libwww mad maildir matroska mbox mikmod motif mp3
mpeg ncurses nls nptl nsplugin ogg opengl oss pam pcre pdflib perl png pppd
python qt quicktime readline reflection sasl sdl session slang spell spl ssl
tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis
xinerama xml xmms xorg xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS,
MAKEOPTS

------- Comment #22 From Stefan Jones (RETIRED) 2006-05-11 20:03:18 0000 -------
*** Bug 130740 has been marked as a duplicate of this bug. ***

------- Comment #23 From Evil Compile Person 2006-10-14 11:50:51 0000 -------
this still isn't fixed :-(

+ ar cr libshell.a jobs.o lex.o macro.o name.o nvtree.o parse.o path.o string.o
streval.o subshell.o tdump.o timers.o trestore.o waitevent.o xec.o env.o
limits.o msg.o strdata.o testops.o keywords.o options.o signals.o aliases.o
builtins.o variables.o lexstates.o emacs.o vi.o
+ cc -O2 -march=i686 -pipe -o ksh pmain.o -lshell -lcmd -last -ldll -ldl -last
-last -lm -ldl -last
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lshell
collect2: ld returned 1 exit status
mamake [cmd/ksh93]: *** exit code 1 making ksh
+ cc -O2 -march=i686 -pipe -Iinclude
-I/var/tmp/portage/app-shells/ksh-93.20040229/work/src/cmd/ksh93/include
-I/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/include/ast
'-DSH_DICT="libshell"' -DSHOPT_KIA -D_PACKAGE_ast -DSHOPT_DYNAMIC -DSHOPT_OO
'-DUSAGE_LICENSE="[-author?David Korn
<dgk@research.att.com>][-copyright?Copyright (c) 1982-2004 AT&T
Corp.][-license?http://www.research.att.com/sw/license/ast-open.html][--catalog?libshell]"'
-c /var/tmp/portage/app-shells/ksh-93.20040229/work/src/cmd/ksh93/sh/shcomp.c
+ cc -O2 -march=i686 -pipe -o shcomp shcomp.o -lshell -lcmd -last -ldll -ldl
-last -last -lm -ldl -last
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lshell
collect2: ld returned 1 exit status
mamake [cmd/ksh93]: *** exit code 1 making shcomp
+ cc -O2 -march=i686 -pipe -I.
-I/var/tmp/portage/app-shells/ksh-93.20040229/work/src/cmd/ksh93
-I/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/include/ast
-D_PACKAGE_ast -c
/var/tmp/portage/app-shells/ksh-93.20040229/work/src/cmd/ksh93/sh/suid_exec.c
+ cc -O2 -march=i686 -pipe -o suid_exec suid_exec.o -last
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -last
collect2: ld returned 1 exit status
mamake [cmd/ksh93]: *** exit code 1 making suid_exec
+ test '' = sh.1
+ /usr/bin/cmp -s
/var/tmp/portage/app-shells/ksh-93.20040229/work/src/cmd/ksh93/sh.1
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/man/man1/sh.1
+ /bin/mv
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/man/man1/sh.1
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/man/man1/sh.1.old
+ true
+ /bin/cp /var/tmp/portage/app-shells/ksh-93.20040229/work/src/cmd/ksh93/sh.1
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/man/man1/sh.1
+ test '' = libshell.a
+ /usr/bin/cmp -s libshell.a
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/lib/libshell.a
+ /bin/mv
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/lib/libshell.a
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/lib/libshell.a.old
+ true
+ /bin/cp libshell.a
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/lib/libshell.a
+ test '' = shell.3
+ /usr/bin/cmp -s
/var/tmp/portage/app-shells/ksh-93.20040229/work/src/cmd/ksh93/shell.3
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/man/man3/shell.3
+ /bin/mv
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/man/man3/shell.3
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/man/man3/shell.3.old
+ true
+ /bin/cp
/var/tmp/portage/app-shells/ksh-93.20040229/work/src/cmd/ksh93/shell.3
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/man/man3/shell.3
+ test '' = nval.3
+ /usr/bin/cmp -s
/var/tmp/portage/app-shells/ksh-93.20040229/work/src/cmd/ksh93/nval.3
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/man/man3/nval.3
+ /bin/mv
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/man/man3/nval.3
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/man/man3/nval.3.old
+ true
+ /bin/cp /var/tmp/portage/app-shells/ksh-93.20040229/work/src/cmd/ksh93/nval.3
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/man/man3/nval.3
+ test '' = shell.req
+ /usr/bin/cmp -s shell.req
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/lib/lib/shell
+ /bin/mv
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/lib/lib/shell
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/lib/lib/shell.old
+ true
+ /bin/cp shell.req
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/lib/lib/shell
+ proto -p -s -l
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/lib/package/ast.lic
'-o since=1982,author=dgk'
/var/tmp/portage/app-shells/ksh-93.20040229/work/src/cmd/ksh93/include/nval.h
+ cmp -s
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/include/ast/nval.h
1.29512.x
+ mv 1.29512.x
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/include/ast/nval.h
+ proto -p -s -l
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/lib/package/ast.lic
'-o since=1982,author=dgk'
/var/tmp/portage/app-shells/ksh-93.20040229/work/src/cmd/ksh93/include/shell.h
+ cmp -s
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/include/ast/shell.h
1.29516.x
+ mv 1.29516.x
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/include/ast/shell.h
+ proto -p -s -l
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/lib/package/ast.lic
'-o since=1982,author=dgk'
/var/tmp/portage/app-shells/ksh-93.20040229/work/src/cmd/ksh93/include/history.h
+ cmp -s
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/include/ast/history.h
1.29520.x
+ mv 1.29520.x
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/include/ast/history.h
+ test '' = fun/dirs
+ /usr/bin/cmp -s
/var/tmp/portage/app-shells/ksh-93.20040229/work/src/cmd/ksh93/fun/dirs
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/fun/dirs
+ /bin/mv
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/fun/dirs
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/fun/dirs.old
+ true
+ /bin/cp
/var/tmp/portage/app-shells/ksh-93.20040229/work/src/cmd/ksh93/fun/dirs
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/fun/dirs
+ chmod ugo+x
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/fun/dirs
+ test '' = fun/popd
+ /usr/bin/cmp -s
/var/tmp/portage/app-shells/ksh-93.20040229/work/src/cmd/ksh93/fun/popd
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/fun/popd
+ /bin/mv
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/fun/popd
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/fun/popd.old
+ true
+ /bin/cp
/var/tmp/portage/app-shells/ksh-93.20040229/work/src/cmd/ksh93/fun/popd
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/fun/popd
+ chmod ugo+x
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/fun/popd
+ test '' = fun/pushd
+ /usr/bin/cmp -s
/var/tmp/portage/app-shells/ksh-93.20040229/work/src/cmd/ksh93/fun/pushd
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/fun/pushd
+ /bin/mv
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/fun/pushd
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/fun/pushd.old
+ true
+ /bin/cp
/var/tmp/portage/app-shells/ksh-93.20040229/work/src/cmd/ksh93/fun/pushd
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/fun/pushd
+ chmod ugo+x
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/fun/pushd
mamake: *** exit code 1 making cmd/ksh93
package: make: errors making
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386/bin/ksh
package: make done  at Sat Oct 14 16:47:52 Local time zone must be set--see zic
manual page 2006 in
/var/tmp/portage/app-shells/ksh-93.20040229/work/arch/linux.i386

!!! ERROR: app-shells/ksh-93.20040229 failed.

------- Comment #24 From Jason Bucata 2006-11-02 20:17:54 0000 -------
I'm tripping over this too, what Evil Compile Person saw.

No distcc, haven't touched nls USE (defaults to on), never installed ksh on
this machine before (since my last full install of Gentoo at least).

The interesting lines, best I can tell, are:

+ cc -pipe -O2 -march=athlon-xp -fomit-frame-pointer -o ksh pmain.o -lshell
-lcmd -last -ldll -ldl -last -last -lm -ldl -last
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lshell
collect2: ld returned 1 exit status
mamake [cmd/ksh93]: *** exit code 1 making ksh

------- Comment #25 From CFuga 2006-11-04 16:02:01 0000 -------
Created an attachment (id=101250) [edit]
Patch for ksh-93.20040229: fix linking with ast and shell libs.

 The current problem is that shcomp and suid_exec objects looks for the ast and
shell libs (-last and -lshell). But the build system doesn't define well the
right location of those libs. This patch fix this problem.

 After applying this patch, there are new errors: they come from the ast lib.

+ cc -march=pentium4 -O3 -pipe -fforce-addr -fprefetch-loop-arrays
-funroll-loops -fomit-frame-pointer -fstack-protector -Wl,-O1
-Wl,--enable-new-dtags -Wl,--sort-common -s -L. -L../../../lib -o ksh pmain.o
-lshell -lcmd -last -ldll -ldl -last -last -lm -ldl -last
../../../lib/libcmd.a(chmod.o): In function: `b_chmod':
chmod.c:(.text+0x126): warning: warning: lchmod is not implemented and will
always fail
./libshell.a(path.o): In function `path_spawn':
path.c:(.text+0x1f85): reference to `spawnveg' undefined
path.c:(.text+0x2891): reference to `spawnveg' undefined
path.c:(.text+0x2936): reference to `spawnveg' undefined
../../../lib/libast.a(signal.o): In function `signal':
signal.c:(.text+0x96): reference to `sigunblock' undefined
../../../lib/libast.a(astconf.o): In function `feature':
astconf.c:(.text+0x18c5): reference to `getuniverse' undefined
astconf.c:(.text+0x18e5): reference to `setuniverse' undefined
../../../lib/libast.a(regclass.o): In function `regclass':
regclass.c:(.text+0x259): reference to `memdup' undefined
collect2: ld returned exit status 1
mamake [cmd/ksh93]: *** exit code 1 making ksh

+ cc -march=pentium4 -O3 -pipe -fforce-addr -fprefetch-loop-arrays
-funroll-loops -fomit-frame-pointer -fstack-protector -Wl,-O1
-Wl,--enable-new-dtags -Wl,--sort-common -s -L. -L../../../lib -o shcomp
shcomp.o -lshell -lcmd -last -ldll -ldl -last -last -lm -ldl -last
../../../lib/libcmd.a(chmod.o): In function `b_chmod':
chmod.c:(.text+0x126): warning: warning: lchmod is not implemented and will
always fail
./libshell.a(path.o): In function `path_spawn':
path.c:(.text+0x1f85): reference to `spawnveg' undefined
path.c:(.text+0x2891): reference to `spawnveg' undefined
path.c:(.text+0x2936): reference to `spawnveg' undefined
../../../lib/libast.a(signal.o): In function `signal':
signal.c:(.text+0x96): reference to `sigunblock' undefined
../../../lib/libast.a(astconf.o): In function `feature':
astconf.c:(.text+0x18c5): reference to `getuniverse' undefined
astconf.c:(.text+0x18e5): reference to `setuniverse' undefined
../../../lib/libast.a(regclass.o): In function `regclass':
regclass.c:(.text+0x259): reference to `memdup' undefined
collect2: ld returned exit status 1
mamake [cmd/ksh93]: *** exit code 1 making shcomp

+ cc -march=pentium4 -O3 -pipe -fforce-addr -fprefetch-loop-arrays
-funroll-loops -fomit-frame-pointer -fstack-protector -Wl,-O1
-Wl,--enable-new-dtags -Wl,--sort-common -s -L. -L../../../lib -o suid_exec
suid_exec.o -last
../../../lib/libast.a(signal.o): In function `signal':
signal.c:(.text+0x96): reference to `sigunblock' undefined
../../../lib/libast.a(astconf.o): In function `feature':
astconf.c:(.text+0x18c5): reference to `getuniverse' undefined
astconf.c:(.text+0x18e5): reference to `setuniverse' undefined
../../../lib/libast.a(regclass.o): In function `regclass':
regclass.c:(.text+0x259): reference to `memdup' undefined
collect2: ld returned exit status 1
mamake [cmd/ksh93]: *** exit code 1 making suid_exec

------- Comment #26 From Kim Højgaard-Hansen 2007-01-06 15:42:19 0000 -------
The newest version builds fine on my AMD64 (~93.20060214-r1) but I could
reproduce the error with the older version (~93.20060214), so is this still a
problem?

------- Comment #27 From Jason Bucata 2007-01-07 06:35:24 0000 -------
ksh-93.20060214-r1 worked for me on Athlon XP too.

Should we mark this fixed?

------- Comment #28 From Martin Mokrejs 2007-01-07 12:13:31 0000 -------
I have unmerged ksh-93.20060214-r1 and it has unmerged in between the many
files /bin/ksh. However, /usr/bin/ksh was left in my computer and it was not
managed through portage, as equery did not find it in the databse. So, it was
probably the file I have copied to my computer to get ksh compiled from another
host. I have deleted the file and re-tested to compile ksh-93.20060214-r1 while
ksh shell is not available on the host. And it worked fine on my ~x86.

------- Comment #29 From Jeffery Martin 2007-01-12 18:34:28 0000 -------
I can also confirm that after getting the ksh-93.20040229 make error, when I
later emerge ksh-93.20060214-r1, it works fine.  I used no shell environment
USE flags, only what is always in my make.conf.  This is on march=pentium4.

------- Comment #30 From R Stephan 2007-02-03 15:34:24 0000 -------
another confirmation on a featureless Pentium-M system that
- ksh-93.20040229 does not compile
- ksh-93.20060214-r1 does compile.

------- Comment #31 From Jason Bucata 2007-03-27 02:19:36 0000 -------
It looks like the maintainer (taviso) isn't particularly active...

Per marienz in IRC, this bug should remain open until a fixed version of ksh
gets into stable.

Perhaps somebody should file another bug to request such promotion (marienz
said usually the maintainer does that).  I don't use ksh myself (I needed it
for some one-off testing when I first hit this); would somebody who actually
uses it like to be the champion to push out that bug requesting promotion to
stable?

------- Comment #32 From Jakub Moc 2007-06-23 22:33:00 0000 -------
(In reply to comment #31)
> Perhaps somebody should file another bug to request such promotion (marienz
> said usually the maintainer does that).  I don't use ksh myself (I needed it
> for some one-off testing when I first hit this); would somebody who actually
> uses it like to be the champion to push out that bug requesting promotion to
> stable?
> 

It can't go stable until Bug 145400 is fixed.

------- Comment #33 From Jakub Moc 2007-08-25 07:56:03 0000 -------
*** Bug 190121 has been marked as a duplicate of this bug. ***

------- Comment #34 From Jakub Moc 2008-02-28 09:58:14 0000 -------
ksh-93.20071105 stable, closing this really stale bug.

First Last Prev Next    No search results available      Search page      Enter new bug