27755 Commits

Author SHA1 Message Date
Charles Perry
766dcdff95 libexosip2: add recipe
libexosip2 extends the capabilities of the osip2 library. It can be a
useful building block for an embedded device application.

Signed-off-by: Charles Perry <charles.perry@savoirfairelinux.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 2b4cb938b043c77f9f12f5cfb84fbc8f1f3fbf4d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-30 07:14:02 -04:00
Charles Perry
ad9072a34e libosip2: add recipe
The GNU oSIP library is an implementation of SIP - rfc3261. It can be a
useful building block for an embedded device application.

Signed-off-by: Charles Perry <charles.perry@savoirfairelinux.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 03a948375e5e21c8b92123b034176977083de464)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-30 07:14:02 -04:00
Khem Raj
4af27343d8 leveldb: Upgrade to 1.23 plus latest git
Switch to git submods as it needs gtest and benchmarks checked out at a
particular commit

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 53188543f3408ac399354f76f06eda8a66f9f5d1)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-30 07:14:02 -04:00
Chi Xu
c0eb0452af re2: Add ptest support
Test results:
root@qemux86-64:~# ptest-runner re2 -t 7200
START: ptest-runner
2023-10-16T08:36
BEGIN: /usr/lib/re2/ptest
PASS: charclass_test
PASS: compile_test
PASS: filtered_re2_test
PASS: mimics_pcre_test
PASS: parse_test
PASS: possible_match_test
PASS: re2_test
PASS: re2_arg_test
PASS: regexp_test
PASS: required_prefix_test
PASS: search_test
PASS: set_test
PASS: simplify_test
PASS: string_generator_test
PASS: dfa_test
PASS: exhaustive1_test
PASS: exhaustive2_test
PASS: exhaustive3_test
PASS: exhaustive_test
PASS: random_test
DURATION: 2085
END: /usr/lib/re2/ptest
2023-10-16T09:11
STOP: ptest-runner
TOTAL: 1 FAIL: 0

And add re2 ptest to PTESTS_SLOW_META_OE.

Signed-off-by: Chi Xu <chi.xu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 92038e03ee601f140822e252c158960a49225cad)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-30 07:14:02 -04:00
David Pierret
486fa9a037 cjson: Add ptest
cjson use pure CMake test framework named CTest.
CMake generate CTestTestfile.cmake containing fully defined path.
This path need to be altered on install step to match the ptest directory.

The json_patch_tests doesn't works because of file access and is skip.

Signed-off-by: David Pierret <david.pierret@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 4079e922845fcdb1f0cc360483daad8cb3ea66d3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-30 07:13:42 -04:00
Luca Fancellu
3e1b5753c7 linuxptp: add systemd services
Add systemd services phc2sys@.service and ptp4l@.service,
these services are taken from the Ubuntu/Debian linuxptp
package.

Update the recipe to install them when needed using the
systemd bbclass, the services are disabled by default.

Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 35bcd8c6ddfb6bc8729d0006dab887afcc772ec9)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Luca Fancellu
2893fbcaf5 linuxptp: install default configuration file in sysconfdir
Install a default configuration files to be used in
${sysconfdir}/linuxptp, the default.cfg file from linuxptp
is used.

Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 34c5bea19d67b36e572cb71c11fd553ac9f35a28)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Luca Fancellu
bd0b9a017b linuxptp: update linuxptp recipe to 4.1
Update linuxptp recipe to the new version, from 3.1.1 to 4.1.

Remove one downstream patch that is already applied and
update the remaining to remove merge issues.

Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit da5aaaa1d7fad44017c6814b6459c77598a5779d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Trevor Gamblin
0c325a9af6 meta-python: update ptests status for py-cpuinfo, pytest-mock
Move python3-py-cpuinfo and python3-pytest-mock into the FAST ptests
list since their failing ptests are being disabled.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d59f6c752927f7846dc11c4aa00a2d0c9860e75c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Trevor Gamblin
4236bb12ff python3-pytest-mock: disable broken ptests
Two introspection-related ptests are consistently failing. For now,
disable them so that a clean ptest run is available.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d61bc9351aa6b754e83ed078f80c6a17271a23fd)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Khem Raj
9709382037 meta-perl: Add libtext-diff-perl to fast ptest list
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f9cc7d4c568832a7c2f556150fd6f726e68d8ffa)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Trevor Gamblin
381348a2dc python3-arrow: add from meta-patchtest
arrow is a module that aims to provide a more user-friendly approach to
date and time in Python. It is required by git-pw which in turn is
required by patchtest, so add a recipe for it. The version is updated
1.2.2 -> 1.3.0 from the meta-patchtest layer.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 349546c72fb786b4b1dcb3e748a44986d235b99d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Trevor Gamblin
0558743b62 python3-py-cpuinfo: disable broken ptests
There are a handful of CLI-related ptests that consistently fail with an
apparent permissions issue, but making the
.../site-packages/cpuinfo/cpuinfo.py script executable does not seem to
fix the problem. Skip these tests for now, and make sure that the right
/usr/bin/env line is present in py-cpuinfo's scripts on the image.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit e0abbc52802d36cbd6e5c15c38d6649a822e6450)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Trevor Gamblin
c6e180d539 python-git-pw: add from meta-patchtest
git-pw is a tool for integrating Git with Patchwork instances.  Add it
to meta-python from meta-patchtest so that more workflows can take
advantage of it.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit ad4985d17bff8a0e8636220bf4d14c8e31ce35ca)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
David Pierret
f4ce751264 libtext: add ptest
Signed-off-by: David Pierret <david.pierret@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 74022f1009cca4d85167b8b759f52d4ff0f92f41)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Fabien Thomas
dcc3639696 klibc/klibc.inc : Add DEBUG_PREFIX_MAP flag.
Following reproducible-builds.org recommendations, using compiler flags
like -ffile-prefix-map or -fdebug-prefix-map allows replace build-time
paths by install-time ones in the debugging sections of binaries.

Variable DEBUG_PREFIX_MAP set these flags correctly in yocto build
context to guarantee reproducible builds.

Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 3f9032f126289b8071431d6dd309a5e3d7ebe153)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Lei Maohui
210800f123 gexiv2: Fix do_package QA issue when usrmerge enabled.
ERROR: gexiv2-0.14.2-r0 do_package: QA Issue: gexiv2: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/python3.11
  /usr/lib/python3.11/site-packages
  /usr/lib/python3.11/site-packages/gi
  /usr/lib/python3.11/site-packages/gi/overrides
  /usr/lib/python3.11/site-packages/gi/overrides/GExiv2.py
  /usr/lib/python3.11/site-packages/gi/overrides/__pycache__
  /usr/lib/python3.11/site-packages/gi/overrides/__pycache__/GExiv2.cpython-311.pyc

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit eddc2571a759f208cd8e3e05f3ca14457b9169dc)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Markus Volk
b7c6ff1251 wireplumber: Upgrade 0.4.14 -> 0.4.15
Additions:

  - A new "DSP policy" module has been added; its purpose is to automatically
    load a filter-chain when a certain hardware device is present, so that
    audio always goes through this software DSP before reaching the device.
    This is mainly to support Apple M1/M2 devices, which require a software
    DSP to be always present

  - WpImplModule now supports loading module arguments directly from a SPA-JSON
    config file; this is mainly to support DSP configuration for Apple M1/M2
    and will likely be reworked for 0.5

  - Added support for automatically combining Bluetooth LE Audio device sets
    (e.g. pairs of earbuds) (!500)

  - Added command line options in ``wpctl`` to display device/node names and
    nicknames instead of descriptions

  - Added zsh completions file for ``wpctl``

  - The device profile selection policy now respects the ``device.profile``
    property if it is set on the device; this is useful to hand-pick a profile
    based on static configuration rules (alsa_monitor.rules)

Changes/Fixes:

  - Linking policy now sends an error to the client before destroying the node,
    if it determines that the node cannot be linked to any target; this fixes
    error reporting on the client side

  - Fixed a crash in suspend-node that could happen when destroying virtual
    sinks that were loaded from another process such as pw-loopback (#467)

  - Virtual machine default period size has been bumped to 1024 (#507)

  - Updated bluez5 default configuration, using ``bluez5.roles`` instead of
    ``bluez5.headset-roles`` now (!498)

  - Disabled Bluetooth autoconnect by default (!514)

  - Removed ``RestrictNamespaces`` option from the systemd services in order to
    allow libcamera to load sandboxed IPA modules (#466)

  - Fixed a JSON encoding bug with empty strings (#471)

  - Lua code can now parse strings without quotes from SPA-JSON

  - Added some missing `\since` annotations and made them show up in the
    generated gobject-introspection file, to help bindings generators

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 56d34f391c4c11c21ccc1c8fa4d84873ab03906b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Akash Hadke
26f1ed9441 libeigen: Update GPL-3.0-only to GPL-2.0-only
libeigen source contains GPL-3.0-only code but it is
not being packaged hence update LICENSE with GPL-2.0-only

Below are the GPL-3.0-only files from libeigen source

bench/btl/actions/action_aat_product.hh
bench/btl/actions/action_ata_product.hh
bench/btl/actions/action_atv_product.hh
bench/btl/actions/action_axpby.hh
bench/btl/actions/action_axpy.hh
bench/btl/actions/action_cholesky.hh
bench/btl/actions/action_ger.hh
bench/btl/actions/action_hessenberg.hh
bench/btl/actions/action_lu_decomp.hh
bench/btl/actions/action_lu_solve.hh
bench/btl/actions/action_matrix_matrix_product_bis.hh
bench/btl/actions/action_matrix_matrix_product.hh
bench/btl/actions/action_matrix_vector_product.hh
bench/btl/actions/action_partial_lu.hh
bench/btl/actions/action_rot.hh
bench/btl/actions/action_symv.hh
bench/btl/actions/action_syr2.hh
bench/btl/actions/action_trisolve.hh
bench/btl/actions/action_trisolve_matrix.hh
bench/btl/actions/action_trmm.hh
bench/btl/COPYING
bench/btl/data/mean.cxx
bench/btl/data/regularize.cxx
bench/btl/data/smooth.cxx
bench/btl/generic_bench/bench.hh
bench/btl/generic_bench/bench_parameter.hh
bench/btl/generic_bench/btl.hh
bench/btl/generic_bench/init/init_function.hh
bench/btl/generic_bench/init/init_matrix.hh
bench/btl/generic_bench/init/init_vector.hh
bench/btl/generic_bench/static/bench_static.hh
bench/btl/generic_bench/static/intel_bench_fixed_size.hh
bench/btl/generic_bench/static/static_size_generator.hh
bench/btl/generic_bench/timers/mixed_perf_analyzer.hh
bench/btl/generic_bench/timers/portable_perf_analyzer.hh
bench/btl/generic_bench/timers/portable_perf_analyzer_old.hh
bench/btl/generic_bench/timers/portable_timer.hh
bench/btl/generic_bench/timers/STL_perf_analyzer.hh
bench/btl/generic_bench/timers/STL_timer.hh
bench/btl/generic_bench/utils/size_lin_log.hh
bench/btl/generic_bench/utils/size_log.hh
bench/btl/generic_bench/utils/xy_file.hh
bench/btl/libs/BLAS/blas_interface.hh
bench/btl/libs/BLAS/main.cpp
bench/btl/libs/blaze/blaze_interface.hh
bench/btl/libs/blaze/main.cpp
bench/btl/libs/blitz/blitz_interface.hh
bench/btl/libs/blitz/blitz_LU_solve_interface.hh
bench/btl/libs/blitz/btl_blitz.cpp
bench/btl/libs/blitz/btl_tiny_blitz.cpp
bench/btl/libs/blitz/tiny_blitz_interface.hh
bench/btl/libs/eigen2/btl_tiny_eigen2.cpp
bench/btl/libs/eigen2/eigen2_interface.hh
bench/btl/libs/eigen2/main_adv.cpp
bench/btl/libs/eigen2/main_linear.cpp
bench/btl/libs/eigen2/main_matmat.cpp
bench/btl/libs/eigen2/main_vecmat.cpp
bench/btl/libs/eigen3/btl_tiny_eigen3.cpp
bench/btl/libs/eigen3/eigen3_interface.hh
bench/btl/libs/eigen3/main_adv.cpp
bench/btl/libs/eigen3/main_linear.cpp
bench/btl/libs/eigen3/main_matmat.cpp
bench/btl/libs/eigen3/main_vecmat.cpp
bench/btl/libs/gmm/gmm_interface.hh
bench/btl/libs/gmm/gmm_LU_solve_interface.hh
bench/btl/libs/gmm/main.cpp
bench/btl/libs/mtl4/main.cpp
bench/btl/libs/mtl4/mtl4_interface.hh
bench/btl/libs/mtl4/mtl4_LU_solve_interface.hh
bench/btl/libs/STL/main.cpp
bench/btl/libs/STL/STL_interface.hh
bench/btl/libs/tvmet/main.cpp
bench/btl/libs/tvmet/tvmet_interface.hh
bench/btl/libs/ublas/main.cpp
bench/btl/libs/ublas/ublas_interface.hh

libeigen project dropped all GPL code in their 'master'
branch and moved to 'Apache-2.0'

Signed-off-by: Akash Hadke <akash.hadke27@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit dff417630f269e44c9bc6515ec7ab9924c967438)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Markus Volk
1f39fdf5e2 libdecor: Upgrade 0.1.99 -> 0.2.0
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 6f9224702ee8483b2c4442055ab3abf1ea7da7b3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Yi Zhao
3426b62b54 libldb: add ptest
* use external cmocka instead of bundled cmocka
* add run-ptest script

Ptest results:
$ ptest-runner libldb
START: ptest-runner
2023-10-12T11:49
BEGIN: /usr/lib/libldb/ptest
PASS: test_ldb_dn
PASS: test_ldb_qsort
DURATION: 0
END: /usr/lib/libldb/ptest
2023-10-12T11:49
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 4a07ee78c57950aaf2e0858c159ffa6454f7f28a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Yi Zhao
872c600a9f libtevent: fix ptest
* use external cmocka instead of bundled cmocka
* add run-ptest script

Ptest results:
$ ./run-ptest
PASS: replace_testsuite
PASS: test_tevent_tag
PASS: test_tevent_trace

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 287386a51f8c2ed5ad3282d9481c56b7f546a4bf)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Yi Zhao
08ccdf95ee samba: use external cmocka instead of bundled cmocka
Do not use bundled cmocka to get rid of bundled library
libcmocka-samba4.so.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 649f63a235a968749ba833476f9acaa7af2e2130)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Yi Zhao
ee13d4533d samba: upgrade 4.18.6 -> 4.18.8
This is a security release in order to address the following defects:

CVE-2023-3961:  Unsanitized pipe names allow SMB clients to connect as root to
                existing unix domain sockets on the file system.
                https://www.samba.org/samba/security/CVE-2023-3961.html

CVE-2023-4091:  SMB client can truncate files to 0 bytes by opening files with
                OVERWRITE disposition when using the acl_xattr Samba VFS
                module with the smb.conf setting
		"acl_xattr:ignore system acls = yes"
                https://www.samba.org/samba/security/CVE-2023-4091.html

CVE-2023-4154:  An RODC and a user with the GET_CHANGES right can view all
                attributes, including secrets and passwords.  Additionally,
                the access check fails open on error conditions.
                https://www.samba.org/samba/security/CVE-2023-4154.html

CVE-2023-42669: Calls to the rpcecho server on the AD DC can request that the
                server block for a user-defined amount of time, denying
                service.
                https://www.samba.org/samba/security/CVE-2023-42669.html

CVE-2023-42670: Samba can be made to start multiple incompatible RPC
                listeners, disrupting service on the AD DC.
                https://www.samba.org/samba/security/CVE-2023-42670.html

Release Notes:
https://www.samba.org/samba/history/samba-4.18.8.html

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f674a9d4f9feb3afecdc81f4bced5469edc3bc71)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Khem Raj
9434ed5e29 gutenprint: Upgrade to 5.3.4
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 8bab5168788de6ba7c17630ddd1f191e19602472)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Joe Slater
bf7026000c python3-pynacl: add RCONFLICTS with python3-nacl
python3-nacl is in the meta-virtualization layer.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 74e31e51ffbd52b8864fed4debe7711e3ef4d739)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Khem Raj
c6a3490db1 static-group: Match nogroup id to base-passwd from core.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit df98f884b9b9aa16e5323d0ce803fcce4148759f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Daniel McGregor
c3db67f7d6 python3-pylint: allow native build
We use pylint for some native recipes in our build. Allow pylint
to be a native recipe, and likewise allow its runtime dependencies
to be native recipes.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit fbb9d270790a7d77926f6a34505399e4f9fc1f51)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Khem Raj
dbc5faaeaf poco: Fix data race when create POSIX thread
This back fixes the ptest failures seen with musl

     AssertionError:-
     Failed ptests:
     {'poco': ['Foundation-testrunner', 'NetSSL-testrunner', 'Net-testrunner']}

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 963fc79e271e56d323b626f2ca1d214ad74c3e4d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Khem Raj
3ef2fbb5b8 libnet-idn-encode: Fix build with perl 2.38 and gcc13
Add missing rdep on perl-module-encode-encoding
fixes

Can't locate Encode/Encoding.pm in @INC (you may need to install the Encode::Encoding module)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 9f312824d429603417109eb08d13d260d6231361)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:22:52 -04:00
Mickael RAMILISON
d6b0361488 python3-rapidjson: add ptest
Signed-off-by: Mickael RAMILISON <mickael.ramilison@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 62039a2c3347841f0e5b2c46345c9bd2fe76805e)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Khem Raj
9c1bbbff75 kernel-selftest: Use clang options when clang is available
Enable bpf only with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 6e0da8642ac8e6d277ee82ab91ce1248663fc58d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Khem Raj
1b846b4ab4 kernel-selftest: Copy the .config from kernel build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit e65836d919e32e471192c47d39150298e97e141b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Martin Jansa
7d5e1cb0f9 opencv: Fix build with protobuf v22 and dnn enabled
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 225ce6a14a8110ab6b573b4dc9f5297a03d17e0f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Gianfranco Costamagna
2a890ea151 cpprestsdk: fix typo in comment, tag is actually 2.0.18
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 5596afa6508d8e603e257bcb604637e9fcabe2a6)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Fabien Thomas
aefc7318eb Add static-passwd and static-group files
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.

Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 2961a31a024bd9d41724b6d16f820baee2b390df)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Fabien Thomas
36631ae088 Add static-passwd and static-group files
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.

Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 714156cc42cfc35dbd960e7755866fa257f67090)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Fabien Thomas
972226d3b1 Add static-passwd and static-group files
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.

Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 18f01d2b14a0f7789dfce6db12810a465804e23a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Fabien Thomas
b496fcb98a Add static-passwd and static-group files
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.

Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 5ecda23c4ce2534f9f974b7bf066723a58e625aa)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Fabien Thomas
65b76335ec Add static-passwd and static-group files
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.

Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 1a9892251bddf35d3a797d4968be2f69ac75976b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Fabien Thomas
692cfcba8a Add static-passwd and static-group files
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.

Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 7d36797bef881cb5125259e33a4a245529f39112)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Fabien Thomas
1ff93fb9ad Add static-passwd and static-group files
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.

Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 84043e673b2c424e9fc8d2b349147f35c6828903)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Fabien Thomas
a85d9eda34 meta-filesystems/layer.conf : Add meta-networking dependency
Recipe smbnetfs depends on samba, which is in meta-networking.

Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 3801443f170c9c4db3c50e2c4ba7271d8d6f4633)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Khem Raj
3428b644c3 ptest-packagelists-meta-oe: Add kernel-selftest to x86/x86-64 images
Test run for 10+ minutes so they belong to slow testset

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit b729ec1b11d4b170a9e7a9c1ff8db5260ba1c7eb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Khem Raj
a24c6be197 kernel-selftest: Build bpf tests again
Fix run-ptest script to run all compiled selftests
disable bpf on riscv for now

Signed-off-by: Khem Raj <raj.khem@gmail.com>

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 30779662be112081096fb9a223acb0f8a4ccd6f3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Christophe Vu-Brugier
ec16b76b89 libnvme: apply patch already upstream to fix build with musl
Build failure with musl due to conflicting definitions of ioctl()
between glibc and musl has been fixed by libnvme developers with this
commit:

 * ca47ba3119

Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 8930d8798b44f538fcfb2013cf273c4534778404)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Markus Volk
3724a3036b gnome-control-center: Fix polkit gettext issue
polkit.its and polkit.loc are taken from host. This should be fine
as long as the host provides these files. At least on fedora 38
they are not installed by default and configure fails with:

| ../gnome-control-center-45.0/meson.build:205:6: ERROR: Command
`/home/flk/poky/build/tmp/work/corei7-64-poky-linux/gnome-control-center/45.0/recipe-sysroot-native/usr/bin/nativepython3 /home/flk/poky/build/tmp/work/corei7-64-poky-linux/gnome-control-center/45.0/gnome-control-center-45.0/build-aux/meson/find_xdg_file.py gettext/its/polkit.its` failed with status 1.
|
| A full log can be found at
/home/flk/poky/build/tmp/work/corei7-64-poky-linux/gnome-control-center/45.0/build/meson-logs/meson-log.txt
| ERROR: meson failed
| WARNING:
/home/flk/poky/build/tmp/work/corei7-64-poky-linux/gnome-control-center/45.0/temp/run.do_configure.6974:182 exit 1 from 'exit 1'

export XDG_DATA_DIRS to avoid this issue

https://gitlab.gnome.org/GNOME/gnome-control-center/-/blob/main/meson.build?ref_type=heads#L203
https://gitlab.gnome.org/GNOME/gnome-control-center/-/blob/main/build-aux/meson/find_xdg_file.py?ref_type=heads

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 6ee4a15ce28b7f09fa80aad05276ad347a182cbd)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Ahmad Fatoum
d4a94d7966 signing.bbclass: don't export OPENSSL environment variables globally
OPENSSL_{MODULES,ENGINES,CONF} and SSL_CERT_{DIR,FILE} are currently
exported globally for any recipe that inherits signing. This not only
affects the tasks that use the signing infrastructure, but also unrelated
tasks like e.g. do_fetch. Avoid this by exporting the variables only
for these tasks that actually call signing_prepare.

This resolves a breakage I observed on Ubuntu 18.04, where the host
tool wget is called with the environment variables set and then fails
with a SSL error (exit code 5).

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 4ad790c7334b02d6d150285a952d84a02645773f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Chen Qi
bff5009bbe libblockdev: fix QA error in case of multilib
Fix the following QA error.

ERROR: QA Issue: libblockdev: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/python3.11
  /usr/lib/python3.11/site-packages
  /usr/lib/python3.11/site-packages/gi
  /usr/lib/python3.11/site-packages/gi/overrides
  /usr/lib/python3.11/site-packages/gi/overrides/BlockDev.py

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit a76f0b1f7c9fc7ecb4ebaaf9862fff3624fdef53)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Christophe Vu-Brugier
7da957f042 nvme-cli: upgrade 2.5 -> 2.6
Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 719042228998484b9022676a2726002d10593343)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00