All of lore.kernel.org
 help / color / mirror / Atom feed
* bitbake firefox using meta-browser layer
@ 2018-08-20 13:56 Pandey, Kamal
  2018-08-20 15:17 ` Alexander Kanavin
  2018-08-21  0:23 ` Takuro Ashie
  0 siblings, 2 replies; 3+ messages in thread
From: Pandey, Kamal @ 2018-08-20 13:56 UTC (permalink / raw)
  To: yocto


[-- Attachment #1.1: Type: text/plain, Size: 3280 bytes --]

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_sqrs]ifm 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


[-- Attachment #1.2: Type: text/html, Size: 9484 bytes --]

[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 1601 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bitbake firefox using meta-browser layer
  2018-08-20 13:56 bitbake firefox using meta-browser layer Pandey, Kamal
@ 2018-08-20 15:17 ` Alexander Kanavin
  2018-08-21  0:23 ` Takuro Ashie
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Kanavin @ 2018-08-20 15:17 UTC (permalink / raw)
  To: Pandey, Kamal; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 875 bytes --]

2018-08-20 15:56 GMT+02:00 Pandey, Kamal <Kamal.Pandey@ifm.com>:

> 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
> | mozbuild.configure.options.InvalidOptionError: Unknown option: --build
>
> | *** Fix above errors and then restart with\
> Can anybody provide me a solution or at least a  hint, so that I can move
> forward.
>
>
>
>

The hint is in these lines. Mozilla's configure script thinks --build is
not a valid option, so you need to figure out where it's coming from, and
why it doesn't work.

Alex

[-- Attachment #2: Type: text/html, Size: 1590 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bitbake firefox using meta-browser layer
  2018-08-20 13:56 bitbake firefox using meta-browser layer Pandey, Kamal
  2018-08-20 15:17 ` Alexander Kanavin
@ 2018-08-21  0:23 ` Takuro Ashie
  1 sibling, 0 replies; 3+ messages in thread
From: Takuro Ashie @ 2018-08-21  0:23 UTC (permalink / raw)
  To: Pandey, Kamal, yocto

[-- Attachment #1: Type: text/plain, Size: 4220 bytes --]

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
>
>
>


[-- Attachment #2.1: Type: text/html, Size: 11180 bytes --]

[-- Attachment #2.2: image001.png --]
[-- Type: image/png, Size: 1601 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-08-21  0:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-20 13:56 bitbake firefox using meta-browser layer Pandey, Kamal
2018-08-20 15:17 ` Alexander Kanavin
2018-08-21  0:23 ` Takuro Ashie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.