Bug 158346

Summary: SDL-devel should Require: arts-devel or "sdl-config --libs" should fixed
Product: [Fedora] Fedora Reporter: Thorsten Leemhuis <fedora>
Component: SDLAssignee: Thomas Woerner <twoerner>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: notting, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.2.8-3.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-26 22:07:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150221    

Description Thorsten Leemhuis 2005-05-20 19:04:04 UTC
Description of problem:
Rebuild apps like smjpeg, SDL_sound or mpeg3dec fails on FC4T3 because they
can't find "/usr/lib64/libartsc.so". Okay, BR arts-devel is missing. Why? Did
not happen with FC4T2...

After some investigations I saw that SDL-1.2.8-3.1 from FC4T3 does have a
require on libartsc.so.0()(64bit), but SDL-1.2.7-8 from FC4T2 did not. Okay,
seems SDL uses arts now, so probably sdl-config --libs should show that also. It
does not:

$ sdl-config --libs
-L/usr/lib64 -lSDL -lpthread

But it seems it is needed. See also:
$ grep arts /usr/lib64/libSDL.la
dependency_libs=' -lasound -lm -L/usr/lib64 /usr/lib64/libartsc.la
-L/usr/lib64/qt-3.3/lib -L/usr/X11R6/lib64 -lgmodule-2.0 -ldl -lgthread-2.0
-lglib-2.0 -lX11 -lXext -lpthread'

So sdl-config should be fixed and/or SDL-devel should "Require: arts-devel"

Version-Release number of selected component (if applicable):
SDL-1.2.8-3.1

How reproducible:
Always

Additional info:
Bug 140301 (sdl-config --libs outputs insufficient parameters) is related and
probably still valid
Bug 145974 (remove %_libdir/lib*.la files) probably also -- but that's to late
for FC4 afaics...

Comment 1 Bill Nottingham 2005-05-26 20:37:00 UTC
Actually, something more serious is wrong here. SDL requires arts... only on x86_64.

Why would it only pick it up there?


Comment 2 Bill Nottingham 2005-05-26 22:07:31 UTC
Fixed in 1.2.8-3.2.