Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33405 - xmame 0.76.1 fails to compile
Summary: xmame 0.76.1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-13 09:59 UTC by Henrik Sankala
Modified: 2003-11-13 23:44 UTC (History)
2 users (show)

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 Henrik Sankala 2003-11-13 09:59:42 UTC
The build process doesn't give much clues as to what went wrong, seems to be SDL
related (I'm using libsdl 1.2.6-r2):

Compiling src/unix/frameskip-drivers/barath.c ...
Archiving ../../xmame.obj/unix.SDL/osdepend.a ...
make[1]: Leaving directory
`/var/tmp/portage/xmame-0.76.1/work/xmame-0.76.1/src/unix'

!!! ERROR: games-emulation/xmame-0.76.1 failed.
!!! Function src_compile, Line 133, Exitcode 2
!!! emake failed (SDL)


Emerge info:

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs -ccache"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
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 oss apm avi crypt cups encode foomaticdb gif gpm jpeg libg++ libwww mad
mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib
alsa gdbm berkdb slang readline arts svga java X sdl tcpd pam ssl perl python
esd imlib oggvorbis gtk qt kde motif opengl mozilla cdr scanner 3dnow cjk dvd
gtk2 joystick moznocompose moznoirc tiff usb -gnome"


Reproducible: Always
Steps to Reproduce:
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-11-13 12:06:02 UTC
You're going to have to post more of the output I think.  I don't see an error
in the output you posted.
Comment 2 Charles Phoenix 2003-11-13 14:38:00 UTC
X11 build compiles without error all other build produce an identical error. (I  commented each failed build, tried again and the next one failed identically and right after X11 linked) I have not tested just an X11 build to see if it installs. I rebuilt all requested library except for xfree.

xmess 0.76.1 has installed on same system without error. Not tested.
version 0.74 installed without error. Worked without any problems.

Finally, others are expriencing similar problems. 
http://forums.gentoo.org/viewtopic.php?t=101879&highlight=xmame

-----

This is error output from ggi and opengl right after X11 build links, I put in "comments" and now this is from the start of each build. All other build except X11 produce the same resuilt.

Compiling in the unix directory...
Archiving xmame.obj/unix.ggi/osdepend.a ...
ar: xmame.obj/unix.ggi/osdepend.a: No such file or directory
make: *** [xmame.obj/unix.ggi/osdepend.a] Error 1
make: *** Waiting for unfinished jobs....
make[1]: Entering directory `/var/tmp/portage/xmame-0.76.1/work/xmame-0.76.1/src/unix'
mkdir ../../xmame.obj/unix.ggi
mkdir ../../xmame.obj/unix.ggi/sysdep
mkdir: cannot create directory `../../xmame.obj/unix.ggi/sysdep': No such file or directory
make[1]: [../../xmame.obj/unix.ggi/sysdep] Error 1 (ignored)
mkdir ../../xmame.obj/unix.ggi/sysdep/dsp-drivers
mkdir: cannot create directory `../../xmame.obj/unix.ggi/sysdep/dsp-drivers': No such file or directory
make[1]: [../../xmame.obj/unix.ggi/sysdep/dsp-drivers] Error 1 (ignored)
mkdir ../../xmame.obj/unix.ggi/sysdep/mixer-drivers
mkdir: cannot create directory `../../xmame.obj/unix.ggi/sysdep/mixer-drivers': No such file or directory
make[1]: [../../xmame.obj/unix.ggi/sysdep/mixer-drivers] Error 1 (ignored)
mkdir ../../xmame.obj/unix.ggi/video-drivers
mkdir: cannot create directory `../../xmame.obj/unix.ggi/video-drivers': No such file or directory
make[1]: [../../xmame.obj/unix.ggi/video-drivers] Error 1 (ignored)
mkdir ../../xmame.obj/unix.ggi/joystick-drivers
mkdir: cannot create directory `../../xmame.obj/unix.ggi/joystick-drivers': No such file or directory
make[1]: [../../xmame.obj/unix.ggi/joystick-drivers] Error 1 (ignored)
mkdir ../../xmame.obj/unix.ggi/frameskip-drivers
Compiling src/unix/sound.c ...
Compiling src/unix/main.c ...
Compiling src/unix/keyboard.c ...
Compiling src/unix/devices.c ...
Compiling src/unix/video.c ...
Compiling src/unix/mode.c ...
Compiling src/unix/fileio.c ...
Compiling src/unix/dirio.c ...
Compiling src/unix/config.c ...
Compiling src/unix/fronthlp.c ...
Compiling src/unix/ident.c ...
Compiling src/unix/network.c ...
Compiling src/unix/snprintf.c ...
Compiling src/unix/nec765_dummy.c ...
Compiling src/unix/effect.c ...
Compiling src/unix/ticker.c ...
Compiling src/unix/parallel.c ...
Compiling src/unix/sysdep/rc.c ...
Assembler messages:
FATAL: can't create ../../xmame.obj/unix.ggi/sysdep/rc.o: No such file or directory
Compiling src/unix/sysdep/misc.c ...
Assembler messages:
FATAL: can't create ../../xmame.obj/unix.ggi/sysdep/misc.o: No such file or directory
cc1: Broken pipe: error writing to -
make[1]: *** [../../xmame.obj/unix.ggi/sysdep/rc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
cc1: Broken pipe: error closing -
make[1]: *** [../../xmame.obj/unix.ggi/sysdep/misc.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/xmame-0.76.1/work/xmame-0.76.1/src/unix'
make: *** [osdepend] Error 2
 
!!! ERROR: games-emulation/xmame-0.76.1 failed.
!!! Function src_compile, Line 143, Exitcode 2
!!! emake failed (ggi)



Compiling in the unix directory...
Archiving xmame.obj/unix.xgl/osdepend.a ...
ar: xmame.obj/unix.xgl/osdepend.a: No such file or directory
make: *** [xmame.obj/unix.xgl/osdepend.a] Error 1
make: *** Waiting for unfinished jobs....
make[1]: Entering directory `/var/tmp/portage/xmame-0.76.1/work/xmame-0.76.1/src/unix'
mkdir ../../xmame.obj/unix.xgl
mkdir ../../xmame.obj/unix.xgl/sysdep
mkdir: cannot create directory `../../xmame.obj/unix.xgl/sysdep': No such file or directory
make[1]: [../../xmame.obj/unix.xgl/sysdep] Error 1 (ignored)
mkdir ../../xmame.obj/unix.xgl/sysdep/dsp-drivers
mkdir: cannot create directory `../../xmame.obj/unix.xgl/sysdep/dsp-drivers': No such file or directory
make[1]: [../../xmame.obj/unix.xgl/sysdep/dsp-drivers] Error 1 (ignored)
mkdir ../../xmame.obj/unix.xgl/sysdep/mixer-drivers
mkdir: cannot create directory `../../xmame.obj/unix.xgl/sysdep/mixer-drivers': No such file or directory
make[1]: [../../xmame.obj/unix.xgl/sysdep/mixer-drivers] Error 1 (ignored)
mkdir ../../xmame.obj/unix.xgl/video-drivers
mkdir: cannot create directory `../../xmame.obj/unix.xgl/video-drivers': No such file or directory
make[1]: [../../xmame.obj/unix.xgl/video-drivers] Error 1 (ignored)
mkdir ../../xmame.obj/unix.xgl/joystick-drivers
mkdir ../../xmame.obj/unix.xgl/frameskip-drivers
Compiling src/unix/main.c ...
Compiling src/unix/sound.c ...
Compiling src/unix/keyboard.c ...
Compiling src/unix/devices.c ...
Compiling src/unix/video.c ...
Compiling src/unix/mode.c ...
Compiling src/unix/fileio.c ...
Compiling src/unix/dirio.c ...
Compiling src/unix/config.c ...
Compiling src/unix/fronthlp.c ...
Compiling src/unix/ident.c ...
Compiling src/unix/network.c ...
Compiling src/unix/snprintf.c ...
Compiling src/unix/nec765_dummy.c ...
Compiling src/unix/effect.c ...
Compiling src/unix/ticker.c ...
Compiling src/unix/parallel.c ...
Compiling src/unix/sysdep/rc.c ...
Assembler messages:
FATAL: can't create ../../xmame.obj/unix.xgl/sysdep/rc.o: No such file or directory
Compiling src/unix/sysdep/misc.c ...
Assembler messages:
FATAL: can't create ../../xmame.obj/unix.xgl/sysdep/misc.o: No such file or directory
cc1: Broken pipe: error writing to -
make[1]: *** [../../xmame.obj/unix.xgl/sysdep/rc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
cc1: Broken pipe: error closing -
make[1]: *** [../../xmame.obj/unix.xgl/sysdep/misc.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/xmame-0.76.1/work/xmame-0.76.1/src/unix'
make: *** [osdepend] Error 2
 
!!! ERROR: games-emulation/xmame-0.76.1 failed.
!!! Function src_compile, Line 147, Exitcode 2
!!! emake failed (xgl)


emerge info

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r8, 2.4.22-win4lin)
=================================================================
System uname: 2.4.22-win4lin i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -pipe -s -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=i686 -pipe -s -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ http://cudlug.cudenver.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses pdflib png spell truetype xml2 xmms zlib directfb gtkhtml gdbm berkdb slang readline bonobo svga guile X gpm tcpd pam ssl perl python imlib oggvorbis gnome gtk cdr aalib acpi alsa dga dv dvd evo faad ffmpeg flac gb gd ggi glut gnomedb gstreamer gtk2 hbci imagemagick jack java jikes joystick lirc mbox md5sum mdb memlimit mmx offensive ofx opengl opie parse-clocks pda pic plotutils ppds quicktime S3TC scanner see sdl sqlite sse svgatiff unicode usb v4l wmf wxwindows xine xinerama xosd xv xvid -arts -kde -libwww -mozilla -nls -qt -esd motif linguas_en_US"
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2003-11-13 14:57:39 UTC
Found that parallel make may be to blame.  Try the latest version in portage
that passes -j1 to emake please.
Comment 4 Charles Phoenix 2003-11-13 23:04:43 UTC
already have lastest portage, but did not update make.conf, so added -j1 manually

it worked... all versions built successfully

using gxame and it only "sees" the xgl build which works

thanks
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2003-11-13 23:44:26 UTC
Ok, the -j1 that I added to all the emake calls should fix it as well.  Thanks
for checking it out.