Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37213 - emerge xmms-1.2.7-r23 breaks with "not a valid libtool archive" message
Summary: emerge xmms-1.2.7-r23 breaks with "not a valid libtool archive" message
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-04 11:14 UTC by Daniel Jana
Modified: 2004-02-15 12:11 UTC (History)
1 user (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 Daniel Jana 2004-01-04 11:14:42 UTC
I've tried to emerge xmms-1.2.7-r23 and it fails. The final part of the emerging process is:

/bin/sh ../../libtool --mode=link gcc  -O3 -march=pentium3 -pipe -fomit-frame-pointer -Wall -Wpointer-arith -finline-functions -ffast-math -fomit-frame-pointer -funroll-all-loops  -o libogl_spectrum.la -rpath /usr/lib/xmms/Visualization -module -avoid-version -export-symbols-regex "get_.plugin_info" opengl_spectrum.lo configure.lo -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lgthread -lglib -lpthread -ldl -lXi -lXext -lX11 -lm -lGL
mkdir .libs
libtool: link: `/usr/lib/libGL.la' is not a valid libtool archive
make[3]: *** [libogl_spectrum.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/xmms-1.2.7-r23/work/xmms-1.2.7/Visualization/opengl_spectrum'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xmms-1.2.7-r23/work/xmms-1.2.7/Visualization'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xmms-1.2.7-r23/work/xmms-1.2.7'
make: *** [all-recursive-am] Error 2
 
!!! ERROR: media-sound/xmms-1.2.7-r23 failed.
!!! Function src_compile, Line 142, Exitcode 2
!!! (no error message)

In my make.conf:
USE="-alsa cdr dvd -emacs gb gnome gstreamer gtk gtk2 mad mmx ppds sse videos X"
and 
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"

Reproducible: Always
Steps to Reproduce:
1.emerge xmms
Actual Results:  
emerging fails with the error message above

Expected Results:  
emerge should finish successfully and xmms should be installed

I also used:
# ACCEPT_KEYWORDS="~x86" emerge media-sound/xmms

to compile the teste version xmms-1.2.8-r3 and it had the same problem.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-01-04 12:14:57 UTC
you are having problem with libgl
try #opengl-update
Comment 2 Daniel Jana 2004-01-04 13:28:27 UTC
I couldn't solve the problem with opengl-update. Couldn't use 'opengl-update nvidia'

However, 'USE="-opengl" emerge xmms' worked fine.

Thank you
Comment 3 Daniel Jana 2004-01-04 17:06:39 UTC
I've reinstalled nvidia drivers and was now able to use '# opengl-update nvidia'

However, it didn't solve the problem. The problem I stated above is still there. I still tried to use xmms-1.2.8-r3 and it had the same problem.

At this point the only way to solve the problem is using '# USE="-opengl" emerge xmms' which works quite fine, but seems an awkward way to solve the problem...
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-01-25 02:57:03 UTC
Can you please do this for me and paste the output:

$ cd /usr/lib
$ grep -nH libGL.la *.la

I'm curious where the is coming from since there shouldn't really be a /usr/lib/libGL.la on your system... did you hand-install Mesa at some point?
Comment 5 Daniel Jana 2004-01-25 04:33:33 UTC
# grep -nH libGL.la *.la
libGL.la:1:# libGL.la - a libtool library file

I didn't install Mesa, so it's not coming from some other place.
Comment 6 Daniel Jana 2004-01-25 04:34:33 UTC
# grep -nH libGL.la *.la
libGL.la:1:# libGL.la - a libtool library file

I didn't install Mesa, so it's not coming from some other place.
Comment 7 Jeremy Huddleston (RETIRED) gentoo-dev 2004-01-25 13:01:35 UTC
Alright then, let's figure out where it's coming from...

If you don't have gentoolkit installed, you'll need to emerge it for the 'qpkg' tool used below.

Run these commands and tell me the output... also, could you attatch your /usr/lib/libGL.la file here...

$ qpkg -I -v -f /usr/lib/libGL.la
$ find /usr/lib/opengl
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-03 23:56:48 UTC
Daniel, could you please provide the above info?

Thanks.
Comment 9 jochen 2004-02-06 14:30:32 UTC
same with libgtk here.

Note that I just emerged gtk and libtool before xmms.

~x86 here
Comment 10 jochen 2004-02-06 16:07:19 UTC
actually I suddendly have lots of problems with auto*. This perl script from mandrake suddendly selects wrong versions for me and I have to force them with WANT_AUTOCONF etc..
Comment 11 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-06 19:57:46 UTC
Jochen, please file a separate bug so the gtk team can help you out...
Comment 12 jochen 2004-02-07 02:01:37 UTC
did that. however, i'm still convinced this is not a gl or gtk problem, but a libtool one. cya
Comment 13 Eric Nylander 2004-02-07 18:50:44 UTC
I am also having this problem, but with gtk and on x86-64 machine.
I also think it is a problem with libtool wich was recently updated to 1.5.2-r1
I made an empty program: test.c 
-------------------------------------
int main( int argc, char *argv[])
{
   return 1;
}
-------------------------------------
then ran these commands:
libtool --mode=compile gcc test.c -c -o test.o
libtool --mode=link gcc test.o -o test
this worked, but when I ran this:
libtool --mode=link gcc test.o -o test -lgtk
I got the error:
libtool: link: `/usr/lib64/libgtk.la' is not a valid libtool archive
gtk without libtool works fine.
I tried re emerging gtk afetr the libtool update as well, but that didn't help.
It might be interesting to go back to an older version of libtool.
In any event it doesn't seem like a xmms problem.
Comment 14 Eric Nylander 2004-02-07 19:39:33 UTC
Never mind,  I just remerged gtk-1 after libtool was updated again and it works now.
Comment 15 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-07 22:00:53 UTC
user says it's fixed, so closing...
Comment 16 Daniel Jana 2004-02-15 07:33:45 UTC
I'm sorry for such a long time without saying anything and also not replying for what I was asked for but I was during an exams period at university and didn't have much time to do anything else but study.

I had the same problem when I tried to install mlDonkey. The same problem with libGL.la.

Doing what I was asked I got this result:
$ qpkg -I -v -f /usr/lib/libGL.la
$ find /usr/lib/opengl
/usr/lib/opengl
/usr/lib/opengl/xfree
/usr/lib/opengl/xfree/lib
/usr/lib/opengl/xfree/lib/libGL.so.1
/usr/lib/opengl/xfree/lib/libGL.a
/usr/lib/opengl/xfree/lib/libGL.so.1.2
/usr/lib/opengl/xfree/lib/libMesaGL.so
/usr/lib/opengl/xfree/lib/libGL.la
/usr/lib/opengl/xfree/lib/libGL.so
/usr/lib/opengl/xfree/extensions
/usr/lib/opengl/xfree/extensions/libglx.a
/usr/lib/opengl/xfree/include
/usr/lib/opengl/xfree/include/glxtokens.h
/usr/lib/opengl/xfree/include/gl.h
/usr/lib/opengl/xfree/include/glx.h
/usr/lib/opengl/nvidia
/usr/lib/opengl/nvidia/lib
/usr/lib/opengl/nvidia/lib/libGL.so.1
/usr/lib/opengl/nvidia/lib/libGL.so.1.0.5328
/usr/lib/opengl/nvidia/lib/libGL.la
/usr/lib/opengl/nvidia/lib/libGL.so
/usr/lib/opengl/nvidia/lib/libGLcore.so
/usr/lib/opengl/nvidia/lib/libGLcore.so.1
/usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.5328
/usr/lib/opengl/nvidia/extensions
/usr/lib/opengl/nvidia/extensions/libglx.so
/usr/lib/opengl/nvidia/include
/usr/lib/opengl/nvidia/include/glxtokens.h
/usr/lib/opengl/nvidia/include/gl.h
/usr/lib/opengl/nvidia/include/glx.h
/usr/lib/opengl/nvidia/include/glext.h

I solved the problem in other way. Since /usr/lib/libGL.la had problems I renamed it and made a ln -s /usr/lon/opengl/xfree/lib/libGL.la

This seems to have fixed the problem during the installation of mlDonkey. So as someone (or several) stated above it wasn't a xmms problem.

Sorry for not saying anything for such a long time. I'm now available again if anyone needs more info.
Comment 17 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-15 12:11:41 UTC
Damn... by fixing it, we can't not figure out how it broke... oh well...

Do an 'opengl-update nvidia' (or xfree if you don't have an nvidia card, but I assume you do because I see the drivers there) to finally clean up everything since you shouldn't have the .la there at all with the nvidia drivers.