View previous topic :: View next topic |
Author |
Message |
Sujao l33t
Joined: 25 Sep 2004 Posts: 677 Location: Germany
|
Posted: Sun Jun 24, 2012 10:00 am Post subject: Design of REQUIRED_USE variable |
|
|
When I started using Gentoo several years ago I was told something like "You will never HAVE to change USE flags, because necessary use flags will be active by default." What I have been seeing for several months is that almost every "emerge -vauDN world" needs at least one manual addition of a USE flag, like for example here:
Code: | # emerge -vauDN world
These are the packages that would be merged, in order:
Calculating dependencies... done!
!!! The ebuild selected to satisfy ">=media-libs/mesa-7.10" has unmet requirements.
- media-libs/mesa-8.0.3::gentoo USE="classic (consolekit) egl gallium llvm (multilib) nptl (policykit) shared-glapi vdpau xvmc -bindist -d3d -debug -g3dvl -gbm -gles1 -gles2 -openvg -osmesa -pax_kernel -pic (-selinux) -shared-dricore (-wayland) -xa" VIDEO_CARDS="-i915 -i965 -intel -nouveau -r100 -r200 -r300 -r600 -radeon -vmware"
The following REQUIRED_USE flag constraints are unsatisfied:
vdpau? ( g3dvl ) xvmc? ( g3dvl )
The above constraints are a subset of the following complete expression:
d3d? ( gallium ) g3dvl? ( gallium ) llvm? ( gallium ) openvg? ( egl gallium ) gbm? ( shared-glapi ) g3dvl? ( any-of ( vdpau xvmc ) ) vdpau? ( g3dvl ) xa? ( gallium ) xvmc? ( g3dvl ) video_cards_intel? ( any-of ( classic gallium ) ) video_cards_i915? ( any-of ( classic gallium ) ) video_cards_i965? ( classic ) video_cards_nouveau? ( any-of ( classic gallium ) ) video_cards_radeon? ( any-of ( classic gallium ) ) video_cards_r100? ( classic ) video_cards_r200? ( classic ) video_cards_r300? ( gallium ) video_cards_r600? ( gallium ) video_cards_vmware? ( gallium )
(dependency required by "kde-base/kwin-4.8.3[opengl]" [installed])
(dependency required by "kde-base/kdebase-meta-4.8.3" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument]) |
If mesa changed in a way that it needs g3dvl in combination with vdpau why isn't it added automatically? It's not like I have a choice. There is only one solution (deterministic). So is this something that is being worked on or actually an intended design? |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21602
|
Posted: Sun Jun 24, 2012 3:46 pm Post subject: |
|
|
There are two solutions: enable g3dvl or disable the USE flags vdpau and xvmc. Some users may decide they want vdpau at any cost, and enable the g3dvl flag to support it. Others may device they want g3dvl disabled and are willing to give up USE=vdpau to achieve that. |
|
Back to top |
|
|
miket Guru
Joined: 28 Apr 2007 Posts: 488 Location: Gainesville, FL, USA
|
Posted: Sun Jun 24, 2012 6:42 pm Post subject: |
|
|
Hu wrote: | There are two solutions: enable g3dvl or disable the USE flags vdpau and xvmc. Some users may decide they want vdpau at any cost, and enable the g3dvl flag to support it. Others may device they want g3dvl disabled and are willing to give up USE=vdpau to achieve that. |
Hear, hear! There could be a whole set of packages I'd rather drop the enable a given USE flag and its whole evil (for me) spawn of dependencies. I'd rather have the choice! Besides, such changes are rarely introduced at the whim of Gentoo developers; those changing requirements usually come from upstream. |
|
Back to top |
|
|
|