Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16329 - xmms-arts emerge failed
Summary: xmms-arts emerge failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 16317 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-24 22:23 UTC by Andrew Resch
Modified: 2003-03-11 19:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
the complete log of emerge (xmmsarts.log,4.60 KB, text/plain)
2003-03-04 00:50 UTC, Andrew Resch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Resch 2003-02-24 22:23:18 UTC
when i try to emerge xmms-arts-0.4-r6 i get the follow error msg:

In file included from artsout.c:21:
artsout.h:29:19: artsc.h: No such file or directory
In file included from about.c:21:
artsout.h:29:19: artsc.h: No such file or directory
make: *** [artsout.lo] Error 1
make: *** Waiting for unfinished jobs....
make: *** [about.lo] Error 1
 
!!! ERROR: media-plugins/xmms-arts-0.4-r6 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. emerge xmms-arts
2.
3.

Actual Results:  
the emerge will fail

Expected Results:  
install support for arts in xmms.

Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2_pre1-r0)
=================================================================
System uname: 2.4.20-ck3 i686 AMD Duron(tm) Processor
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
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"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt encode gif jpeg libg++ mmx motif mpeg
ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gdbm
berkdb slang readline bonobo svga tcltk java guile mysql sdl gpm tcpd pam libwww
ssl perl python esd imlib oggvorbis qt opengl X gtk2 gnome alsa -cups -kde
-mikmod -gtk"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe"
CXXFLAGS="-march=athlon -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-02-28 10:20:22 UTC
*** Bug 16317 has been marked as a duplicate of this bug. ***
Comment 2 Hannes Mehnert (RETIRED) gentoo-dev 2003-03-03 18:17:30 UTC
please attach full log. thanks. 
Comment 3 Andrew Resch 2003-03-04 00:50:14 UTC
Created attachment 8927 [details]
the complete log of emerge
Comment 4 Hannes Mehnert (RETIRED) gentoo-dev 2003-03-07 10:39:48 UTC
please try 'MAKEOPTS=-j1 emerge xmms-arts'. 
Comment 5 Andrew Resch 2003-03-07 15:10:34 UTC
it just cant find artsc.h
bash-2.05b# locate artsc.h
/usr/kde/3.1/include/artsc/artsc.h

this is what happens when i use -j1..
creating Makefile
creating config.h
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.     -march=athlon -O3 -pipe -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include `artsc-config --cflags` -c about.c
/bin/sh: line 1: artsc-config: command not found
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -march=athlon -O3 -pipe -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -c about.c  -fPIC -DPIC -o .libs/about.lo
In file included from about.c:21:
artsout.h:29:19: artsc.h: No such file or directory
make: *** [about.lo] Error 1
 
!!! ERROR: media-plugins/xmms-arts-0.4-r6 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)
Comment 6 Hannes Mehnert (RETIRED) gentoo-dev 2003-03-07 15:31:36 UTC
yup, please append following information: 
'echo $PATH' 
'which artsc-config' 
'grep kde /etc/ld.so.conf' 
Comment 7 Andrew Resch 2003-03-07 21:17:05 UTC
bash-2.05b# echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin
bash-2.05b# which artsc-config
which: no artsc-config in (/sbin:/bin:/usr/sbin:/usr/bin)
bash-2.05b# grep kde /etc/ld.so.conf
bash-2.05b#
Comment 8 Dan Armak (RETIRED) gentoo-dev 2003-03-08 08:33:26 UTC
Hmm. Maybe this wasn't from a login shell? Because the path seems very short... 
What version(s)/revisions of arts and kde-env do you have? 
What /env/*kde* files with what contents? Try running env-update and see 'grep kde 
/etc/ld.so.conf' now gives some output. 
Comment 9 Andrew Resch 2003-03-08 21:21:01 UTC
yea i did that in a gnome-terminal..  when i switched to a console it was longer.. but i dont think $PATH has much to do with it.   

i have the latest revisions in portage.. i use ~x86 keyword

bash-2.05b# cat 99kde-env
KDEDIRS=/usr
CONFIG_PROTECT=/usr/share/config

i did the env-update and still no kde in ld.so.conf
Comment 10 Dan Armak (RETIRED) gentoo-dev 2003-03-09 09:36:28 UTC
/me slaps head... 
Of course this happens. Arts doesn't add KDEDIR to PATH and LDPATH, only kdelibs does that. 
Which is obviously a broken scheme. Sigh... But somehow it never came up before, i guess few 
people want to use arts without having the rest of kde installed... 
 
The reason PATH and LDPATH are in ??kdelibs-$ver is that they need to be ordered the right 
way: newer versions of kde should come first in the paths. But, since we name the env.d files 
of the various kdelibs versions in a static way, we might as well put the entries in 99kde-env in 
a static order and be done with it. 
 
Comments (Hannes?) or I'll do this in new ~ revisions. Plus probably with that other bug about 
env.d submitted by myself as a reminder. 
Comment 11 Hannes Mehnert (RETIRED) gentoo-dev 2003-03-09 11:05:13 UTC
yup, arts ebuilds have to install env settings, simply move the 
kdelibs ebuild code to arts should do the trick ;) 
Comment 12 Dan Armak (RETIRED) gentoo-dev 2003-03-09 15:22:25 UTC
Yes, you're right of course. Putting it in kde-env would be too static - it wouldn't allow for 
custom kde locations via KDEPREFIX, etc. 
 
So we should move the ??kdelibs*, ??kdedir* files from kdelibs to arts. If we move them as-is 
it will just work and close this bug. 
I do want (at some point) to make the whole thing more elegant. At least I would like to 
properly sequentalize the numbers of the env.d files installed - right now they're all over the 
0-100 range. But this would create upgrade problems since env.d files are config-protected. So 
I'll let that alone for now. 
Comment 13 Dan Armak (RETIRED) gentoo-dev 2003-03-11 10:03:44 UTC
Committed new arts, kdelibs versions (to ~ profiles) that should fix this as described above. 
If you don't want to spend time recompiling kdelibs, upgrading arts should be enough, 
assuming the next time you compile kdelibs you'll use the new revision. 
Comment 14 Andrew Resch 2003-03-11 19:10:01 UTC
works perfect now.. thanks.