When I compile media-gfx/splashutils-1.3-r1 on a PPC, it fails with the following error: make[1]: Entering directory `/var/tmp/portage/splashutils-1.3-r1/work/miscsplashutils-0.1.4/kbd' cc -O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -mtune=7450 -mpowerpc-gfxopt fgconsole.o getfd.o -o fgconsole /usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/../../../../powerpc-unknown-linux-gnu/bin/ld: fgconsole.o: Relocations in generic ELF (EM: 3) fgconsole.o: could not read symbols: File in wrong format collect2: ld returned 1 exit status make[1]: *** [fgconsole] Error 1 make[1]: Leaving directory `/var/tmp/portage/splashutils-1.3-r1/work/miscsplashutils-0.1.4/kbd' make: *** [all] Error 2 !!! ERROR: media-gfx/splashutils-1.3-r1 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile splashutils-1.3-r1.ebuild, line 103: Called die !!! failed to build miscsplashutils !!! If you need support, post the topmost build error, and the call stack if relevant. Doing the following operations, reveals that there are precompiled x86 binaries in miscsplashutils-0.1.4.tar.bz2: # ebuild /usr/portage/media-gfx/splashutils/splashutils-1.3-r1.ebuild unpack [...] # find /var/tmp/portage/splashutils-1.3-r1/ | grep \\\.o$ | xargs -- file /var/tmp/portage/splashutils-1.3-r1/work/miscsplashutils-0.1.4/kbd/getfd.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped /var/tmp/portage/splashutils-1.3-r1/work/miscsplashutils-0.1.4/kbd/fgconsole.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped But if I delete them and try to compile, it fails somewhere else: # ebuild /usr/portage/media-gfx/splashutils/splashutils-1.3-r1.ebuild compile [...] make[1]: Entering directory `/var/tmp/portage/splashutils-1.3-r1/work/miscsplashutils-0.1.4/kbd' cc -O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -mtune=7450 -mpowerpc-gfxopt -c -o fgconsole.o fgconsole.c cc -O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -mtune=7450 -mpowerpc-gfxopt -c -o getfd.o getfd.c cc -O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -mtune=7450 -mpowerpc-gfxopt fgconsole.o getfd.o -o fgconsole make[1]: Leaving directory `/var/tmp/portage/splashutils-1.3-r1/work/miscsplashutils-0.1.4/kbd' config.h successfully created. You can run `make` now. CONF libjpeg sed: cannot read jerror.c: No such file or directory MAKE libjpeg In file included from /usr/lib/klibc/include/arch/ppc/klibc/archsignal.h:11, from /usr/lib/klibc/include/signal.h:14, from /usr/lib/klibc/include/sys/select.h:11, from /usr/lib/klibc/include/unistd.h:12, from /usr/lib/klibc/include/stdio.h:11, from /var/tmp/portage/splashutils-1.3-r1/work/splashutils-1.3/libs/jpeg-6b/jinclude.h:46, from /var/tmp/portage/splashutils-1.3-r1/work/splashutils-1.3/libs/jpeg-6b/jcapimin.c:20: /usr/include/asm/signal.h:145: error: field
When I compile media-gfx/splashutils-1.3-r1 on a PPC, it fails with the following error: make[1]: Entering directory `/var/tmp/portage/splashutils-1.3-r1/work/miscsplashutils-0.1.4/kbd' cc -O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -mtune=7450 -mpowerpc-gfxopt fgconsole.o getfd.o -o fgconsole /usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/../../../../powerpc-unknown-linux-gnu/bin/ld: fgconsole.o: Relocations in generic ELF (EM: 3) fgconsole.o: could not read symbols: File in wrong format collect2: ld returned 1 exit status make[1]: *** [fgconsole] Error 1 make[1]: Leaving directory `/var/tmp/portage/splashutils-1.3-r1/work/miscsplashutils-0.1.4/kbd' make: *** [all] Error 2 !!! ERROR: media-gfx/splashutils-1.3-r1 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile splashutils-1.3-r1.ebuild, line 103: Called die !!! failed to build miscsplashutils !!! If you need support, post the topmost build error, and the call stack if relevant. Doing the following operations, reveals that there are precompiled x86 binaries in miscsplashutils-0.1.4.tar.bz2: # ebuild /usr/portage/media-gfx/splashutils/splashutils-1.3-r1.ebuild unpack [...] # find /var/tmp/portage/splashutils-1.3-r1/ | grep \\\.o$ | xargs -- file /var/tmp/portage/splashutils-1.3-r1/work/miscsplashutils-0.1.4/kbd/getfd.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped /var/tmp/portage/splashutils-1.3-r1/work/miscsplashutils-0.1.4/kbd/fgconsole.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped But if I delete them and try to compile, it fails somewhere else: # ebuild /usr/portage/media-gfx/splashutils/splashutils-1.3-r1.ebuild compile [...] make[1]: Entering directory `/var/tmp/portage/splashutils-1.3-r1/work/miscsplashutils-0.1.4/kbd' cc -O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -mtune=7450 -mpowerpc-gfxopt -c -o fgconsole.o fgconsole.c cc -O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -mtune=7450 -mpowerpc-gfxopt -c -o getfd.o getfd.c cc -O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -mtune=7450 -mpowerpc-gfxopt fgconsole.o getfd.o -o fgconsole make[1]: Leaving directory `/var/tmp/portage/splashutils-1.3-r1/work/miscsplashutils-0.1.4/kbd' config.h successfully created. You can run `make` now. CONF libjpeg sed: cannot read jerror.c: No such file or directory MAKE libjpeg In file included from /usr/lib/klibc/include/arch/ppc/klibc/archsignal.h:11, from /usr/lib/klibc/include/signal.h:14, from /usr/lib/klibc/include/sys/select.h:11, from /usr/lib/klibc/include/unistd.h:12, from /usr/lib/klibc/include/stdio.h:11, from /var/tmp/portage/splashutils-1.3-r1/work/splashutils-1.3/libs/jpeg-6b/jinclude.h:46, from /var/tmp/portage/splashutils-1.3-r1/work/splashutils-1.3/libs/jpeg-6b/jcapimin.c:20: /usr/include/asm/signal.h:145: error: field sa has incomplete type make[1]: *** [jcapimin.o] Error 1 make: *** [jpeglib] Error 2 !!! ERROR: media-gfx/splashutils-1.3-r1 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile splashutils-1.3-r1.ebuild, line 114: Called die !!! failed to build splashutils !!! If you need support, post the topmost build error, and the call stack if relevant. # emerge --info Portage 2.1.1_pre3-r5 (default-linux/ppc/2005.1/ppc/G4, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 ppc) ================================================================= System uname: 2.6.17-gentoo-r4 ppc 7447A, altivec supported Gentoo Base System version 1.12.1 app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.3.5, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 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.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -mtune=7450 -mpowerpc-gfxopt" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -mtune=7450 -mpowerpc-gfxopt" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fancy metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LC_ALL="it_IT.utf8" LINGUAS="it" 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/mytree /usr/portage/local/layman/fluidportage" SYNC="rsync://neptune.octopus/gentoo-portage" USE="ppc X adns alsa altivec berkdb bitmap-fonts bluetooth cairo cdr cli crypt cups dbus dlloader dri dvd emacs emboss esd expat firefox foomaticdb fortran gif glitz gnome gpm gstreamer gtk gtk2 hal hddtemp iproute2 ipv6 isdnlog jikes jpeg libnotify libwww mad motif mp3 mpeg nautilus ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pcre pdflib perl png ppds pppd python readline reflection session spell spl ssl svg symlink tcltk tcpd threads tiff trayicon truetype truetype-fonts type1-fonts udev unicode usb vorbis xinerama xml2 xorg xv xvid zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux linguas_it userland_GNU video_cards_radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Confirmed here. Portage 2.1.1_pre3-r5 (default-linux/ppc/ppc32/2006.1/G4, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r3 ppc) ================================================================= System uname: 2.6.17-gentoo-r3 ppc 7447A, altivec supported
*** Bug 142059 has been marked as a duplicate of this bug. ***
Confirmed here too
The x86 object files are removed from the tarballs in 1.3-r2, I'm sorry about them being in the previous release. The /usr/include/asm/signal.h thing looks like a klibc problem -- perhaps try a different version?