[yocto] /poky/meta-browser/recipes-mozilla/firefox/firefox_45.9.0esr.bb =>how to update the newest version ?

Takuro Ashie ashie at clear-code.com
Mon Jul 3 23:34:53 PDT 2017


You need latest poky (current master branch is needed).
But upgrading poky may also introduce unexpected changes for you.

Another solution is using built-in nss & nspr instead of system's one.
To use it remove or comment out following lines in your 
meta-browser/recipes-mozilla/firefox/firefox/mozconfig

   ac_add_options --with-system-nss
   ac_add_options --with-system-jpeg

Regards,

On 2017年07月04日 14:40, Riko Ho wrote:
>
> another bug :
>
> checking for NSS - version >= 3.28.4... no
> | configure: error: you don't have NSS installed or your version is 
> too old
> | DEBUG: <truncated - see config.log for full output>
> | DEBUG: #include <malloc.h>
> | DEBUG:                   #include <stddef.h>
> | DEBUG:                   size_t malloc_usable_size(const void *ptr);
> | DEBUG: int main() {
> | DEBUG: return malloc_usable_size(0);
> | DEBUG: ; return 0; }
> | DEBUG: configure:9923: checking for valloc in malloc.h
> | DEBUG: configure:9948: checking for valloc in unistd.h
> | DEBUG: configure:10103: checking NSPR selection
> | DEBUG: configure:10203: checking for nspr-config
> | DEBUG: configure:10238: checking for NSPR - version >= 4.13.1
> | DEBUG: configure:10314: 
> /home/bianchi77/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/firefox/52.1.2esr-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc 
> -march=armv7-a -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a8 
> --sysroot=/home/bianchi77/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/firefox/52.1.2esr-r0/recipe-sysroot 
> -std=gnu99 -c -fno-lifetime-dse  -Os -fsigned-char 
> -fno-strict-aliasing -fno-strict-aliasing -fno-math-errno -pthread   
> conftest.c 1>&5| DEBUG: configure:10333: 
> /home/bianchi77/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/firefox/52.1.2esr-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc 
> -march=armv7-a -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a8 
> --sysroot=/home/bianchi77/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/firefox/52.1.2esr-r0/recipe-sysroot 
> -std=gnu99 -c -fno-lifetime-dse  -Os -fsigned-char 
> -fno-strict-aliasing -fno-strict-aliasing -fno-math-errno -pthread   
> conftest.c 1>&5
> | DEBUG: configure:10381: 
> /home/bianchi77/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/firefox/52.1.2esr-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc 
> -march=armv7-a -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a8 
> --sysroot=/home/bianchi77/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/firefox/52.1.2esr-r0/recipe-sysroot 
> -std=gnu99 -c -fno-lifetime-dse  -Os -fsigned-char 
> -fno-strict-aliasing -fno-strict-aliasing -fno-math-errno -pthread   
> conftest.c 1>&5
> | DEBUG: configure:10420: checking for libevent
> | DEBUG: configure:10427: checking MOZ_LIBEVENT_CFLAGS
> | DEBUG: configure:10432: checking MOZ_LIBEVENT_LIBS
> | DEBUG: configure:10605: checking for nss-config
> | DEBUG: configure:10640: checking for NSS - version >= 3.28.4
> | DEBUG: configure: error: you don't have NSS installed or your 
> version is too old
> | ERROR: old-configure failed
> | *** Fix above errors and then restart with\
> |                "make -f client.mk build"
> | client.mk:375: recipe for target 'configure' failed
> | make: *** [configure] Error 1
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_configure (log file is located at 
> /home/bianchi77/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/firefox/52.1.2esr-r0/temp/log.do_configure.9904)
> ERROR: Task 
> (/home/bianchi77/poky/meta-browser/recipes-mozilla/firefox/firefox_52.1.2esr.bb:do_configure) 
> failed with exit code '1'
>
>
> Let me see my NSS....
>
> On 04/07/17 13:33, Takuro Ashie wrote:
>> |HOSTTOOLS += "autoconf2.13"|
>
> -- 
> *
>
> /*******/
> Sent by Ubuntu LTS 16.04,
> Kind regards,
> Riko Ho
> /*******/
>
> *

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170704/0823e55f/attachment.html>


More information about the yocto mailing list