]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
22 months agocoreutils: Add config.h to ptest package
Khem Raj [Wed, 13 Sep 2023 06:24:55 +0000 (23:24 -0700)] 
coreutils: Add config.h to ptest package

This is needed by several tests during run on target

Fixes
grep: /usr/lib/coreutils/ptest/lib/config.h: No such file or directory
inotify-race.sh: skipped test: inotify is not supported

More tests are now passing

 ============================================================================
 Testsuite summary for GNU coreutils 9.4
 ============================================================================
 # TOTAL: 643
-# PASS:  509
-# SKIP:  131
+# PASS:  516
+# SKIP:  124

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agocoreutils: Upgrade to 9.4
Khem Raj [Wed, 13 Sep 2023 06:24:54 +0000 (23:24 -0700)] 
coreutils: Upgrade to 9.4

Drop a backport which is already in 9.4

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agogoarch.bbclass: not compatible with riscv32
Kai Kang [Wed, 13 Sep 2023 03:45:19 +0000 (11:45 +0800)] 
goarch.bbclass: not compatible with riscv32

It fails to build recipes which inherit goarch.bbclass for qemuriscv32:

| ERROR: Nothing PROVIDES 'docker-moby'
| docker-moby was skipped: Unsupported CPU architecture: riscv32

So empty COMPATIBLE_HOST for riscv32.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agonfs-utils: Add StateDirectory for systemd services
Joshua Watt [Tue, 12 Sep 2023 14:56:44 +0000 (08:56 -0600)] 
nfs-utils: Add StateDirectory for systemd services

Adds `StateDirectory=nfs` for the systemd service. This ensures that 1)
and .mount services required for /var/lib/nfs are started before these
services, and 2) that /var/lib/nfs exists before starting the services.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agonfs-utils: Don't start nfs-statsd.service without exports
Joshua Watt [Tue, 12 Sep 2023 14:56:30 +0000 (08:56 -0600)] 
nfs-utils: Don't start nfs-statsd.service without exports

Adds a `ConditionPathExists` to nfs-statsd.service. This allows it to
match the other NFS services and not start if nothing is exported.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoclasses/create-spdx-2.2: Add extra debugging for missing package files
Joshua Watt [Tue, 12 Sep 2023 14:38:33 +0000 (08:38 -0600)] 
classes/create-spdx-2.2: Add extra debugging for missing package files

In a effort to debug YOCTO #15185, improve the logging when a package
file cannot be found in the list of SPDX files.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agooeqa/selftest/runtime_test: No need to use append with TEST_RUNQEMUPARAMS
Richard Purdie [Tue, 12 Sep 2023 11:31:52 +0000 (12:31 +0100)] 
oeqa/selftest/runtime_test: No need to use append with TEST_RUNQEMUPARAMS

A simple += operation is fine for working with TEST_RUNQEMUPARAMS so remove
the heavier append override usage.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agogcc: Fix -fstack-protector issue on aarch64
Ross Burton [Tue, 12 Sep 2023 17:24:17 +0000 (18:24 +0100)] 
gcc: Fix -fstack-protector issue on aarch64

This series of patches fixes deficiencies in GCC's -fstack-protector
implementation for AArch64 when using dynamically allocated stack space.
This is CVE-2023-4039.  See:

https://developer.arm.com/Arm%20Security%20Center/GCC%20Stack%20Protector%20Vulnerability%20AArch64
https://github.com/metaredteam/external-disclosures/security/advisories/GHSA-x7ch-h5rf-w2mf

for more details.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agooeqa/selftest/devtool: Refactor runqemu pre-requisites
Adrian Freihofer [Sun, 10 Sep 2023 15:52:36 +0000 (17:52 +0200)] 
oeqa/selftest/devtool: Refactor runqemu pre-requisites

Split runqemu pre-requisites into a function which can be re-used by
other tests as well.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agolib/oe/package: Refactor to make strip_execs callable without d
Adrian Freihofer [Sun, 10 Sep 2023 15:52:33 +0000 (17:52 +0200)] 
lib/oe/package: Refactor to make strip_execs callable without d

This allows to call strip_execs function from devtool without going
via tinfoil and a bitbake server process.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agolib/oe/utils: Refactor to make multiprocess_launch callable without d
Adrian Freihofer [Sun, 10 Sep 2023 15:52:32 +0000 (17:52 +0200)] 
lib/oe/utils: Refactor to make multiprocess_launch callable without d

This is a preparation for making the strip_execs function callable from
devtool without going via tinfoil and a bitbake server process.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agoselftest runtime_test.py: add testimage.bbclass slirp test
Mikko Rapeli [Wed, 23 Aug 2023 06:10:19 +0000 (09:10 +0300)] 
selftest runtime_test.py: add testimage.bbclass slirp test

Builds core-image-minimal with testimage.bbclass and an ssh server
and then runs tests with slirp networking. Default test suite must
pass.

With full caches on x86_64 with x86_64 target the test passes in 416 seconds:

2023-08-21 09:01:12,295 - oe-selftest - INFO - Ran 1 test in 464.955s
2023-08-21 09:01:12,295 - oe-selftest - INFO - OK
2023-08-21 09:01:19,648 - oe-selftest - INFO - RESULTS:
2023-08-21 09:01:19,648 - oe-selftest - INFO - RESULTS - runtime_test.TestImage.test_testimage_slirp: PASSED (416.62s)
2023-08-21 09:01:19,711 - oe-selftest - INFO - SUMMARY:
2023-08-21 09:01:19,711 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 464.956s
2023-08-21 09:01:19,711 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
23 months agooeqa selftest runtime_test.py: append to TEST_RUNQEMUPARAMS
Mikko Rapeli [Wed, 23 Aug 2023 06:10:24 +0000 (09:10 +0300)] 
oeqa selftest runtime_test.py: append to TEST_RUNQEMUPARAMS

Don't overwrite TEST_RUNQEMUPARAMS since user may have added "slirp"
or similar things to it in site.conf, auto.conf or local.conf. Use
:append to add to it. Fixes failing tests when only "slirp" networking
works with qemu and tun based one is broken on the host machine.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
23 months agooeqa dnf_runtime.py: fix HTTP server IP address and port
Mikko Rapeli [Wed, 23 Aug 2023 06:10:20 +0000 (09:10 +0300)] 
oeqa dnf_runtime.py: fix HTTP server IP address and port

Use correct HTTPService parameters like apt.py when setting up the repo
server. These work with qemu tun and slirp networking. Fixes test
failure with slirp networking when executing testimage.bbclass
selftests "oe-selftest -r runtime_test.TestImage".

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
23 months agotestimage.bbclass: detect slirp from TEST_RUNQEMUPARAMS
Mikko Rapeli [Wed, 23 Aug 2023 06:10:18 +0000 (09:10 +0300)] 
testimage.bbclass: detect slirp from TEST_RUNQEMUPARAMS

Also set target and server IP addresses correctly to 127.0.0.1
so that TEST_TARGET_IP and TEST_SERVER_IP don't
need to be set manually with slirp.

Users run qemu images with slirp networking like this:

$ bitbake core-image-minimal
$ ../poky/scripts/runqemu slirp

slirp networking means that only one TCP port is forwarded from host
system to the qemu machine so that ssh into the machine works. ping
and other low level networking from host to target machine do not work,
but networking from target via host does work. This is much more easy to
setup than the bridge networking used by default, which I've never
managed to get running on various host machines.

To use slirp networking wita qemu and core-image-minimal to run testimage.bbclass tests, add
these to local.conf:

IMAGE_CLASSES += "testimage"
IMAGE_FEATURES += "ssh-server-dropbear"
TEST_RUNQEMUPARAMS += "slirp"

Then image can be compiled and tested with:

$ bitbake core-image-minimal
$ bitbake -c testimage core-image-minimal

Note that only few of the current oeqa runtime tests work against
core-image-minimal, but test results look like:

RESULTS:
RESULTS - date.DateTest.test_date: PASSED (3.64s)
RESULTS - df.DfTest.test_df: PASSED (0.55s)
RESULTS - oe_syslog.SyslogTest.test_syslog_running: PASSED (0.56s)
RESULTS - oe_syslog.SyslogTestConfig.test_syslog_logger: PASSED (1.88s)
RESULTS - oe_syslog.SyslogTestConfig.test_syslog_restart: PASSED (0.93s)
RESULTS - pam.PamBasicTest.test_pam: PASSED (2.20s)
RESULTS - parselogs.ParseLogsTest.test_parselogs: PASSED (4.98s)
RESULTS - ping.PingTest.test_ping: PASSED (0.05s)
RESULTS - ssh.SSHTest.test_ssh: PASSED (1.28s)
RESULTS - systemd.SystemdBasicTests.test_systemd_basic: PASSED (0.56s)
RESULTS - systemd.SystemdBasicTests.test_systemd_failed: PASSED (1.10s)
RESULTS - systemd.SystemdBasicTests.test_systemd_list: PASSED (0.92s)
RESULTS - systemd.SystemdJournalTests.test_systemd_boot_time: PASSED (0.56s)
RESULTS - systemd.SystemdJournalTests.test_systemd_journal: PASSED (0.54s)
RESULTS - apt.AptRepoTest.test_apt_install_from_repo: SKIPPED (0.00s)
RESULTS - buildcpio.BuildCpioTest.test_cpio: SKIPPED (0.00s)
RESULTS - buildgalculator.GalculatorTest.test_galculator: SKIPPED (0.00s)
RESULTS - buildlzip.BuildLzipTest.test_lzip: SKIPPED (0.00s)
RESULTS - connman.ConnmanTest.test_connmand_help: SKIPPED (0.00s)
RESULTS - connman.ConnmanTest.test_connmand_running: SKIPPED (0.00s)
RESULTS - dnf.DnfBasicTest.test_dnf_help: SKIPPED (0.00s)
RESULTS - dnf.DnfBasicTest.test_dnf_history: SKIPPED (0.00s)
RESULTS - dnf.DnfBasicTest.test_dnf_info: SKIPPED (0.00s)
RESULTS - dnf.DnfBasicTest.test_dnf_search: SKIPPED (0.00s)
RESULTS - dnf.DnfBasicTest.test_dnf_version: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_exclude: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_install: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_install_dependency: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_install_from_disk: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_install_from_http: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_installroot: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_installroot_usrmerge: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_makecache: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_reinstall: SKIPPED (0.00s)
RESULTS - dnf.DnfRepoTest.test_dnf_repoinfo: SKIPPED (0.00s)
RESULTS - gcc.GccCompileTest.test_gcc_compile: SKIPPED (0.00s)
RESULTS - gcc.GccCompileTest.test_gpp2_compile: SKIPPED (0.00s)
RESULTS - gcc.GccCompileTest.test_gpp_compile: SKIPPED (0.00s)
RESULTS - gcc.GccCompileTest.test_make: SKIPPED (0.00s)
RESULTS - gi.GObjectIntrospectionTest.test_python: SKIPPED (0.00s)
RESULTS - go.GoHelloworldTest.test_gohelloworld: SKIPPED (0.00s)
RESULTS - kernelmodule.KernelModuleTest.test_kernel_module: SKIPPED (0.00s)
RESULTS - ldd.LddTest.test_ldd: SKIPPED (0.00s)
RESULTS - logrotate.LogrotateTest.test_logrotate_newlog: SKIPPED (0.00s)
RESULTS - logrotate.LogrotateTest.test_logrotate_wtmp: SKIPPED (0.00s)
RESULTS - oe_syslog.SyslogTestConfig.test_syslog_startup_config: SKIPPED (0.00s)
RESULTS - opkg.OpkgRepoTest.test_opkg_install_from_repo: SKIPPED (0.00s)
RESULTS - perl.PerlTest.test_perl_works: SKIPPED (0.00s)
RESULTS - ptest.PtestRunnerTest.test_ptestrunner_expectfail: SKIPPED (0.00s)
RESULTS - ptest.PtestRunnerTest.test_ptestrunner_expectsuccess: SKIPPED (0.00s)
RESULTS - python.PythonTest.test_python3: SKIPPED (0.00s)
RESULTS - rpm.RpmBasicTest.test_rpm_help: SKIPPED (0.00s)
RESULTS - rpm.RpmBasicTest.test_rpm_query: SKIPPED (0.00s)
RESULTS - rpm.RpmBasicTest.test_rpm_query_nonroot: SKIPPED (0.00s)
RESULTS - rpm.RpmInstallRemoveTest.test_check_rpm_install_removal_log_file_size: SKIPPED (0.00s)
RESULTS - rpm.RpmInstallRemoveTest.test_rpm_install: SKIPPED (0.00s)
RESULTS - rpm.RpmInstallRemoveTest.test_rpm_remove: SKIPPED (0.00s)
RESULTS - rust.RustCompileTest.test_cargo_compile: SKIPPED (0.00s)
RESULTS - rust.RustCompileTest.test_rust_compile: SKIPPED (0.00s)
RESULTS - scp.ScpTest.test_scp_file: SKIPPED (0.00s)
RESULTS - stap.StapTest.test_stap: SKIPPED (0.00s)
RESULTS - systemd.SystemdServiceTests.test_systemd_disable_enable: SKIPPED (0.00s)
RESULTS - systemd.SystemdServiceTests.test_systemd_disable_enable_ro: SKIPPED (0.00s)
RESULTS - systemd.SystemdServiceTests.test_systemd_status: SKIPPED (0.00s)
RESULTS - systemd.SystemdServiceTests.test_systemd_stop_start: SKIPPED (0.00s)
RESULTS - weston.WestonTest.test_wayland_info: SKIPPED (0.00s)
RESULTS - weston.WestonTest.test_weston_can_initialize_new_wayland_compositor: SKIPPED (0.00s)
RESULTS - weston.WestonTest.test_weston_running: SKIPPED (0.00s)
RESULTS - weston.WestonTest.test_weston_supports_xwayland: SKIPPED (0.00s)
RESULTS - xorg.XorgTest.test_xorg_running: SKIPPED (0.00s)
SUMMARY:
core-image-minimal () - Ran 70 tests in 22.173s
core-image-minimal - OK - All required tests passed (successes=14, skipped=56, failures=0, errors=0)
NOTE: recipe core-image-minimal-1.0-r0: task do_testimage: Succeeded
NOTE: Tasks Summary: Attempted 1305 tasks of which 1304 didn't need to be rerun and all succeeded.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
23 months agodefaultsetup: Inherit create-spdx by default
Richard Purdie [Sun, 10 Sep 2023 08:24:08 +0000 (09:24 +0100)] 
defaultsetup: Inherit create-spdx by default

This has been tested in poky by default for a while and ew've hopefully resolved
most of the gremlins. THis is the direction we're recommending for license/manifest
requirements so set it by default for OE.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agovim: Upgrade 9.0.1664 -> 9.0.1894
Richard Purdie [Mon, 11 Sep 2023 20:47:41 +0000 (21:47 +0100)] 
vim: Upgrade 9.0.1664 -> 9.0.1894

This includes multiple CVE fixes.

The license change is due to changes in maintainership, the license
itself is unchanged.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolibxcrypt-compat: Remove libcrypt.so to fix conflict with libcrypt
Robert Yang [Mon, 11 Sep 2023 08:37:45 +0000 (01:37 -0700)] 
libxcrypt-compat: Remove libcrypt.so to fix conflict with libcrypt

Fixed:
IMAGE_INSTALL:append = " libxcrypt-compat"

$ bitbake <image> -cpopulate_sdk
file /usr/lib/libcrypt.so from install of libxcrypt-compat-dev-4.4.33-r0.0.aarch64 conflicts with file from package libcrypt-dev-4.4.33-r0.2.aarch64

Remove libcrypt.so like other files to fix the error.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agomachine/qemu*: add modesetting drivers to XSERVER
Ross Burton [Mon, 11 Sep 2023 10:26:14 +0000 (11:26 +0100)] 
machine/qemu*: add modesetting drivers to XSERVER

The modesetting driver works well in qemu, so install it by default. The
plain framebuffer has been buggy in recent 6.4 kernels, a sign that it's
not getting much testing. The Xorg modesetting driver that can use more
powerful virtualised hardware is much better.

We override the default XSERVER because we want to pull in the GLX
extension to exercise that.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopackagegroup-core-x11-xserver: add modesetting driver to default XSERVER
Ross Burton [Mon, 11 Sep 2023 10:26:12 +0000 (11:26 +0100)] 
packagegroup-core-x11-xserver: add modesetting driver to default XSERVER

On modern systems, both real and virtual hardware, the modesetting
driver is preferred over the dumb framebuffer driver as it is more
functional and is essentially the default Xorg video driver.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agocargo-c-native: fix version check
Alexander Kanavin [Mon, 11 Sep 2023 15:34:18 +0000 (17:34 +0200)] 
cargo-c-native: fix version check

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoopenssh: improve banner ptest failure logging
Mikko Rapeli [Mon, 11 Sep 2023 13:39:50 +0000 (16:39 +0300)] 
openssh: improve banner ptest failure logging

Log the input and output banner files. Output seems to
contain more lines than input which fails the test but
it's not clear what is in there from the ssh command
stderr. So print them out to dig deeper into the root
cause.

Upstream rejected previous logging patch so they will likely
do the same for this:
https://github.com/openssh/openssh-portable/pull/437

Reference: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoopenssh: update Upstream-Status to Denied in test logging patch
Mikko Rapeli [Mon, 11 Sep 2023 13:39:49 +0000 (16:39 +0300)] 
openssh: update Upstream-Status to Denied in test logging patch

Upstream rejected the change:
https://github.com/openssh/openssh-portable/pull/437

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agobitbake.conf: Add IMAGE_BASENAME to SDK_NAME
Richard Purdie [Mon, 11 Sep 2023 15:48:21 +0000 (16:48 +0100)] 
bitbake.conf: Add IMAGE_BASENAME to SDK_NAME

When SPDX manifests are enabled for OE-Core, it hightlights that the SDK_NAME
default isn't working well. Add IMAGE_BASENAME to it to help avoid conflicts
between outut files.

I suspect the defaults aren't working well and most distros are already
overriding this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolibc-test: Run as non-root user
Khem Raj [Sat, 9 Sep 2023 01:56:02 +0000 (18:56 -0700)] 
libc-test: Run as non-root user

Some of tests impose rlimit on it before running which wont be imposed
when running as root user.

Fixes
src/regression/pthread_atfork-errno-clobber.c:23: (pid = fork()) == -1 failed: fork succeeded despite rlimit
src/regression/pthread_atfork-errno-clobber.c:23: (pid = fork()) == -1 failed: fork succeeded despite rlimit
FAIL src/regression/pthread_atfork-errno-clobber-static.exe [status 1]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agobase: add newline before LICENSE_FLAGS_DETAILS
Michael Opdenacker [Fri, 8 Sep 2023 11:55:27 +0000 (13:55 +0200)] 
base: add newline before LICENSE_FLAGS_DETAILS

To improve readability and avoid putting one
inside LICENSE_FLAGS_DETAILS.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agoperl: Add packageconfig for setlocale functionality differences
Khem Raj [Fri, 8 Sep 2023 05:32:41 +0000 (22:32 -0700)] 
perl: Add packageconfig for setlocale functionality differences

setlocale behavior with 'missing' locales is different when using musl
[1] which confuses perl locale tests and perl thinks it has locale on
system while there are none. Therefore pass correct property on musl
regarding setlocale behaviour

[1] https://musl.openwall.narkive.com/kO1vpTWJ/setlocale-behavior-with-missing-locales

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agobuild-appliance-image: Update to master head revision
Richard Purdie [Sun, 10 Sep 2023 08:03:42 +0000 (09:03 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolayer.conf: Update to nanbield release series
Richard Purdie [Sun, 10 Sep 2023 07:58:36 +0000 (08:58 +0100)] 
layer.conf: Update to nanbield release series

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agobuild-appliance-image: Update to master head revision
Richard Purdie [Sun, 10 Sep 2023 07:55:47 +0000 (08:55 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agocmake.bbclass: refactor cmake args
Adrian Freihofer [Tue, 5 Sep 2023 16:51:11 +0000 (18:51 +0200)] 
cmake.bbclass: refactor cmake args

Make the details of the cmake configure arguments available to
d.getVar(). This allows to share them with devtool via tinfoil.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agocmake.bbclass: cleanup spaces and tabs
Adrian Freihofer [Tue, 5 Sep 2023 16:51:12 +0000 (18:51 +0200)] 
cmake.bbclass: cleanup spaces and tabs

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoweston: Add sysconfdir to FILES:${PN}
Luan Rafael Carneiro [Sat, 9 Sep 2023 12:55:01 +0000 (09:55 -0300)] 
weston: Add sysconfdir to FILES:${PN}

When enabling the vnc feature as backend, the weston-remote-access is
installed from meson inside the /etc/pam.d directory.

Signed-off-by: Luan Rafael Carneiro <luan.rafael@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoweston: Upgrade version 12.0.1 -> 12.0.2
Luan Rafael Carneiro [Sat, 9 Sep 2023 12:55:00 +0000 (09:55 -0300)] 
weston: Upgrade version 12.0.1 -> 12.0.2

This is a bug fix release for 12.0 version. Full commit history bellow:

Derek Foreman (1):
      data-device: Don't make a weston_coord with no valid space

Leandro Ribeiro (3):
      drm: drop disable_planes being false as a condition to support writeback
      drm: do not pull writeback task if KMS atomic API is not supported
      tests: assert that capture info was received before trying screenshot

Liu, Kai1 (1):
      xwm: WM_TRANSIENT_FOR should not point to override-redirect window

Marius Vlad (3):
      backend-drm: Make DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP inert
      backend-drm/meson.build: Require at least mesa 21.1.1
      build: bump to version 12.0.2 for the point release

Michael Olbrich (1):
      backend-wayland: fix --fullscreen

Pekka Paalanen (1):
      man: make --wait-for-debugger findable

Philipp Zabel (2):
      backend-rdp: extract weston_output_set_single_mode()
      backend-vnc: use weston_output_set_single_mode()

Signed-off-by: Luan Rafael Carneiro <luan.rafael@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoweston-init: fix init code indentation
Otavio Salvador [Sat, 9 Sep 2023 12:54:59 +0000 (09:54 -0300)] 
weston-init: fix init code indentation

Tested-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoweston-init: remove misleading comment about udev rule
Otavio Salvador [Sat, 9 Sep 2023 12:54:58 +0000 (09:54 -0300)] 
weston-init: remove misleading comment about udev rule

The udev rule has been removed but the comment has kept, by
mistake. Remove it.

Fixes: dd83fb40f7 ("weston-init: Stop running weston as root")
Tested-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoclasses: Drop ';' delimiter from ROOTFS/IMAGE*COMMAND variables
Richard Purdie [Thu, 7 Sep 2023 11:57:36 +0000 (12:57 +0100)] 
classes: Drop ';' delimiter from ROOTFS/IMAGE*COMMAND variables

Originally these were shell functions but they have long since been processed by
bb.build.exec_func(). Since we no longer need shell syntax, we can drop the ';'
delimiters and just use a space separated string.

This cleans up the variable and quietly removes any stray ';' that do happen to
still make it in.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoapr: Fix ptests on musl
Khem Raj [Fri, 8 Sep 2023 05:48:33 +0000 (22:48 -0700)] 
apr: Fix ptests on musl

musl does not implement dlclose [1] the way apr tests it will always
fail, even though it is per posix. Backport a relevant fix

[1] https://wiki.musl-libc.org/functional-differences-from-glibc.html#Unloading-libraries

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopybootchartgui: also match do_compile and do_configure subtasks
Jose Quaresma [Fri, 8 Sep 2023 13:37:56 +0000 (13:37 +0000)] 
pybootchartgui: also match do_compile and do_configure subtasks

This will match other deviation subtask of the same main task,
a couple of them can be found on oe-core layer:

 do_compile_kernelmodules
 do_compile_ptest

 cmake_do_configure
 setuptools3_do_configure
 cargo_common_do_configure
 python_pyo3_do_configure
 python_setuptools3_rust_do_configure

This task will be also painted with the same color of the main task
but using alpha blending.

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolibc-test: Depend on musl-staticdev
Khem Raj [Fri, 8 Sep 2023 16:01:22 +0000 (09:01 -0700)] 
libc-test: Depend on musl-staticdev

It builds statically linked tests during ptest run and therefore needs
libc.a

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agodropbear: fix CVE-2023-36328
Yogita Urade [Fri, 8 Sep 2023 14:01:15 +0000 (14:01 +0000)] 
dropbear: fix CVE-2023-36328

Integer Overflow vulnerability in mp_grow in libtom libtommath before
commit beba892bc0d4e4ded4d667ab1d2a94f4d75109a9, allows attackers to
execute arbitrary code and cause a denial of service (DoS).

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-36328
https://github.com/libtom/libtommath/pull/546

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agogcc: Fresh 0003-64-bit-multilib-hack.patch to add loongarch64 support
Zang Ruochen [Wed, 6 Sep 2023 01:28:31 +0000 (09:28 +0800)] 
gcc: Fresh 0003-64-bit-multilib-hack.patch to add loongarch64 support

Signed-off-by: Zang Ruochen <zangruochen@loongson.cn>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agobuild-sysroots: target or native sysroot population need to be selected explicitly
Alexander Kanavin [Thu, 7 Sep 2023 10:51:01 +0000 (12:51 +0200)] 
build-sysroots: target or native sysroot population need to be selected explicitly

Running them in parallel is prone to races as postinsts from target sysroots
rely on executables from native sysroots which may or may not be fully prepared
yet. This was observed for example here:

https://autobuilder.yoctoproject.org/typhoon/#/builders/146/builds/468/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/147/builds/467/steps/12/logs/stdio

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agorunqemu: check permissions of available render nodes as well as their presence
Alexander Kanavin [Thu, 7 Sep 2023 10:50:33 +0000 (12:50 +0200)] 
runqemu: check permissions of available render nodes as well as their presence

qemu itself is not helpful when render nodes exist, but can't be opened:

qemu-system-x86_64: egl: render node init failed

To fix this, users likely need to

 * modprobe vgem (presence when physical graphic card is absent or has a driver without
support for render nodes, such as many older cards found in server machines)

 * add their user to "render" group to write to /dev/dri/renderD* (permissions)

With this change runqemu should print hints for the above as appropriate from probing the nodes.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agomesa: add intel raytracing support to opencl build
Markus Volk [Thu, 7 Sep 2023 08:33:20 +0000 (10:33 +0200)] 
mesa: add intel raytracing support to opencl build

Recently mesa added a patch that allows to cross-compile Intel Vulkan
ray tracing support.

- Backport this patch
- Build and install intel_clc for mesa-native
- Add a dependency on mesa-native to provide intel_clc for target build
- Add a dependency on python3-ply-native as needed to build intel-clc
- Automatically build Intel Vulkan ray tracing support if the opencl
  packageconfig was added

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agolibrepo: upgrade 1.15.2 -> 1.16.0
Wang Mingyu [Thu, 7 Sep 2023 02:24:04 +0000 (10:24 +0800)] 
librepo: upgrade 1.15.2 -> 1.16.0

Changelog:
 Implement OpenPGP using librpm API

0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch
refreshed for 1.16.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agovim: upgrade 9.0.1592 -> 9.0.1664
Archana Polampalli [Fri, 18 Aug 2023 07:49:37 +0000 (07:49 +0000)] 
vim: upgrade 9.0.1592 -> 9.0.1664

Fixes:
https://nvd.nist.gov/vuln/detail/CVE-2023-3896
8154e642a (tag: v9.0.1664) patch 9.0.1664: divide by zero when scrolling with 'smoothscroll' set

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoavahi: handle invalid service types gracefully
Ross Burton [Thu, 7 Sep 2023 10:40:18 +0000 (11:40 +0100)] 
avahi: handle invalid service types gracefully

Services which broadcast an invalid service type will cause the browse
to fail. Instead of failing, replace the service type and continue.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-build: upgrade to 1.0.3
Ross Burton [Thu, 7 Sep 2023 09:58:19 +0000 (10:58 +0100)] 
python3-build: upgrade to 1.0.3

- Avoid CPython 3.8.17, 3.9.17, 3.10.12, and 3.11.4 tarfile symlink bug
  triggered by adding data_filter

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agonativesdk-intercept: Fix bad intercept chgrp/chown logic
Eilís 'pidge' Ní Fhlannagáin [Thu, 7 Sep 2023 11:38:03 +0000 (11:38 +0000)] 
nativesdk-intercept: Fix bad intercept chgrp/chown logic

Running either of these ends up corrupting the os.execv args.

If we run:
./scripts/nativesdk-intercept/chown -R foo:foo bar

The loop here ends up missing the conversion of foo:foo to root:root because
it sees sys.argv[0] and assumes that it's the user:group argument and that we
should convert that. We end up a os.execv(path, args) that have the following
args:

['root:root', '-R', 'foo:foo', 'bar']

As os.execv ignores args[0], we can just populate it with sys.argv[0] and then
loop through sys.argv[1:]. As both chgrp and chown would have either flags and
USER[:GROUP] next, this fixes the issue.

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoRevert "oeqa selftest context.py: fix git commands and set branch name"
Richard Purdie [Thu, 7 Sep 2023 22:25:50 +0000 (23:25 +0100)] 
Revert "oeqa selftest context.py: fix git commands and set branch name"

We have autobuilder workers which don't have the -b option unfortunately.

This reverts commit 5ec557467dda29309e25102b507bb919275bedbb.

23 months agolinux: update CVE exclusions
Ross Burton [Thu, 7 Sep 2023 15:30:42 +0000 (16:30 +0100)] 
linux: update CVE exclusions

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolinux-yocto: correct the wording in CVE_STATUS
Yuta Hayama [Tue, 5 Sep 2023 07:29:08 +0000 (16:29 +0900)] 
linux-yocto: correct the wording in CVE_STATUS

We have changed generate-cve-exclusions.py, so regenerate cve-exclusion_6.x.inc.
The description has changed, but the other status is not changed.

Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agolinux/generate-cve-exclusions: fix mishandling of boundary values
Yuta Hayama [Tue, 5 Sep 2023 07:29:06 +0000 (16:29 +0900)] 
linux/generate-cve-exclusions: fix mishandling of boundary values

affected_versions in kernel_cves.json does not mean "first affected version
to last affected version" but actually "first affected version to fixed
version". Therefore, the variable names, conditional expressions, and
CVE_STATUS descriptions should be fixed.

For example, when the script was run against v6.1, if affected_versions was
"xxx to 6.1", the output was "cpe-stable-backport: Backported in 6.1", but
this should be "fixed-version: Fixed from version 6.1".

Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agokernel-devsrc: Fixed missing loongarch64 kernel source code when test_kernelmodules
Zang Ruochen [Wed, 6 Sep 2023 01:28:38 +0000 (09:28 +0800)] 
kernel-devsrc: Fixed missing loongarch64 kernel source code when test_kernelmodules

Signed-off-by: Zang Ruochen <zangruochen@loongson.cn>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolibgudev: explicitly disable tests and vapi
Ross Burton [Wed, 6 Sep 2023 18:14:15 +0000 (19:14 +0100)] 
libgudev: explicitly disable tests and vapi

Explicitly disable the tests and vapi support instead of relying on
defaults and missing dependencies.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolinux-firmware: add firmware files for NXP BT chipsets
Tom Hochstein [Tue, 5 Sep 2023 23:28:57 +0000 (18:28 -0500)] 
linux-firmware: add firmware files for NXP BT chipsets

These BT only firmware files are submitted for NXP chips.

88w8997-bt:
uartuart8997_bt_v4.bin version: 16.92.21.p81
helper_uart_3000000.bin version: 16.92.21.p81

88w8987-bt:
uartuart8987_bt.bin version: 16.92.21.p76.5

88w9098-bt:
uartuart9098_bt_v1.bin version: 17.92.1.p136.24

iw416-bt:
uartiw416_bt_v0.bin version: 16.92.21.p81

iw611-bt / iw612-bt:
uartspi_n61x_v1.bin.se version: 18.99.1.p154.40

These firmware files are downloaded over UART interface. The
helper_uart_3000000.bin needs to be downloaded before
uartuart8997_bt_v4.bin for 88w8997 chip to set download baudrate
to 3000000.

The above commit message is copied from the source commit message:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/nxp?id=1f82dd25c3ea59b6bed80ee685d860f0c5f19875

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agobusybox: remove coreutils dependency in busybox-ptest
Ross Burton [Tue, 5 Sep 2023 16:40:42 +0000 (17:40 +0100)] 
busybox: remove coreutils dependency in busybox-ptest

A dependency on coreutils was added to busybox-ptest in oe-core 658c5ed
to fix a test failure.

The failure is because one of the start-stop-daemon tests is known to
fail if /bin/false is busybox. Instead of failing, we can check if
/bin/false is a symlink to busybox and skip the test if so.

[ YOCTO #15068 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agocve-exclusion: review the last of the historical kernel CVEs
Ross Burton [Tue, 5 Sep 2023 10:54:20 +0000 (11:54 +0100)] 
cve-exclusion: review the last of the historical kernel CVEs

Review the last of the historical kernel CVEs.  Issues which are
specific to other platforms or distributions are ignored in the kernel
recipe itself, whereas general security concerns like "ICMP leaks
information" and "USB has flaws" are ignored with more details in the
extra-exclusions file as before.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agooeqa selftest context.py: fix git commands and set branch name
Mikko Rapeli [Wed, 23 Aug 2023 06:10:23 +0000 (09:10 +0300)] 
oeqa selftest context.py: fix git commands and set branch name

Check return values of each git command and set initial branch name
to avoid this warning on every test run:

NOTE: Starting bitbake server...
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
23 months agooeqa selftest context.py: remove warning from missing meta-selftest
Mikko Rapeli [Wed, 23 Aug 2023 06:10:22 +0000 (09:10 +0300)] 
oeqa selftest context.py: remove warning from missing meta-selftest

It's not a warning but a handled case and layer gets added
automatically. Very few build configs have this layer enabled
by default.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
23 months agooeqa selftest context.py: whitespace fix
Mikko Rapeli [Wed, 23 Aug 2023 06:10:21 +0000 (09:10 +0300)] 
oeqa selftest context.py: whitespace fix

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
23 months agolibxkbcommon: add CVE_PRODUCT
Emil Kronborg Andersen [Thu, 24 Aug 2023 13:41:00 +0000 (15:41 +0200)] 
libxkbcommon: add CVE_PRODUCT

Signed-off-by: Emil Kronborg Andersen <emkan@prevas.dk>
23 months agodbus: add additional entries to CVE_PRODUCT
Emil Kronborg Andersen [Thu, 24 Aug 2023 13:40:59 +0000 (15:40 +0200)] 
dbus: add additional entries to CVE_PRODUCT

Signed-off-by: Emil Kronborg Andersen <emkan@prevas.dk>
23 months agowebkitgtk: explicitly disable JIT for armv7* with softfp
Martin Jansa [Tue, 5 Sep 2023 18:57:31 +0000 (20:57 +0200)] 
webkitgtk: explicitly disable JIT for armv7* with softfp

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agowayland-utils: add libdrm PACKAGECONFIG
Ross Burton [Wed, 6 Sep 2023 18:14:20 +0000 (19:14 +0100)] 
wayland-utils: add libdrm PACKAGECONFIG

wayland-utils has optional libdrm support, so add a PACKAGECONFIG and
enable it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolibsoup: update PACKAGECONFIG
Ross Burton [Wed, 6 Sep 2023 18:14:19 +0000 (19:14 +0100)] 
libsoup: update PACKAGECONFIG

Add explicit PACKAGECONFIGs for brotli,ntlm, and sysprof.

libsoup needs to be told where ntlm_auth will be on the target, so write
a cross file to do so.

Also explicitly disable more of the test suites as we don't build them
yet.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolibsoup-2.4: update PACKAGECONFIG
Ross Burton [Wed, 6 Sep 2023 18:14:18 +0000 (19:14 +0100)] 
libsoup-2.4: update PACKAGECONFIG

Add explicit PACKAGECONFIGs for brotli,ntlm, and sysprof.

libsoup needs to be told where ntlm_auth will be on the target, so write
a cross file to do so.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopango: explictly enable/disable libthai
Ross Burton [Wed, 6 Sep 2023 18:14:17 +0000 (19:14 +0100)] 
pango: explictly enable/disable libthai

Pango has had an explicit option since 1.46.2

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoharfbuzz: update PACKAGECONFIG
Ross Burton [Wed, 6 Sep 2023 18:14:16 +0000 (19:14 +0100)] 
harfbuzz: update PACKAGECONFIG

Add a chafa PACKAGECONFIG so that we explicitly disable it, and update
the graphite PACKAGECONFIG to use the graphite2 option as the old name is
deprecated.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoglib-2.0: libelf has a configure option now, specify it
Ross Burton [Wed, 6 Sep 2023 18:14:14 +0000 (19:14 +0100)] 
glib-2.0: libelf has a configure option now, specify it

GLib has had an option to control libelf since 2.67.0, so use it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agognutls: update 3.8.0 -> 3.8.1
Alexander Kanavin [Wed, 6 Sep 2023 16:56:29 +0000 (18:56 +0200)] 
gnutls: update 3.8.0 -> 3.8.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agognupg: upgrade 2.4.2 -> 2.4.3
Alexander Kanavin [Wed, 6 Sep 2023 16:56:28 +0000 (18:56 +0200)] 
gnupg: upgrade 2.4.2 -> 2.4.3

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolibgudev: upgrade 237 -> 238
Alexander Kanavin [Wed, 6 Sep 2023 16:56:27 +0000 (18:56 +0200)] 
libgudev: upgrade 237 -> 238

Add patches to eudev to ensure compatibility with this version.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agogpgme: upgrade 1.20.0 -> 1.22.0
Alexander Kanavin [Wed, 6 Sep 2023 16:56:26 +0000 (18:56 +0200)] 
gpgme: upgrade 1.20.0 -> 1.22.0

Drop patch and --disable-lang-python-test option (upstream fixed the issue).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolibpthread-stubs: update 0.4 -> 0.5
Alexander Kanavin [Wed, 6 Sep 2023 16:56:25 +0000 (18:56 +0200)] 
libpthread-stubs: update 0.4 -> 0.5

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolibglu: update 9.0.2 -> 9.0.3
Alexander Kanavin [Wed, 6 Sep 2023 16:56:24 +0000 (18:56 +0200)] 
libglu: update 9.0.2 -> 9.0.3

Drop backport.

Set gl_provider explicitly, as upstream changed the default to glvnd.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agogroff: update 1.22.4 -> 1.23.0
Alexander Kanavin [Wed, 6 Sep 2023 16:56:23 +0000 (18:56 +0200)] 
groff: update 1.22.4 -> 1.23.0

Drop backports.

Rebase
0001-Make-manpages-mulitlib-identical.patch
groff-not-search-fonts-on-build-host.patch

--without-doc has been removed upstream; replace
that with a dependency on groff-native and
substitution of groff executable from that.

Drop serial make; this was introduced in 2010 without
explanation and likely been solved long time ago.

Set urw fonts directory to something bogus to avoid host contamination.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoperl: update 5.36.1 -> 5.38.0
Alexander Kanavin [Wed, 6 Sep 2023 16:56:22 +0000 (18:56 +0200)] 
perl: update 5.36.1 -> 5.38.0

Rebase perl-configpm-switch.patch.

Add a patch to perl-cross to unbreak perl's line numbers printing.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoperlcross: update 1.4.1 -> 1.5
Alexander Kanavin [Wed, 6 Sep 2023 16:56:21 +0000 (18:56 +0200)] 
perlcross: update 1.4.1 -> 1.5

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolibcgroup: update 3.0.0 -> 3.1.0
Alexander Kanavin [Wed, 6 Sep 2023 16:56:20 +0000 (18:56 +0200)] 
libcgroup: update 3.0.0 -> 3.1.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoconnman: update 1.41 -> 1.42
Alexander Kanavin [Wed, 6 Sep 2023 16:56:19 +0000 (18:56 +0200)] 
connman: update 1.41 -> 1.42

Drop backports. 0001-vpn-Adding-support-for-latest-pppd-2.5.0-release.patch
is partially dropped, as upstream hasn't included the newly added header
into the tarball (issue addressed after the release).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agogettext: upgrade 0.21.1 -> 0.22
Alexander Kanavin [Wed, 6 Sep 2023 16:56:18 +0000 (18:56 +0200)] 
gettext: upgrade 0.21.1 -> 0.22

Drop autoconf-2.73.patch as upstream did update the gnulib.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoopenssl: build and install manpages only if they are enabled
Alexander Kanavin [Wed, 6 Sep 2023 16:56:17 +0000 (18:56 +0200)] 
openssl: build and install manpages only if they are enabled

This significantly speeds up the build by default.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agomdadm: Disable further tests due to intermittent failures
Richard Purdie [Wed, 6 Sep 2023 21:15:19 +0000 (22:15 +0100)] 
mdadm: Disable further tests due to intermittent failures

I took the mdadm ptest enabling as I was told the tests were fine now.
They're not. Disable more of them as having intermittent issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-sphinx: upgrade 7.1.1 -> 7.2.5
Trevor Gamblin [Tue, 5 Sep 2023 19:34:08 +0000 (15:34 -0400)] 
python3-sphinx: upgrade 7.1.1 -> 7.2.5

Changelog: https://github.com/sphinx-doc/sphinx/blob/master/CHANGES

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-pytest: upgrade 7.4.0 -> 7.4.1
Trevor Gamblin [Tue, 5 Sep 2023 19:34:07 +0000 (15:34 -0400)] 
python3-pytest: upgrade 7.4.0 -> 7.4.1

Changelog: https://docs.pytest.org/en/7.4.x/changelog.html

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-hypothesis: upgrade 6.82.7 -> 6.84.0
Trevor Gamblin [Tue, 5 Sep 2023 17:30:49 +0000 (13:30 -0400)] 
python3-hypothesis: upgrade 6.82.7 -> 6.84.0

Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-git: upgrade 3.1.32 -> 3.1.34
Trevor Gamblin [Tue, 5 Sep 2023 17:30:48 +0000 (13:30 -0400)] 
python3-git: upgrade 3.1.32 -> 3.1.34

Changelog: https://github.com/gitpython-developers/GitPython/blob/main/doc/source/changes.rst

3.1.34 fixes a resource leak by properly closing a lockfile after
opening.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-poetry: upgrade 1.6.1 -> 1.7.0
Trevor Gamblin [Tue, 5 Sep 2023 17:30:47 +0000 (13:30 -0400)] 
python3-poetry: upgrade 1.6.1 -> 1.7.0

Changelog: https://github.com/python-poetry/poetry-core/blob/main/CHANGELOG.md

typing_extensions was removed in commit a06650d when support for Python
3.7 was dropped, so that specific md5sum isn't required anymore.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-build: upgrade to 1.0.0
Ross Burton [Tue, 5 Sep 2023 13:18:01 +0000 (14:18 +0100)] 
python3-build: upgrade to 1.0.0

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agorust-target-config: Map rust target to OE target
Khem Raj [Wed, 6 Sep 2023 00:08:36 +0000 (17:08 -0700)] 
rust-target-config: Map rust target to OE target

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoqemuloongarch.inc:Change to use virtio-serial-pci
Zang Ruochen [Wed, 6 Sep 2023 01:28:25 +0000 (09:28 +0800)] 
qemuloongarch.inc:Change to use virtio-serial-pci

If virtio-serial-device is used, the following error occurs on loongarch64:
qemu-system-loongarch64: -device virtio-serial-device: No "virtio-bus" bus found for device "virtio-serial-device"

Signed-off-by: Zang Ruochen <zangruochen@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agogoarch.bbclass: Add loongarch64 to go_map_arch
Zang Ruochen [Wed, 6 Sep 2023 01:28:17 +0000 (09:28 +0800)] 
goarch.bbclass: Add loongarch64 to go_map_arch

Signed-off-by: Zang Ruochen <zangruochen@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agogcc-sanitizers: Add loongarch as a compatible architecture.
Zang Ruochen [Wed, 6 Sep 2023 01:27:10 +0000 (09:27 +0800)] 
gcc-sanitizers: Add loongarch as a compatible architecture.

https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=600413c4f3d70392285192fb99634bcbeb97f83f

Signed-off-by: Zang Ruochen <zangruochen@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agotcf-agent: Disable non-building features on loongarch64
Zang Ruochen [Wed, 6 Sep 2023 01:26:52 +0000 (09:26 +0800)] 
tcf-agent: Disable non-building features on loongarch64

Signed-off-by: Zang Ruochen <zangruochen@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agomeson: don't fail if no .pyc exists
Yang Xu [Wed, 6 Sep 2023 11:03:34 +0000 (11:03 +0000)] 
meson: don't fail if no .pyc exists

If PYTHONDONTWRITEBYTECODE set to 1, do_install:append will fail because
no .pyc is removed.

Add -f flag to prevent command fail.

Signed-off-by: Yang Xu <yang.xu@mediatek.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoopenssh: capture ptest regression test failure logs
Mikko Rapeli [Wed, 6 Sep 2023 14:29:09 +0000 (17:29 +0300)] 
openssh: capture ptest regression test failure logs

When tests fail, capture the sshd and ssh client logs from
the failing test run. These are needed to investigate
the root cause.

Reference: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoqemu-system-native: enable PNG support
Ross Burton [Wed, 6 Sep 2023 15:16:47 +0000 (16:16 +0100)] 
qemu-system-native: enable PNG support

It might be useful to grab screenshots from qemu-system-native (for
example, for QA purposes).

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoscripts/oe-find-native-sysroot: use bitbake-getvar
Ross Burton [Wed, 6 Sep 2023 15:16:48 +0000 (16:16 +0100)] 
scripts/oe-find-native-sysroot: use bitbake-getvar

Instead of bitbake and grep, just use bitbake-getvar.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>