Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Update fail on needed USE flags
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
tomtomp
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2011
Posts: 89

PostPosted: Sat Dec 24, 2011 7:37 am    Post subject: Update fail on needed USE flags Reply with quote

Hi, today i wanted to update but error popped out :
Code:

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

Calculating dependencies... done!

!!! The ebuild selected to satisfy "virtual/opencl" has unmet requirements.
- virtual/opencl-0::gentoo USE="" VIDEO_CARDS="-nvidia"

  The following REQUIRED_USE flag constraints are unsatisfied:
    video_cards_nvidia

  The above constraints are a subset of the following complete expression:
    any-of ( video_cards_nvidia )

(dependency required by "app-emulation/wine-9999[opencl]" [installed])
(dependency required by "app-emulation/winetricks-99999999" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

But I am using ati, not invidia...

PS: Why does virtual/opencl-0 depgraph:
Code:

 * dependency graph for virtual/opencl-0
 `--  virtual/opencl-0  x86
   `--  x11-drivers/nvidia-drivers-285.05.09-r1  (x11-drivers/nvidia-drivers) x86
   `--  dev-util/nvidia-cuda-toolkit-4.0  (>=dev-util/nvidia-cuda-toolkit-3.1) x86
[ virtual/opencl-0 stats: packages (3), max depth (1) ]

depends only on nvidia not on ati?
Back to top
View user's profile Send private message
ultraincognito
Guru
Guru


Joined: 03 Jun 2011
Posts: 346
Location: Ukraine

PostPosted: Sat Dec 24, 2011 10:56 am    Post subject: Re: Update fail on needed USE flags Reply with quote

tomtomp wrote:
depends only on nvidia not on ati?

Yes, it is. All users have this bug.
Meanwhile you can to edit the ebuild. I hope in future this bug will be corrected.
Back to top
View user's profile Send private message
tomtomp
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2011
Posts: 89

PostPosted: Sat Dec 24, 2011 12:16 pm    Post subject: Reply with quote

Ok, thanx for confirmation :) , dont know how to edit ebuild tho :D
Back to top
View user's profile Send private message
ultraincognito
Guru
Guru


Joined: 03 Jun 2011
Posts: 346
Location: Ukraine

PostPosted: Sat Dec 24, 2011 1:19 pm    Post subject: Reply with quote

tomtomp wrote:
dont know how to edit ebuild tho :D

On example. Using your favorite text editor, open the file /usr/portage/app-emulation/wine/wine-9999.ebuild and remove string:
Code:
opencl? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 )

Then recount a hash of the ebuild:
Code:
# ebuild  /usr/portage/app-emulation/wine/wine-9999.ebuild manifest

After this go to the catalogue '/usr/portage/metadata/cache/app-emulation/' and find a file 'wine-9999' in it. In this file remove:
Code:
opencl? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 )

in second string.
It's all.
Back to top
View user's profile Send private message
tomtomp
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2011
Posts: 89

PostPosted: Sat Dec 24, 2011 3:01 pm    Post subject: Reply with quote

Thanx, Ill try that :)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Sat Dec 24, 2011 3:11 pm    Post subject: Reply with quote

tomtomp,

Code:
emerge --sync
will revert your changes. ebuild edists should be carried out in your own local overlay so you don't have this problem.
The Gentoo Handbook describes how to use overlays.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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