Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27732 - Error on xmame ebuild
Summary: Error on xmame ebuild
Status: RESOLVED WORKSFORME
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-09-01 14:12 UTC by gwbv
Modified: 2003-09-02 05:31 UTC (History)
0 users

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 gwbv 2003-09-01 14:12:10 UTC
emerge xmame

....
Compiling src/unix/sysdep/dsp-drivers/esound.c ...
Compiling src/unix/sysdep/dsp-drivers/artssound.c ...
sysdep/dsp-drivers/artssound.c:30: artsc.h: No such file or directory
sysdep/dsp-drivers/artssound.c:38: parse error before `arts_stream_t'
sysdep/dsp-drivers/artssound.c:38: warning: no semicolon at end of struct or union
sysdep/dsp-drivers/artssound.c: In function `arts_dsp_create':
sysdep/dsp-drivers/artssound.c:90: sizeof applied to an incomplete type
sysdep/dsp-drivers/artssound.c:99: dereferencing pointer to incomplete type
sysdep/dsp-drivers/artssound.c:108: warning: implicit declaration of function
`arts_init'
sysdep/dsp-drivers/artssound.c:109: dereferencing pointer to incomplete type
sysdep/dsp-drivers/artssound.c:109: warning: implicit declaration of function
`arts_play_stream'
sysdep/dsp-drivers/artssound.c:115: warning: implicit declaration of function
`arts_stream_set'
sysdep/dsp-drivers/artssound.c:115: dereferencing pointer to incomplete type
sysdep/dsp-drivers/artssound.c:115: `ARTS_P_BUFFER_TIME' undeclared (first use
in this function)
sysdep/dsp-drivers/artssound.c:115: (Each undeclared identifier is reported only
once
sysdep/dsp-drivers/artssound.c:115: for each function it appears in.)
sysdep/dsp-drivers/artssound.c:120: dereferencing pointer to incomplete type
sysdep/dsp-drivers/artssound.c:120: `ARTS_P_BLOCKING' undeclared (first use in
this function)
sysdep/dsp-drivers/artssound.c: In function `arts_dsp_destroy':
sysdep/dsp-drivers/artssound.c:131: warning: implicit declaration of function
`arts_close_stream'
sysdep/dsp-drivers/artssound.c:131: dereferencing pointer to incomplete type
sysdep/dsp-drivers/artssound.c:132: warning: implicit declaration of function
`arts_free'
sysdep/dsp-drivers/artssound.c: In function `arts_dsp_write':
sysdep/dsp-drivers/artssound.c:145: warning: implicit declaration of function
`arts_write'
sysdep/dsp-drivers/artssound.c:145: dereferencing pointer to incomplete type
sysdep/dsp-drivers/artssound.c:152: warning: implicit declaration of function
`arts_error_text'
sysdep/dsp-drivers/artssound.c:152: warning: format argument is not a pointer
(arg 3)
make[1]: *** [../../xmame.obj/unix.x11/sysdep/dsp-drivers/artssound.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/xmame-0.72.1/work/xmame-0.72.1/src/unix'
make: *** [osdepend] Error 2
 
!!! ERROR: app-emulation/xmame-0.72.1 failed.
!!! Function src_compile, Line 78, Exitcode 2
!!! (no error message)
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-09-01 14:19:51 UTC
Don't forget the emerge info output as instructed on the bug submission page.
Comment 2 gwbv 2003-09-01 14:28:42 UTC
 # emerge info
Portage 2.0.49-r2 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r8, 2.4.21)
=================================================================
System uname: 2.4.21 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss 3dnow apm arts avi crypt cups encode jpeg kde libg++ mikmod mmx mpeg ncurses pdflib quicktime spell truetype xml2 xmms xv alsa berkdb bonobo cdr esd gdbm gif gnome gnome-libs gpm gtk
gtkhtml guile imlib java libwww motif mozilla nls oggvorbis opengl pam perl png python qt readline sdl slang ssl svga tcltk tcpd tetex tiff X"
 
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2003-09-01 15:00:14 UTC
what does 

ls -l /var/db/pkg/kde-base/arts*/CONTENTS
grep artsc.h /var/db/pkg/kde-base/*/CONTENTS

give you?
Comment 4 gwbv 2003-09-01 15:10:17 UTC
# ls -l /var/db/pkg/kde-base/arts*/CONTENTS
-rw-r--r--    1 root     root        13058 Dec  9  2002 /var/db/pkg/kde-base/arts-1.0.4/CONTENTS

# grep artsc.h /var/db/pkg/kde-base/*/CONTENTS
/var/db/pkg/kde-base/arts-1.0.4/CONTENTS:obj /usr/kde/3/include/artsc/artsc.h 73e66ad782172cb6a89cdacd96ee64cd 1039443213
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2003-09-01 15:50:27 UTC
What does "artsc-config --libs ; artsc-config --cflags" say?
Comment 6 gwbv 2003-09-02 01:43:23 UTC
# artsc-config --libs ; artsc-config --cflags
-bash: artsc-config: command not found
-bash: artsc-config: command not found
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2003-09-02 01:53:15 UTC
hmmm, looks like it might be time to:

env-update
. /etc/profile

and try again.
Comment 8 gwbv 2003-09-02 02:08:16 UTC
Same here:
# env-update
>>> Regenerating /etc/ld.so.cache...
# . /etc/profile
# artsc-config --libs ; artsc-config --cflags
-bash: artsc-config: command not found
-bash: artsc-config: command not found
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2003-09-02 03:02:44 UTC
What's your PATH look like?  You should have an artsc-config in your path.

so...

echo $PATH
Comment 10 gwbv 2003-09-02 03:24:01 UTC
# echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/2.95:/opt/Acrobat5:/usr/X11R6/bin:/opt/blackdown-jdk-1.3.1/bin:/opt/blackdown-jdk-1.3.1/jre/bin:/usr/qt/3/bin:/usr/qt/2/bin
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2003-09-02 03:44:11 UTC
Where's your kde bin directory?  Your environment isn't getting set up correctly.

emerge gentoolkit if you haven't already and do

qpkg -l arts | egrep "/etc/"

You should get something like:

/etc/env.d
/etc/env.d/49kdepaths-3.1.2
/etc/env.d/56kdedir-3.1.2

(You'll have something different since you're not running kde 3.1)

Then run 

cat filename

for each file that qpkg spits out and post the output of all that.
Comment 12 gwbv 2003-09-02 03:54:44 UTC
# find / -iname 'artsc-config' -print
/usr/kde/3/bin/artsc-config
# /usr/kde/3/bin/artsc-config --libs
-L/usr/kde/3/lib -ldl -lartsc -lpthread
# /usr/kde/3/bin/artsc-config --cflags
-I/usr/kde/3/include/artsc
Comment 13 Mr. Bones. (RETIRED) gentoo-dev 2003-09-02 04:00:44 UTC
yeah, I'm sure artsc-config works fine, but it's not in your path.  I'm trying
to figure out why.

There should be some environment variables in /etc/env.d that add kde bin 
directories to your path.  What do you have in /etc/env.d?
Comment 14 gwbv 2003-09-02 04:10:16 UTC
# ls /etc/env.d/
00basic     10acroread5            45qt3     50qtdir3          99xine
01hostname  10mozilla              45qtdir2  70less            gcc
05gcc       10xfree                50gconf   93sgmltools-lite  java
05gcc-3.2   20java                 50glib2   99fltk-1.1
09opengl    30java-finalclasspath  50qt2     99kde-env
Comment 15 Mr. Bones. (RETIRED) gentoo-dev 2003-09-02 04:30:14 UTC
I'd still like to see the ouput of the qpkg stuff I asked for if you don't mind.
Comment 16 SpanKY gentoo-dev 2003-09-02 04:34:04 UTC
looks like you need to re-emerge arts and make sure you're running kde-3.1.x ... 
your arts stuff is still sitting in the old kde-3.0 path 
Comment 17 SpanKY gentoo-dev 2003-09-02 04:44:29 UTC
i mistook some output of mr bones to be yours ... 
 
please post the output of the following commands: 
qpkg -I -v kde 
ls /usr/kde/ 
Comment 18 gwbv 2003-09-02 05:13:59 UTC
Following your previous directions I did the following:
emerge arts
emerge xmame

and it worked OK this time. I guess arts should be somehow in the dependencies for xmame?

Thanks.
Comment 19 SpanKY gentoo-dev 2003-09-02 05:31:30 UTC
arts? ( kde-base/arts ) 
it is ... you just needed to re-emerge it apparently ...