emerging sci-electronics/spice-3.5.5 with gcc 4.1.0, glibc 2.4-r1 fails to
build the executeable parts for spice. The ebuild goes through, but contains
these errors:
Making "all" in bin
make[3]: Entering directory
`/var/tmp/portage/spice-3.5.5/work/spice3f5sfix/obj/bin'
cc -c -O2 -march=pentium-m -fomit-frame-pointer -pipe
-I/var/tmp/portage/spice-3.5.5/work/spice3f5sfix/src/include
-I/var/tmp/portage/spice-3.5.5/work/spice3f5sfix/src//lib/dev/ -DSIMULATOR
/var/tmp/portage/spice-3.5.5/work/spice3f5sfix/src/bin//main.c
/var/tmp/portage/spice-3.5.5/work/spice3f5sfix/src/bin//main.c: In function
'main':
/var/tmp/portage/spice-3.5.5/work/spice3f5sfix/src/bin//main.c:189: warning:
return type of 'main' is not 'int'
mv -f main.o spice3.o
make[3]: *** No rule to make target
`/var/tmp/portage/spice-3.5.5/work/spice3f5sfix/obj/lib/fte.a', needed by
`spice3'.
make[3]: *** No rule to make target
`/var/tmp/portage/spice-3.5.5/work/spice3f5sfix/obj/lib/hlp.a', needed by
`spice3'.
make[3]: *** No rule to make target
`/var/tmp/portage/spice-3.5.5/work/spice3f5sfix/obj/lib/mfb.a', needed by
`spice3'.
...
cc -O2 -march=pentium-m -fomit-frame-pointer -pipe -c
-I/var/tmp/portage/spice-3.5.5/work/spice3f5sfix/src/include
-I/var/tmp/portage/spice-3.5.5/work/spice3f5sfix/src//lib/dev/
/var/tmp/portage/spice-3.5.5/work/spice3f5sfix/src/bin//multidec.c
cc -o multidec multidec.o
/var/tmp/portage/spice-3.5.5/work/spice3f5sfix/obj/lib/sparse.a
/var/tmp/portage/spice-3.5.5/work/spice3f5sfix/obj/lib/misc.a -lncurses -lm -s
make[3]: Target `recursive' not remade because of errors.
make[3]: Leaving directory
`/var/tmp/portage/spice-3.5.5/work/spice3f5sfix/obj/bin'
Done with spice3f5sfix/src
make[2]: Leaving directory `/var/tmp/portage/spice-3.5.5/work/spice3f5sfix/obj'
Done with spice3f5sfix
make[1]: Leaving directory `/var/tmp/portage/spice-3.5.5/work/spice3f5sfix'
Done with build at Sun Apr 23 16:27:57 MDT 2006
>>> Source compiled.
>>> Test phase [not enabled]: sci-electronics/spice-3.5.5
>>> Install spice-3.5.5 into /var/tmp/portage/spice-3.5.5/image/ category sci-electronics
!!! dobin: obj/bin/spice3 does not exist
!!! dobin: obj/bin/nutmeg does not exist
cp: cannot stat `obj/bin/help': No such file or directory
>>> Completed installing spice-3.5.5 into /var/tmp/portage/spice-3.5.5/image/
Reproducible: always
1. emerge spice
2. ls /usr/bin/spice*
--symbolic link spice exists, but executeable file spice3 is missing.
Portage 2.1_pre7-r5 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r1,
2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python: 2.4.2
sys-apps/sandbox: 1.2.12
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-r1
sys-devel/binutils: 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://mirror.usu.edu/mirrors/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm avi berkdb bitmap-fonts cdr cli crypt cups dri
dvd eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk
gtk2 imlib ipv6 isdnlog java jpeg libg++ libwww mad mikmod motif mp3 mpeg
ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pcre pdflib perl png
pppd python qt quicktime readline real reflection sdl session spell spl ssl
tcpd truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs xml
xmms xorg xv zlib elibc_glibc kernel_linux userland_GNU"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LINGUAS
Tried an old fix that had been suggested by adding the flag "gcc" to the
src_compile line in the ebuild:
src_compile() {
./util/build linux gcc || die
obj/bin/makeidx lib/helpdir/spice.txt || die
}
Doesn't change anything, so the problem is elsewhere.