Commit Graph

18 Commits

Author SHA1 Message Date
Martin Jansa 4678e22475 nanopb: move to dynamic-layers
* 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>
2020-12-02 11:21:18 -08:00
Khem Raj 5f17ce66d8 thingsboard-gateway: Move under dynamic layers
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>
2020-11-23 07:09:12 -08:00
Khem Raj 84196a1c4e mongodb: Fix i386 builds for non-glibc systems
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>
2020-09-15 18:41:23 -07:00
Khem Raj a0165a7e51 mongodb: Fix libunwind build with -fno-common
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>
2020-09-15 13:16:16 -07:00
Khem Raj e91940073a mongodb: Pass OBJCOPY to scons so it does not use it from host
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>
2020-09-15 09:28:35 -07:00
Vincent Prince a9df2ed0c0 mongodb: bump to r4.4.1 version
Signed-off-by: Vincent Prince <vincent.prince.external@saftbatteries.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-15 09:28:35 -07:00
Changqing Li e7bf8b6cb2 mozjs: fix multilib conflict
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>
2020-08-14 06:51:01 -07:00
Khem Raj e8b286f893 lcdproc: Fix compilation with GCC >= 10.x
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-13 22:32:07 -07:00
Slater, Joseph 8fd3da8ab8 mozjs: specify TMPDIR
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>
2020-08-11 23:35:32 -07:00
Khem Raj 81ee0b68fa lirc: Inherit distutils-common-base
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>
2020-06-30 10:23:46 -07:00
Leon Anavi ed2fc41cf6 lirc: Add python3 to the run-time dependencies
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>
2020-06-24 18:48:44 -07:00
Adrian Bunk ffd0911796 mozjs: Remove workaround for gcc < 4.9
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-12 14:16:19 -07:00
Leon Anavi cdeebf0aa9 lirc: upgrade 0.9.4d -> 0.10.1
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>
2020-05-12 12:33:42 -07:00
Khem Raj 712df4714e gperftools: Do not build on riscv
Its not yet ported to work on RISCV

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-25 08:32:41 -07:00
Gianfranco Costamagna ea55f0c735 mongodb: Enable again building on 32bit arches from COMPATIBLE_HOST
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>
2020-04-09 07:45:55 -07:00
Khem Raj 3dfa6426dd packagegroups: Add bbappends for python and perl layer requiring recipes
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>
2020-03-29 21:49:07 -07:00
Khem Raj 75513352e3 packagegroup-meta-oe.bb: Move debsums to a bbappend under perl-layer
This helps avoid dependency on meta-perl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-29 21:49:07 -07:00
Changqing Li d178745cbf conf/layer.conf: add BBFILES_DYNAMIC and dynamic layers
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>
2020-03-11 08:58:57 -07:00