Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 138878

Summary: sys-apps/sg3_utils-1.20-r1 emerge fails on AMD64
Product: Gentoo Linux Reporter: Michael Labhard <m.labhard>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Labhard 2006-07-02 09:32:44 UTC
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
libtool --mode=compile gcc -c sg_pt_linux.c
 gcc -c sg_cmds.c -o sg_cmds.o >/dev/null 2>&1
 gcc -c sg_pt_linux.c  -fPIC -DPIC -o .libs/sg_pt_linux.o
libtool --mode=link gcc -o sg_reset  sg_reset.o
 gcc -c sg_pt_linux.c -o sg_pt_linux.o >/dev/null 2>&1
libtool --mode=link gcc -o sg_map26  sg_map26.o
gcc -o sg_reset sg_reset.o
libtool --mode=link gcc -o libsgutils.la sg_lib.lo sg_cmds.lo \
sg_pt_linux.lo -rpath /usr/lib64 -version-info 1:0:0
gcc -o sg_map26 sg_map26.o
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtbeginS.o  .libs/sg_lib.o .libs/sg_cmds.o .libs/sg_pt_linux.o  -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../.. -L/lib/../lib -L/usr/lib/../lib -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib/crtn.o  -Wl,-soname -Wl,libsgutils.so.1 -o .libs/libsgutils.so.1.0.0
x86_64-pc-linux-gnu-g++: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib/crti.o: No such file or directory
x86_64-pc-linux-gnu-g++: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtbeginS.o: No such file or directory
x86_64-pc-linux-gnu-g++: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtendS.o: No such file or directory
x86_64-pc-linux-gnu-g++: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib/crtn.o: No such file or directory
make: *** [libsgutils.la] Error 1

!!! ERROR: sys-apps/sg3_utils-1.20-r1 failed.

goliath ~ # emerge --info
Portage 2.1-r1 (default-linux/amd64/2005.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.15-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/resin/conf /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/lib64/mozilla/defaults/pref /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2"
DISTDIR="/opt/no_archive/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.ccccom.com http://gentoo.osuosl.org/"
MAKEOPTS="-j2"
PKGDIR="/opt/no_archive/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cdr cli crypt cups doc dri eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg kde libg++ log4cpp lzw lzw-tiff mozilla mp3 mpeg nas ncurses nls nptl opengl pam pcre pdflib perl plotutils png postgres pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts usb wxwindows xinerama xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-02 09:35:47 UTC
fix_libtool_files.sh 3.3.4; emerge -1 libtool



*** This bug has been marked as a duplicate of 73435 ***
Comment 2 Michael Labhard 2006-07-04 09:41:11 UTC
Yes, this works.  Thank you.