polkit failed to build do to missing mozjs libs. The libs created are:
libmozjs-..a libmozjs-..so
this was caused by a perl script error
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at config/milestone.pl line 58.
this script is use to determine the major and minor lib versions. I believe this
issue is do to the recent perl update.
this fixes the lib creation error and polkit build error.
I am not a perl person so this may not be the idea fix.
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Acked-By: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
methodjit uses assembler instructions which are not available on armv4
architecture. Disable methodjit for it.
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Mozjs17 has problems with 64k page sizes (powerpc64, aarch64 and probably others) and lacks support for aarch64. Patches were lifted from the fedora src rpm and rediffed.
* Regenerate configure with autoconf-2.13 to make the fixes mentioned above take effect.
* Provide proper config.guess and config.sub files
* Explicitly disable static builds and regroup configure options.
* Also clean out the patches/ dir present in the tarball to avoid conflicts with the OE patcher.
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
To fix the bug as following
error: cannot convert '__va_list_tag**' to '__va_list_tag (*)[1]' for
argument '5' to 'JSBool TryArgumentFormatter(JSContext*, const char**,
JSBool, jsval**, __va_list_tag (*)[1])'
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Fixed SRC_URI:
* ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV}
* ${P} -> ${BP}
Otherwise we would meet do_fetch errors when we do the multilib, native
or nativesdk build.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
We do not take care of default libdir which accidently
works out to be ok for non-multilib case since its /usr/lib
Fixes error like
ERROR: QA Issue: mozjs: Files/directories were installed but not shipped
/usr/lib
/usr/lib/libmozjs-17.0.a
/usr/lib/libmozjs-17.0.so
/usr/lib/pkgconfig
/usr/lib/.debug
/usr/lib/pkgconfig/mozjs-17.0.pc
/usr/lib/.debug/libmozjs-17.0.so
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>