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

Bug 263349

Summary: media-tv/xbmc-9999 needs libsdl built with USE="audio video"
Product: Gentoo Linux Reporter: echtler
Component: Current packagesAssignee: SpanKY <vapier>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description echtler 2009-03-22 11:40:50 UTC
Hello everyone,

I've noticed that xbmc built from the SVN ebuild (xbmc-9999) will segfault under some circumstances if libsdl has not been built with the "audio" and "video" useflags. So I'd suggest to add a check for these to the xbmc ebuild.

Reproducible: Always

Steps to Reproduce:
1. emerge libsdl with USE="-audio -video"
2. emerge xbmc-9999
3. observe segfault in CSurface::Surface::EnableVSync
Comment 1 SpanKY gentoo-dev 2009-03-23 00:44:04 UTC
doesnt really make sense to build a system w/XBMC and video/audio disabled in the first place ...

http://sources.gentoo.org/media-tv/xbmc/xbmc-9999.ebuild?r1=1.15&r2=1.16
Comment 2 echtler 2009-03-23 08:01:41 UTC
You're right, of course - those useflags were a leftover from an older installation. However, it took me quite a while to track it down, so thanks for fixing it so fast.