Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103083 - sdl-sound-1.0.1-r1 fails to emerge
Summary: sdl-sound-1.0.1-r1 fails to emerge
Status: RESOLVED DUPLICATE of bug 73435
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-19 12:53 UTC by John Ratliff
Modified: 2005-08-19 15:24 UTC (History)
0 users

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


Attachments
output of emerge (emerge_sdl-sound-1.0.1-r1.txt,12.95 KB, text/plain)
2005-08-19 12:53 UTC, John Ratliff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Ratliff 2005-08-19 12:53:16 UTC
When I try to emerge sdl-sound, it fails with the following error:

/bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -march=pentium4
-I/usr/include/SDL -D_REENTRANT -pthread -D_REENTRANT    -o libtimidity.la  
common.lo instrum.lo instrum_dls.lo mix.lo output.lo playmidi.lo readmidi.lo
resample.lo tables.lo timidity.lo  -L/usr/lib -Wl,-rpath,/usr/lib -lSDL
-lpthread -L/usr/lib -lmikmod -ldl -L/usr/lib -lm  -lvorbis -lm -lvorbisfile
-lvorbisenc
grep: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5-20050130/libstdc++.la: No such
file or directory
sed: can't read /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5-20050130/libstdc++.la:
No such file or directory
libtool: link: `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5-20050130/libstdc++.la'
is not a valid libtool archive
make[3]: *** [libtimidity.la] Error 1


Reproducible: Always
Steps to Reproduce:
1. emerge sdl-sound

Actual Results:  
/bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -march=pentium4
-I/usr/include/SDL -D_REENTRANT -pthread -D_REENTRANT    -o libtimidity.la  
common.lo instrum.lo instrum_dls.lo mix.lo output.lo playmidi.lo readmidi.lo
resample.lo tables.lo timidity.lo  -L/usr/lib -Wl,-rpath,/usr/lib -lSDL
-lpthread -L/usr/lib -lmikmod -ldl -L/usr/lib -lm  -lvorbis -lm -lvorbisfile
-lvorbisenc
grep: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5-20050130/libstdc++.la: No such
file or directory
sed: can't read /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5-20050130/libstdc++.la:
No such file or directory
libtool: link: `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5-20050130/libstdc++.la'
is not a valid libtool archive
make[3]: *** [libtimidity.la] Error 1


Expected Results:  
Success.

Gentoo Base System version 1.6.12
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4"
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/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks 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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl eds emboss
encode esd fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib
ipv6 jpeg kde ldap libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurses nls
ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl
spell ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 John Ratliff 2005-08-19 12:53:59 UTC
Created attachment 66343 [details]
output of emerge

This is the full output of emerge sdl-sound
Comment 2 John Ratliff 2005-08-19 12:57:29 UTC
I can make the emerge succeed if I create a symlink
/usr/lib/gcc-lib/i386-pc-linux-gnu to /usr/lib/gcc-lib/i686-pc-linux-gnu

However, software that uses this lib will not compile. It complains that main is
undefined in crt1.0.

I don't know why it tries i386-pc-linux-gnu. I have never changed the CHOST
variable in make.conf.
Comment 3 John Ratliff 2005-08-19 13:20:05 UTC
Scratch "However, software that uses this lib will not compile. It complains
that main is undefined in crt1.0."

This problem is not related to emerging sdl-sound. Sorry.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-08-19 15:24:06 UTC
run fix_libtool_files.sh 3.3.5-20050130 --oldarch i386-pc-linux-gnu

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