Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262848 - media-video/transcode-1.1.1-r4 USE="-X sdl" should NOT enforce libsdl built with USE="X"
Summary: media-video/transcode-1.1.1-r4 USE="-X sdl" should NOT enforce libsdl built w...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-17 20:53 UTC by Lucian Muresan
Modified: 2011-12-06 07:49 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 Lucian Muresan 2009-03-17 20:53:15 UTC
Since both media-video/transcode and media-libs/libsdl (on which the former depends) declare to use the "X" USE flag, and fortunately, it still is possible to build libsdl without X11, transcode should also play nice (and gentoo-ish) and honor the users choice on USE flags.

Reproducible: Always

Steps to Reproduce:
1. set global USE flag "-X" or just for media-libs/libsdl and media-video/transcode, also "sdl" for the latter
2. try to emerge transcode


Actual Results:  
Emerging transcode is denied by portage because the ebuild wants libsdl to be built with the USE flag "X", regardless if this is not set for transcode.

Expected Results:  
Enforcing the X USE flag for libsdl should only happen if the flag is also set for transcode.
Comment 1 Christophe PEREZ 2010-03-30 18:39:37 UTC
Same problem here.
Is there a solution ?

My upgrade is actually broken

# emerge -DauvN world

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy ">=media-libs/libsdl-1.2.5[X]".
!!! One of the following packages is required to complete your request:
- media-libs/libsdl-1.2.13-r1 (Change USE: +X)
(dependency required by "media-video/transcode-1.1.5-r1" [ebuild])
(dependency required by "world" [argument])
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-12-06 07:49:00 UTC
This should be fixed in 1.1.7.