Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155522 - sys-apps/sg3_util-1.2.1 fails to compile
Summary: sys-apps/sg3_util-1.2.1 fails to compile
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: 2006-11-17 14:09 UTC by Keith Gable
Modified: 2006-11-21 00:04 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 Keith Gable 2006-11-17 14:09:39 UTC
It looks like it's looking for GCC 3.4.4 for libraries, but this version of GCC is not installed. The last few lines say "file not found" or similar. Standard flags, -march=pentium4.

(cannot include emerge --info due to it being on another machine)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-17 14:14:12 UTC
Reopen with actual build errors and emerge --info, please.
Comment 2 Keith Gable 2006-11-20 15:39:49 UTC
gcc  -O2 -march=pentium4 -pipe -fomit-frame-pointer -msse -msse2 -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_map26.o sg_map26.c
gcc  -O2 -march=pentium4 -pipe -fomit-frame-pointer -msse -msse2 -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_rdac.o sg_rdac.c
gcc  -O2 -march=pentium4 -pipe -fomit-frame-pointer -msse -msse2 -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_vpd.o sg_vpd.c
gcc  -O2 -march=pentium4 -pipe -fomit-frame-pointer -msse -msse2 -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_vpd_vendor.o sg_vpd_vendor.c
libtool --mode=compile gcc -c sg_lib.c
libtool --mode=compile gcc -c sg_cmds.c
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=compile gcc -c sg_pt_linux.c
libtool --mode=link gcc -o sg_reset  sg_reset.o
gcc -o sg_reset sg_reset.o
 gcc -c sg_pt_linux.c  -fPIC -DPIC -o .libs/sg_pt_linux.o
libtool --mode=link gcc -o sg_map26  sg_map26.o
 gcc -c sg_pt_linux.c -o sg_pt_linux.o >/dev/null 2>&1
gcc -o sg_map26 sg_map26.o
libtool --mode=link gcc -o libsgutils.la sg_lib.lo sg_cmds.lo \
        sg_pt_linux.lo -rpath /usr/lib -version-info 1:0:0
i686-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crti.o /usr/lib/gcc/i686-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/i686-pc-linux-gnu/3.4.4 -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtendS.o /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crtn.o  -Wl,-soname -Wl,libsgutils.so.1 -o .libs/libsgutils.so.1.0.0
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtbeginS.o: No such file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtendS.o: No such file or directory
make: *** [libsgutils.la] Error 1

!!! ERROR: sys-apps/sg3_utils-1.21 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  sg3_utils-1.21.ebuild, line 35:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.




----



feelgoodinc drfeelgood # emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.6
Last Sync: Mon, 20 Nov 2006 22:20:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
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.60
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-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -msse -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /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/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -msse -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ "
LINGUAS="en en_GB en_ZA en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/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/portage/local/layman/xeffects"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apache2 apm arts avahi berkdb bitmap-fonts bzip2 cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd firefox foomaticdb fortran gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jbig jpeg jpeg2k kde kernel_linux libg++ libwww linguas_en linguas_en_GB linguas_en_US linguas_en_ZA mad mikmod mmx mmxext mono motif mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg opengl oss pam pcre perl png pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev userland_GNU video_cards_nvidia vorbis win32codecs xml xorg xpm xprint xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS




----



feelgoodinc drfeelgood # gcc-config -l
 [1] i686-pc-linux-gnu-3.4.6
 [2] i686-pc-linux-gnu-3.4.6-hardened
 [3] i686-pc-linux-gnu-3.4.6-hardenednopie
 [4] i686-pc-linux-gnu-3.4.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.4.6-hardenednossp
 [6] i686-pc-linux-gnu-4.1.1 *




----



-msse and -msse2 are in CFLAGS because this Prescott P4 doesn't seem to support SSE3 and -march=prescott causes things to not compile at all.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-11-20 15:46:19 UTC

*** This bug has been marked as a duplicate of 73435 ***
Comment 4 Keith Gable 2006-11-20 18:45:55 UTC
The solution to bug 73435 did not fix it. I had to copy 3.4.6/crt* to 3.4.4/ in the /usr/lib/gcc/* directory. The 3.4.4 directory did exist.

This may be a seperate bug, I dunno. 
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-11-21 00:04:46 UTC
No, it's not a separate bug, it's clearly a duplicate of 73435 

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