9739 Commits

Author SHA1 Message Date
Jan Luebbe
a750888a40 snappy: use main branch to fix fetch failure
The project has renamed the master branch to main.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0c9c5c666150bc105cad35b442fa76464885aa1c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-01-29 06:40:29 -08:00
Leif Middelschulte
033fa7a408 dbus-daemon-proxy: add missing return statement
The missing `return` statement leads to a `SIGABRT`.

Signed-off-by: Leif Middelschulte <Leif.Middelschulte@klsmartin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 77479e1c9b7bffb6ad89ae68f80605ad1c65ea75)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-01-29 06:16:45 -08:00
Mingli Yu
cf939ad690 plymouth: switch to KillMode=mixed
KillMode=none is deprecated, so we need to stop using it [1].

For now, use `KillMode=mixed` and `IgnoreOnIsolate=true` instead.

In the future, we should change plymouth to be able to exit and
start again without restarting the active animation, but that's
going to require some effort.

[1] https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/123

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 7981762d670ea16150811cded2a0168095bf27b8)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-01-27 08:09:44 -08:00
Andreas Müller
4647e3ea37 udisks2: upgrade 2.9.3 -> 2.9.4
From announcement:
This release was focused on stability and hardening, notably fixing some
long-standing race conditions and memory leaks. Default mount options got
tweaked towards data safety.

All users are strongly advised to upgrade.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 2b2666b7fab2818e75701b82c15d6a1628659259)
[Minor fixup for honister context, bug fix only]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-01-05 08:50:39 -08:00
Changqing Li
b707efaf8a postgresql: fix CVE-2021-23214,CVE-2021-23222
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 8e57fb9b1e4da504ceeaadcff2fe38555a47b6b6)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-12-28 12:51:07 -08:00
Peter Kjellerstedt
ae34f8f8e4 googletest: Switch branch from master to main
The master branch has been renamed to main in the github repo.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-12-18 11:23:46 -08:00
Peter Kjellerstedt
37b9a7a114 gattlib: Explicitly disable Python support
Under some configuration, CMake may pick up the existence of python
from the native recipe sysroot and use that when linking for target,
resulting in the following error:

  ld: .../recipe-sysroot-native/usr/lib/libpython3.10.so: error adding
  symbols: file in wrong format

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-12-18 11:23:41 -08:00
Oleksandr Kravchuk
a12eff7e3f fb-test: fix SRC_URI
Original repo doesn't exist any more. Even though I couldn't find any
new official repo, this is the only one on github that contains used
commit hash.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit c57e4d5faa3d1c4b23173a4f26b2cd1aff846b34)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-12-08 21:14:59 -08:00
Ross Burton
9e0bf0c3b0 pcsc-lite: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 2755ba786a1d8e54b065320b7a35bfe8f31ef847)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-12-08 21:01:54 -08:00
Ross Burton
bc97389fa8 libkcapi: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit c8384c874f804d591427ab1d70b08a7881285b15)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-12-08 21:01:36 -08:00
Ross Burton
806ebd9314 nodejs: set precise BSD license
"BSD" is ambiguous, use the precise licenses BSD-2-Clause and BSD-3-Clause.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 4004a2279e11287407d820b997bb043b6ffe6fa7)
[Fixed up for Honistor context]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-12-08 20:58:31 -08:00
Ross Burton
163d3489c5 sg3-utils: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-2-Clause.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 3e5651b6b4027ffa768492ed4083c4220b4e59e6)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-12-08 20:55:30 -08:00
Ross Burton
017674dbe8 dash: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 09aa844891f7ffae50a8ad7112c8f64737df17f0)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-12-08 20:53:29 -08:00
Ross Burton
b712b3a1e3 xmlrpc-c: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 11af3bd25062bd63b4c00918e4f08cf6813ae7de)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-12-08 20:52:54 -08:00
Ross Burton
ca687218ba imlib2: clarify license
Imlib2 has its own special license, so use that instead of MIT & BSD.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d085c4e1d29345bcc5f32f54646be381aeb83908)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-12-08 20:52:13 -08:00
Sean Nyekjaer
2cd24bd20d msgpack-cpp: fix msgpack-cpp is a header only library
${PN} is empty so don't let the -dev package RDEPEND on it

Signed-off-by: Sean Nyekjaer <sean.nyekjaer.ext@siemensgamesa.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit b8a8fbaf7df3d52acf02e7a3eec97ffd57acabf3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-12-08 20:51:37 -08:00
Luca Boccassi
8739e7ae8f lvm2: do not install systemd units/initscripts when building native SDK tools
Nothing picks them up, so the build fails. Required to be able to build
native tools like systemd-analyze.

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit defbcad66fc1e91117ba08bf1051035188e40b37)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-12-08 20:50:52 -08:00
Martin Jansa
f31b9854b1 sdbus-c++: don't fetch googletest during do_configure
* replace the solution from:
  6c74740048
  with the one from upstream (branch name would need to be changed in
  git://github.com/google/googletest.git;protocol=https;branch=master;name=gtest;destsuffix=git/tests/googletest-src
  anyway and better to use the upstream fix in all branches - dunfell, gatesgarth, hardknott need
  a similar fix now when master branch is gone)

* with PTEST_ENABLED it enables with-tests PACKAGECONFIG which
  instead of using system googletest gmock, tries to fetch googletest
  from github and fails because branch was recently renamed from master to main

| -- Found PkgConfig: /OE/tmp-glibc/work/qemux86-oe-linux/sdbus-c++/0.8.3-r0/recipe-sysroot-native/usr/bin/pkg-config (found version "0.29.2")
| -- Checking for module 'libsystemd>=236'
| --   Found libsystemd, version 249
| -- Building with tests
| Fetching googletest...
| [1/9] Creating directories for 'googletest-populate'
| [1/9] Performing download step (git clone) for 'googletest-populate'
| Cloning into 'googletest-src'...
| fatal: invalid reference: master
| CMake Error at googletest-subbuild/googletest-populate-prefix/tmp/googletest-populate-gitclone.cmake:40 (message):
|   Failed to checkout tag: 'master'
|
|
| FAILED: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-download
| cd /OE/tmp-glibc/work/qemux86-oe-linux/sdbus-c++/0.8.3-r0/build/_deps && /OE/tmp-glibc/work/qemux86-oe-linux/sdbus-c++/0.8.3-r0/recipe-sysroot-native/usr/bin/cmake -P /OE/tmp-glibc/work/qemux86-oe-linux/sdbus-c++/0.8.3-r0/build/_deps/googletest-subbuild/googletest-populate-prefix/tmp/googletest-populate-gitclone.cmake && /OE/tmp-glibc/work/qemux86-oe-linux/sdbus-c++/0.8.3-r0/recipe-sysroot-native/usr/bin/cmake -E touch /OE/tmp-glibc/work/qemux86-oe-linux/sdbus-c++/0.8.3-r0/build/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-download
| ninja: build stopped: subcommand failed.
|
| CMake Error at /OE/tmp-glibc/work/qemux86-oe-linux/sdbus-c++/0.8.3-r0/recipe-sysroot-native/usr/share/cmake-3.19/Modules/FetchContent.cmake:989 (message):
|   Build step for googletest failed: 1
| Call Stack (most recent call first):
|   /OE/tmp-glibc/work/qemux86-oe-linux/sdbus-c++/0.8.3-r0/recipe-sysroot-native/usr/share/cmake-3.19/Modules/FetchContent.cmake:1118:EVAL:2 (__FetchContent_directPopulate)
|   /OE/tmp-glibc/work/qemux86-oe-linux/sdbus-c++/0.8.3-r0/recipe-sysroot-native/usr/share/cmake-3.19/Modules/FetchContent.cmake:1118 (cmake_language)
|   tests/CMakeLists.txt:17 (FetchContent_Populate)
|
|
| -- Configuring incomplete, errors occurred!

* unfortunately this backported patch fixes the fetching failure, because
  it uses release-${GOOGLETEST_VERSION} tag instead of now non-existent
  master branch, but is not enough to prevent fetching from github during
  do_configure:

  -- Building with tests
  -- Could NOT find GTest (missing: GTest_DIR)
  -- Checking for module 'gmock>=1.10.0'
  --   No package 'gmock' found
  Fetching googletest...

  we also need to add googletest dependency to with-tests PACKAGECONFIG was fixed in meta-oe/master with the upgrade to 1.0.0:
  b26b66e5da (diff-48a847e7323703994fd2ce0fcb731ff860fa955a77cdfe39d71a9cc84a042c06L15)

  then it's ok and not fetching:

  -- Building with tests
  -- Looking for pthread.h
  -- Looking for pthread.h - found

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-11-18 07:34:55 -08:00
Armin Kuster
ad52a41de8 recipes: remove tabs and spaces in SRC_URI
Missed tabs and spaces in the SRC_URI during
'Update SRC_URI branch and protocols' translation.

[V2]
Fix typo in imagemagick, change "gitk" to "git"

[v3]
Give a typo, fix a typo

[V4]
Give a commit summary (it was there in v2), but now there is only:

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-11-10 07:04:55 -08:00
Armin Kuster
1659d38199 recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

I tried backporting Richard's master change but there where many merge conflicts.
I went the lazy route and ran the script.
This is work based on "b402a3076 recipes: Update SRC_URI branch and protocols"

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-11-06 11:00:13 -07:00
Yi Zhao
49241b481b libssh: use https instead of git in SRC_URI
Set protocol to https as the git protocol doesn't work for this repo:

$ git clone git://git.libssh.org/projects/libssh.git
Cloning into 'libssh'...
fatal: unable to connect to git.libssh.org:
git.libssh.org[0: 78.46.21.5]: errno=Connection timed out
git.libssh.org[1: 2a01:4f8:201:2294::2]: errno=Network is unreachable

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 2f9851fffbc0a8ba10f9c9d7e4e5d5cee7825697)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-11-06 10:45:18 -07:00
Matthias Schiffer
9033794dee byacc: switch to official HTTPS mirror
FTP does not always work in corporate networks. Switch to the HTTPS URL
mentioned on the tool's homepage. The same URL is also used by FreeBSD [1].

[1] https://cgit.freebsd.org/ports/tree/devel/byacc/Makefile?id=b128c1dbf3e8fbada5f753631041bf93ac51bf4d

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d79ca2ebc434f7c89892b2dbb79c038d74e5ce2b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-23 08:13:44 -07:00
zangrc
8cb8c9cea8 ser2net: upgrade 4.3.3 -> 4.3.4
Fix a few minor annoyances.

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 082e1599e559c3c93e2d38459c779d377fcda142)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-23 08:09:45 -07:00
wangmy
6b83ca6c86 span-lite: upgrade 0.10.1 -> 0.10.3
Fixes:

Properly constrain constructor from iterators
(https://github.com/martinmoene/span-lite/issues/69)
Add [noreturn] to throw_out_of_range()
(https://github.com/martinmoene/span-lite/issues/73)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d46c811305ec13554d0ec0ddc973af2f4b33d7e7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-23 08:05:05 -07:00
wangmy
feb4ef9fe8 redis: upgrade 6.2.5 -> 6.2.6
Upgrade urgency: SECURITY, contains fixes to security issues.

Security Fixes:

(CVE-2021-41099) Integer to heap buffer overflow handling certain string
commands and network payloads, when proto-max-bulk-len is manually configured
to a non-default, very large value [reported by yiyuaner].
(CVE-2021-32762) Integer to heap buffer overflow issue in redis-cli and
redis-sentinel parsing large multi-bulk replies on some older and less common
platforms [reported by Microsoft Vulnerability Research].
(CVE-2021-32687) Integer to heap buffer overflow with intsets, when
set-max-intset-entries is manually configured to a non-default, very large
value [reported by Pawel Wieczorkiewicz, AWS].
(CVE-2021-32675) Denial Of Service when processing RESP request payloads with
a large number of elements on many connections.
(CVE-2021-32672) Random heap reading issue with Lua Debugger [reported by
Meir Shpilraien].
(CVE-2021-32628) Integer to heap buffer overflow handling ziplist-encoded
data types, when configuring a large, non-default value for
hash-max-ziplist-entries, hash-max-ziplist-value, zset-max-ziplist-entries
or zset-max-ziplist-value [reported by sundb].
(CVE-2021-32627) Integer to heap buffer overflow issue with streams, when
configuring a non-default, large value for proto-max-bulk-len and
client-query-buffer-limit [reported by sundb].
(CVE-2021-32626) Specially crafted Lua scripts may result with Heap buffer
overflow [reported by Meir Shpilraien].
Bug fixes that involve behavior changes:

GEO* STORE with empty source key deletes the destination key and return 0 (#9271)
Previously it would have returned an empty array like the non-STORE variant.
PUBSUB NUMPAT replies with number of patterns rather than number of subscriptions (#9209)
This actually changed in 6.2.0 but was overlooked and omitted from the release notes.
Bug fixes that are only applicable to previous releases of Redis 6.2:

Fix CLIENT PAUSE, used an old timeout from previous PAUSE (#9477)
Fix CLIENT PAUSE in a replica would mess the replication offset (#9448)
Add some missing error statistics in INFO errorstats (#9328)
Other bug fixes:

Fix incorrect reply of COMMAND command key positions for MIGRATE command (#9455)
Fix appendfsync to always guarantee fsync before reply, on MacOS and FreeBSD (kqueue) (#9416)
Fix the wrong mis-detection of sync_file_range system call, affecting performance (#9371)
CLI tools:

When redis-cli received ASK response, it didn't handle it (#8930)
Improvements:

Add latency monitor sample when key is deleted via lazy expire (#9317)
Sanitize corrupt payload improvements (#9321, #9399)
Delete empty keys when loading RDB file or handling a RESTORE command (#9297, #9349)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit c48feb5f184738e88e9dac4e4f9d8598743f7109)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-23 08:04:34 -07:00
Alexander Thoma
80ab48eaa7 keyutils: fix install path
Signed-off-by: Alexander Thoma a.thoma@rational-online.com
Signed-off-by: Florian Wühr f.wuehr@rational-online.com
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 953f6a227406fde2c2228f94c39107826af1d3b0)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-23 07:58:18 -07:00
Martin Jansa
33c00e34fc pahole: use MACHINE_ARCH
* depends on MACHINE_ARCH libbpf causing:

  oe-core$ openembedded-core/scripts/sstate-diff-machines.sh --tmpdir=tmp-glibc --machines="qemux86 qemux86copy qemuarm" --targets=pahole --analyze

   === Comparing signatures for task do_configure.sigdata between qemux86 and qemux86copy ===
  ERROR: pahole different signature for task do_configure.sigdata between qemux86 and qemux86copy
  NOTE: Reconnecting to bitbake server...
  Hash for dependent task pahole/pahole_1.22.bb:do_prepare_recipe_sysroot changed from bfa7a0e0c59d99b0133ab295ebf7025a430242d4b8874d436d47cf8157192999 to e45ada248cd757d742872183d9fe426a7ce3b44a652b0900709ad3d0f3f64aa8
  Unable to find matching sigdata for /OE/build/oe-core/meta-openembedded/meta-oe/recipes-devtools/pahole/pahole_1.22.bb:do_prepare_recipe_sysroot with hashes bfa7a0e0c59d99b0133ab295ebf7025a430242d4b8874d436d47cf8157192999 or e45ada248cd757d742872183d9fe426a7ce3b44a652b0900709ad3d0f3f64aa8

  ERROR: 1 errors found in /OE/build/oe-core/tmp-glibc/sstate-diff/1633081392/signatures.qemux86copy.do_configure.sigdata.log

  oe-core$ bitbake-diffsigs tmp-glibc/sstate-diff/1633081392/qemux86*/core2-32-oe-linux/pahole/*prepare_recipe_sysroot*
  NOTE: Starting bitbake server...
  NOTE: Started PRServer with DBfile: /OE/build/oe-core/cache/prserv.sqlite3, Address: 127.0.0.1:38435, PID: 21321
  Hash for dependent task libbpf/libbpf_0.5.bb:do_populate_sysroot changed from 95bfd90e188d9ee6b4797736b07339d616655173a58a3f4f4f2ab4a5fa0bf3d8 to 9556bc318991640bba0eacc8f2102167bc7c389c13dadf08d69a9b864feae5c9
  Unable to find matching sigdata for /OE/build/oe-core/meta-openembedded/meta-oe/recipes-kernel/libbpf/libbpf_0.5.bb:do_populate_sysroot with hashes 95bfd90e188d9ee6b4797736b07339d616655173a58a3f4f4f2ab4a5fa0bf3d8 or 9556bc318991640bba0eacc8f2102167bc7c389c13dadf08d69a9b864feae5c9

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 3630c30185dd5a3dc29b10a3ccbe40f19ad9aa93)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-12 09:45:25 -07:00
LiweiSong
70ad85c925 Revert "chipsec: platform security assessment framework"
This reverts commit ae1705aad57a80a1122ebef117ea689d7307171f.

move chipsec to meta-security.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 8c7eb54ddec2c0f31f659a0d7f5b61f4a82b1af1)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-11 07:19:52 -07:00
Ivan Maidanski
bf1a9efe70 bdwgc: upgrade 8.0.4 -> 8.0.6
Highlights of this upgrade:
* Fix 'undefined reference to __data_start' linker error on risc-v
* Fix data race in generic_malloc_many
* Fix handling of areas smaller than page size in GC_scratch_recycle
* Fix misaligned tlfs passed to AO_load on m68k
* Fix overflow of scratch_free_ptr value
* Limit number of unmapped regions (to avoid exceeding of vm.max_map_count)

See the following for detailed changes:
* https://github.com/ivmai/bdwgc/releases/tag/v8.0.6

The LIC_FILES_CHKSUM has changed because of update of copyright
year (in README.QUICK).

Signed-off-by: Ivan Maidanski <ivmai@mail.ru>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 6e5cbf871188c5bf6ea5c708203553530b986ee4)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-08 17:23:52 -07:00
Khem Raj
403ce3bbd0 packagegroup-meta-oe: Add lv-drivers and lvgl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0924d41ac4cf968fc302e4f7e52d969cd3899423)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-08 17:23:52 -07:00
Philippe Coval
65e15aeb90 lv-drivers: Add recipe for lvgl lib
Wayland driver is supported.

Change-Id: If734c0f1037a1feeb08a2a67fa76e3142ae35af0
Forwarded: https://github.com/openembedded/meta-openembedded/pull/447
Origin: https://git.ostc-eu.org/OSTC/planning/core-os/-/issues/233
Relate-to: https://github.com/lvgl/lvgl/issues/2534
Signed-off-by: Philippe Coval <philippe.coval@huawei.com>
(cherry picked from commit 5f69cfea691d3770012ba97c808567fe6e99cd4f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-08 17:23:52 -07:00
Philippe Coval
2c097d9713 lvgl: Add recipe for Lightweight Graphics Library
Note, this requires lv-drivers for wayland rendering.

Change-Id: I920679891d0c7b5079537af77ff4d21094178cce
Forwarded: https://github.com/openembedded/meta-openembedded/pull/447
Relate-to: https://github.com/lvgl/lvgl/issues/2534
Origin: https://git.ostc-eu.org/OSTC/planning/core-os/-/issues/233
Signed-off-by: Philippe Coval <philippe.coval@huawei.com>
(cherry picked from commit 21580d65af95a854cccc7d0bf5c31201c9c30ea9)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-08 17:23:52 -07:00
Roland Hieber
42ceb9d961 rapidjson: override hard-coded lib install dir
The default value for LIB_INSTALL_DIR is set to ${prefix}/lib in
CMakeLists.txt. However, in multilib builds, the package split picks up
the files from ${prefix}/lib64 or ${prefix}/lib32, which leads to QA
issues in do_package about left-over files in /usr/lib/pkgconfig and
/usr/lib/cmake.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 8e6e4e594d77bc317491eecccd125ae725d70ecb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-08 17:23:52 -07:00
Vyacheslav Yurkov
5a1cc12c2f grpc: fix cross-compilation of grpc applications
Backport a patch from grpc/master to be able to build c++ applications
when gRPC_BUILD_GRPC_CPP_PLUGIN=OFF. The patch should be dropped on the
recipe upgrade

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 6696d7ef59bec46238aa610735480c1ce638cadf)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-08 17:23:52 -07:00
Vyacheslav Yurkov
5578f481a3 grpc: fix cross-compilation of grpc applications
When we build an application that uses grpc for the target, following
error occurs

CMake Error at <application work dir>/recipe-sysroot/usr/lib/cmake/grpc/gRPCTargets.cmake:179 (message):
|   The imported target "gRPC::grpc_cpp_plugin" references the file
|
|      "<application work dir>/recipe-sysroot/usr/bin/grpc_cpp_plugin"
|
|   but this file does not exist.  Possible reasons include:
|
|   * The file was deleted, renamed, or moved to another location.
|
|   * An install or uninstall procedure did not complete successfully.
|
|   * The installation package was faulty and contained
|
|      "<application work dir>/recipe-sysroot/usr/lib/cmake/grpc/gRPCTargets.cmake"
|
|   but not all the files it references.
|
| Call Stack (most recent call first):
|   <application work dir>/recipe-sysroot/usr/lib/cmake/grpc/gRPCConfig.cmake:25 (include)
|   	CMakeLists.txt:4 (find_package)

That's because target grpc was built with CPP plugin support and
referenes it from CMake config file. This commit disables CPP plugin
build for the target, and sets dependency on compiler for native and SDK
builds

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 17af9e0501dc3eeedeadf14e50d1fa252d8c2ec7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-08 17:23:17 -07:00
Khem Raj
9476e659b7 gattlib: Upgrade to latest
Drop upstreamed patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-07 08:23:51 -07:00
Richard Purdie
ea4afdb6a8 gattlib: Place pkgconfig file in correct package
Fixes in OE-Core added some pkgconfig dependencies back and this flagged
that the .pc file was in ${PN}, not ${PN}-dev. Fix that.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-07 08:23:51 -07:00
Nandor Han
d056cc9390 libiio: depend on avahi only when network backed is used
The `avahi` dependency is needed only when network backend is used.
The current dependency configuration will add the `avahi` dependency
regardless if network backend is used or not.

Move the `avahi` dependency to be part of `PACKAGECONFIG` configuration
which will insert the dependency only when needed.

Signed-off-by: Nandor Han <nandor.han@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-07 08:23:51 -07:00
Armin Kuster
f16efc00b7 README: updated Maintainers list for Honister
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-01 15:30:15 -07:00
Martin Jansa
037f38cc68 gpsd: inherit pkgconfig
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.

Fixes:
| Checking pkg-config for dbus-1... no
| Turning off dbus-export support, library not found.
| Checking pkg-config for bluez... no
| Turning off Bluetooth support, library not found.
...
| ERROR: /usr/bin/ncurses5-config should not be used, use an alternative such as pkg-config
| OSError: 'ncurses5-config --libs --cflags' exited 1:
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/gpsd-3.23/SConstruct", line 63:
|     SConscript('SConscript',
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Script/SConscript.py", line 660:
|     return method(*args, **kw)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Script/SConscript.py", line 597:
|     return _SConscript(self.fs, *files, **subst_kw)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Script/SConscript.py", line 285:
|     exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/gpsd-3.23/gpsd-3.23/SConscript", line 1881:
|     cgps = env.Program('clients/cgps', ['clients/cgps.c'],
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 238:
|     return super().__call__(target, source, *args, **kw)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Util.py", line 748:
|     return self.method(*nargs, **kwargs)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Builder.py", line 653:
|     env = env.Override(env_kw)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 622:
|     env.MergeFlags(merges)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 832:
|     args = self.ParseFlags(args)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 815:
|     do_parse(arg)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 662:
|     for t in arg: do_parse(t)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 667:
|     arg = self.backtick(arg[1:])
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 579:
|     raise OSError("'%s' exited %d" % (command, status))
| ERROR: scons build execution failed.

Or on different host it shows better error message:

| Checking pkg-config for dbus-1... (cached) yes
| /bin/sh: 1: pkg-config: not found
| OSError: 'PKG_CONFIG_SYSROOT_DIR="/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/recipe-sysroot" pkg-config --cflags --libs dbus-1' exited 127:
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/gpsd-3.23/SConstruct", line 63:
|     SConscript('SConscript',
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Script/SConscript.py", line 660:
|     return method(*args, **kw)
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Script/SConscript.py", line 597:
|     return _SConscript(self.fs, *files, **subst_kw)
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Script/SConscript.py", line 285:
|     exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/gpsd-3.23/gpsd-3.23/SConscript", line 1107:
|     config.env.MergeFlags(dbusflags)
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 832:
|     args = self.ParseFlags(args)
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 815:
|     do_parse(arg)
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 662:
|     for t in arg: do_parse(t)
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 667:
|     arg = self.backtick(arg[1:])
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 579:
|     raise OSError("'%s' exited %d" % (command, status))
| ERROR: scons build execution failed.

Not sure why this one doesn't show up on CI, I guess some SCons magic.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-30 11:04:32 -07:00
Martin Jansa
c9121e1ae4 README: mention linux-libc-dev:i386 for luajit on ubuntu-21.10
* for host* parts you need to install linux-libc-dev:i386 on ubuntu-21.10
  (not pulled by gcc-multilib already mentioned in meta-oe/README), otherwise
  build for 32bit target will fail like this:

  cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/luajit/2.1.0~beta3-210112-r0/git/src$ gcc  -m32   -Wall   -I. -DLUAJIT_TARGET=LUAJIT_ARCH_arm -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0 -isystem/OE/build/oe-core/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/luajit/2.1.0~beta3-210112-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o host/minilua.o host/minilua.c
  In file included from /usr/include/bits/errno.h:26,
                   from /usr/include/errno.h:28,
                   from host/minilua.c:40:
  /usr/include/linux/errno.h:1:10: fatal error: asm/errno.h: No such file or directory
      1 | #include <asm/errno.h>
        |          ^~~~~~~~~~~~~
  compilation terminated.

  while for 64bit taget it would build without -m32 and work fine without linux-libc-dev:i386:

  cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/luajit/2.1.0~beta3-210112-r0/git/src$ gcc    -Wall   -I. -DLUAJIT_TARGET=LUAJIT_ARCH_arm -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0 -isystem/OE/build/oe-core/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/luajit/2.1.0~beta3-210112-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o host/minilua.o host/minilua.c
  <OK>

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-30 08:50:42 -07:00
zhengruoqin
ddf3442b62 gpsd: upgrade 3.23 -> 3.23.1
3.23.1: 2021-09-21
  Improve ubx cycle detection.
  Add quirks for Jackson Labs nonstandard NMEA
  Change STATUS_NO_FIX to STATUS_UNK to avoid confusion with fix mode.
  Change STATUS_FIX to STATUS_GPS to avoid confusion with fix mode.
  Change STATUS_DGPS_FIX to STATUS_DGPS to avoid confusion with fix mode.
  Split SOURCE_ACM from SOURCE_USB.  ACM has no speeds.
  Add speeds 1 mbps, 1.152 mbps, 1.5 mbps, and higher.  When libc supports them.
  Improve autobaud.
  Add new u-blox M10 messages.
  Fix u-blox M6, M7 initialization issues.
  Various ubxtool and gpxlogger updates.
  Add mtk3301_speed_switcher()
  No API, ABI changes.
  Fallback to "python3" if "python" not found.

0001-SConscript-Correct-the-installation-of-gpsd.hotplug.patch
removed since it is included in 3.23.1

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-30 08:50:42 -07:00
zhengruoqin
843b4e24b8 cmark: upgrade 0.30.1 -> 0.30.2
Fix parsing of emphasis before links (#424, Nick Wellnhofer).
Fixes a regression introduced with commit ed0a4bf.

Update to Unicode 14.0 (data-man).

Add ~ to safe href character set (#394, frogtile).

Update CMakeLists.txt (Saleem Abdulrasool). Bump the minimum required
CMake to 3.7. Imperatively define output name for static library.

Fix install paths in libcmark.pc (Sebastián Mancilla).
CMAKE_INSTALL_<dir> can be relative or absolute path, so it is wrong to
prefix CMAKE_INSTALL_PREFIX because if CMAKE_INSTALL_<dir> is set to an
absolute path it will result in a malformed path with two absolute paths
joined together. Instead, use CMAKE_INSTALL_FULL_<dir> from
GNUInstallDirs.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-30 08:50:42 -07:00
Martin Jansa
6448ff9982 libeigen: backport fix for -Werror=class-memaccess issues when NEON is enabled
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-29 11:47:22 -07:00
Martin Jansa
cafcc65e74 opencv: fix build with protobuf-3.18 when dnn PACKAGECONFIG is enabled
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-29 07:23:40 -07:00
Mingli Yu
d93099003a libqb: Upgrade to 2.0.3
Remove one backported patch and add libxml2 to DEPNEDS to fix below
configure error:
 | configure: error: Package requirements (libxml-2.0) were not met:
 |
 | No package 'libxml-2.0' found

Remove NOSECTION_FALLBACK as the configure option enable-nosection-fallback
is removed in the new version [1].

[1] 633f2624a7

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-29 07:23:40 -07:00
Matteo Croce
5a31083b61 pahole: don't download vendored libbpf
Just use the system libbpf.

Signed-off-by: Matteo Croce <mcroce@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-29 07:23:40 -07:00
LiweiSong
ae1705aad5 chipsec: platform security assessment framework
Add chipsec, tools to dump and analyzing hardware, system firmware
components, like PCH register, ioport or iomem configuration space.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-29 07:23:22 -07:00
Khem Raj
0c38f98f12 packagegroup-meta-oe: Add new packages smarty and libjs-jquery-icheck
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-28 09:16:10 -07:00
wangmy
d496950bde valijson: upgrade 0.5 -> 0.6
This release includes several new contributions,
such as support for URN document references (thanks to @rayvincent2)
and a new Boost.JSON adapter (thanks @matty0ung).
Loading sub-schemas from other files is also now supported.

This release also includes some minor bug fixes.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-27 11:34:56 -07:00