The package seems to have problems with -j* MAKEOPTS. With -j4 it throws random
errors like:
make -C uae-cpu/ all
make: *** No rule to make target `uae-cpu/cpustbl.o', needed by `hatari'.
Stop.
make: *** Waiting for unfinished jobs....
[...]
!!! ERROR: games-emulation/hatari-0.90 failed.
Call stack:
ebuild.sh, line 1611: Called dyn_compile
ebuild.sh, line 968: Called qa_call 'src_compile'
environment, line 3179: Called src_compile
hatari-0.90.ebuild, line 35: Called die
After removing -j from MAKEOPTS, it compiles cleanly. I've got a Centrino Duo,
if that matters. emerge --info:
Portage 2.1.2-r4 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0,
2.6.19-gentoo-r3 i686)
=================================================================
System uname: 2.6.19-gentoo-r3 i686 Genuine Intel(R) CPU L2400 @
1.66GHz
Gentoo Base System version 1.12.8
Timestamp of tree: Fri, 26 Jan 2007 19:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python: 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.19
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer nostrip sandbox sfperms
strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LC_ALL="de_DE.utf-8"
LINGUAS="de"
MAKEOPTS="-j4"
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/local/portage /usr/local/portage/xeffects/trunk"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi aiglx alsa apache2 apm arts berkdb bitmap-fonts bluetooth
browserplugin bzip2 cli cpudetection cracklib crypt cups curl dga dlloader dri
dts dvd dvdr dvdread eds emboss encode esd exif firefox foomaticdb fortran gcj
gdbm gif glitz gpm gstreamer gtk2 i8x0 iconv imlib ipod ipv6 irmc isdnlog jpeg
kde kdeenablefinal kipi libcaca libg++ libwww mad mikmod mmx mmxext mono motif
mp3 mpeg mplayer musicbrainz mysqli ncurses nls no-seamonkey nogecko-sdk nptl
nptlonly nsplugin offensive ogg opengl oss pam pcre pdf pdo perl png ppds pppd
python qt qt3 qt4 quicktime readline real reflection rtc samba sdl session
simplexml sockets spell spl sqlite sse ssl svg tcpd theora tiff truetype
truetype-fonts type1-fonts udev unicode userlocales visualization vorbis
win32codecs x86 xinerama xml xorg xscreensaver xv zlib" ALSA_CARDS="ali5451
als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938
es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi
null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard
mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk
hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU"
VIDEO_CARDS="i810 nv radeon vesa via"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
Created an attachment (id=108473) [details]
log without line from #2
With the line you suggested in #2, it seems to work. I've tested putting the
system under load (running cat /dev/urandom>/dev/null twice), and it does NOT
break, even without the line. I've tried about 5 times to make it break WITH
your line, and it didn't. Maybe we can interpret this as "works". ;)
This log is without the line, and the system being idle (except for the emerge,
of course). It dies as described in the original report. However, I've managed
to find another way of dying, which I'll add right after this log...
Created an attachment (id=108475) [details]
log without line from #2, alternative death
This time it dies with "unterminated #ifdef", which sounds rather spooky to me:
cpuemu.c:27499:27: warning: no newline at end of file
cpuemu.c:23279:1: error: unterminated #ifdef
make[1]: *** [cpuemu2.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/games-emulation/hatari-0.90/work/hatari-0.90/src/uae-cpu'
make: *** [uae-cpu/hatari-glue.o] Error 2
make: *** Waiting for unfinished jobs....
If you manage to find the bug, I would be really interested in what created it.
Btw, both logs were created with "emerge -v hatari | tee hatari.log".