Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 1713

Summary: xmms ebuild fails with alsa related error
Product: Gentoo Linux Reporter: Edward Muller <edwardam>
Component: Current packagesAssignee: Seemant Kulleen (RETIRED) <seemant>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.1a   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Edward Muller 2002-04-12 23:32:17 UTC
/bin/sh ../libtool --mode=link gcc  -march=i686 -O3 -pipe -Wall 
-Wpointer-arith -finline-functions -ffast-math -fomit-frame-pointer 
-funroll-all-loops  -o xmms -export-dynamic bmp.o skin.o util.o output.o fft.o 
input.o effect.o general.o visualization.o fullscreen.o pluginenum.o 
playlist.o controlsocket.o dock.o widget.o sbutton.o pbutton.o tbutton.o 
textbox.o menurow.o hslider.o monostereo.o vis.o svis.o number.o playstatus.o 
playlist_list.o playlist_slider.o playlist_popup.o eq_graph.o eq_slider.o 
main.o skinwin.o prefswin.o playlistwin.o equalizer.o hints.o about.o sm.o 
getopt.o getopt1.o urldecode.o mkdtemp.o -L/usr/lib -L/usr/X11R6/lib -lgtk 
-lgdk -rdynamic -lgmodule -lgthread -lglib -lpthread -ldl -lXi -lXext -lX11 
-lm -lpthread -lSM -lICE -lXxf86vm  ../libxmms/libxmms.la  -laviplay -lstdc++ 
mkdir .libs 
libtool: link: cannot find the library `/usr/kde/2/lib/libartsc.la' 
make[4]: *** [xmms] Error 1 
make[4]: Leaving directory 
`/var/tmp/portage/xmms-1.2.7-r4/work/xmms-1.2.7/xmms' 
make[3]: *** [all-recursive] Error 1 
make[3]: Leaving directory 
`/var/tmp/portage/xmms-1.2.7-r4/work/xmms-1.2.7/xmms' 
make[2]: *** [all-recursive-am] Error 2 
make[2]: Leaving directory 
`/var/tmp/portage/xmms-1.2.7-r4/work/xmms-1.2.7/xmms' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/xmms-1.2.7-r4/work/xmms-1.2.7' 
make: *** [all-recursive-am] Error 2 
make  all-recursive 
make[1]: Entering directory `/var/tmp/portage/xmms-1.2.7-r4/work/xmms-1.2.7' 
Making all in intl 
make[2]: Entering directory 
`/var/tmp/portage/xmms-1.2.7-r4/work/xmms-1.2.7/intl' 
make[2]: Nothing to be done for `all'. 
make[2]: Leaving directory 
`/var/tmp/portage/xmms-1.2.7-r4/work/xmms-1.2.7/intl' 
Making all in libxmms 
make[2]: Entering directory 
`/var/tmp/portage/xmms-1.2.7-r4/work/xmms-1.2.7/libxmms' 
make[2]: Leaving directory 
`/var/tmp/portage/xmms-1.2.7-r4/work/xmms-1.2.7/libxmms' 
Making all in xmms 
make[2]: Entering directory 
`/var/tmp/portage/xmms-1.2.7-r4/work/xmms-1.2.7/xmms' 
make  all-recursive 
make[3]: Entering directory 
`/var/tmp/portage/xmms-1.2.7-r4/work/xmms-1.2.7/xmms' 
Making all in defskin 
make[4]: Entering directory 
`/var/tmp/portage/xmms-1.2.7-r4/work/xmms-1.2.7/xmms/defskin' 
make[4]: Nothing to be done for `all'. 
make[4]: Leaving directory 
`/var/tmp/portage/xmms-1.2.7-r4/work/xmms-1.2.7/xmms/defskin' 
make[4]: Entering directory 
`/var/tmp/portage/xmms-1.2.7-r4/work/xmms-1.2.7/xmms' 
/bin/sh ../libtool --mode=link gcc  -march=i686 -O3 -pipe -Wall 
-Wpointer-arith -finline-functions -ffast-math -fomit-frame-pointer 
-funroll-all-loops  -o xmms -export-dynamic bmp.o skin.o util.o output.o fft.o 
input.o effect.o general.o visualization.o fullscreen.o pluginenum.o 
playlist.o controlsocket.o dock.o widget.o sbutton.o pbutton.o tbutton.o 
textbox.o menurow.o hslider.o monostereo.o vis.o svis.o number.o playstatus.o 
playlist_list.o playlist_slider.o playlist_popup.o eq_graph.o eq_slider.o 
main.o skinwin.o prefswin.o playlistwin.o equalizer.o hints.o about.o sm.o 
getopt.o getopt1.o urldecode.o mkdtemp.o -L/usr/lib -L/usr/X11R6/lib -lgtk 
-lgdk -rdynamic -lgmodule -lgthread -lglib -lpthread -ldl -lXi -lXext -lX11 
-lm -lpthread -lSM -lICE -lXxf86vm  ../libxmms/libxmms.la  -laviplay -lstdc++ 
libtool: link: cannot find the library `/usr/kde/2/lib/libartsc.la' 
make[4]: *** [xmms] Error 1 
make[4]: Leaving directory 
`/var/tmp/portage/xmms-1.2.7-r4/work/xmms-1.2.7/xmms' 
make[3]: *** [all-recursive] Error 1 
make[3]: Leaving directory 
`/var/tmp/portage/xmms-1.2.7-r4/work/xmms-1.2.7/xmms' 
make[2]: *** [all-recursive-am] Error 2 
make[2]: Leaving directory 
`/var/tmp/portage/xmms-1.2.7-r4/work/xmms-1.2.7/xmms' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/xmms-1.2.7-r4/work/xmms-1.2.7' 
make: *** [all-recursive-am] Error 2 
 
!!! ERROR: The ebuild did not complete successfully. 
!!! Function src_compile, Line 35, Exitcode 2 
!!! (no error message) 
 
!!! emerge aborting on  /usr/portage/media-sound/xmms/xmms-1.2.7-r4.ebuild .
Comment 1 Edward Muller 2002-04-13 19:57:54 UTC
I believe this bug is related to the avifile ebuild. 
 
When I try to re-emerge avifile I get the following error. 
 
gcc -shared  codeckeeper.lo Uncompressed.lo -Wl,--whole-archive 
aviplay/.libs/libaviplay.al aviread/.libs/libaviread.al 
aviwrite/.libs/libaviwrite.al common/.libs/libcommon.al 
subtitle/.libs/libsubtitle.al video/.libs/libvideo.al -Wl,--no-whole-archive  
-L/usr/kde/2/lib -L/usr/X11R6/lib -L/usr/qt/2/lib aviplay/.libs/libaviplay.al 
aviread/.libs/libaviread.al aviwrite/.libs/libaviwrite.al 
common/.libs/libcommon.al subtitle/.libs/libsubtitle.al 
video/.libs/libvideo.al -L/usr/lib /usr/lib/libSDL.so -lartsc 
/usr/lib/libesd.so /usr/lib/libaudiofile.so /usr/lib/libasound.so -lX11 -lXext 
-lXinerama -lggi -lgii -lgg /usr/lib/libaa.so -lXxf86dga -lXxf86vm -lXi -lXft 
-lpthread -lnsl -ldl -lm        -Wl,-soname -Wl,libaviplay-0.6.so.0 -o 
.libs/libaviplay-0.6.so.0.6.0 
/usr/i686-pc-linux-gnu/bin/ld: cannot find -lartsc 
collect2: ld returned 1 exit status 
make[2]: *** [libaviplay.la] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/avifile-0.6.0.20011220-r1/work/avifile0.6-20011220/lib' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/avifile-0.6.0.20011220-r1/work/avifile0.6-20011220/lib' 
make: *** [all-recursive] Error 1 
 
 
Part of the avifile configure process includes /usr/kde/2/libs  
 
Looking at the avifile ebuild (avifile-0.6.0.20011220-r1.ebuild) shows that  
"--with-extra-libraries=/usr/kde/2" is hard coded in the configure line of the 
ebuild.  
Comment 2 Edward Muller 2002-04-13 20:04:08 UTC
Changing the /usr/kde/2/lib entries to /usr/kde/3/lib entries lets avifile 
compile and install properly. I quess avifile can use alsa, but that appears 
to be it as it's qui programs seems to link to/use qt2, not kde. 
 
Anyway ... that's all casual observation... 
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-13 21:43:04 UTC
Hi,

Sorry, I have been attacking a number of bugs simultaneously so I did not have
time to comment on this one.  It turns out you figured out the problem anyway,
in that it was an arts (kde sound) issue rather than an alsa issue.  You also
did most of the work for me by tracking it down to the aviplay ebuild.  Thanks
for that.    

Now, on to the solution.  With andee's help in #gentoo (since I do not have KDE
:P), I have updated the avifile ebuild to accomodate qt2/kde2 and qt3/kde3
depending on which one is active at the time that you emerge avifile.  It should
work like a charm now.