]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
13 months agooeqa/runtime/parselogs: Add some kernel log trigger keywords
Richard Purdie [Tue, 25 Jun 2024 12:26:33 +0000 (13:26 +0100)] 
oeqa/runtime/parselogs: Add some kernel log trigger keywords

During testing we're finding some kernel oops messages and other key kernel
errors such as irq issues are not triggering our log parsing.

Add those keywords to the list of things to scan for, making such
failures much more visible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopackage.py: Add Requires.private field in process_pkgconfig
Sreejith Ravi [Wed, 26 Jun 2024 14:05:00 +0000 (14:05 +0000)] 
package.py: Add Requires.private field in process_pkgconfig

Currently, the process_pkgconfig() only handles the "Requires" key
field from the .pc file and ignores the "Requires.private" field while
generating the dev dependency chain. This results in a broken dependency
list and requires the installation of recommended packages to resolve
the build dependencies when using the dev IPKs. This increases the
hard disk space usage and download time and installs many unnecessary
packages as part of the recommendations.

This patch ensures that the "Requires.private" field is also considered
when creating the dependency list for the dev IPKs. With this, the dev
IPK will have the proper dependencies listed, eliminating the need to
install recommended packages to resolve the build time dependencies.

Example: usr/lib/pkgconfig/libical.pc
----------
Libs: -L${libdir} -lical -licalss -licalvcal
Libs.private: -lpthread
Requires.private: icu-i18n
----------
Depends field generated for libical-dev
Depends: glib-2.0-dev, libical (= 3.0.7-r0)
------------

When trying to resolve the build time dependency with libical
package using “-dev” ipk generated, it will throw the below error.
-----------
Package icu-i18n was not found in the pkg-config search path.
Perhaps you should add the directory containing `icu-i18n.pc'
to the PKG_CONFIG_PATH environment variable
Package 'icu-i18n', required by 'libical', not found
-----------

This patch will fix the broken dependency list.

-------
libical-dev depends field generated with this patch
Depends: glib-2.0-dev, icu-dev, libical (= 3.0.7-r0)
-------

Other examples of packages generated with broken dev dependency.

libflac-dev : https://packages.debian.org/sid/libflac-dev
Without patch:
Depends: flac (= 1.3.3-r0), libflac, libflac++
with patch:
Depends: flac (= 1.3.3-r0), libflac, libflac++, libogg-dev

libglib2.0-dev : https://packages.debian.org/buster/libglib2.0-dev
without patch:
Depends: libffi-dev, libglib-2.0-0 (= 1:2.62.6-r0), libpcre-dev
with patch:
Depends: libffi-dev, libglib-2.0-0 (= 1:2.62.6-r0), libpcre-dev,
         util-linux-dev, zlib-dev

Signed-off-by: Sreejith Ravi <sreejith.ravi087@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoclasses/spdx-common: Move SPDX_SUPPLIER
Joshua Watt [Mon, 24 Jun 2024 19:10:59 +0000 (13:10 -0600)] 
classes/spdx-common: Move SPDX_SUPPLIER

Move the SPDX_SUPPLIER variable to create-spdx-2.2 since it's format
only has meaning in SPDX 2.2 (SPDX 3 uses SPDX_PACKAGE_SUPPLIER with a
different format)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agobinutils-cross-testsuite: Rename to binutils-testsuite
Joshua Watt [Mon, 24 Jun 2024 19:10:55 +0000 (13:10 -0600)] 
binutils-cross-testsuite: Rename to binutils-testsuite

This recipe needs to be renamed because the "-cross-" substring in the
name triggers the cross architecture detection in sstate, but this
recipe is not actually a cross recipe.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agocargo: remove True option to getVar calls
Peter Marko [Tue, 25 Jun 2024 19:36:45 +0000 (21:36 +0200)] 
cargo: remove True option to getVar calls

Layer cleanup similar to
https://git.openembedded.org/openembedded-core/commit/?id=26c74fd10614582e177437608908eb43688ab510

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agomaintainers: Drop go-native as recipe removed
Richard Purdie [Wed, 26 Jun 2024 14:05:00 +0000 (15:05 +0100)] 
maintainers: Drop go-native as recipe removed

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agort-tests: upgrade 2.6 -> 2.7
Wang Mingyu [Mon, 24 Jun 2024 08:27:20 +0000 (16:27 +0800)] 
rt-tests: upgrade 2.6 -> 2.7

0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch
refreshed for 2.7

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agobtrfs-tools: handle rename of inode_includes() from e2fsprogs 1.47.1
Wang Mingyu [Mon, 24 Jun 2024 08:27:19 +0000 (16:27 +0800)] 
btrfs-tools: handle rename of inode_includes() from e2fsprogs 1.47.1

To fix the do_compile error,  use the new prefixed macro and add backward compatibility
that would still use inode_includes().

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agopython3-websockets: added python3-zipp as RDEPENDS
Jan Vermaete [Sat, 22 Jun 2024 06:14:38 +0000 (08:14 +0200)] 
python3-websockets: added python3-zipp as RDEPENDS

Because the Python package 'zipfile' was missing.

root@qemux86-64:~# python3 clTraceback (most recent call last):
  File "/home/root/server.py", line 4, in <module>
    from websockets.server import serve
  File "/usr/lib/python3.12/site-packages/websockets/__init__.py", line 6, in <module>
    from .version import version as __version__  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/websockets/version.py", line 3, in <module>
    import importlib.metadata
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 8, in <module>
    import zipfile
ModuleNotFoundError: No module named 'zipfile'

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agoglibc: fix fortran header file conflict for arm
Kai Kang [Tue, 25 Jun 2024 02:02:49 +0000 (10:02 +0800)] 
glibc: fix fortran header file conflict for arm

There is a file conflict for arm when multilib enabled:

| Error: Transaction test error:
|   file /usr/include/finclude/math-vector-fortran.h conflicts between attempted installs of
    lib32-libc6-dev-2.39+git0+312e159626-r0.armv7at2hf_neon and libc6-dev-2.39+git0+312e159626-r0.cortexa72

Install math-vector-fortran.h to the gfortran default search directory
which is arch specific to avoid the conflict.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agorust-target-config: Update data layouts for 32-bit arm targets
Tronje Krabbe [Fri, 21 Jun 2024 15:57:28 +0000 (08:57 -0700)] 
rust-target-config: Update data layouts for 32-bit arm targets

update the rust data layout to sync with LLVM [1]
fixes the following build
error:

error: data-layout for target `arm-poky-linux-gnueabi`, `e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64`, differs from LLVM target's `armv7-unknown-linux-gnueabihf` default layout, `e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64`

meta-rust issue report with rust 1.76 [2]

[1] https://github.com/llvm/llvm-project/commit/308e82ecebeef1342004637db9fdf11567a299b3
[2]: https://github.com/meta-rust/meta-rust/issues/444

Signed-off-by: Tronje Krabbe <tkrabbe@jusst.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agolibgfortran.inc: fix nativesdk-libgfortran dependencies
Martin Jansa [Wed, 19 Jun 2024 14:47:55 +0000 (16:47 +0200)] 
libgfortran.inc: fix nativesdk-libgfortran dependencies

* use virtual/* variables as INHIBIT_DEFAULT_DEPS does to avoid dependency on gcc-cross-
  from nativesdk-libgfortran

* the dependency was added in:
  https://git.openembedded.org/openembedded-core/commit/?id=00fba52c8a6f6383137cf89fc7aa34cc3e2ff45f
  causing:

  build/oe-core $ bitbake -g nativesdk-libgfortran
  NOTE: Resolving any missing task queue dependencies
  ERROR: Nothing PROVIDES 'gcc-cross-x86_64' (but virtual:nativesdk:/OE/build/oe-core/openembedded-core/meta/recipes-devtools/gcc/libgfortran_14.1.bb DEPENDS on or otherwise requires it). Close matches:
  gcc-cross-aarch64
  ...

  with:
  MACHINE=qemuarm64
  FORTRAN:forcevariable = ",fortran"

* after:
  https://git.openembedded.org/openembedded-core/commit/?id=44fc7aa1468ff042739cc5a91c84ef5c2a09e0a3
  nativesdk-libgfortran is pulled as dependency of nativesdk-gcc so this affects
  more people who didn't explicitly use nativesdk-libgfortran before

* the INHIBIT_DEFAULT_DEPS and gcc-runtime was there since gcc-4.8:
  https://git.openembedded.org/openembedded-core/commit/?id=a5e7ee5770b9e0cf719c573efffd874440f74289

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoos-release: Fix VERSION_CODENAME in case it is empty
Daniel Semkowicz [Thu, 20 Jun 2024 13:03:31 +0000 (15:03 +0200)] 
os-release: Fix VERSION_CODENAME in case it is empty

If DISTRO_CODENAME was not set, VERSION_CODENAME field was populated
with unparsed string. This resulted in the following line in os-release
file:

  VERSION_CODENAME="${DISTRO_CODENAME}"

According to systemd documentation, this field is optional.
Fix the problem by setting VERSION_CODENAME conditionally, only if
DISTRO_CODENAME was set.

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agoinitramfs-framework: fix typos
Ulrich Ölmann [Fri, 21 Jun 2024 06:42:19 +0000 (08:42 +0200)] 
initramfs-framework: fix typos

Fix typos in debugging and error messages.

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agottyrun: upgrade 2.32.0 -> 2.33.1
Wang Mingyu [Fri, 21 Jun 2024 02:16:46 +0000 (10:16 +0800)] 
ttyrun: upgrade 2.32.0 -> 2.33.1

Bug Fixes:
- s390-tools: Fix formatting and typos in README.md
- s390-tools: Fix release string

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agorng-tools: upgrade 6.16 -> 6.17
Wang Mingyu [Fri, 21 Jun 2024 02:16:45 +0000 (10:16 +0800)] 
rng-tools: upgrade 6.16 -> 6.17

Changelog:
===========
- mix data fed to the kernel byte-wise from multiple sources
- added option to attempt more persistent use of slow entropy sources
- fix some missing m4 quotes
- improved debug output to show FIPS failures more clearly
- added a named pipe entropy source
- adjusted linux poolsize
- fixed some pkcs11 error messages
- fixed ignorefail and random_step options

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agopciutils: upgrade 3.12.0 -> 3.13.0
Wang Mingyu [Fri, 21 Jun 2024 02:16:44 +0000 (10:16 +0800)] 
pciutils: upgrade 3.12.0 -> 3.13.0

Changelog:
===========
* lspci decodes CXL 1.1 device link status information.
  This requires a recent kernel which exports rcd_* atributes via
  sysfs.
* Further development of the pcilmr (the link margining utility)
* Dump parsing supports 6-digit domain numbers.
* Bug fixes in PCIe link state reporting.
* Decode more fields in PCIe AER capability.
* Fixed build on Linux systems with musl libc.
* Updated pci.ids.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agolibpcre2: upgrade 10.43 -> 10.44
Wang Mingyu [Fri, 21 Jun 2024 02:16:41 +0000 (10:16 +0800)] 
libpcre2: upgrade 10.43 -> 10.44

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agolibjitterentropy: upgrade 3.4.1 -> 3.5.0
Wang Mingyu [Fri, 21 Jun 2024 02:16:40 +0000 (10:16 +0800)] 
libjitterentropy: upgrade 3.4.1 -> 3.5.0

Lisence-Update: Copyright year updated to 2024.

Changelog:
===========
* add distinction between intermittent and permanent health failure
* add compile time option to allow configuring a mask to reduce the size of
  the time stamp used for the APT

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agolibevdev: upgrade 1.13.1 -> 1.13.2
Wang Mingyu [Fri, 21 Jun 2024 02:16:39 +0000 (10:16 +0800)] 
libevdev: upgrade 1.13.1 -> 1.13.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agogstreamer: upgrade 1.24.3 -> 1.24.4
Wang Mingyu [Fri, 21 Jun 2024 02:16:36 +0000 (10:16 +0800)] 
gstreamer: upgrade 1.24.3 -> 1.24.4

Changelog:
 https://gstreamer.freedesktop.org/releases/1.24

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agofribidi: upgrade 1.0.14 -> 1.0.15
Wang Mingyu [Fri, 21 Jun 2024 02:16:33 +0000 (10:16 +0800)] 
fribidi: upgrade 1.0.14 -> 1.0.15

Changelog:
 Fixed the bad tarball from 1.0.14 with stall include files.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agoenchant2: upgrade 2.7.3 -> 2.8.1
Wang Mingyu [Fri, 21 Jun 2024 02:16:32 +0000 (10:16 +0800)] 
enchant2: upgrade 2.7.3 -> 2.8.1

Changelog:
- restores an optimization removed in 2.8.0 that reduces the
  frequency with which personal wordlists are reloaded.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agodiffoscope: upgrade 267 -> 271
Wang Mingyu [Fri, 21 Jun 2024 02:16:30 +0000 (10:16 +0800)] 
diffoscope: upgrade 267 -> 271

Changelog:
===========
* Drop Build-Depends on liblz4-tool. Thanks, Chris Peterson.
* Update tests to support zipdetails version 4.004 shipped with Perl 5.40.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agocreaterepo-c: upgrade 1.1.1 -> 1.1.2
Wang Mingyu [Fri, 21 Jun 2024 02:16:28 +0000 (10:16 +0800)] 
createrepo-c: upgrade 1.1.1 -> 1.1.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agogit: upgrade 2.45.1 -> 2.45.2
Wang Mingyu [Fri, 21 Jun 2024 02:16:34 +0000 (10:16 +0800)] 
git: upgrade 2.45.1 -> 2.45.2

Changeglog:
============
- send-email: drop FakeTerm hack
- send-email: avoid creating more than one Term::ReadLine object
- ci: drop mention of BREW_INSTALL_PACKAGES variable
- ci: avoid bare "gcc" for osx-gcc job
- ci: stop installing "gcc-13" for osx-gcc
- hook: plug a new memory leak
- init: use the correct path of the templates directory again
- Revert "core.hooksPath: add some protection while cloning"
- tests: verify that `clone -c core.hooksPath=/dev/null` works again
- clone: drop the protections where hooks aren't run
- Revert "Add a helper function to compare file contents"
- Revert "fsck: warn about symlink pointing inside a gitdir"

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agoopenssl: Remove patch already upstreamed
Clément Péron [Fri, 21 Jun 2024 10:10:34 +0000 (12:10 +0200)] 
openssl: Remove patch already upstreamed

Since the bump to OpenSSL 3.3.1, riscv32 doesn't build anymore due to
the folowing error:
crypto/riscv32cpuid.s:77: Error: symbol `riscv_vlen_asm' is already
defined

This is due to the patch beeing already applied upstream:
Commit: 8702320db98d1346c230aff1282ade3ecdca681a

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agowget: Fix for CVE-2024-38428
Vijay Anusuri [Fri, 21 Jun 2024 06:49:04 +0000 (12:19 +0530)] 
wget: Fix for CVE-2024-38428

Upstream-Status: Backport
[https://git.savannah.gnu.org/cgit/wget.git/commit/?id=ed0c7c7e0e8f7298352646b2fd6e06a11e242ace]

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agoalsa-ucm-conf: upgrade 1.2.11 -> 1.2.12
Wang Mingyu [Fri, 21 Jun 2024 02:16:27 +0000 (10:16 +0800)] 
alsa-ucm-conf: upgrade 1.2.11 -> 1.2.12

Changelog:
===========
- sof-soundwire: fix missing MultiCodec1 initialization and Empty condition
- UCM2: Intel: sof-hda-dsp: Control SOF processing from UCM
- UCM2: SOF: Add example blobs customization for AAEON
- UCM2: Add sample SOF processing configuration blobs
- codecs: qcom-lpass/tx-macro: Move TX1 MODE ctrl to
- ucm2: codecs: wcd937x: add codec sequences
- ucm2: soundwire: add rt722 SDCA device
- ucm2: Qualcomm: x1e80100: add recording via DMIC01
- ucm2: sof-soundwire: Create ALSA config file for hdmi:
- ucm2: Intel/sof-hda-dsp: Create ALSA config file for
- ucm2: common: pcm: Add hdmi.conf to handle the creation
- sof-soundwire: Add basic support for cs42l43's speaker
- qcom: sdm845: MM1: enable jack detection
- qcom: sdm845: MM1: use analog volume controls instead of
- ucm2: Qualcomm: x1e80100: correct headphones
- ucm2: Qualcomm: x1e80100: add number of channels
- Add support for Coachz with HDMI disabled
- USB-Audio: ALC4080: Add support for MSI MEG Z790 Ace
- ucm2: MediaTek: mt8195-sof: Add support for Tomato RT5682s
- sof-soundwire: rt1316/rt1318 - fix channel selection for one amp
- sof-soundwire: rt1308: Fix single amp configuration
- sof-soundwire: fix rt1318 config copy-n-paste error in rt1318spk macro
- sof-soundwire: fix rt1318 config typo in rt1318spk macro
- USB-Audio: ALC4080: add 0b05:1af1 ASUS ROG Strix Z790-A Gaming Wifi II

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agoalsa-plugins: upgrade 1.2.7.1 -> 1.2.12
Wang Mingyu [Fri, 21 Jun 2024 02:16:26 +0000 (10:16 +0800)] 
alsa-plugins: upgrade 1.2.7.1 -> 1.2.12

Changelog:
 disable -ldl check for *BSDs, find <soundcard.h> path

0001-arcam_av.c-Include-missing-string.h.patch
removed since it's included in 1.2.12

License-Update: samplerate: Make LGPL-only

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agoalsa-lib: upgrade 1.2.11 -> 1.2.12
Wang Mingyu [Fri, 21 Jun 2024 02:16:25 +0000 (10:16 +0800)] 
alsa-lib: upgrade 1.2.11 -> 1.2.12

0001-topology-correct-version-script-path.patch
removed since it's included in 1.2.12.

Changelog:
- GitHub Actions: Use actions/checkout@v4
- pcm: plug - add automatic conversion for iec958 subframe samples

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agosystemd: bpf-framework: pass 'recipe-sysroot' to BPF compiler
Johannes Schneider [Thu, 20 Jun 2024 11:51:27 +0000 (13:51 +0200)] 
systemd: bpf-framework: pass 'recipe-sysroot' to BPF compiler

Pass the "recipe-sysroot" path via the CFLAGS=--sysroot= to the
compiler used by systemd to build the BPF, so that it can find the
needed system includes.

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agosystemd: bpf-framework: 'propagate' the '--sysroot=' for crosscompilation
Johannes Schneider [Thu, 20 Jun 2024 11:51:26 +0000 (13:51 +0200)] 
systemd: bpf-framework: 'propagate' the '--sysroot=' for crosscompilation

The eBPFs are pre-compiled during the systemd-build with a different
compiler than the cross-compiler used to build systemd itself.

This is either a 'clang-native' or a gcc (bpf-unknown-none) which do
not see the BUILD_CFLAGS, that point to the correct include search
patch. To address this have systemd's meson.build "propagate" the
--system from the C_FLAGS into the BPF compiler call.

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agosystemd: add PACKAGECONFIG for bpf-framework
Johannes Schneider [Thu, 20 Jun 2024 11:51:25 +0000 (13:51 +0200)] 
systemd: add PACKAGECONFIG for bpf-framework

The bpf-framework is used to pre-compile eBPFs that required for the
systemd.resource-control features RestrictFileSystems=[1] and
RestrictNetworkInterfaces=[2] to work.

Apart from 'clang-native' to compile the eBPFs, the required kernel
switches are described in [3].

Link: https://www.freedesktop.org/software/systemd/man/latest/systemd.resource-control.html#RestrictFileSystems=
Link: https://www.freedesktop.org/software/systemd/man/latest/systemd.resource-control.html#RestrictNetworkInterfaces=
Link: https://kinvolk.io/blog/2021/04/extending-systemd-security-features-with-ebpf/
Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agoMAINTAINERS.md: fix patchtest entry
Trevor Gamblin [Thu, 20 Jun 2024 14:07:53 +0000 (10:07 -0400)] 
MAINTAINERS.md: fix patchtest entry

It still says that patchtest is unmaintained, so remove that line and
clarify the maintainer in the list.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agomaintainers.inc: add self for unassigned python recipes
Trevor Gamblin [Thu, 20 Jun 2024 14:07:52 +0000 (10:07 -0400)] 
maintainers.inc: add self for unassigned python recipes

Add myself as maintainer for the following:

- python3-setuptools
- python3-smmap
- python3-subunit
- python3-testtools

With that, every Python recipe in oe-core has a maintainer assigned.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agopython3-urllib3: upgrade 2.2.1 -> 2.2.2
Trevor Gamblin [Thu, 20 Jun 2024 14:07:51 +0000 (10:07 -0400)] 
python3-urllib3: upgrade 2.2.1 -> 2.2.2

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agopython3-testtools: upgrade 2.7.1 -> 2.7.2
Trevor Gamblin [Thu, 20 Jun 2024 14:07:50 +0000 (10:07 -0400)] 
python3-testtools: upgrade 2.7.1 -> 2.7.2

Also add python3-json and python3-compression to RDEPENDS so that the
module imports correctly.

Changelog (https://github.com/testing-cabal/testtools/blob/master/NEWS):

- Treat methodName="runTest" similar to unittest.TestCase,
  fixes compatibility with pytest 8.3. (Natanael Copa, #372)
- Format with ``ruff format``. (Jelmer Vernooij)
- Use ruff for linting. (Jelmer Vernooij)
- Fix compatibility with Python 3.12.1. (Matthew Treinish)
- Deprecate SkippedTest exception. (Stephen Finucane)
- Drop support for Python 3.7. (Jelmer Vernooij)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agopython3-psutil: upgrade 5.9.8 -> 6.0.0
Trevor Gamblin [Thu, 20 Jun 2024 14:07:49 +0000 (10:07 -0400)] 
python3-psutil: upgrade 5.9.8 -> 6.0.0

Changelog: https://github.com/giampaolo/psutil/blob/master/HISTORY.rst

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agopython3-hypothesis: upgrade 6.103.0 -> 6.103.2
Trevor Gamblin [Thu, 20 Jun 2024 14:07:48 +0000 (10:07 -0400)] 
python3-hypothesis: upgrade 6.103.0 -> 6.103.2

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

6.103.2 - 2024-06-14
- This patch improves our deduplication tracking across all strategies (pull request #4007). Hypothesis is now less likely to generate the same input twice.

6.103.1 - 2024-06-05
- Account for time spent in garbage collection during tests, to avoid flaky DeadlineExceeded errors as seen in issue #3975.
- Also fixes overcounting of stateful run times, a minor observability bug dating to version 6.98.9 (pull request #3890).

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agodhcpcd: upgrade 10.0.6 -> 10.0.8
Trevor Gamblin [Thu, 20 Jun 2024 13:33:28 +0000 (09:33 -0400)] 
dhcpcd: upgrade 10.0.6 -> 10.0.8

Changelog (https://github.com/NetworkConfiguration/dhcpcd/releases):

10.0.8:
- Fixed compile without ARP
- Fixed closefrom test for glibc
- Fixed spelling of ADVERTISEMENT

10.0.7:
- DHCP: use request_time, fallback_time and ipv4ll_time rather than reboot timeout
- DHCP6: Wait for IRT to elapse before requesting advertisments
- DHCPv6: Don't re-INFORM if the RA changes
- privsep: Reduce fd use
- dhcpcd: Add support for arp persist defence by @pradeep-brightsign in #273
- Move dhcp(v4) packet size check earlier by @pemensik in #295
- Define the Azure Endpoint and other site-specific options by @lparkes in #299
- add RFC4191 support by @goertzenator in #297
- dhcpcd: Respect IPV6_PREFERRED_ONLY flag regardless of state by @taoyl-g in #307
- Fix time_offset to be int to match RFC-2132 by @ColinMcInnes in #319
- hooks/30-hostname: Exit with 0 if setting hostname is not needed by @bdrung in #320

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agobinutils: stable 2.42 branch updates
Sundeep KOKKONDA [Thu, 20 Jun 2024 06:22:44 +0000 (23:22 -0700)] 
binutils: stable 2.42 branch updates

Below commits on binutils-2.42 stable branch are updated.

6c360d37662 PR31898 bug in processing DW_RLE_startx_endx
bfda03eed33 aarch64: Remove asserts from operand qualifier decoders

Dropped: 0016-aarch64-Remove-asserts-from-operand-qualifier-decode.patch

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agogo: drop the old 1.4 bootstrap C version
Jose Quaresma [Wed, 19 Jun 2024 15:47:43 +0000 (16:47 +0100)] 
go: drop the old 1.4 bootstrap C version

Bootstrap [1]
As mentioned in the Go 1.20 release notes, Go 1.22 now requires the final point release of Go 1.20 or later for bootstrap.
We expect that Go 1.24 will require the final point release of Go 1.22 or later for bootstrap.

The default recipe for bootstrap is the go-binary-native as can be seen in:
meta/conf/distro/include/tcmode-default.inc:68:PREFERRED_PROVIDER_go-native ?= "go-binary-native"

Currently if we change it to use the old go-native and compile the go1.4-bootstrap-20170531
it fails:

| Building Go cmd/dist using /build/workdir/tmp-glibc/work/x86_64-linux/go-native/1.22.3-r0/go1.4/go. (go1.4-bootstrap-20170531 linux/amd64)
| can't load package: package ./cmd/dist: found packages build.go (main) and notgo120.go (building_Go_requires_Go_1_20_6_or_later) in /build/workdir/tmp-glibc/work/x86_64-linux/go-native/1.22.3-r0/go/src/cmd/dist

This has been broken for some time but as we used go-binary-native by default it went unnoticed.

[1] https://go.dev/doc/go1.22#bootstrap

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agogo: upgrade 1.22.3 -> 1.22.4
Jose Quaresma [Wed, 19 Jun 2024 15:47:42 +0000 (16:47 +0100)] 
go: upgrade 1.22.3 -> 1.22.4

Include fixes for CVE-2024-24790

Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.3..go1.22.4
ace5bb40d0 (tag: go1.22.4) [release-branch.go1.22] go1.22.4
12d5810cdb [release-branch.go1.22] net/netip: check if address is v6 mapped in Is methods
745657509e [release-branch.go1.22] os: RemoveAll: fix symlink race for unix
95389d3d9d [release-branch.go1.22] runtime: x_cgo_getstackbound: initialize pthread attr
cf501ac0c5 [release-branch.go1.22] archive/zip: treat truncated EOCDR comment as an error
cb55d1a0c8 [release-branch.go1.22] cmd/link: add runtime.text.N symbols to macho symbol table in dynlink mode
3c96ae0870 [release-branch.go1.22] runtime: update large object stats before freeSpan in sweep
6b89e7dc5a [release-branch.go1.22] cmd/compile: initialize posBaseMap correctly
185457da9b [release-branch.go1.22] crypto/x509: remove TestPlatformVerifierLegacy tests
3a84293118 [release-branch.go1.22] cmd/compile: avoid past-the-end pointer when zeroing
362dcedfdb [release-branch.go1.22] cmd/go/testdata/script: add darwin skips for selected buildrepro tests
d4a81ec7ee [release-branch.go1.22] cmd/go/testdata/script: clear path in gotoolchain_issue66175
dc8976dd0b [release-branch.go1.22] cmd/compile: don't combine loads in generated equality functions
00e6815208 [release-branch.go1.22] cmd/go: download 1.X.0 instead of 1.X during toolchain upgrade.

[1] https://github.com/golang/go/compare/go1.22.3...go1.22.4

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 months agobash: fix configure checks that fail with GCC 14.1
Ross Burton [Wed, 19 Jun 2024 14:36:18 +0000 (14:36 +0000)] 
bash: fix configure checks that fail with GCC 14.1

These configure checks cause compiler errors with GCC 14.1, so they always
fail.  Backport fixes from upstream to solve this.

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>
13 months agolibxcrypt: correct the check for a working libucontext.h
Ross Burton [Wed, 19 Jun 2024 12:38:41 +0000 (12:38 +0000)] 
libxcrypt: correct the check for a working libucontext.h

The test fails with GCC 14.1 due to an incompatible pointer assignment,
take a patch submitted upstream to fix this.

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>
13 months agolibacpi: mark patches as inactive-upstream
Alexander Kanavin [Wed, 19 Jun 2024 08:59:57 +0000 (10:59 +0200)] 
libacpi: mark patches as inactive-upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agodpkg: mark patches adding custom non-debian architectures as inappropriate for upstream
Alexander Kanavin [Wed, 19 Jun 2024 08:59:56 +0000 (10:59 +0200)] 
dpkg: mark patches adding custom non-debian architectures as inappropriate for upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agosettings-daemon: submit addsoundkeys.patch upstream and update to a revision that...
Alexander Kanavin [Wed, 19 Jun 2024 08:59:55 +0000 (10:59 +0200)] 
settings-daemon: submit addsoundkeys.patch upstream and update to a revision that has it

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoautomake: mark new_rt_path_for_test-driver.patch as Inappropriate
Alexander Kanavin [Wed, 19 Jun 2024 08:59:54 +0000 (10:59 +0200)] 
automake: mark new_rt_path_for_test-driver.patch as Inappropriate

The patch is specific to how oe-core runs autotools-generated tests:
by cherry-picking needed bits from builddir and srcdir, then hacking
Makefile with sed until it runs.

As GNU is not interested in installable tests, they wouldn't be
interested in this patch either; and if they become interested,
it's probably going to be done in a whole different way.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agotcp-wrappers: mark all patches as inactive-upstream
Alexander Kanavin [Wed, 19 Jun 2024 08:59:53 +0000 (10:59 +0200)] 
tcp-wrappers: mark all patches as inactive-upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoglslang: mark 0001-generate-glslang-pkg-config.patch as Inappropriate
Alexander Kanavin [Wed, 19 Jun 2024 08:59:52 +0000 (10:59 +0200)] 
glslang: mark 0001-generate-glslang-pkg-config.patch as Inappropriate

Issue is already being independently fixed upstream.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agolibfm-extra: drop unneeded 0001-nls.m4-Take-it-from-gettext-0.15.patch
Alexander Kanavin [Wed, 19 Jun 2024 08:59:51 +0000 (10:59 +0200)] 
libfm-extra: drop unneeded 0001-nls.m4-Take-it-from-gettext-0.15.patch

nls.m4 is always provided with gettext or gettext-minimal if gettext
class is inherited (and it is).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoopenssh: drop add-test-support-for-busybox.patch
Alexander Kanavin [Wed, 19 Jun 2024 08:59:50 +0000 (10:59 +0200)] 
openssh: drop add-test-support-for-busybox.patch

The ptest package is nowadays depending on coreutils
so busybox tweaks are both incomplete and unneeded.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopsmisc: remove 0001-Use-UINTPTR_MAX-instead-of-__WORDSIZE.patch
Alexander Kanavin [Wed, 19 Jun 2024 08:59:49 +0000 (10:59 +0200)] 
psmisc: remove 0001-Use-UINTPTR_MAX-instead-of-__WORDSIZE.patch

Somewhere on the way it ceased to be needed (checked on musl).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopsmisc: drop duplicate entries
Alexander Kanavin [Wed, 19 Jun 2024 08:59:48 +0000 (10:59 +0200)] 
psmisc: drop duplicate entries

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopsmisc: merge .inc into .bb
Alexander Kanavin [Wed, 19 Jun 2024 08:59:47 +0000 (10:59 +0200)] 
psmisc: merge .inc into .bb

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoglib-networking: submit eagain.patch upstream
Alexander Kanavin [Wed, 19 Jun 2024 08:59:46 +0000 (10:59 +0200)] 
glib-networking: submit eagain.patch upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3: submit deterministic_imports.patch upstream as a ticket
Alexander Kanavin [Wed, 19 Jun 2024 08:59:45 +0000 (10:59 +0200)] 
python3: submit deterministic_imports.patch upstream as a ticket

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agolibnewt: move to meta-oe
Alexander Kanavin [Wed, 19 Jun 2024 08:59:44 +0000 (10:59 +0200)] 
libnewt: move to meta-oe

There are no consumers in oe-core (after obsolete perf dependency was dropped),
and so no reason to keep it there.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoperf: drop newt from tui build requirements
Alexander Kanavin [Wed, 19 Jun 2024 08:59:43 +0000 (10:59 +0200)] 
perf: drop newt from tui build requirements

As the comment says this was used by very old kernels
(pre 3.10), and slang has been the only option for a
long time. Also, correct the option to disable slang TUI.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoexpect: update code for Tcl channel implementation
Ross Burton [Tue, 18 Jun 2024 11:14:13 +0000 (11:14 +0000)] 
expect: update code for Tcl channel implementation

Tcl 8.4.0 changed the channel implementation, take a patch submitted
upstream to update the code for the new interface and remove the silencing
of the incompatible assignment error which was due to this issue.

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>
13 months agoexpect: fix configure with GCC 14
Ross Burton [Tue, 18 Jun 2024 11:14:12 +0000 (11:14 +0000)] 
expect: fix configure with GCC 14

The configure script has many fragments that fail to compile with GCC 14,
take a patch submitted upstream to fix these issues.

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>
13 months agolibxml2: Upgrade 2.12.7 -> 2.12.8
Siddharth Doshi [Mon, 17 Jun 2024 15:34:37 +0000 (21:04 +0530)] 
libxml2: Upgrade 2.12.7 -> 2.12.8

Changes between 2.12.7 -> 2.12.8
================================
Regression Fixed: parser: Fix performance regression when parsing namespaces

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoofono: upgrade 2.7 -> 2.8
Martin Hundeb?ll [Mon, 17 Jun 2024 13:36:40 +0000 (15:36 +0200)] 
ofono: upgrade 2.7 -> 2.8

Changelog:
 * Release 2.8
 * build: Require at least version 0.66 when building with external ELL
 * qmi: Remove unused shutdown members in qmi_device_qrtr
 * drivers: Use the new license header format
 * plugins: Use the new license header format
 * isimodem: Use the new license header format
 * rilmodem: Use the new license header format
 * mbimmodem: Use the new license header format
 * unit: Use the new license header format
 * tools: Use the new license header format
 * include: Use the new license header format
 * dundee: Use the new license header format
 * core: Use the new license header format
 * qmimodem: Use the new license header format
 * atmodem: Use the new license header format
 * build: Add notifylist.[ch] from ell
 * udevng: Fix detection of USB attached tty devices
 * udevng: Don't crash for non-QMI devices
 * qmimodem: Remove the create exclusive service API
 * voicecall: Fix use after free
 * atmodem: gprs-context: use default PPP ACCM for Quectel serial modems
 * atmodem: sim: Fix CRSM result handling
 * qmi: gprs-context: support bind_mux for pcie devices
 * udevng: Add mhi subsystem detection
 * udevng: add and use get_ifname() for netdev nodes
 * gobi: ensure required properties are provided
 * gobi: Rename KernelDriver to NetworkInterfaceDriver
 * gobi: add / use DeviceProtocol property
 * qmi: Use l_basename instead of basename
 * log: Use l_basename instead of basename
 * build: link dundee with ell
 * log: Handle dladdr failure

License-Update: license header replaced with spdx identifier
Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agodevicetree.bbclass: switch away from S = WORKDIR
Andrey Zhizhikin [Fri, 14 Jun 2024 06:46:47 +0000 (08:46 +0200)] 
devicetree.bbclass: switch away from S = WORKDIR

Since the change done in commit 32cba1cc916a ("insane: Error for S ==
WORKDIR"), usage of WORKDIR is not allowed anymore.

Switch S from WORKDIR to UNPACKDIR as implemented in commit d9328e3b0b06
("recipes: Switch away from S = WORKDIR").

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agooeqa/runtime: fix race-condition in minidebuginfo test
Etienne Cordonnier [Thu, 13 Jun 2024 10:56:21 +0000 (12:56 +0200)] 
oeqa/runtime: fix race-condition in minidebuginfo test

Fix this error where 'coredumpctl info' warns that the coredump is still being
processed:

```
AssertionError: 1 != 0 : MiniDebugInfo Test failed: No match found.
-- Notice: 1 systemd-coredump@.service unit is running, output may be incomplete.
```

(From OE-Core rev: ad1ce64f5c1f22a7b10025d8cba20dc74354ac81)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agocve-check: Introduce CVE_CHECK_MANIFEST_JSON_SUFFIX
Aleksandar Nikolic [Sun, 9 Jun 2024 19:56:54 +0000 (21:56 +0200)] 
cve-check: Introduce CVE_CHECK_MANIFEST_JSON_SUFFIX

The variable contains the suffix of the CVE JSON manifest file.
By default, this variable is set to 'json', so the current behavior
is not changed, but enables developers to use some other suffix,
e.g., cve.json (similar to spdx.json).

Signed-off-by: Aleksandar Nikolic <an010@live.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoclasses/kernel: No symlink in postinst without KERNEL_IMAGETYPE_SYMLINK
Jörg Sommer [Sun, 9 Jun 2024 14:59:07 +0000 (16:59 +0200)] 
classes/kernel: No symlink in postinst without KERNEL_IMAGETYPE_SYMLINK

The commit “Use a copy of image for kernel*.rpm if fs doesn't support
symlinks” [1] added postinst and postrm scripts to the kernel package which
create a symlink after package installation. This should not happen if
`KERNEL_IMAGETYPE_SYMLINK` is not `1`.

Background: The u-boot implementation of jffs2 does not support symlinks.
Using a hardlink or removing `${KERNEL_VERSION}` from the file name fails,
because the current postinst script replaces the file with the symlink.

[1] 8b6b95106a5d4f1f6d34209ec5c475c900270ecd

Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopopulate_sdk_base: add 7zip archive type for SDK
Benjamin Szőke [Sat, 15 Jun 2024 19:21:12 +0000 (21:21 +0200)] 
populate_sdk_base: add 7zip archive type for SDK

Added 7zip support and options and extension/type parameter
for it to able to make any custom archive type for SDK archive.

Signed-off-by: Benjamin Szőke <egyszeregy@freemail.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoarchiver.bbclass: Fix work-shared checking for kernel recipes
Benjamin Szőke [Fri, 14 Jun 2024 07:37:29 +0000 (09:37 +0200)] 
archiver.bbclass: Fix work-shared checking for kernel recipes

Source dir can be a symbolic link in some BSP's linux kernel recipe
which points to work-shared path (like linux-fslc in meta-freescale).
Change to use os.path.realpath() in order to get real path of
source dir.

Signed-off-by: Benjamin Szőke <egyszeregy@freemail.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3-mako: added ptest
Jan Vermaete [Sun, 16 Jun 2024 19:39:32 +0000 (21:39 +0200)] 
python3-mako: added ptest

root@qemux86-64:~# ptest-runner python3-mako
START: ptest-runner
2024-06-16T19:21
BEGIN: /usr/lib/python3-mako/ptest
SKIP: test/ext/test_babelplugin.py:PluginExtractTest.test_parse_python_expression # SKIP babel not installed: skipping babelplugin test
SKIP: test/ext/test_babelplugin.py:PluginExtractTest.test_python_gettext_call # SKIP babel not installed: skipping babelplugin test
SKIP: test/ext/test_babelplugin.py:PluginExtractTest.test_translator_comment # SKIP babel not installed: skipping babelplugin test
SKIP: test/ext/test_babelplugin.py:MakoExtractTest.test_extract # SKIP babel not installed: skipping babelplugin test
SKIP: test/ext/test_babelplugin.py:MakoExtractTest.test_extract_utf8 # SKIP babel not installed: skipping babelplugin test
SKIP: test/ext/test_babelplugin.py:MakoExtractTest.test_extract_cp1251 # SKIP babel not installed: skipping babelplugin test
SKIP: test/ext/test_linguaplugin.py:MakoExtractTest.test_extract # SKIP lingua not installed: skipping linguaplugin test
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_2
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_3
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_4
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_5
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_6
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_7
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_8
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_9
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_10
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_11
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_12
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_13
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_14
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_16
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_17
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_18
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_19
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_20
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_21
PASS: test/test_ast.py:AstParseTest.test_no_global_imports
PASS: test/test_ast.py:AstParseTest.test_python_fragment
PASS: test/test_ast.py:AstParseTest.test_argument_list
PASS: test/test_ast.py:AstParseTest.test_function_decl
PASS: test/test_ast.py:AstParseTest.test_function_decl_2
PASS: test/test_ast.py:AstParseTest.test_function_decl_3
PASS: test/test_ast.py:AstParseTest.test_expr_generate
PASS: test/test_block.py:BlockTest.test_anonymous_block_namespace_raises
PASS: test/test_block.py:BlockTest.test_anonymous_block_in_call
PASS: test/test_block.py:BlockTest.test_named_block_in_call
PASS: test/test_block.py:BlockTest.test_name_collision_blocks_toplevel
PASS: test/test_block.py:BlockTest.test_name_collision_blocks_nested_block
PASS: test/test_block.py:BlockTest.test_name_collision_blocks_nested_def
PASS: test/test_block.py:BlockTest.test_name_collision_block_def_toplevel
PASS: test/test_block.py:BlockTest.test_name_collision_def_block_toplevel
PASS: test/test_block.py:BlockTest.test_named_block_renders
PASS: test/test_block.py:BlockTest.test_inherited_block_no_render
PASS: test/test_block.py:BlockTest.test_no_named_in_def
PASS: test/test_block.py:BlockTest.test_inherited_block_nested_both
PASS: test/test_block.py:BlockTest.test_inherited_block_nested_inner_only
PASS: test/test_block.py:BlockTest.test_noninherited_block_no_render
PASS: test/test_block.py:BlockTest.test_no_conflict_nested_one
PASS: test/test_block.py:BlockTest.test_nested_dupe_names_raise
PASS: test/test_block.py:BlockTest.test_two_levels_one
PASS: test/test_block.py:BlockTest.test_filter
PASS: test/test_block.py:BlockTest.test_anon_in_named
PASS: test/test_block.py:BlockTest.test_named_in_anon
PASS: test/test_block.py:BlockTest.test_anon_in_anon
PASS: test/test_block.py:BlockTest.test_named_in_named
PASS: test/test_block.py:BlockTest.test_iteration
PASS: test/test_block.py:BlockTest.test_conditional
PASS: test/test_block.py:BlockTest.test_block_overridden_by_def
PASS: test/test_block.py:BlockTest.test_def_overridden_by_block
PASS: test/test_block.py:BlockTest.test_block_args
PASS: test/test_block.py:BlockTest.test_block_variables_contextual
PASS: test/test_block.py:BlockTest.test_block_args_contextual
PASS: test/test_block.py:BlockTest.test_block_pageargs_contextual
PASS: test/test_block.py:BlockTest.test_block_pageargs
PASS: test/test_cache.py:CacheTest.test_def
PASS: test/test_cache.py:CacheTest.test_cache_enable
PASS: test/test_cache.py:CacheTest.test_nested_def
PASS: test/test_cache.py:CacheTest.test_page
PASS: test/test_cache.py:CacheTest.test_dynamic_key_with_context
PASS: test/test_cache.py:CacheTest.test_dynamic_key_with_funcargs
PASS: test/test_cache.py:CacheTest.test_dynamic_key_with_imports
PASS: test/test_cache.py:CacheTest.test_fileargs_implicit
PASS: test/test_cache.py:CacheTest.test_fileargs_deftag
PASS: test/test_cache.py:CacheTest.test_fileargs_pagetag
PASS: test/test_cache.py:CacheTest.test_args_complete
PASS: test/test_cache.py:CacheTest.test_fileargs_lookup
PASS: test/test_cache.py:CacheTest.test_buffered
PASS: test/test_cache.py:CacheTest.test_load_from_expired
PASS: test/test_cache.py:CacheTest.test_namespace_access
PASS: test/test_cache.py:CacheTest.test_lookup
PASS: test/test_cache.py:CacheTest.test_invalidate
PASS: test/test_cache.py:CacheTest.test_custom_args_def
PASS: test/test_cache.py:CacheTest.test_custom_args_block
PASS: test/test_cache.py:CacheTest.test_custom_args_page
PASS: test/test_cache.py:CacheTest.test_pass_context
SKIP: test/test_cache.py:BeakerCacheTest.test_def # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_cache_enable # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_nested_def # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_page # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_dynamic_key_with_context # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_dynamic_key_with_funcargs # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_dynamic_key_with_imports # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_fileargs_implicit # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_fileargs_deftag # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_fileargs_pagetag # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_args_complete # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_fileargs_lookup # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_buffered # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_load_from_expired # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_namespace_access # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_lookup # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_invalidate # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_custom_args_def # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_custom_args_block # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_custom_args_page # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_pass_context # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_cache_uses_current_context # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_region # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:DogpileCacheTest.test_def # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_cache_enable # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_nested_def # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_page # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_dynamic_key_with_context # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_dynamic_key_with_funcargs # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_dynamic_key_with_imports # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_fileargs_implicit # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_fileargs_deftag # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_fileargs_pagetag # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_args_complete # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_fileargs_lookup # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_buffered # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_load_from_expired # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_namespace_access # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_lookup # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_invalidate # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_custom_args_def # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_custom_args_block # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_custom_args_page # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_pass_context # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_cache_uses_current_context # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_region # SKIP dogpile.cache is required to run these tests
PASS: test/test_call.py:CallTest.test_call
PASS: test/test_call.py:CallTest.test_compound_call
PASS: test/test_call.py:CallTest.test_new_syntax
PASS: test/test_call.py:CallTest.test_ccall_caller
PASS: test/test_call.py:CallTest.test_stack_pop
PASS: test/test_call.py:CallTest.test_conditional_call
PASS: test/test_call.py:CallTest.test_chained_call
PASS: test/test_call.py:CallTest.test_nested_call
PASS: test/test_call.py:CallTest.test_nested_call_2
PASS: test/test_call.py:CallTest.test_nested_call_3
PASS: test/test_call.py:CallTest.test_nested_call_4
PASS: test/test_call.py:CallTest.test_chained_call_in_nested
PASS: test/test_call.py:CallTest.test_call_in_nested
PASS: test/test_call.py:CallTest.test_composed_def
PASS: test/test_call.py:CallTest.test_regular_defs
PASS: test/test_call.py:CallTest.test_call_in_nested_2
PASS: test/test_call.py:SelfCacheTest.test_basic
PASS: test/test_cmd.py:CmdTest.test_stdin_success
PASS: test/test_cmd.py:CmdTest.test_stdin_syntax_err
PASS: test/test_cmd.py:CmdTest.test_stdin_rt_err
PASS: test/test_cmd.py:CmdTest.test_file_success
PASS: test/test_cmd.py:CmdTest.test_file_syntax_err
PASS: test/test_cmd.py:CmdTest.test_file_rt_err
PASS: test/test_cmd.py:CmdTest.test_file_notfound
PASS: test/test_decorators.py:DecoratorTest.test_toplevel
PASS: test/test_decorators.py:DecoratorTest.test_toplevel_contextual
PASS: test/test_decorators.py:DecoratorTest.test_nested
PASS: test/test_decorators.py:DecoratorTest.test_toplevel_decorated_name
PASS: test/test_decorators.py:DecoratorTest.test_nested_decorated_name
PASS: test/test_def.py:DefTest.test_def_noargs
PASS: test/test_def.py:DefTest.test_def_blankargs
PASS: test/test_def.py:DefTest.test_def_args
PASS: test/test_def.py:DefTest.test_def_py3k_args
PASS: test/test_def.py:DefTest.test_inter_def
PASS: test/test_def.py:DefTest.test_toplevel
PASS: test/test_def.py:DefTest.test_def_operations
PASS: test/test_def.py:ScopeTest.test_scope_one
PASS: test/test_def.py:ScopeTest.test_scope_two
PASS: test/test_def.py:ScopeTest.test_scope_four
PASS: test/test_def.py:ScopeTest.test_scope_five
PASS: test/test_def.py:ScopeTest.test_scope_six
PASS: test/test_def.py:ScopeTest.test_scope_seven
PASS: test/test_def.py:ScopeTest.test_scope_eight
PASS: test/test_def.py:ScopeTest.test_scope_nine
PASS: test/test_def.py:ScopeTest.test_scope_ten
PASS: test/test_def.py:ScopeTest.test_scope_eleven
PASS: test/test_def.py:ScopeTest.test_unbound_scope
PASS: test/test_def.py:ScopeTest.test_unbound_scope_two
PASS: test/test_def.py:ScopeTest.test_canget_kwargs
PASS: test/test_def.py:ScopeTest.test_inline_expression_from_arg_one
PASS: test/test_def.py:ScopeTest.test_interpret_expression_from_arg_two
PASS: test/test_def.py:NestedDefTest.test_nested_def
PASS: test/test_def.py:NestedDefTest.test_nested_2
PASS: test/test_def.py:NestedDefTest.test_nested_with_args
PASS: test/test_def.py:NestedDefTest.test_nested_def_2
PASS: test/test_def.py:NestedDefTest.test_nested_nested_def
PASS: test/test_def.py:NestedDefTest.test_nested_nested_def_2
PASS: test/test_def.py:NestedDefTest.test_outer_scope
PASS: test/test_def.py:ExceptionTest.test_raise
PASS: test/test_def.py:ExceptionTest.test_handler
PASS: test/test_exceptions.py:ExceptionsTest.test_html_error_template
PASS: test/test_exceptions.py:ExceptionsTest.test_text_error_template
PASS: test/test_exceptions.py:ExceptionsTest.test_utf8_html_error_template_pygments
PASS: test/test_exceptions.py:ExceptionsTest.test_utf8_html_error_template_no_pygments
PASS: test/test_exceptions.py:ExceptionsTest.test_format_closures
PASS: test/test_exceptions.py:ExceptionsTest.test_py_utf8_html_error_template
PASS: test/test_exceptions.py:ExceptionsTest.test_py_unicode_error_html_error_template
PASS: test/test_exceptions.py:ExceptionsTest.test_format_exceptions_pygments
PASS: test/test_exceptions.py:ExceptionsTest.test_format_exceptions_no_pygments
PASS: test/test_exceptions.py:ExceptionsTest.test_utf8_format_exceptions_pygments
PASS: test/test_exceptions.py:ExceptionsTest.test_utf8_format_exceptions_no_pygments
PASS: test/test_exceptions.py:ExceptionsTest.test_mod_no_encoding
PASS: test/test_exceptions.py:ExceptionsTest.test_custom_tback
PASS: test/test_exceptions.py:ExceptionsTest.test_tback_no_trace_from_py_file
PASS: test/test_exceptions.py:ExceptionsTest.test_tback_trace_from_py_file
PASS: test/test_exceptions.py:ExceptionsTest.test_code_block_line_number
PASS: test/test_exceptions.py:ExceptionsTest.test_module_block_line_number
PASS: test/test_exceptions.py:ExceptionsTest.test_alternating_file_names
PASS: test/test_filters.py:FilterTest.test_basic
PASS: test/test_filters.py:FilterTest.test_expr
PASS: test/test_filters.py:FilterTest.test_convert_str
PASS: test/test_filters.py:FilterTest.test_quoting
PASS: test/test_filters.py:FilterTest.test_url_escaping
PASS: test/test_filters.py:FilterTest.test_entity
PASS: test/test_filters.py:FilterTest.test_def
PASS: test/test_filters.py:FilterTest.test_import
PASS: test/test_filters.py:FilterTest.test_import_2
PASS: test/test_filters.py:FilterTest.test_encode_filter
PASS: test/test_filters.py:FilterTest.test_encode_filter_non_str
PASS: test/test_filters.py:FilterTest.test_custom_default
PASS: test/test_filters.py:FilterTest.test_global
PASS: test/test_filters.py:FilterTest.test_block_via_context
PASS: test/test_filters.py:FilterTest.test_def_via_context
PASS: test/test_filters.py:FilterTest.test_text_via_context
PASS: test/test_filters.py:FilterTest.test_nflag
PASS: test/test_filters.py:FilterTest.test_global_json
PASS: test/test_filters.py:FilterTest.test_non_expression
PASS: test/test_filters.py:FilterTest.test_builtins
PASS: test/test_filters.py:BufferTest.test_buffered_def
PASS: test/test_filters.py:BufferTest.test_unbuffered_def
PASS: test/test_filters.py:BufferTest.test_capture
PASS: test/test_filters.py:BufferTest.test_capture_exception
PASS: test/test_filters.py:BufferTest.test_buffered_exception
PASS: test/test_filters.py:BufferTest.test_capture_ccall
PASS: test/test_inheritance.py:InheritanceTest.test_basic
PASS: test/test_inheritance.py:InheritanceTest.test_multilevel_nesting
PASS: test/test_inheritance.py:InheritanceTest.test_includes
PASS: test/test_inheritance.py:InheritanceTest.test_namespaces
PASS: test/test_inheritance.py:InheritanceTest.test_pageargs
PASS: test/test_inheritance.py:InheritanceTest.test_pageargs_2
PASS: test/test_inheritance.py:InheritanceTest.test_pageargs_err
PASS: test/test_inheritance.py:InheritanceTest.test_toplevel
PASS: test/test_inheritance.py:InheritanceTest.test_dynamic
PASS: test/test_inheritance.py:InheritanceTest.test_in_call
PASS: test/test_lexer.py:LexerTest.test_text_and_tag
PASS: test/test_lexer.py:LexerTest.test_unclosed_tag
PASS: test/test_lexer.py:LexerTest.test_onlyclosed_tag
PASS: test/test_lexer.py:LexerTest.test_noexpr_allowed
PASS: test/test_lexer.py:LexerTest.test_closing_tag_many_spaces
PASS: test/test_lexer.py:LexerTest.test_opening_tag_many_quotes
PASS: test/test_lexer.py:LexerTest.test_unmatched_tag
PASS: test/test_lexer.py:LexerTest.test_nonexistent_tag
PASS: test/test_lexer.py:LexerTest.test_wrongcase_tag
PASS: test/test_lexer.py:LexerTest.test_percent_escape
PASS: test/test_lexer.py:LexerTest.test_percent_escape2
PASS: test/test_lexer.py:LexerTest.test_percent_escape_with_control_block
PASS: test/test_lexer.py:LexerTest.test_inline_percent
PASS: test/test_lexer.py:LexerTest.test_old_multiline_comment
PASS: test/test_lexer.py:LexerTest.test_text_tag
PASS: test/test_lexer.py:LexerTest.test_def_syntax
PASS: test/test_lexer.py:LexerTest.test_def_syntax_2
PASS: test/test_lexer.py:LexerTest.test_whitespace_equals
PASS: test/test_lexer.py:LexerTest.test_ns_tag_closed
PASS: test/test_lexer.py:LexerTest.test_ns_tag_empty
PASS: test/test_lexer.py:LexerTest.test_ns_tag_open
PASS: test/test_lexer.py:LexerTest.test_expr_in_attribute
PASS: test/test_lexer.py:LexerTest.test_pagetag[,-48]
PASS: test/test_lexer.py:LexerTest.test_pagetag[-47]
PASS: test/test_lexer.py:LexerTest.test_nesting
PASS: test/test_lexer.py:LexerTest.test_code
PASS: test/test_lexer.py:LexerTest.test_code_and_tags
PASS: test/test_lexer.py:LexerTest.test_expression
PASS: test/test_lexer.py:LexerTest.test_tricky_expression
PASS: test/test_lexer.py:LexerTest.test_dict_expression_issue_400_regression
PASS: test/test_lexer.py:LexerTest.test_tricky_code
PASS: test/test_lexer.py:LexerTest.test_tricky_code_2
PASS: test/test_lexer.py:LexerTest.test_tricky_code_3
PASS: test/test_lexer.py:LexerTest.test_tricky_code_4
PASS: test/test_lexer.py:LexerTest.test_tricky_code_5
PASS: test/test_lexer.py:LexerTest.test_tricky_code_6
PASS: test/test_lexer.py:LexerTest.test_control_lines
PASS: test/test_lexer.py:LexerTest.test_control_lines_2
PASS: test/test_lexer.py:LexerTest.test_long_control_lines
PASS: test/test_lexer.py:LexerTest.test_unmatched_control
PASS: test/test_lexer.py:LexerTest.test_unmatched_control_2
PASS: test/test_lexer.py:LexerTest.test_unmatched_control_3
PASS: test/test_lexer.py:LexerTest.test_ternary_control
PASS: test/test_lexer.py:LexerTest.test_integration
PASS: test/test_lexer.py:LexerTest.test_comment_after_statement
PASS: test/test_lexer.py:LexerTest.test_crlf
PASS: test/test_lexer.py:LexerTest.test_comments
PASS: test/test_lexer.py:LexerTest.test_docs
PASS: test/test_lexer.py:LexerTest.test_preprocess
PASS: test/test_lookup.py:LookupTest.test_basic
PASS: test/test_lookup.py:LookupTest.test_subdir
PASS: test/test_lookup.py:LookupTest.test_updir
PASS: test/test_lookup.py:LookupTest.test_directory_lookup
PASS: test/test_lookup.py:LookupTest.test_no_lookup
PASS: test/test_lookup.py:LookupTest.test_uri_adjust
PASS: test/test_lookup.py:LookupTest.test_uri_cache
PASS: test/test_lookup.py:LookupTest.test_check_not_found
PASS: test/test_lookup.py:LookupTest.test_dont_accept_relative_outside_of_root
PASS: test/test_lookup.py:LookupTest.test_checking_against_bad_filetype
PASS: test/test_loop.py:TestLoop.test__FOR_LOOP
PASS: test/test_loop.py:TestLoop.test_loop_demo
PASS: test/test_loop.py:TestLoop.test_nested_loops
PASS: test/test_loop.py:TestLoop.test_no_loop
PASS: test/test_loop.py:TestLoop.test_out_of_context_access
PASS: test/test_loop.py:TestLoop.test_parent_loops
PASS: test/test_loop.py:TestLoopStack.test__pop
PASS: test/test_loop.py:TestLoopStack.test__push
PASS: test/test_loop.py:TestLoopStack.test__top
PASS: test/test_loop.py:TestLoopStack.test_enter
PASS: test/test_loop.py:TestLoopStack.test_exit
PASS: test/test_loop.py:TestLoopContext.test___len__
PASS: test/test_loop.py:TestLoopContext.test_cycle
PASS: test/test_loop.py:TestLoopContext.test_even
PASS: test/test_loop.py:TestLoopContext.test_first
PASS: test/test_loop.py:TestLoopContext.test_index
PASS: test/test_loop.py:TestLoopContext.test_last
PASS: test/test_loop.py:TestLoopContext.test_odd
PASS: test/test_loop.py:TestLoopContext.test_reverse_index
PASS: test/test_loop.py:TestLoopFlags.test_loop_disabled_template
PASS: test/test_loop.py:TestLoopFlags.test_loop_disabled_lookup
PASS: test/test_loop.py:TestLoopFlags.test_loop_disabled_override_template
PASS: test/test_loop.py:TestLoopFlags.test_loop_disabled_override_lookup
PASS: test/test_loop.py:TestLoopFlags.test_loop_enabled_override_template
PASS: test/test_loop.py:TestLoopFlags.test_loop_enabled_override_lookup
PASS: test/test_lru.py:LRUTest.testlru
PASS: test/test_namespace.py:NamespaceTest.test_inline_crossreference
PASS: test/test_namespace.py:NamespaceTest.test_inline_assignment
PASS: test/test_namespace.py:NamespaceTest.test_inline_arguments
PASS: test/test_namespace.py:NamespaceTest.test_inline_not_duped
PASS: test/test_namespace.py:NamespaceTest.test_dynamic
PASS: test/test_namespace.py:NamespaceTest.test_template
PASS: test/test_namespace.py:NamespaceTest.test_module
PASS: test/test_namespace.py:NamespaceTest.test_module_2
PASS: test/test_namespace.py:NamespaceTest.test_module_imports
PASS: test/test_namespace.py:NamespaceTest.test_module_imports_2
PASS: test/test_namespace.py:NamespaceTest.test_context
PASS: test/test_namespace.py:NamespaceTest.test_overload
PASS: test/test_namespace.py:NamespaceTest.test_getattr
PASS: test/test_namespace.py:NamespaceTest.test_in_def
PASS: test/test_namespace.py:NamespaceTest.test_in_remote_def
PASS: test/test_namespace.py:NamespaceTest.test_dont_pollute_self
PASS: test/test_namespace.py:NamespaceTest.test_inheritance
PASS: test/test_namespace.py:NamespaceTest.test_inheritance_two
PASS: test/test_namespace.py:NamespaceTest.test_attr
PASS: test/test_namespace.py:NamespaceTest.test_attr_raise
PASS: test/test_namespace.py:NamespaceTest.test_custom_tag_1
PASS: test/test_namespace.py:NamespaceTest.test_custom_tag_2
PASS: test/test_namespace.py:NamespaceTest.test_custom_tag_3
PASS: test/test_namespace.py:NamespaceTest.test_custom_tag_case_sensitive
PASS: test/test_namespace.py:NamespaceTest.test_expr_grouping
PASS: test/test_namespace.py:NamespaceTest.test_ccall
PASS: test/test_namespace.py:NamespaceTest.test_ccall_2
PASS: test/test_namespace.py:NamespaceTest.test_import
PASS: test/test_namespace.py:NamespaceTest.test_import_calledfromdef
PASS: test/test_namespace.py:NamespaceTest.test_closure_import
PASS: test/test_namespace.py:NamespaceTest.test_import_local
PASS: test/test_namespace.py:NamespaceTest.test_ccall_import
PASS: test/test_namespace.py:NamespaceTest.test_nonexistent_namespace_uri
PASS: test/test_pygen.py:GeneratePythonTest.test_generate_normal
PASS: test/test_pygen.py:GeneratePythonTest.test_generate_adjusted
PASS: test/test_pygen.py:GeneratePythonTest.test_generate_combo
PASS: test/test_pygen.py:GeneratePythonTest.test_multi_line
PASS: test/test_pygen.py:GeneratePythonTest.test_false_unindentor
PASS: test/test_pygen.py:GeneratePythonTest.test_backslash_line
PASS: test/test_pygen.py:WhitespaceTest.test_basic
PASS: test/test_pygen.py:WhitespaceTest.test_blank_lines
PASS: test/test_pygen.py:WhitespaceTest.test_open_quotes_with_pound
PASS: test/test_pygen.py:WhitespaceTest.test_quote_with_comments
PASS: test/test_pygen.py:WhitespaceTest.test_quotes_with_pound
PASS: test/test_pygen.py:WhitespaceTest.test_quotes
PASS: test/test_runtime.py:ContextTest.test_locals_kwargs
PASS: test/test_template.py:MiscTest.test_crlf_linebreaks
PASS: test/test_template.py:EncodingTest.test_escapes_html_tags
PASS: test/test_template.py:EncodingTest.test_unicode
PASS: test/test_template.py:EncodingTest.test_encoding_doesnt_conflict
PASS: test/test_template.py:EncodingTest.test_unicode_arg
PASS: test/test_template.py:EncodingTest.test_unicode_file
PASS: test/test_template.py:EncodingTest.test_unicode_file_code
PASS: test/test_template.py:EncodingTest.test_unicode_file_lookup
PASS: test/test_template.py:EncodingTest.test_unicode_bom
PASS: test/test_template.py:EncodingTest.test_unicode_memory
PASS: test/test_template.py:EncodingTest.test_unicode_text
PASS: test/test_template.py:EncodingTest.test_unicode_text_ccall
PASS: test/test_template.py:EncodingTest.test_unicode_literal_in_expr
PASS: test/test_template.py:EncodingTest.test_unicode_literal_in_expr_file
PASS: test/test_template.py:EncodingTest.test_unicode_literal_in_code
PASS: test/test_template.py:EncodingTest.test_unicode_literal_in_controlline
PASS: test/test_template.py:EncodingTest.test_unicode_literal_in_tag
PASS: test/test_template.py:EncodingTest.test_unicode_literal_in_def
PASS: test/test_template.py:EncodingTest.test_input_encoding
PASS: test/test_template.py:EncodingTest.test_encoding
PASS: test/test_template.py:EncodingTest.test_encoding_errors
PASS: test/test_template.py:EncodingTest.test_read_unicode
PASS: test/test_template.py:PageArgsTest.test_basic
PASS: test/test_template.py:PageArgsTest.test_inherits
PASS: test/test_template.py:PageArgsTest.test_includes
PASS: test/test_template.py:PageArgsTest.test_context_small
PASS: test/test_template.py:PageArgsTest.test_with_context
PASS: test/test_template.py:PageArgsTest.test_overrides_builtins
PASS: test/test_template.py:PageArgsTest.test_canuse_builtin_names
PASS: test/test_template.py:PageArgsTest.test_builtin_names_dont_clobber_defaults_in_includes
PASS: test/test_template.py:PageArgsTest.test_dict_locals
PASS: test/test_template.py:IncludeTest.test_basic
PASS: test/test_template.py:IncludeTest.test_localargs
PASS: test/test_template.py:IncludeTest.test_viakwargs
PASS: test/test_template.py:IncludeTest.test_include_withargs
PASS: test/test_template.py:IncludeTest.test_within_ccall
PASS: test/test_template.py:IncludeTest.test_include_error_handler
PASS: test/test_template.py:UndefinedVarsTest.test_undefined
PASS: test/test_template.py:UndefinedVarsTest.test_strict
PASS: test/test_template.py:UndefinedVarsTest.test_expression_declared
PASS: test/test_template.py:UndefinedVarsTest.test_list_comprehensions_plus_undeclared_nonstrict
PASS: test/test_template.py:UndefinedVarsTest.test_traditional_assignment_plus_undeclared
PASS: test/test_template.py:UndefinedVarsTest.test_list_comprehensions_plus_undeclared_strict
PASS: test/test_template.py:UndefinedVarsTest.test_dict_comprehensions_in_function_plus_undeclared_strict
PASS: test/test_template.py:StopRenderingTest.test_return_in_template
PASS: test/test_template.py:ReservedNameTest.test_names_on_context
PASS: test/test_template.py:ReservedNameTest.test_names_in_template
PASS: test/test_template.py:ReservedNameTest.test_exclude_loop_context
PASS: test/test_template.py:ReservedNameTest.test_exclude_loop_template
PASS: test/test_template.py:ControlTest.test_control
PASS: test/test_template.py:ControlTest.test_blank_control_1
PASS: test/test_template.py:ControlTest.test_blank_control_2
PASS: test/test_template.py:ControlTest.test_blank_control_3
PASS: test/test_template.py:ControlTest.test_blank_control_4
PASS: test/test_template.py:ControlTest.test_blank_control_5
PASS: test/test_template.py:ControlTest.test_blank_control_6
PASS: test/test_template.py:ControlTest.test_blank_control_7
PASS: test/test_template.py:ControlTest.test_blank_control_8
PASS: test/test_template.py:ControlTest.test_blank_control_9
PASS: test/test_template.py:ControlTest.test_blank_control_10
PASS: test/test_template.py:ControlTest.test_blank_control_11
PASS: test/test_template.py:ControlTest.test_commented_blank_control_1
PASS: test/test_template.py:ControlTest.test_commented_blank_control_2
PASS: test/test_template.py:ControlTest.test_commented_blank_control_3
PASS: test/test_template.py:ControlTest.test_commented_blank_control_4
PASS: test/test_template.py:ControlTest.test_commented_blank_control_5
PASS: test/test_template.py:ControlTest.test_commented_blank_control_6
PASS: test/test_template.py:ControlTest.test_commented_blank_control_7
PASS: test/test_template.py:ControlTest.test_commented_blank_control_8
PASS: test/test_template.py:ControlTest.test_commented_blank_control_9
PASS: test/test_template.py:ControlTest.test_commented_blank_control_10
PASS: test/test_template.py:ControlTest.test_multiline_control
PASS: test/test_template.py:GlobalsTest.test_globals
PASS: test/test_template.py:RichTracebackTest.test_utf8_memory_syntax
PASS: test/test_template.py:RichTracebackTest.test_utf8_memory_runtime
PASS: test/test_template.py:RichTracebackTest.test_utf8_file_syntax
PASS: test/test_template.py:RichTracebackTest.test_utf8_file_runtime
PASS: test/test_template.py:RichTracebackTest.test_unicode_memory_syntax
PASS: test/test_template.py:RichTracebackTest.test_unicode_memory_runtime
PASS: test/test_template.py:RichTracebackTest.test_unicode_file_syntax
PASS: test/test_template.py:RichTracebackTest.test_unicode_file_runtime
PASS: test/test_template.py:ModuleDirTest.test_basic
PASS: test/test_template.py:ModuleDirTest.test_callable
PASS: test/test_template.py:ModuleDirTest.test_custom_writer
PASS: test/test_template.py:FilenameToURITest.test_windows_paths
PASS: test/test_template.py:FilenameToURITest.test_posix_paths
PASS: test/test_template.py:FilenameToURITest.test_dont_accept_relative_outside_of_root
PASS: test/test_template.py:ModuleTemplateTest.test_module_roundtrip
PASS: test/test_template.py:TestTemplateAPI.test_metadata
PASS: test/test_template.py:TestTemplateAPI.test_metadata_two
PASS: test/test_template.py:PreprocessTest.test_old_comments
PASS: test/test_template.py:LexerTest.test_via_template
PASS: test/test_template.py:LexerTest.test_via_lookup
PASS: test/test_template.py:FuturesTest.test_future_import
PASS: test/test_template.py:EscapeTest.test_percent_escape
PASS: test/test_template.py:EscapeTest.test_percent_escape2
PASS: test/test_template.py:EscapeTest.test_inline_percent
PASS: test/test_template.py:EscapeTest.test_listcomp_in_func_strict
PASS: test/test_template.py:EscapeTest.test_setcomp_in_func_strict
PASS: test/test_template.py:EscapeTest.test_generator_in_func_strict
PASS: test/test_template.py:EscapeTest.test_dictcomp_in_func_strict
PASS: test/test_tgplugin.py:TestTGPlugin.test_basic
PASS: test/test_tgplugin.py:TestTGPlugin.test_subdir
PASS: test/test_tgplugin.py:TestTGPlugin.test_basic_dot
PASS: test/test_tgplugin.py:TestTGPlugin.test_subdir_dot
PASS: test/test_tgplugin.py:TestTGPlugin.test_string
PASS: test/test_tgplugin.py:TestTGPlugin.test_render
PASS: test/test_util.py:UtilTest.test_fast_buffer_write
PASS: test/test_util.py:UtilTest.test_fast_buffer_truncate
PASS: test/test_util.py:UtilTest.test_fast_buffer_encoded
PASS: test/test_util.py:UtilTest.test_read_file
PASS: test/test_util.py:UtilTest.test_load_module
PASS: test/test_util.py:UtilTest.test_load_plugin_failure
PASS: test/testing/test_config.py:BasicConfigTest.test_coercions
PASS: test/testing/test_config.py:BasicConfigTest.test_values
PASS: test/testing/test_config.py:BasicConfigTest.test_error_on_loading_from_nonexistent_file
PASS: test/testing/test_config.py:BasicConfigTest.test_error_on_loading_from_nonexistent_section
PASS: test/testing/test_config.py:BooleanConfigTest.test_values
PASS: test/testing/test_config.py:UnsupportedTypesConfigTest.test_values
PASS: test/testing/test_config.py:SupportedTypesConfigTest.test_values
PASS: test/testing/test_config.py:TypeMismatchConfigTest.test_error_on_load
PASS: test/testing/test_config.py:MissingItemConfigTest.test_error_on_load
============================================================================
Testsuite summary
DURATION: 40
END: /usr/lib/python3-mako/ptest
2024-06-16T19:21
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agodebianutils: upgrade 5.17 -> 5.19
Yi Zhao [Sun, 16 Jun 2024 11:33:37 +0000 (19:33 +0800)] 
debianutils: upgrade 5.17 -> 5.19

ChangeLog:

5.19:
* update-shells: Avoid duplicate lines when package shells contain both
  aliased and canonical shells.

5.18
* po4a/po/fr.po: Updated french translations for manpages.
* d/control: Bump standards version from 4.6.2 to 4.7.0.
* acinclude.m4: Bump DEBIANUTILS_VERSION from 5.17 to 5.18.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agologrotate: upgrade 3.21.0 -> 3.22.0
Yi Zhao [Sun, 16 Jun 2024 11:33:36 +0000 (19:33 +0800)] 
logrotate: upgrade 3.21.0 -> 3.22.0

ChangeLog:
https://github.com/logrotate/logrotate/releases/tag/3.22.0

 * fix calculations for time differences
 * fix extension for zip compression
 * fix omitted copy for logs with mail and rotate 0
 * fix wrongly skipping copy with copytruncate and compress
 * fix ambiguities between mode, UID and GID parsing when not specifying
   all options
 * fix hang when encountering a named pipe
 * on prerotate failure logs are preserved instead of rotated
 * in case a configuration file was skipped due to unsafe permissions
   the exit status after rotattion will be 1
 * the state is no longer written to non-regular files
 * the systemd timer now correctly utilizes load distribution
 * add dateformat specifier %z for timezone offsets
 * change default mode for created olddir directories to 0755
 * support quoted user and group names in su, create, and createolddir

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoffmpeg: backport patch to fix errors with GCC 14
Dmitry Baryshkov [Sat, 15 Jun 2024 11:11:57 +0000 (14:11 +0300)] 
ffmpeg: backport patch to fix errors with GCC 14

On ARMv7 compilation of ffmpeg breaks if Vulkan support is enabled.
Backport a patch from the trunk to fix compilation issues:

| src/libavcodec/vulkan_av1.c: In function 'vk_av1_create_params':
| src/libavcodec/vulkan_av1.c:214:43: error: initialization of 'long long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   214 |         .videoSessionParametersTemplate = NULL,
|       |                                           ^~~~
| src/libavcodec/vulkan_av1.c:214:43: note: (near initialization for '(anonymous).videoSessionParametersTemplate')
| make: *** [/oe/build/tmp-rpb_wayland-glibc/work/armv7at2hf-neon-linaro-linux-gnueabi/ffmpeg/6.1.1/ffmpeg-6.1.1/ffbuild/common.mak:81: libavcodec/vulkan_av1.o] Error 1
| make: *** Waiting for unfinished jobs....
| src/libavcodec/vulkan_decode.c: In function 'ff_vk_decode_prepare_frame':
| src/libavcodec/vulkan_decode.c:191:26: error: assignment to 'VkImageView' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   191 |     vkpic->img_view_ref  = NULL;
|       |                          ^
| src/libavcodec/vulkan_decode.c:192:26: error: assignment to 'VkImageView' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   192 |     vkpic->img_view_out  = NULL;
|       |                          ^
| src/libavcodec/vulkan_decode.c:193:26: error: assignment to 'VkImageView' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   193 |     vkpic->img_view_dest = NULL;
|       |                          ^
| make: *** [/oe/build/tmp-rpb_wayland-glibc/work/armv7at2hf-neon-linaro-linux-gnueabi/ffmpeg/6.1.1/ffmpeg-6.1.1/ffbuild/common.mak:81: libavcodec/vulkan_decode.o] Error 1

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agogawk: Remove References to /usr/local/bin/gawk
Khem Raj [Fri, 14 Jun 2024 19:03:22 +0000 (12:03 -0700)] 
gawk: Remove References to /usr/local/bin/gawk

Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
https://github.com/riscv/meta-riscv/issues/384

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agogfortran: update runtime dependencies
Kai Kang [Sun, 16 Jun 2024 15:31:35 +0000 (23:31 +0800)] 
gfortran: update runtime dependencies

It fails to run both `gcc` and `gfortran` with errors:

| root@qemux86-64:~# x86_64-poky-linux-gcc a.c
| x86_64-poky-linux-gcc: fatal error: cannot execute 'as': posix_spawnp: No such file or directory

then add binutils which provides `as` to RDEPENDS of gcc.

libgfortran-dev provides libgfortran.spec which required by gfortran:

| root@qemux86-64:~# gfortran hello.f95
| gfortran: fatal error: cannot read spec file 'libgfortran.spec': No such file or directory

And gcc provides liblto_plugin.so:

| root@qemux86-64:~# gfortran hello.f95
| gfortran: fatal error: '-fuse-linker-plugin', but liblto_plugin.so not found

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agogtk+: add missing libdrm dependency
Andrew Fernandes [Thu, 13 Jun 2024 19:54:27 +0000 (12:54 -0700)] 
gtk+: add missing libdrm dependency

Fixes [YOCTO #15513]

When built without the wayland feature, gtk4 does not
build due to a missing explicit dependency on libdrm.

Signed-off-by: Andrew Fernandes <andrew@fernandes.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agogcc: remove g77/f77
Kai Kang [Thu, 13 Jun 2024 11:51:59 +0000 (19:51 +0800)] 
gcc: remove g77/f77

g77/f77 has been removed from gcc 4.0.0 via commit:

b4117c30610 Makefile.def, [...]: Remove all mention of libf2c.

When set

    FORTRAN = ",f77"

it complains with error:

| The following requested languages could not be built: f77
| Supported languages are: c,c,c++,fortran,go,lto,m2,objc,obj-c++

So remove g77/f77 from gcc recipes.

[1]: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b4117c30610

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3: skip test_multiprocessing/test_active_children test
Trevor Gamblin [Thu, 13 Jun 2024 15:37:21 +0000 (11:37 -0400)] 
python3: skip test_multiprocessing/test_active_children test

This test is causing problems on the Autobuilder, so disable it for now.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agogcc: Fix typo in increment expression in unicode from libstdc++
Khem Raj [Thu, 13 Jun 2024 02:00:37 +0000 (19:00 -0700)] 
gcc: Fix typo in increment expression in unicode from libstdc++

This issue is seen when libstdc++ headers are used by clang18
see - https://github.com/llvm/llvm-project/issues/92586

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agowic/partition.py: Set hash_seed for empty ext partition
Adithya Balakumar [Thu, 13 Jun 2024 07:03:00 +0000 (12:33 +0530)] 
wic/partition.py: Set hash_seed for empty ext partition

Although setting hash_seed is handled for the rootfs plugin case, but
this is missed when deploying an empty ext partition.

Signed-off-by: Adithya Balakumar <adithya.balakumar@toshiba-tsip.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agogstreamer1.0-plugins-bad: Fix build with musl
Khem Raj [Thu, 13 Jun 2024 06:00:45 +0000 (23:00 -0700)] 
gstreamer1.0-plugins-bad: Fix build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agocups: Upgrade 2.4.8 -> 2.4.9
Siddharth Doshi [Thu, 13 Jun 2024 02:05:33 +0000 (07:35 +0530)] 
cups: Upgrade 2.4.8 -> 2.4.9

CVE's Fixed by upgrade:
CVE-2024-35235 cups: Cupsd Listen arbitrary chmod 0140777

Other Changes between 2.4.8 -> 2.4.9
====================================
https://github.com/OpenPrinting/cups/blob/2.4.x/CHANGES.md

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agosystemd: fix wrong path of tmp.mount
Changqing Li [Thu, 30 May 2024 09:02:34 +0000 (17:02 +0800)] 
systemd: fix wrong path of tmp.mount

According to meson.build, tmp.mount is installed under
"prefixdir/'lib/systemd/system'", but for 64bit system, rootlibdir is
/usr/lib64/systemd/system, this make tmp.mount not removed, and /tmp
still mounted as tmpfs filesystem. Fixed by using rootlibexecdir, which
is /usr/lib/systemd/system.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agooeqa/sdk/case: Ensure DL_DIR is populated with artefacts if used
Richard Purdie [Wed, 12 Jun 2024 17:57:34 +0000 (18:57 +0100)] 
oeqa/sdk/case: Ensure DL_DIR is populated with artefacts if used

Where we're using DL_DIR in sdk archive to try and cache testing artefacts,
copy into the cache so that it gets populated and this doesn't have to be done
manually. Currently we're making a lot of repeat requests to github as this
wasn't being populated.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agocurl: rewrite ptest installation
Ross Burton [Wed, 12 Jun 2024 11:06:59 +0000 (11:06 +0000)] 
curl: rewrite ptest installation

The latest libtool upgrade appears to have resulted in intermediate files
containing build paths. This wouldn't normally be a problem but the
curl-ptest package is populated by copying ${B}/tests/ which includes all
of the intermediate objects, so this causes buildpath warnings.

Rewrite the ptest installation to install just the pieces we need: the
test harness, utility scripts, and the test data.  We do not need the
libcurl unit tests nor the HTTP server tests, as we don't run those.

Remove all of the explicitly disabled tests, as many of these were for
tests that run curl-config or scan the source code, neither of which are
available at ptest time.  Instead use keyword exclusions to skip them.

Tell the test runner to use the system curl instead of symlinking in the
binary.

Don't copy curl-config, skipping these minor tests is acceptable.

Remove the RDEPENDS on bash, nothing needs this now we're not shipping a
build tree.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoscripts/makefile-getvar: add script to get values from Makefiles
Ross Burton [Wed, 12 Jun 2024 11:06:58 +0000 (11:06 +0000)] 
scripts/makefile-getvar: add script to get values from Makefiles

There is often a need to extract a value from a Makefile, and standard
GNU Make doesn't provide a way to do this.  This script lets you access
values from Makefiles directly:

$ makefile-getvar curl/tests/server/Makefile noinst_PROGRAMS
getpart resolve rtspd sockfilt sws tftpd fake_ntlm socksd disabled mqttd

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3: skip test_concurrent_futures/test_deadlock
Trevor Gamblin [Wed, 12 Jun 2024 15:05:28 +0000 (11:05 -0400)] 
python3: skip test_concurrent_futures/test_deadlock

These tests are causing hangs on the Autobuilder, so disable them for
now.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agooe-selftest: add RECIPE_UPDATE_EXTRA_TASKS test
Tim Orling [Tue, 11 Jun 2024 15:55:15 +0000 (08:55 -0700)] 
oe-selftest: add RECIPE_UPDATE_EXTRA_TASKS test

Add test_devtool_upgrade_recipe_update_extra_tasks test case
to test upgrade of python3-guessing-game from v0.1.0 to v0.2.0
which will exercise the update_crates task during the upgrade.

Add python3-guessing-game_git.bb.upgraded and
python3-guessing-game-crates.inc.upgraded  which are the 0.2.0
variants.

Check that the new recipe file has the expected differences.

Check that the new -crates.inc file has the expected differences,
which should be reproducible because of Cargo.lock.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agometa-selftest: add python3-guessing-game
Tim Orling [Tue, 11 Jun 2024 15:55:14 +0000 (08:55 -0700)] 
meta-selftest: add python3-guessing-game

Add v0.1.0 of python3-guessing-game which is used as the baseline
for an upgrade to v0.2.0 in test_devtool_upgrade_recipe_update_extra_tasks
test case.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agocargo-update-recipe-crates: add RECIPE_UPDATE_EXTRA_TASKS
Tim Orling [Wed, 12 Jun 2024 17:33:22 +0000 (10:33 -0700)] 
cargo-update-recipe-crates: add RECIPE_UPDATE_EXTRA_TASKS

When we upgrade a recipe that inherits cargo-update-recipe-crates and
the upstream Cargo.toml/Cargo.lock have been changed, we need to run
the update_crates task or else the devtool upgrade (and therefore
AUH upgrade) will fail.

Add "do_update_crates" task to RECIPE_UPDATE_EXTRA_TASKS for all
recipes that inherit this class.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agodevtool upgrade: enable RECIPE_UPDATE_EXTRA_TASKS
Tim Orling [Wed, 12 Jun 2024 17:28:49 +0000 (10:28 -0700)] 
devtool upgrade: enable RECIPE_UPDATE_EXTRA_TASKS

For some recipes, such as those that inherit cargo-update-recipe-crates,
we need to run additional tasks once the new sources have been unpacked.

Introduce a new variable RECIPE_UPDATE_EXTRA_TASKS which is a space-
delimited list of tasks to run after the new sources have been
unpacked in scripts/lib/devtool/upgrade.py ugrade() method.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agogcc: Allow using libc++
Dan McGregor [Thu, 28 Mar 2024 15:43:40 +0000 (09:43 -0600)] 
gcc: Allow using libc++

With the addition of the C++ runtime setting added recently, allow
gcc to use libc++ as its runtime. There's some minor fixes still
required, such as allowing setting the unwinder library. But this
allows for testing libc++ with gcc.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoselftest/spdx: Fix for SPDX_VERSION addition
Richard Purdie [Wed, 12 Jun 2024 06:53:56 +0000 (07:53 +0100)] 
selftest/spdx: Fix for SPDX_VERSION addition

Update the test for the addition of SPDX_VERSION to the deploy path.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoclasses/spdx-common: Return empty list from extract_licenses
Joshua Watt [Mon, 10 Jun 2024 21:41:50 +0000 (15:41 -0600)] 
classes/spdx-common: Return empty list from extract_licenses

This is nicer as the normal return type is a list, so the calling code
doesn't have to deal with a None sometimes and a list others.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoclasses/spdx-common: Add SPDX version to path
Joshua Watt [Mon, 10 Jun 2024 21:41:49 +0000 (15:41 -0600)] 
classes/spdx-common: Add SPDX version to path

Since multiple versions of SPDX are available, use the version in the
path

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoclasses/spdx-common: Move common SPDX to new class
Joshua Watt [Mon, 10 Jun 2024 21:41:48 +0000 (15:41 -0600)] 
classes/spdx-common: Move common SPDX to new class

Moves SPDX code that can be shared between different SPDX versions into
a common class

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoinstall-buildtools: update base-url, release and installer version
Aleksandar Nikolic [Tue, 11 Jun 2024 09:25:58 +0000 (11:25 +0200)] 
install-buildtools: update base-url, release and installer version

Update the following default values:
- DEFAULT_BASE_URL (https instead of http)
- DEFAULT_RELEASE (5.0.1)
- DEFAULT_INSTALLER_VERSION (5.0.1)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoinstall-buildtools: fix "test installation" step
Aleksandar Nikolic [Tue, 11 Jun 2024 09:25:57 +0000 (11:25 +0200)] 
install-buildtools: fix "test installation" step

The "Test installation" step fails with some harmless error messages
(see [1]). This can however make a user think that the buildtools
have not been installed correctly.

Two reasons for the error messages:
- some envvars in the environment-setup-<arch>-pokysdk-linux file
  start and end with double quotes (e.g., PATH) and are as such
  written into python os.environ. This leads that their usage is
  not valid later when testing the installation. This patch removes
  the double quotes before writing, if they are present.
- if installation directory (install_dir), given through the option
  --directory, is given as a relative path, checking if the path to
  a tool (e.g., gcc) in buildtools starts it will always fail. This
  patch converts the install_dir variable to an absolute path.

[1]
ERROR: Something went wrong: tar not found in ./build-tools
ERROR: Something went wrong: installation failed

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>