Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Noob Package.mask question
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
contraversy
n00b
n00b


Joined: 28 Apr 2012
Posts: 39

PostPosted: Sun Nov 17, 2013 4:59 am    Post subject: Noob Package.mask question Reply with quote

Ok So I tried reading the wiki but was still a bit confused and need clarification.

I had to remove a dev-qt/qtwebkit package so I could install chromium due to a package conflict. Now that I have my machine back up and running I want to go back and fix it.

So I run emerge @preserved-rebuild and this is my delimma
Code:
Calculating dependencies... done!
[ebuild   R    ] dev-libs/libxml2-2.9.1-r1  USE="-icu*"
[ebuild  N     ] dev-qt/qtwebkit-4.8.5  USE="exceptions gstreamer jit (-aqua) -debug -icu -pch"
[ebuild   R    ] kde-base/kdelibs-4.10.5-r1
[ebuild   R    ] kde-base/ksysguard-4.10.5
[ebuild   R    ] kde-base/rocs-4.10.5
[ebuild   R    ] kde-base/marble-4.10.5
[ebuild   R    ] kde-base/kdebase-kioslaves-4.10.5
[ebuild   R    ] kde-base/blogilo-4.10.5
[ebuild   R    ] kde-base/drkonqi-4.10.5
[ebuild   R    ] kde-base/kdepim-common-libs-4.10.5
[ebuild   R    ] kde-base/plasma-workspace-4.10.5-r2
[ebuild   R    ] kde-base/kontact-4.10.5
[ebuild   R    ] kde-base/kdeplasma-addons-4.10.5

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-qt/qtwebkit-4.8.5[gstreamer]
# required by kde-base/marble-4.10.5
# required by @preserved-rebuild (argument)
>=dev-libs/libxml2-2.9.1-r1 -icu

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.


Since I cant have "icu and -icu" for the same package in my package.use file, how do I install both using package.mask? Do I mask the chromium one? Or the webkit package?

Thanks for the help, even if you can post a link that explains it better I would be grateful!!
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sun Nov 17, 2013 6:47 am    Post subject: Reply with quote

For situations like this, eix -vl is often useful. In this case,
Code:
eix -vle qtwebkit
will show you that the full dependency is dev-libs/libxml2[!icu?]. Looking into pms shows you that this means "the useflag must be disabled if the useflag is disabled for the package with the dependency", i.e. qtwebkit will require libxml2[-icu] unless qtwebkit[use] is used. Thus, a solution of this conflict is
/etc/portage/package.use wrote:
dev-qt/qtwebkit icu
or to enable USE=icu globally (which perhaps avoids other such conflicts).
Back to top
View user's profile Send private message
contraversy
n00b
n00b


Joined: 28 Apr 2012
Posts: 39

PostPosted: Sun Nov 17, 2013 3:14 pm    Post subject: Reply with quote

Well first off, it worked. So thanks for that. Second I have a lot of reading to do :P
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