Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 6061CE009D4; Mon, 20 Aug 2018 17:33:05 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Greylist: delayed 587 seconds by postgrey-1.32 at yocto-www; Mon, 20 Aug 2018 17:33:03 PDT Received: from mail.clear-code.com (mail.clear-code.com [153.126.206.245]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 60732E006AF for ; Mon, 20 Aug 2018 17:33:03 -0700 (PDT) Received: from [192.168.10.7] (212.42.138.58.dy.bbexcite.jp [58.138.42.212]) by mail.clear-code.com (Postfix) with ESMTPSA id 0F6BBD5190; Tue, 21 Aug 2018 09:23:11 +0900 (JST) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.clear-code.com 0F6BBD5190 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=clear-code.com; s=default; t=1534810992; bh=p06Hqjep0mBvmG+mRv5/d+2Rx6qyOZB0Oh2s+FcIehY=; h=Subject:To:References:From:Date:In-Reply-To:From; b=b8V7hI1YUirtBmjFlOlr0qKZ6XfvFy5hDKWOWdlCI9C6GiCxh8XYNidafhCdR988Q u3LmPXCAp1TpujBAlfbgLgpGdSGaGtWvxVswubwpYtF2g+JOeVcQn08Cx5/inROOFd 7DObs/x+KH6ZGEJqcGKqKkr7qunpiyAyAUm2mwv0= To: "Pandey, Kamal" , "yocto@yoctoproject.org" References: <0e7ab86ac1dc4ef2a81f178ff2f54d92@ifm.com> From: Takuro Ashie Message-ID: <8edb4d31-37b9-c8a0-40a1-2eb27f1b629f@clear-code.com> Date: Tue, 21 Aug 2018 09:23:11 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <0e7ab86ac1dc4ef2a81f178ff2f54d92@ifm.com> Subject: Re: bitbake firefox using meta-browser layer X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2018 00:33:05 -0000 X-Groupsio-MsgNum: 42206 Content-Type: multipart/alternative; boundary="------------C6E3C746D92F0EE337E5263F" Content-Language: en-US --------------C6E3C746D92F0EE337E5263F Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 > > |     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 > | Phone: +91-20-22951910 Extn:215 | CIN: > U29213PN2010FTC13676 > > > --------------C6E3C746D92F0EE337E5263F Content-Type: multipart/related; boundary="------------516C6477A5E6174F8AB2F5F3" --------------516C6477A5E6174F8AB2F5F3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 | Phone: +91-20-22951910 Extn:215 | CIN: U29213PN2010FTC13676

 




--------------516C6477A5E6174F8AB2F5F3 Content-Type: image/png; name="image001.png" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="image001.png" iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAAAXNSR0IArs4c6QAABftJREFUSEu1 VmlsVFUUPve+bd50oy1tobFQpYsBukBbF3YIoNEGUYmEaEBCxBgRRWOICYIQxSVRFJGIELD4w0Ti D6JBCJSQCCoBlUVMWQQpVAqky7Sdmffm3cVzZ6ad7vSHnmSSe9+ce75zvrPcS6SU8H8KGQQAkUkU O9J2jdXXQutFEbyBB4idQ4bl07zZRkYBvZNzgwEwNH1sHTv9mQw2GRQI1STRFKYQIJhgwG3bGPus OeNjXTcHAhoQIHTiA692tWEAMZKA6onzhCBUfCs4sBALeaTqBf+crf1G0w8AAxneUaQ1XUJnZUoW 9EqSlBR4AgOhJAi3mRvJvmWXTX9Wr1B6A7BIOLQl0yARZqbZLzZhGrrXANLDG34WX08i/oyehiRw j4U6zOUXrfSC7n/1AOB4fovP9BMIO3zhKedcjfxxE1gqBsJBot/5Fdbc7V7NRJLUCyBqU3DWEbBe vmXaiTgSvKGn2rdlRy5r0zenLdoJIStPr/9eS0vRrCTIKoZ7q0nxLBg1RwUUq62+QjU9Kdn9Ygw6 2iUJAHJ+1979Zx7alLKoQialZ6UOrzJ0H6WEe0H/0jrtwfXGzE+Mcc+wq4eJNnBxaqYm2tt+WN4F EKdIANBtpGhj1nvz5RMVHvhh2gZ9QSmsnM6CHR32KhZYS3ypKh9E08BKG6z6peSBFljZlpycgmpx X8Jnt+Np09JbXWQKP5KAaxiWWsQZ4ar6JT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16qHybPaT1V9k1FN+u9I4gZZSDw2aK3/gV2uiRqFg0g UcejGaQ84Arzz4q9lVPndHtC9aGoi0dctB19G46+afk0qSdjK6mZ3A0nToq65ByIONcy54cmby0v HNnXlcGejmEPWmtfMet2+LygjtVETZyR0ekqkRCcrC41GjOqgyVrxpRMTO3leSfUYAAxHeycwN9n nauH4PY56d6SnAsjnaXcg5PAGjVlZHayPTCJ/edgkPTGJlzPYXSHavgXbHvARy3nHeMAAAAASUVO RK5CYII= --------------516C6477A5E6174F8AB2F5F3-- --------------C6E3C746D92F0EE337E5263F--