Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Avoid recompile of Firefox & Libreoffice @ aux changed-USE
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
mh4it
n00b
n00b


Joined: 03 May 2016
Posts: 3

PostPosted: Tue May 03, 2016 2:15 am    Post subject: Avoid recompile of Firefox & Libreoffice @ aux changed-U Reply with quote

Is there a way to block certain large source packages from recompiling over a single USE flag --update --changed-use --deep @world
(i.e. Firefox & Libreoffice)

I need to remove gstreamer USE flag in make.conf and re-add it after adding lots of gst-plugins. This troubleshooting step is impossible because the USE flag --changed-use will trigger firefox and libreoffice to completely recompile and it will take all night x 2 for an i5 laptop.

This does not appear to be the case of a masked package. Is there an argument of portage to overlook certain quasi dependent USE changes?
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Tue May 03, 2016 2:17 am    Post subject: Reply with quote

You can pass --exclude to emerge. See man emerge.
Back to top
View user's profile Send private message
mh4it
n00b
n00b


Joined: 03 May 2016
Posts: 3

PostPosted: Tue May 03, 2016 2:27 am    Post subject: Reply with quote

Thanks, I should have checked there first, I do have it saved already. I wonder how many people have a long list of excludes for USE updates?

Do you happen to have an example of correct usage?
I've tried:
emerge --update --changed-use --exclude firefox-38.7.0 --deep @world
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Tue May 03, 2016 5:10 am    Post subject: Reply with quote

try without firefox's version (you shouldn't need to put the version in it for a package that isn't slotted, if you need to specify a version you need to use the full atom with the =, >=, >, <, <= just like in masking and package.use)
Back to top
View user's profile Send private message
mh4it
n00b
n00b


Joined: 03 May 2016
Posts: 3

PostPosted: Tue May 03, 2016 1:17 pm    Post subject: Reply with quote

I tried this
Code:

emerge --update --exclude '>=www-client/firefox-38.7.0' --changed-use --deep @world


I get no error but the scripts run right to pre-merge checks for www-client/firefox-38.7.0

Code:
Calculating dependencies... done!

>>> Verifying ebuild manifests
>>> Running pre-merge checks for www-client/firefox-38.7.0....
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Tue May 03, 2016 2:29 pm    Post subject: Reply with quote

first off, why are you so insistant on putting a version on the firefox? Firefox is not slotted, so only 1 version can be installed at a time...

second, when using --exclude, that is only for the time when you use that flag, it does not stay after emerge is done (meaning you will have to keep putting it back on)

third, using either -a or -pv is highly recommended, to check what portage is going to do (Never blindly assume portage is going to do what you think it is doing)

fourth, where did those quotes come from? as portage does NOT use them, and I know for sure packages don't have spaces in their names for that to be a concern.

Note: Firefox and firefox-bin are 2 seperate packages in portage
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Tue May 03, 2016 3:11 pm    Post subject: Reply with quote

You need quotes when excluding multiple packages, e. g. --exclude 'firefox libreoffice'.
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