Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684674 - >=www-client/firefox-67.0 USE=eme-free - mozbuild.configure.options.InvalidOptionError: --disable-eme is not available in this configuration
Summary: >=www-client/firefox-67.0 USE=eme-free - mozbuild.configure.options.InvalidOp...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-28 22:06 UTC by tt_1
Modified: 2019-06-03 05:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build logs native and cross approach (firefox-67.0b14-build-logs.tar.bz2,5.80 KB, application/x-bzip)
2019-04-30 16:51 UTC, tt_1
Details
emerge --info from native arm (emerge--info,5.30 KB, text/plain)
2019-04-30 16:53 UTC, tt_1
Details
emerge --info from cross-emerge (emerge--info-cross,4.96 KB, text/plain)
2019-04-30 16:54 UTC, tt_1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tt_1 2019-04-28 22:06:56 UTC
--enable/disable-eme-free seems to be gone for firefox-67.0 beta

 0:03.38 checking for vcs source checkout... no
 0:03.42 checking for a shell... /bin/sh
 0:03.43 checking for host system type... x86_64-pc-linux-gnu
 0:03.44 checking for target system type... armv7a-unknown-linux-gnueabihf
 0:03.90 checking whether cross compiling... yes
 0:03.99 Traceback (most recent call last):
 0:03.99   File "/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-67.0_beta14/work/firefox-67.0/configure.py", line 132, in <module>
 0:03.99     sys.exit(main(sys.argv))
 0:03.99   File "/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-67.0_beta14/work/firefox-67.0/configure.py", line 38, in main
 0:03.99     sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
 0:03.99   File "/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-67.0_beta14/work/firefox-67.0/python/mozbuild/mozbuild/configure/__init__.py", line 441, in run
 0:03.99     self._value_for(option)
 0:03.99   File "/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-67.0_beta14/work/firefox-67.0/python/mozbuild/mozbuild/configure/__init__.py", line 528, in _value_for
 0:03.99     return self._value_for_option(obj)
 0:03.99   File "/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-67.0_beta14/work/firefox-67.0/python/mozbuild/mozbuild/util.py", line 947, in method_call
 0:03.99     cache[args] = self.func(instance, *args)
 0:03.99   File "/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-67.0_beta14/work/firefox-67.0/python/mozbuild/mozbuild/configure/__init__.py", line 591, in _value_for_option
 0:03.99     % option_string.split('=', 1)[0])
 0:03.99 mozbuild.configure.options.InvalidOptionError: --disable-eme is not available in this configuration
 0:04.03 *** Fix above errors and then restart with\
 0:04.03                "./mach build"
 0:04.03 gmake: *** [client.mk:115: configure] Error 1


this is a cross-compile for arm, it might be that the eme-free option isn't entirely removed but dropped for arm/arm64 only
Comment 1 Jory A. Pratt gentoo-dev 2019-04-30 10:51:36 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
Comment 2 Jory A. Pratt gentoo-dev 2019-04-30 10:54:39 UTC
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.
Comment 3 tt_1 2019-04-30 16:51:11 UTC
Created attachment 574852 [details]
build logs native and cross approach

could be fallout from https://bugzilla.mozilla.org/show_bug.cgi?id=1528884
Comment 4 tt_1 2019-04-30 16:53:25 UTC
Created attachment 574854 [details]
emerge --info from native arm
Comment 5 tt_1 2019-04-30 16:54:58 UTC
Created attachment 574856 [details]
emerge --info from cross-emerge
Comment 6 tt_1 2019-05-31 12:53:29 UTC
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
Comment 7 Harri Nieminen (Moiman) 2019-06-03 05:32:04 UTC
This fails also on native arm machine. It seems that there is no option --disable-eme on arm.
Comment 8 tt_1 2019-06-03 05:34:49 UTC
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?