Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Design of REQUIRED_USE variable
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Sujao
l33t
l33t


Joined: 25 Sep 2004
Posts: 677
Location: Germany

PostPosted: Sun Jun 24, 2012 10:00 am    Post subject: Design of REQUIRED_USE variable Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Sun Jun 24, 2012 3:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
miket
Guru
Guru


Joined: 28 Apr 2007
Posts: 488
Location: Gainesville, FL, USA

PostPosted: Sun Jun 24, 2012 6:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum