Summary: | media-libs/libmovtar-0.1.3-r1 Fails to link during compilation | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lisa Seelye (RETIRED) <lisa> |
Component: | [OLD] Library | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Lisa Seelye (RETIRED)
![]() libmovtar needs to link against a version of libSDL.so that has been compiled with video support. Recompiling libsdl with any of the following USE flags is a workaround: 'X dga xv fbcon directfb ggi svga aalib opengl'. I understand that portage-2.0.50 will allow us to specify dependencies with particular USE flags which is really what is needed to resolve these types of problems. How about in the mean time we do something like this: pkg_setup() { local needed_flags="X dga xv fbcon directfb ggi svga aalib opengl" local libsdl_use="$(</var/db/pkg/`best_version media-libs/libsdl`/USE)" for flag in ${needed_flags} ; do if [ "`has ${flag} ${libsdl_use}`" ] ; then einfo "Found ${flag} video-out support in libSDL" return 0 fi done eerror "libSDL needs video-out support. Please set one of the following" eerror "USE flags and re-emerge media-libs/libsdl:" eerror " X dga xv fbcon directfb ggi svga aalib opengl" die "libSDL is missing video-out support" } Not my package, please reassign. seems to be an issue with libsdl ok, ive added local flags noaudio, novideo, and nojoystick to libsdl ... please sync up in a little while and re-emerge libsdl-1.2.6-r1 ... this way those subsystems are enabled (per the defaults) ... but if a user *really* wants them gone, they can remove em ... oh and it's their problem if it breaks something ;) |