Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106702 - sg3_utils won't compile, looks for older gcc
Summary: sg3_utils won't compile, looks for older gcc
Status: RESOLVED DUPLICATE of bug 73435
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-20 10:39 UTC by Chad Granum
Modified: 2005-09-20 10:43 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 Chad Granum 2005-09-20 10:39:24 UTC
compiling sg3_utils it kiks me out when it looks for files in
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130  but I do not have that
version of gcc installed, I have used gcc-config and env-update

Reproducible: Always
Steps to Reproduce:
1.upgrade gcc to current default in portage
2.emerge sg3_utils
3.

Actual Results:  
It failed to compile

Expected Results:  
compiled cleanly

mkdir .libs
 gcc -c sg_lib.c  -fPIC -DPIC -o .libs/sg_lib.o
 gcc -c sg_cmds.c  -fPIC -DPIC -o .libs/sg_cmds.o
 gcc -c sg_lib.c -o sg_lib.o >/dev/null 2>&1
 gcc -c sg_cmds.c -o sg_cmds.o >/dev/null 2>&1
libtool --mode=link gcc -o sg_reset  sg_reset.o
libtool --mode=link gcc -o libsgutils.la sg_lib.lo sg_cmds.lo \
-rpath //usr/local/lib -version-info 1:0:0
gcc -o sg_reset sg_reset.o 
i686-pc-linux-gnu-g++ -shared -nostdlib
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../crti.o
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/crtbeginS.o  .libs/sg_lib.o
.libs/sg_cmds.o  -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../../i686-pc-linux-gnu/lib
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../.. -lstdc++ -lm -lc
-lgcc_s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/crtendS.o
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../crtn.o  -Wl,-soname
-Wl,libsgutils.so.1 -o .libs/libsgutils.so.1.0.0
i686-pc-linux-gnu-g++:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../crti.o: No such file
or directory
i686-pc-linux-gnu-g++:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/crtbeginS.o: No such file or
directory
i686-pc-linux-gnu-g++:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/crtendS.o: No such file or
directory
i686-pc-linux-gnu-g++:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../crtn.o: No such file
or directory
make: *** [libsgutils.la] Error 1

!!! ERROR: sys-apps/sg3_utils-1.11 failed.
!!! Function src_compile, Line 27, Exitcode 2


GMA-Server gmaaia # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1,
2.6.12-gentoo-r10-GMAAIA i686)
=================================================================
System uname: 2.6.12-gentoo-r10-GMAAIA i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
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.6
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 -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/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm avi berkdb bitmap-fonts cdr crypt cups curl directfb
dvd dvdr eds emboss encode esd fam flac foomaticdb fortran gdbm gif gimp-print
gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg junit libg++ libwww mad
maildir mikmod mmx motif mp3 mpeg ncurses nls nsplugin nvidia offensive ogg
oggvorbis opengl oss pam pcre pdflib perl png python quicktime readline samba
sdl spell sqlite sse sse2 ssl svga tcpd tiff truetype truetype-fonts type1-fonts
usb vorbis xine xinerama xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-20 10:43:07 UTC
fix_libtool_files.sh 3.3.5-20050130; if it still fails, re-emerge libtool.

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