Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20125 - ebuild fails while building
Summary: ebuild fails while building
Status: RESOLVED DUPLICATE of bug 15025
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-28 15:35 UTC by Matt Chorman
Modified: 2005-07-17 13:06 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 Matt Chorman 2003-04-28 15:35:44 UTC
This ebuild failed to compile. When I first ran emerge kssh it failed to compile - it was 
looking for /usr/bin/gcc-bin/i586-pc-linux-gnu/libstdc++.la. I created a symlink with 
/usr/bin/gcc-bin/i686-pc-linux-gnu and the expected 586 directory - this seemed to 
work, kssh installed and the program runs as expected. 
 
Running configure manually to look for system detection shows i686-pc-linux-gnu in all 
the expected spots. There are no lines that say i586. config.log shows the same. 
 
Here is the relevant place in the code before it stopped: 
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include 
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG 
-DNO_DEBUG -O2 -O2 -march=athlon -pipe -fomit-frame-pointer -fno-exceptions 
-fno-check-new  -c ksshdialog.cpp 
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include 
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG 
-DNO_DEBUG -O2 -O2 -march=athlon -pipe -fomit-frame-pointer -fno-exceptions 
-fno-check-new  -c kssh_meta_unload.cpp 
/bin/sh ../libtool --mode=link --tag=CXX g++  -DNDEBUG -DNO_DEBUG -O2 -O2 
-march=athlon -pipe -fomit-frame-pointer -fno-exceptions -fno-check-new   -o kssh 
-L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib  -R /usr/kde/3.1/lib -R /usr/qt/3/lib -R 
/usr/X11R6/lib kssh.o main.o ksshdialog.o kssh.moc.o kssh_meta_unload.o  -lkio 
-lkdeui -lkdecore -lqt-mt  -lpng -lz -lm -lXext -lX11 -lresolv -lSM -lICE -lpthread -lresolv 
mkdir .libs 
libtool: link: cannot find the library `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la' 
make[2]: *** [kssh] Error 1 
make[2]: Leaving directory `/var/tmp/portage/kssh-0.6/work/kssh-0.6/kssh' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/kssh-0.6/work/kssh-0.6' 
make: *** [all-recursive-am] Error 2 
 
!!! ERROR: net-misc/kssh-0.6 failed. 
!!! Function kde_src_compile, Line 123, Exitcode 2 
!!! died running emake, kde_src_compile:make 
 
 
 

Reproducible: Always
Steps to Reproduce:
1.emerge kssh 
2. 
3. 
Actual Results:  
Error during make (link), message given in details. 

Expected Results:  
Compiled and produced a nifty program 

matt@madcat gcc-lib # emerge info 
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1) 
================================================================= 
System uname: 2.5.67 i686 AMD Duron(tm) 
GENTOO_MIRRORS="ftp.gtlib.cc.gatech.edu/pub/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 oss crypt gif libg++ libwww mikmod ncurses nls pdflib png spell xml2 xmms 
xv zlib gdbm berkdb slang readline arts svga java guile gpm tcpd pam ssl perl python 
esd imlib gnome kde motif mozilla X gtk qt dvd mp3 avi alsa apm cups encode jpeg 
mmx mpeg oggvorbis opengl quicktime samba sdl truetype 3dnow" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer" 
CXXFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer" 
ACCEPT_KEYWORDS="~x86 ~arch" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-04-28 16:16:46 UTC

*** This bug has been marked as a duplicate of 15025 ***