When upgrading to the newest xmess (0.106), the build fails with the following: Generating M68K source files... xmess.obj/cpu/m68000/m68kmake xmess.obj/cpu/m68000 src/cpu/m68000/m68k_in.c Musashi v3.3 68000, 68008, 68010, 68EC020, 68020 emulator Copyright 1998-2000 Karl Stenerud (karl@mame.net) Generated 1966 opcode handlers from 517 primitives Generated 1966 opcode handlers from 517 primitives Generating M68K source files... xmess.obj/cpu/m68000/m68kmake xmess.obj/cpu/m68000 src/cpu/m68000/m68k_in.c Compiling src/cpu/m68000/m68kcpu.c... Musashi v3.3 68000, 68008, 68010, 68EC020, 68020 emulator Copyright 1998-2000 Karl Stenerud (karl@mame.net) Generated 1966 opcode handlers from 517 primitives In file included from src/cpu/m68000/m68kcpu.c:38: xmess.obj/cpu/m68000/m68kops.h:1826:11: warning: no newline at end of file xmess.obj/cpu/m68000/m68kops.h:1:1: unterminated #ifndef nterminated #ifndef/m68kops.h:1:1::11:8kcpuIn file included from /usr/include/stdio.h:34, from src/cpu/m68000/m68kcpu.h:1, from src/cpu/m68000/m68kcpu.c:39: /usr/lib/gcc/sparc-unknown-linux-gnu/3.4.6/include/stddef.h:213: error: syntax error before "typedef" src/cpu/m68000/m68kcpu.c: In function `m68k_set_cpu_type': src/cpu/m68000/m68kcpu.c:677: error: `m68ki_cycles' undeclared (first use in this function) src/cpu/m68000/m68kcpu.c:677: error: (Each undeclared identifier is reported only once src/cpu/m68000/m68kcpu.c:677: error: for each function it appears in.) src/cpu/m68000/m68kcpu.c: In function `m68k_execute': src/cpu/m68000/m68kcpu.c:807: error: `m68ki_instruction_jump_table' undeclared (first use in this function) make: *** [xmess.obj/cpu/m68000/m68kcpu.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: games-emulation/xmess-0.106 failed. !!! Function src_compile, Line 158, Exitcode 2 !!! emake failed (SDL) !!! If you need support, post the topmost build error, NOT this status message. Steps to reproduce: emerge --oneshot xmess Each time I build the package, I get this exact error.
emerge --info: donatello chance # emerge --info Portage 2.0.54-r2 (default-linux/sparc/sparc64/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r8 sparc64) ================================================================= System uname: 2.6.16-gentoo-r8 sparc64 sun4u Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] 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-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r6 ACCEPT_KEYWORDS="sparc" AUTOCLEAN="yes" CBUILD="sparc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=ultrasparc3 -pipe" CHOST="sparc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/X11/xkb /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/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=ultrasparc3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="sparc X apache2 audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt cups curl dba dlloader doc dri dvd dvdr dvdread eds encode esd ethereal exif expat fam fbcon firefox flac foomaticdb fortran gcc64 gd gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml hal idn imagemagick imlib isdnlog jpeg lcms libwww mad mikmod mng motif mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png pppd python readline recode reflection sdl session slang smp spell spl ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml xml2 xmms xorg xv zlib video_cards_sunffb video_cards_glint video_cards_radeon video_cards_mach64 video_cards_r128 video_cards_mga video_cards_fbdev input_devices_keyboard input_devices_kdb input_devices_mouse userland_GNU kernel_linux elibc_glibc" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Does xmame have the same problem?
After giving this a few more tries, it appears to be somewthing with my system is amiss (eg, either hardware or the kernel). On several builds, gcc segfaulted, and the build died in different places in different runs. As of now, I've built it with success six times, using different USE flags. I think there is no bug here.
Yes. For what it's worth, as a check I just built xmess on SB1000-SMP (2006.0 profile) system.
Great, thanks for confirming.