Hi.
| mozbuild.configure.options.InvalidOptionError: Unknown option: --build |
Please try removing "--build=${BUILD_SYS}" from EXTRA_OECONF in
meta-browser/classes/mozilla.bbclass.
This option is removed in recent firefox.
# But it's a bit weird, I don't met this error on firefox 52.9.0, it's
reproduced on firefox 60 though.
#
https://github.com/OSSystems/meta-browser/pull/160/files#diff-3d50dfec940b3c4b146aae90e6224125R11
On 2018年08月20日 22:56, Pandey, Kamal wrote:
I was trying to compile the Firefox browser for a custom embedded
device. But it is falling giving the following error:
cd
/home/iepl/work/yocto_build/poky/build/tmp/work/aarch64-pdm3-linux/firefox/52.9.0esr-r0/firefox-52.9.0esr/firefox-build-dir
|
/home/iepl/work/yocto_build/poky/build/tmp/work/aarch64-pdm3-linux/firefox/52.9.0esr-r0/firefox-52.9.0esr/configure
--target=aarch64-pdm3-linux --host=x86_64-linux
--with-toolchain-prefix=aarch64-pdm3-linux- --build=x86_64-linux
--prefix=/usr
| Reexecuting in the virtualenv
| Adding configure options from
/home/iepl/work/yocto_build/poky/build/tmp/work/aarch64-pdm3-linux/firefox/52.9.0esr-r0/mozconfig
| --enable-application=browser
| --target=aarch64-pdm3-linux
| --prefix=/usr
| --enable-application=browser
| --enable-official-branding
| --disable-elf-hack
| --disable-gold
| --disable-strip
| --disable-install-strip
| --with-system-nss
| --with-system-nspr
| --with-system-zlib
| --with-system-bz2
| --with-system-libevent
| --with-system-libvpx
| --with-system-icu
| --enable-system-ffi
| --enable-system-pixman
| --enable-startup-notification
| --enable-pulseaudio
| --disable-tests
| --disable-necko-wifi
| --disable-gconf
| --disable-crashreporter
| --disable-updater
| --disable-debug-symbols
| checking for a shell...
/home/iepl/work/yocto_build/poky/build/tmp/hosttools/sh
| checking for host system type... x86_64-pc-linux-gnu
| checking for target system type... aarch64-pdm3-linux-gnu
| Traceback (most recent call last):
| File
"/home/iepl/work/yocto_build/poky/build/tmp/work/aarch64-pdm3-linux/firefox/52.9.0esr-r0/firefox-52.9.0esr/configure.py",
line 107, in <module>
| sys.exit(main(sys.argv))
| File
"/home/iepl/work/yocto_build/poky/build/tmp/work/aarch64-pdm3-linux/firefox/52.9.0esr-r0/firefox-52.9.0esr/configure.py",
line 26, in main
| sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
| File
"/home/iepl/work/yocto_build/poky/build/tmp/work/aarch64-pdm3-linux/firefox/52.9.0esr-r0/firefox-52.9.0esr/python/mozbuild/mozbuild/configure/__init__.py",
line 359, in run
| raise InvalidOptionError('Unknown option: %s' % without_value)
| mozbuild.configure.options.InvalidOptionError: Unknown option: --build
| *** Fix above errors and then restart with\
| "make -f client.mk build"
| client.mk:375: recipe for target 'configure' failed
| make: *** [configure] Error 1
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at
/home/iepl/work/yocto_build/poky/build/tmp/work/aarch64-pdm3-linux/firefox/52.9.0esr-r0/temp/log.do_configure.5847)
ERROR: Task
(/home/iepl/work/yocto_build/meta-browser/recipes-browser/firefox/firefox_52.9.0esr.bb:do_configure)
failed with exit code '1'
Can anybody provide me a solution or at least a hint, so that I can
move forward.
Best Regards
Kamal Pandey
Junior Software Engineer
ifm_logo_sqrsifm engineering pvt. ltd.
Survey No. 1/10/16, 3rd floor, Above SBI, Bavdhan Branch, N.D.A. Road,
Bavdhan, Pune, India - 411021 | Web: www.ifm.com
<http://www.ifm.com/>| Phone: +91-20-22951910 Extn:215 | CIN:
U29213PN2010FTC13676
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto