summaryrefslogtreecommitdiffstats
path: root/meta-oe/dynamic-layers/meta-python
Commit message (Collapse)AuthorAgeFilesLines
...
* mozjs-78: Pass C/C++ flags to js configureKhem Raj2021-11-031-1/+4
| | | | | | | | | | On mips ensure -fpie is passed when using clang compiler, this fixes configure issues e.g. /mnt/b/yoe/master/build/tmp/work/mips32r2-yoe-linux/mozjs-78/78.15.0-r0/recipe-sysroot-native/usr/bin/mips-yoe-linux/mips-yoe-linux-ld: non-dynamic relocations refer to dynamic symbol localtime_r@@GLIBC_2.0 /mnt/b/yoe/master/build/tmp/work/mips32r2-yoe-linux/mozjs-78/78.15.0-r0/recipe-sysroot-native/usr/bin/mips-yoe-linux/mips-yoe-linux-ld: failed to set dynamic section sizes: bad value Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-78: Set X lib/include pathsKhem Raj2021-11-031-1/+2
| | | | | | | | | | | | | mozjs does not really use X but arcane autoconf 2.13 means its poking at build host for X headers and libraries. On build hosts where X is installed this results in wrong paths being searched for target X headers, this gets caught by configure QA and it fails ERROR: mozjs-78-78.15.0-r0 do_configure: QA Issue: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. Rerun configure task after fixing this. [configure-unsafe] ERROR: mozjs-78-78.15.0-r0 do_configure: Fatal QA errors were found, failing task. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-78: Check for big-endian icu data file existence before creating itKhem Raj2021-11-031-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-78: Initial addAndreas Müller2021-11-0313-0/+923
| | | | | | | | | | | | | | | * Did not get rid of checks using llvm-objdump. So depend either llvm-native from oe-core or clang-native from meta-clang * Unfortunately we still need python3-six(-native) although firefox ships a version in third_party. If somebody more clever than me can solve this, mozjs-78 can be moved out of dynamic-layers * Get rid of erroneous dependency trying to satisfy llvm_objdump It was tested improperly so configure faile for meta-clang not in layers It is not necessary for building js only - see mozjs-91 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Move back to recipes-extended - no meta-python specifics requiredAndreas Müller2021-11-039-352/+0
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Fix build for 32bit systems disabling JITKhem Raj2021-10-263-10/+22
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Update to 91.2.0Khem Raj2021-10-262-12/+8
| | | | | | | | | This has bunch of security fixes https://www.mozilla.org/en-US/security/advisories/mfsa2021-45/ No need to disable jit explicitly for rv32, it works ok without it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Add riscv32 supportKhem Raj2021-10-252-0/+57
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Fix musl miscompiles with HAVE_THREAD_TLS_KEYWORDKhem Raj2021-10-202-0/+16
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Fix build on mips/muslKhem Raj2021-10-202-0/+36
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: move large static library into staticdev packageKurt Kiefer2021-10-191-1/+2
| | | | | | | | | | The libmozjs package was including /usr/lib/libjs_static.ajs, not required for runtime usage. Keep this file, but move it to the staticdev package. Signed-off-by: Kurt Kiefer <kurt.kiefer@arthrex.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Disable JIT on mipsKhem Raj2021-10-161-1/+6
| | | | | | | Fixes error: static assertion failed: MIPS32 jit only supports FR=0 fpu mode Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: update 60.9.0 -> 91.1.0Alexander Kanavin2021-10-1623-7813/+229
| | | | | | | | | | | | | | The new release requires rust to build and at the same time allows updating to python 3.10; I took the opportunity to rewrite the recipe from scratch, drop all the old cruft and use the official, current upstream build system in it. All prior patches and tweaks have been dropped; I have no reasonable way to test them, so if something regressed for you I'm afraid it needs to be addressed after the fact. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* thingsboard-gateway: update to 2.8Oleksandr Kravchuk2021-10-161-3/+2
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Fix override syntaxKhem Raj2021-08-061-4/+4
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Martin Jansa <Martin.Jansa@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-039-90/+90
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mongodb: Upgrade to 4.4.7Khem Raj2021-08-032-3/+23
| | | | | | Fix build with glibc 2.34+ while here Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs/0001-Port-build-to-python3.patch: Fix typos in descriptionAndreas Müller2021-07-271-3/+3
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Enable wiredtiger only on aarch64/x86_64 hostsKhem Raj2021-06-181-1/+4
| | | | | | | | Other 64bit arch where its enabled is ppc64le and it does not compile since build/opt/third_party/wiredtiger/src/checksum/power8/crc32.o is not built, its not setting HOST_ARCH to ppc64le due to cross compiling Signed-off-by: Khem Raj <raj.khem@gmail.com>
* speedtest-cli: upgrade 2.1.2 -> 2.1.3zangrc2021-06-101-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Fix -Wc++11-narrowing warning on 32bitKhem Raj2021-06-012-0/+36
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Change PV to 4.4.6Khem Raj2021-06-011-2/+2
| | | | | | 4.4.6 has been released from same SHA which was used for rc0 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Do not use MINSIGSTKSZKhem Raj2021-05-112-0/+35
| | | | | | glibc 2.34 has made MINSIGSTKSZ non-constant Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Update to 4.4.6-rc0Khem Raj2021-05-052-718/+3
| | | | | | Drop upstreamed patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nanopb: upgrade 0.4.4 -> 0.4.5zangrc2021-03-281-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Fix build on ppc64leKhem Raj2021-03-132-0/+19
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Fix cross build on ppc64leKhem Raj2021-03-132-3/+22
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Upgrade to 4.4.4Khem Raj2021-03-061-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Include <optional> c++ headerKhem Raj2021-03-032-0/+30
| | | | | | Fixes build with gcc11 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Drop using JS_VOLATILE_ARMKhem Raj2021-03-032-0/+112
| | | | | | | | | | | | | | | JS_VOLATILE_ARM was a workaround for a gcc 4.7 bug on B2G where it would generate unaligned word accesses that should have been individual byte accesses. firefox now a days require at least gcc 6.1+ (and ARM systems support unaligned accesses). see [1] in gcc11 volatile wont be accepted as argument qualifier in functions, hence the build breaks, this patch unbreaks it [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1495731 Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
* mozjs: improve reproducibilityMingli Yu2021-02-041-0/+2
| | | | | | | Remove the build path from the file js60-config. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nanopb: upgrade 0.4.3 -> 0.4.4Zang Ruochen2020-12-031-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nanopb: move to dynamic-layersMartin Jansa2020-12-021-0/+29
| | | | | | | | | | | | | * depends on python3-protobuf from meta-python: * fixes: ERROR: Nothing RPROVIDES 'python3-protobuf' (but meta-oe/recipes-devtools/nanopb/nanopb_0.4.3.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'python3-protobuf' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-protobuf'] ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'nanopb', 'python3-protobuf'] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* thingsboard-gateway: Move under dynamic layersKhem Raj2020-11-2316-0/+1326
| | | | | | | | Depends on meta-python therefore move it here so it does not impact non meta-python users Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
* mongodb: Fix i386 builds for non-glibc systemsKhem Raj2020-09-152-0/+30
| | | | | | | stacktrace depends on internal glibc defines which may not be available for other libc implementations e.g. __ELF_NATIVE_CLASS Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Fix libunwind build with -fno-commonKhem Raj2020-09-152-0/+449
| | | | | | | | Backport a patch for libunwind to fix build with gcc10 Fixes unwind/dist/src/x86_64/Ginit.c:52: multiple definition of `_U_dyn_info_list' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Pass OBJCOPY to scons so it does not use it from hostKhem Raj2020-09-151-0/+1
| | | | | | | | Fixes objcopy: Unable to recognise the format of the input file `build/opt/mongo/mongos' Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Vincent Prince <vincent.prince.fr@gmail.com.com>
* mongodb: bump to r4.4.1 versionVincent Prince2020-09-159-53/+812
| | | | | Signed-off-by: Vincent Prince <vincent.prince.external@saftbatteries.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: fix multilib conflictChangqing Li2020-08-141-0/+8
| | | | | | | | | fix error: .do_rootfs.2023872:4562: file /usr/bin/js60-config conflicts between attempted installs of mozjs-dev-60.9.0-r0.core2_64 and lib32-mozjs-dev-60.9.0-r0.core2_32 log.do_rootfs.2023872:4563: file /usr/include/mozjs-60/js-config.h conflicts between attempted installs of mozjs-dev-60.9.0-r0.core2_64 and lib32-mozjs-dev-60.9.0-r0.core2_32 Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lcdproc: Fix compilation with GCC >= 10.xKhem Raj2020-08-132-0/+47
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: specify TMPDIRSlater, Joseph2020-08-111-1/+3
| | | | | | | | | | | | | | | | Although it is extremely rare the following type of error can occur during configuration: Creating `/tmp/conftest.i53clm4z.cpp` with content: ... x86_64-wrs-linux-g++: error: /tmp/conftest.i53clm4z.cpp: No such file or directory x86_64-wrs-linux-g++: error: /tmp/conftest.i53clm4z.cpp: No such file or directory x86_64-wrs-linux-g++: fatal error: no input files So, specify a local directory as TMPDIR during configuration. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lirc: Inherit distutils-common-baseKhem Raj2020-06-301-1/+1
| | | | | | | | | This helps in compiling the python pieces in this package, which uses setup.py to build but does not have ldshared set correctly, inheriting distutils-common-base provides the minimum needed environment for the python module build Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lirc: Add python3 to the run-time dependenciesLeon Anavi2020-06-241-1/+1
| | | | | | | | | | Add python3 to the run-time dependencies to fix the following issue with lircd-setup: env: can't execute 'python3': No such file or directory Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Remove workaround for gcc < 4.9Adrian Bunk2020-05-122-43/+0
| | | | | Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lirc: upgrade 0.9.4d -> 0.10.1Leon Anavi2020-05-123-105/+58
| | | | | | | | | | | | | Upgrade Linux Infrared Remote Control (LIRC) to the latest version 0.10.1. Remove redundant old patches. Apply a new patch from Arch Linux FS#57792 that fixes build errors. Create tar.gz archive (PYTHON_TARBALL) which LIRC needs for install-nodist_pkgdataDATA. Add python3-setuptools-native as a dependency. Replace path to python3 in scripts based on a similar approach as in the recipe for blueman. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gperftools: Do not build on riscvKhem Raj2020-04-251-0/+2
| | | | | | Its not yet ported to work on RISCV Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Enable again building on 32bit arches from COMPATIBLE_HOSTGianfranco Costamagna2020-04-092-1/+54
| | | | | | | The upstream pending pull request seems to fix 32bit builds, tested with MACHINE=raspberrypi3 Signed-off-by: Costamagna Gianfranco <costamagnagianfranco@yahoo.it> Signed-off-by: Costamagna Gianfranco <locutusofborg@debian.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* packagegroups: Add bbappends for python and perl layer requiring recipesKhem Raj2020-03-292-314/+20
| | | | | | | Add this bbappends in dynamic layers Move the main recipe back to meta-oe main recipes Signed-off-by: Khem Raj <raj.khem@gmail.com>
* packagegroup-meta-oe.bb: Move debsums to a bbappend under perl-layerKhem Raj2020-03-291-1/+1
| | | | | | This helps avoid dependency on meta-perl Signed-off-by: Khem Raj <raj.khem@gmail.com>
* conf/layer.conf: add BBFILES_DYNAMIC and dynamic layersChangqing Li2020-03-1149-0/+9606
some recipes under meta-oe have dependency on meta-python, and test_world of yocto-check-layer will failed with error like: ERROR: test_world (common.CommonCheckLayer) ERROR: Nothing PROVIDES 'python3-pytoml-native' (but /meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs_60.9.0.bb DEPENDS on or otherwise requires it). Close matches: python3-numpy-native python3-pycairo-native python3-rpm-native ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'mozjs', 'python3-pytoml-native'] fix by make these recipes only active when identified layers are present Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>