Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USE flags being ignored?
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
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Tue Sep 19, 2017 1:56 am    Post subject: USE flags being ignored? Reply with quote

I am down to the last few packages for my laptop reinstall and have an issue. It seems as though Chromium is ignoring USE flags.
Code:

9y84mj1 ~ # cat /etc/portage/package.use/www-client.chromium
www-client/chromium system-libvpx
9y84mj1 ~ # equery uses www-client/chromium
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for www-client/chromium-61.0.3163.79:
 U I
 - - component-build    : Split build into more shared libraries to speed up
                          linking. Mostly intended for debugging and
                          development, NOT RECOMMENDED for general use.
 + + cups               : Add support for CUPS (Common Unix Printing System)
 - - custom-cflags      : Build with user-specified CFLAGS (unsupported)
 - - gnome-keyring      : Enable support for storing passwords via
                          gnome-keyring
 + - hangouts           : Enable support for Google Hangouts features such as
                          screen sharing
 - - kerberos           : Add kerberos support
 + - l10n_am            : Amharic
 + - l10n_ar            : Arabic
 + - l10n_bg            : Bulgarian
 + - l10n_bn            : Bengali
 + - l10n_ca            : Catalan
 + - l10n_cs            : Czech
 + - l10n_da            : Danish
 + - l10n_de            : German
 + - l10n_el            : Modern Greek
 + - l10n_en-GB         : English (United Kingdom)
 + - l10n_es            : Spanish
 + - l10n_es-419        : Spanish (Latin America)
 + - l10n_et            : Estonian
 + - l10n_fa            : Persian
 + - l10n_fi            : Finnish
 + - l10n_fil           : Filipino
 + - l10n_fr            : French
 + - l10n_gu            : Gujarati
 + - l10n_he            : Hebrew
 + - l10n_hi            : Hindi
 + - l10n_hr            : Croatian
 + - l10n_hu            : Hungarian
 + - l10n_id            : Indonesian
 + - l10n_it            : Italian
 + - l10n_ja            : Japanese
 + - l10n_kn            : Kannada
 + - l10n_ko            : Korean
 + - l10n_lt            : Lithuanian
 + - l10n_lv            : Latvian
 + - l10n_ml            : Malayalam
 + - l10n_mr            : Marathi
 + - l10n_ms            : Malay (macrolanguage)
 + - l10n_nb            : Norwegian Bokmål
 + - l10n_nl            : Dutch
 + - l10n_pl            : Polish
 + - l10n_pt-BR         : Portuguese (Brazil)
 + - l10n_pt-PT         : Portuguese (Portugal)
 + - l10n_ro            : Romanian
 + - l10n_ru            : Russian
 + - l10n_sk            : Slovak
 + - l10n_sl            : Slovenian
 + - l10n_sr            : Serbian
 + - l10n_sv            : Swedish
 + - l10n_sw            : Swahili (macrolanguage)
 + - l10n_ta            : Tamil
 + - l10n_te            : Telugu
 + - l10n_th            : Thai
 + - l10n_tr            : Turkish
 + - l10n_uk            : Ukrainian
 + - l10n_vi            : Vietnamese
 + - l10n_zh-CN         : Chinese (China)
 + - l10n_zh-TW         : Chinese (Taiwan)
 + - proprietary-codecs : Enable proprietary codecs like H.264, MP3
 - - pulseaudio         : Add support for PulseAudio sound server
 + - suid               : Build the SUID sandbox, which is only needed on
                          CONFIG_USER_NS=n kernels
 + - system-ffmpeg      : Use system ffmpeg instead of the bundled one
 + - system-icu         : Use system icu instead of the bundled one
 - - system-libvpx      : Use system libvpx instead of the bundled one
 - - tcmalloc           : Use bundled tcmalloc instead of system malloc
 - - test               : Workaround to pull in packages needed to run with
                          FEATURES=test. Portage-2.1.2 handles this internally,
                          so don't set it in make.conf/package.use anymore
 - - widevine           : Unsupported closed-source DRM capability (required by
                          Netflix VOD)

What's going on here? I want Chromium to use the systems libvpx, like Firefox does.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Tue Sep 19, 2017 3:13 am    Post subject: Reply with quote

You will see your answer if you try to emerge -pv chromium.

The use flag is masked. This usually means that it is either an unsupported or buggy configuration. Overriding is not recommended, but if you want to the file (or directory) is package.use.force
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Tue Sep 19, 2017 3:24 am    Post subject: Reply with quote

I just figured it out, Doc. Apparently I can use ffmpeg OR libvpx, not both. Found the answer reading a Google Groups post. I removed my USE file for Chromium since I would prefer ffmpeg of the two and the file only attempted to add libvpx. Thanks for you input though, I did not know I could force USE flags, but I doubt I ever will.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
grumblebear
Apprentice
Apprentice


Joined: 26 Feb 2008
Posts: 202

PostPosted: Tue Sep 19, 2017 9:29 am    Post subject: Reply with quote

So how do we override default IUSE flags for a specific package? Putting
Code:
www-client/chromium system-icu
in /etc/portage/profile/package.use.force does not work.
This needs documentation.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Tue Sep 19, 2017 9:33 am    Post subject: Reply with quote

Code:
# echo "www-client/chromium -system-libvpx" >> /etc/portage/profile/package.use.mask   

"-" is for unmask in this case, see here
_________________
Questions are guaranteed in life; Answers aren't.
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