Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61404 - bash-3.0-r5 does not compile because of too many undefined references, ld returned 1 exit status
Summary: bash-3.0-r5 does not compile because of too many undefined references, ld ret...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-23 11:04 UTC by Sascha Wuestemann
Modified: 2004-09-21 08:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Wuestemann 2004-08-23 11:04:12 UTC
updating system with or without ccache with "emerge -uv system" fails at building bash-3.0-r5.

I get a bunch of "undefined references" right after having left ...bash-3.0/lib/tilde when compiling bash sehll.o and other starts. Last output is "collect2: ld returned 1 exit status". The compile fails.

Reproducible: Always
Steps to Reproduce:
1.emerge -uv system
2.
3.

Actual Results:  
bash ebuild starts, patches, compiles and fails to continue.

Expected Results:  
I expected a clean, successfully ebuild.

emerge info:
------------

Gentoo Base System version 1.5.3
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i586 AMD-K6(tm) 3D processor
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=k6-3 -O3 -pipe -fomit-frame-pointer"
CHOST="i586-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.3/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/
share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k6-3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/tmp2"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X X509 Xaw3d aalib acpi alsa apache2 apm arts audiofile avi berkdb
bindist cdr chroot crypt cscope curl curlwrappers dedicated doc dvd dvdr encode
esd ethereal fastcgi f
lac flash foomaticdb freetds gd gdbm ggi gif gmp gphoto2 gpm gstreamer gtk gtk2
guile hardened icc imagemagick imap imlib innodb java jikes jpeg kde lcms ldap
lesstif libg++ libwww
 mad maildir mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi mysql nas
ncurses nhc98 nls nocd odbc offensive oggvorbis opengl oss pam pda pdflib perl
png postgres prelude pyth
on qt quicktime readline samba sasl sdl skey slang snmp socks5 speex spell ssl
svga tcltk tcpd tetex theora tiff truetype unicode videos wmf wxwindows x86 xml
xml2 xmms xosd xv zli
b"

compile log:
-----------

very long, you can download it at
http://www.killerhippy.de/dl/emerge.update_system.2004-08-23
until this case is solved or you ask me to post it here.
Comment 1 SpanKY gentoo-dev 2004-08-23 11:22:08 UTC
what version of ncurses/readline ?
Comment 2 Sascha Wuestemann 2004-08-23 11:57:10 UTC
sys-libs/ncurses
      Latest version available: 5.4-r4
      Latest version installed: 5.4-r4


sys-libs/readline
      Latest version available: 5.0
      Latest version installed: 5.0
Comment 3 mikovits christian 2004-09-12 02:22:41 UTC
a symlink helps for me:

/usr/lib # ln -s libncurses.a libcurses.a
Comment 4 SpanKY gentoo-dev 2004-09-12 04:02:43 UTC
sync up and try to emerge again ... i made some changes to the way curses is linked in
Comment 5 SpanKY gentoo-dev 2004-09-21 08:53:37 UTC
ok, the ncurses ebuilds all now install ncurses libraries for .a and .so