Summary: | >=www-client/firefox-67.0 USE=eme-free - mozbuild.configure.options.InvalidOptionError: --disable-eme is not available in this configuration | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tt_1 <herrtimson> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | moiman |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build logs native and cross approach
emerge --info from native arm emerge --info from cross-emerge |
Description
tt_1
2019-04-28 22:06:56 UTC
option('--enable-eme', nargs='+', choices=eme_choices, default=eme_default, when=eme_choices, help='{Enable|Disable} support for Encrypted Media Extensions') it is in toolkit/moz.configure so the option is clearly avaliable. I will need the build.log and config.log please along with emerge --info Also eme-free is just our useflag to control eme itself, review your build output again to see the actual failure of 0:03.99 mozbuild.configure.options.InvalidOptionError: --disable-eme is not available in this configuration This is most likely just cross compilation issue and does not actually fail in native setup. I will have to verify that soon as possible. Created attachment 574852 [details] build logs native and cross approach could be fallout from https://bugzilla.mozilla.org/show_bug.cgi?id=1528884 Created attachment 574854 [details]
emerge --info from native arm
Created attachment 574856 [details]
emerge --info from cross-emerge
still an issue with v67.0 from tree: Calculating dependencies... done! [ebuild U *] www-client/firefox-67.0::gentoo [60.7.0::gentoo] to /usr/armv7a-unknown-linux-gnueabihf/ USE="eme-free neon system-av1%* system-harfbuzz system-icu system-jpeg system-libevent system-webp%* -bindist -clang -custom-cflags -custom-optimization -dbus -debug -geckodriver -gmp-autoupdate (-hardened) -hwaccel -jack -lto% (-pgo) -pulseaudio -screenshot (-selinux) -startup-notification -system-libvpx -system-sqlite -test -wayland% -wifi" L10N="de -ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -dsb -el -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW" 0 KiB 0:06.21 Traceback (most recent call last): 0:06.21 File "/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-67.0/work/firefox-67.0/configure.py", line 132, in <module> 0:06.21 sys.exit(main(sys.argv)) 0:06.21 File "/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-67.0/work/firefox-67.0/configure.py", line 38, in main 0:06.21 sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure')) 0:06.21 File "/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-67.0/work/firefox-67.0/python/mozbuild/mozbuild/configure/__init__.py", line 441, in run 0:06.21 self._value_for(option) 0:06.21 File "/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-67.0/work/firefox-67.0/python/mozbuild/mozbuild/configure/__init__.py", line 528, in _value_for 0:06.21 return self._value_for_option(obj) 0:06.21 File "/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-67.0/work/firefox-67.0/python/mozbuild/mozbuild/util.py", line 947, in method_call 0:06.21 cache[args] = self.func(instance, *args) 0:06.21 File "/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-67.0/work/firefox-67.0/python/mozbuild/mozbuild/configure/__init__.py", line 591, in _value_for_option 0:06.21 % option_string.split('=', 1)[0]) 0:06.21 mozbuild.configure.options.InvalidOptionError: --disable-eme is not available in this configuration 0:06.24 *** Fix above errors and then restart with\ 0:06.24 "./mach build" 0:06.24 gmake: *** [client.mk:115: configure] Error 1 This fails also on native arm machine. It seems that there is no option --disable-eme on arm. Yeah, it fails either way, the build logs are from both native and cross-compile approach. Do you happen to know what the consequence of this flag actually is? Also affects arm64. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=499f802312afac7c770de4d1c6ca340a4307b2f3 commit 499f802312afac7c770de4d1c6ca340a4307b2f3 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-03-11 16:55:17 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-03-11 19:21:13 +0000 profiles: www-client/firefox[eme-free] is only supported on amd64/x86 Closes: https://bugs.gentoo.org/684674 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> profiles/arch/amd64/package.use.mask | 4 ++++ profiles/arch/x86/package.use.mask | 4 ++++ profiles/base/package.use.mask | 4 ++++ 3 files changed, 12 insertions(+) |