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

Bug 34804

Summary: when libsdl is built with arts and kde version is cvs (3.2.x), many packages fail with libtool
Product: Gentoo Linux Reporter: SpanKY <vapier>
Component: [OLD] Core systemAssignee: SpanKY <vapier>
Status: RESOLVED FIXED    
Severity: normal CC: kde, ktecho
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://forums.gentoo.org/viewtopic.php?t=51555
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 29069    
Bug Blocks: 33742, 33749, 34419, 35488    
Attachments: This is the requested file

Description SpanKY gentoo-dev 2003-12-01 00:53:20 UTC
see related bugs for more information
Comment 1 SpanKY gentoo-dev 2003-12-01 00:54:26 UTC
*** Bug 33485 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2003-12-01 01:03:10 UTC
kde peeps:
when using kde-cvs (basically 3.2) and with arts support, the libsdl.la file is being populated with -pthread junk ... see this link for example:
http://bugs.gentoo.org/attachment.cgi?id=21501&action=edit

LuisMi: could you also post your /usr/kde/*/lib/libartsc.la files ?  i wonder if they have -pthread in them too ... if so, perhaps we need to fix arts ?
if not, then i can fix up libsdl
Comment 3 LuisMi Garcia 2003-12-01 01:16:33 UTC
Created attachment 21533 [details]
This is the requested file

I think that you have the point.

There seems to have -pthreads.

When you fix this (i don't know how to do it), i'll be very glad to test it.

Thanks a lot!
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2003-12-03 08:16:37 UTC
seen the problem a lot, but not sure if it's coming from kde or not.  if so, perhaps the best thing to do is to make libsdl NOT install its .la file?
Comment 5 SpanKY gentoo-dev 2003-12-03 09:24:54 UTC
the reason i suspect kde (arts) is that the common factor seems to be when people
build libsdl with USE=arts and they have kde-3.2

if libsdl is the only pkg being messed up i can a dosed on the .la file in src_install:
dosed "s: -pthread ::g" /usr/lib/libSDL.la
after all, -pthread doesnt seem to be a valid flag in any context
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2003-12-03 10:28:30 UTC
Just emerged libsdl as a test and this crept up (I have kde 3.2 installed).

This looks like it may be a problem with a faulty libtool in this package.  Deleting the remnants of the libtool stuff in this package before starting the compile will probably help - will test.

Comment 7 LuisMi Garcia 2003-12-04 16:34:03 UTC
blender suffers the same problem. I can't compile it. I suspect it's because it depends of libsdl.

Any test that I can do in order to finally solve this?
Comment 8 Caleb Tennis (RETIRED) gentoo-dev 2003-12-10 04:48:09 UTC
vapier, wanna go ahead and do the dosed...or just not install the .la file?  I think this will save us from lots more bug reports.
Comment 9 LuisMi Garcia 2003-12-10 13:13:43 UTC
hi guys...

any easy fix?

I have some packeges that I need I cannot emerge (i.e.:  gnomemeeting, blender...).


Thanks a lot.
Comment 10 Caleb Tennis (RETIRED) gentoo-dev 2003-12-10 13:24:07 UTC
yes, check the forums or other bugs...it's been written about too many times to mention.
Comment 11 SpanKY gentoo-dev 2003-12-10 18:49:56 UTC
i added the dosed to portage a few hours ago ...
should we tell people to re-emerge their libsdl or version bump ?
after all, not everyone has this bug ...
Comment 12 SpanKY gentoo-dev 2003-12-11 15:54:39 UTC
ok, libsdl-1.2.6-r3 has the dosed fix