View previous topic :: View next topic |
Author |
Message |
gorg86 Apprentice
Joined: 20 May 2011 Posts: 297
|
Posted: Fri May 20, 2016 2:03 pm Post subject: [solved]USE flags being ignored from package.use |
|
|
Hello,
I want to remove the custom-cflags and the pic useflag from chromium (~amd64) but it is being ignored by portage.
/etc/portage/package.use/package.use.original : Code: | ...
www-client/chromium -hangouts -pic -system-ffmpeg -custom-cflags
... |
emerge -vpuDN chromium : Code: | [ebuild R ~] www-client/chromium-51.0.2704.47::gentoo USE="cups custom-cflags (pic) proprietary-codecs pulseaudio tcmalloc (-gn) -gnome -gnome-keyring (-gtk3) -hangouts* -hidpi -hotwording -kerberos (-neon) (-selinux) -system-ffmpeg* {-test} -widevine" LINGUAS="-am -ar -bg -bn -ca -cs -da -de -el -en_GB -es -es_LA -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW" 0 KiB |
USE="-pic -custom-cflags" emerge -vpuDN chromium : Code: | [ebuild R ~] www-client/chromium-51.0.2704.47::gentoo USE="cups (pic) proprietary-codecs pulseaudio tcmalloc -custom-cflags* (-gn) -gnome -gnome-keyring (-gtk3) -hangouts* -hidpi -hotwording -kerberos (-neon) (-selinux) -system-ffmpeg* {-test} -widevine" LINGUAS="-am -ar -bg -bn -ca -cs -da -de -el -en_GB -es -es_LA -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW" 0 KiB |
There are no double entries for chromium in package.use and if "-custom-cflags" is set in /etc/make.conf it is being ignored too.
What is the problem here?
Last edited by gorg86 on Fri May 20, 2016 10:53 pm; edited 1 time in total |
|
Back to top |
|
|
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
|
Posted: Fri May 20, 2016 6:17 pm Post subject: |
|
|
I guess package.use.original is not a valid filename. |
|
Back to top |
|
|
gorg86 Apprentice
Joined: 20 May 2011 Posts: 297
|
Posted: Fri May 20, 2016 6:42 pm Post subject: |
|
|
I don't see anything wrong with that filename.
edit:
The problem only occurs with chromium. |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Fri May 20, 2016 8:55 pm Post subject: Re: USE flags being ignored from package.use |
|
|
gorg86 wrote: | I want to remove the custom-cflags and the pic useflag from chromium (~amd64) but it is being ignored by portage.
..
There are no double entries for chromium in package.use and if "-custom-cflags" is set in /etc/make.conf it is being ignored too.
What is the problem here? |
pic is forced on by the profile, as indicated by the brackets around the flag name.
You should be using /etc/portage/make.conf by now; though I can't say why it picks it up from env, but not the package.use file. (It's picking up the change in hangouts and ffmpeg.)
If you are on unstable across the board, then you may well need to upgrade portage (more regularly.)
Code: | $ grep -F custom-cflags -R /usr/portage/profiles/ | shows nothing of relevance here (though I need to sync.) |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4520 Location: Germany
|
Posted: Fri May 20, 2016 9:54 pm Post subject: |
|
|
Hm, look via Code: | grep -r custom-cflags /etc/portage/ | for duplicate entries. |
|
Back to top |
|
|
gorg86 Apprentice
Joined: 20 May 2011 Posts: 297
|
Posted: Fri May 20, 2016 10:52 pm Post subject: |
|
|
Thank you guys. Somehow /etc/portage/package.use/ got polluted with files called ._cfgxxxx_*. There was also an old backup file in the same folder I forgot to delete. I deleted those files and now everything works as intended. Well it was my stupid fault. |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Fri May 20, 2016 11:50 pm Post subject: |
|
|
gorg86 wrote: | Thank you guys. Somehow /etc/portage/package.use/ got polluted with files called ._cfgxxxx_*. There was also an old backup file in the same folder I forgot to delete. I deleted those files and now everything works as intended. Well it was my stupid fault. |
gorg86 ... the ._cfg* files are created by the use of --autounmask-write, and you are expected to run etc-update, or dispatch-conf, to merge the config changes.
best ... khay |
|
Back to top |
|
|
|