Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3431 - emerge xmms-1.2.7-r8.ebuild doesn't work
Summary: emerge xmms-1.2.7-r8.ebuild doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-05 17:16 UTC by Wido Depping
Modified: 2003-02-04 19:42 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 Wido Depping 2002-06-05 17:16:33 UTC
The compile of xmms stops at this point: 
make[4]: Entering directory 
`/var/tmp/portage/xmms-1.2.7-r8/work/xmms-1.2.7/xmms' 
source='bmp.c' object='bmp.o' libtool=no \ 
depfile='.deps/bmp.Po' tmpdepfile='.deps/bmp.TPo' \ 
depmode=none /bin/sh ../depcomp \ 
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT 
-I/usr/X11R6/include -march=i686 -O2 -pipe -Wall -Wpointer-arith 
-finline-functions -ffast-math -fomit-frame-pointer -funroll-all-loops 
-DDATA_DIR=\"/usr/share/xmms\" -DPLUGIN_DIR=\"/usr/lib/xmms\" 
-DPLUGINSUBS=\"Output\",\"Input\",\"Effect\",\"General\",\"Visualization\" 
-DLOCALEDIR=\"/usr/share/locale\" -DI386_ASSEM -I../intl    -march=i686 -O2 
-pipe -Wall -Wpointer-arith -finline-functions -ffast-math 
-fomit-frame-pointer -funroll-all-loops -c `test -f bmp.c || echo './'`bmp.c 
../depcomp: ../depcomp: No such file or directory 
make[4]: *** [bmp.o] Error 127 
The same error appears with all other releases of xmms since a few months.
Comment 1 Brandon Low (RETIRED) gentoo-dev 2002-06-05 23:27:35 UTC
what compiler are you using there? also if you can provide me your autoconf,
automake versions it might matter...
Comment 2 Brandon Low (RETIRED) gentoo-dev 2002-06-06 00:53:42 UTC
I need to get some testing on this... see if it fixes your problem (I didn't
experience exactly what you saw, but I did have some other errors which this
build fixes...
http://www.lostlogicx.com/ebuilds/xmms-1.2.7-r9.tar.gz
I'll be committing this and masking it, pending your testing...
Comment 3 Wido Depping 2002-06-06 04:45:01 UTC
I unmasked your new ebuild and tried to compile it. But it breaks exactly at 
the same position as before. 
I'm using gcc 2.95.3, autoconf 2.53a, automake 1.5. All with the latest 
ebuilds. At runtime the correct versions are used, WANT_AUTOMAKE_?_? and 
WANT_AUTOCONF_?_? are used. 
Additionally, if I use automake 1.6.1, configure breaks at this point: 
 
configure: error: conditional "HAVE_ORBIT" was never defined. 
Usually this means the macro was only invoked conditionally. 
make: *** [config.status] Error 1 
 
Comment 4 Brandon Low (RETIRED) gentoo-dev 2002-06-06 15:30:04 UTC
I'm still trying to find someone else to corroborate this error so we can figure
out the cause for it.  
Comment 5 Brandon Low (RETIRED) gentoo-dev 2002-06-06 15:54:49 UTC
Ok... new attack... 
cd /usr/portage/media-sound/xmms
ebuild xmms-1.2.7-r9.ebuild fetch unpack
cd /var/tmp/portage/xmms-1.2.7-r9/work/xmms-1.2.7
find . -iname "depcomp"
let me know what you get
Comment 6 Daniel Ahlberg (RETIRED) gentoo-dev 2002-06-07 05:59:28 UTC
Take a look at my comment on http://bugs.gentoo.org/show_bug.cgi?id=2117 . This 
looks like something similar.
Comment 7 Wido Depping 2002-06-09 13:33:01 UTC
I unpacked xmms and had a search for decomp, but there was no such file in the 
xmms directory. 
Also, I had a look at the link you send me and I experienced the same problem. 
/usr/share/automake is a symlink to automake-1.4. Changing this link has no 
effect, since there is no decomp file in xmms which should point to 
/usr/share/automake. 
I hope this helps you. 
Comment 8 Brandon Low (RETIRED) gentoo-dev 2002-06-10 00:24:09 UTC
Well I have a new idea, lets just make the darn symlink...
add the following line to the xmms ebuild just before the ./configure statement,
let me know how that goes.

ln -s `find /usr/share -iname "depcomp" 2> /dev/null|sort|tail -n1` depcomp
Comment 9 Wido Depping 2002-06-10 14:06:53 UTC
Ok, making the symlink before configure works perfect. But there seems to be  
another problem with automake. Using WANT_AUTOMAKE_1_5=1 i get this error:  
   
gcc -shared  configfile.lo xmmsctrl.lo dirbrowser.lo util.lo formatter.lo   
titlestring.lo  -L/usr/lib -L/usr/X11R6/lib /usr/lib/libgtk.so   
/usr/lib/libgdk.so /usr/lib/libgmodule.so /usr/lib/libgthread.so   
/usr/lib/libglib.so -lpthread -ldl -lXi -lXext -lX11 -lm  -Wl,-soname   
-Wl,libxmms.so.1 -o .libs/libxmms.so.1.2.1   
(cd .libs && rm -f libxmms.so.1 && ln -s libxmms.so.1.2.1 libxmms.so.1)   
(cd .libs && rm -f libxmms.so && ln -s libxmms.so.1.2.1 libxmms.so)   
ar cru .libs/libxmms.a  configfile.o xmmsctrl.o dirbrowser.o util.o formatter.o   
titlestring.o   
ranlib .libs/libxmms.a   
creating libxmms.la   
(cd .libs && rm -f libxmms.la && ln -s ../libxmms.la libxmms.la)   
make[2]: Leaving directory   
`/var/tmp/portage/xmms-1.2.7-r9/work/xmms-1.2.7/libxmms'   
Making all in xmms   
make[2]: Entering directory   
`/var/tmp/portage/xmms-1.2.7-r9/work/xmms-1.2.7/xmms'   
cd .. && automake --gnu --include-deps xmms/Makefile   
xmms/Makefile.am: xmms_LDADD must be set with `=' before using `+='   
make[2]: *** [Makefile.in] Error 1   
make[2]: Leaving directory   
`/var/tmp/portage/xmms-1.2.7-r9/work/xmms-1.2.7/xmms'   
make[1]: *** [all-recursive] Error 1   
make[1]: Leaving directory `/var/tmp/portage/xmms-1.2.7-r9/work/xmms-1.2.7'   
make: *** [all] Error 2   
 
After setting WANT_AUTOMAKE_1_4=1 and WANT_AUTOMAKE_1_5, the compile seems to 
work fine. I'm still compiling, so I will let you know, if everything works or 
not. 
   
Comment 10 Wido Depping 2002-06-11 12:55:04 UTC
Ok, after compiling the updated xmms is working fine here. I think, the bug can 
be closed now. 
Comment 11 Brandon Low (RETIRED) gentoo-dev 2002-06-11 12:58:30 UTC
you set 2 different WANT_AUTOMAKE variables?  
did it work with JSUT the added symlink?
need to know so I know what to put in an update xmms ebuild for the rest of the
world
Comment 12 Wido Depping 2002-06-11 13:51:21 UTC
yeah, is set two variables: WANT_AUTOMAKE_1_5=0, so automake1.5 isn't used. normally I use 1.5 WANT_AUTOMAKE_1_4=1, so automake1.4 is used. don't know, if this is the default, if I set 1_5=0. what do you mean with JSUT? but making the symlink by changing the ebuild-file worked well.