]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
11 months agopython3-setuptools: try to revert one upstream change jansa/master-setuptools
Martin Jansa [Thu, 5 Sep 2024 11:02:09 +0000 (13:02 +0200)] 
python3-setuptools: try to revert one upstream change

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
11 months agodevtool: remove obsolete SRCTREECOVEREDTASKS handling
Adrian Freihofer [Tue, 3 Sep 2024 20:48:31 +0000 (22:48 +0200)] 
devtool: remove obsolete SRCTREECOVEREDTASKS handling

devtool modify generates a bbappend for kernel recipes which contains:
  SRCTREECOVEREDTASKS="\
    do_fetch \
    do_kernel_checkout \
    do_kernel_configcheck \
    do_unpack \
    do_validate_branches \
  "
  do_patch[noexec] = "1"

If the linux-yocto kernel is used, this is redundant. The
linux-yocto.bbclass already does the same:

linux-yocto sets SRCTREECOVEREDTASKS to
  SRCTREECOVEREDTASKS="\
    do_fetch \
    do_kernel_checkout \
    do_kernel_configcheck \
    do_patch \
    do_unpack \
    do_validate_branches \
  "

Also the do_patch[noexec] is redundant because the purpose of
SRCTREECOVEREDTASKS is to delete these tasks if the externalsrc.bbclass
is used.

The default value of SRCTREECOVEREDTASKS initialized in
externalsrc.bbclass is:
  SRCTREECOVEREDTASKS ?= "do_patch do_unpack do_fetch"
This is fine for kernels which do not inherit the linux-yocto.bbclass.

The code in devtool modify is redundant and therefore removed.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agodevtool: modify kernel adds append twice
Adrian Freihofer [Tue, 3 Sep 2024 20:48:30 +0000 (22:48 +0200)] 
devtool: modify kernel adds append twice

Drop the redundant generation of the do_configure:append section for the
kernel. The same append is generated twice:

if bb.data.inherits_class('kernel', rd):
    f.write('\ndo_configure:append() {\n'
    '    cp ${B}/.config ${S}/.config.baseline\n'
    '    ln -sfT ${B}/.config ${S}/.config.new\n'
    '}\n')

KCONFIG_CONFIG_ENABLE_MENUCONFIG ??= "true"
KCONFIG_CONFIG_ROOTDIR ??= "${B}"
if rd.getVarFlag('do_menuconfig', 'task'):
    f.write('\ndo_configure:append() {\n'
    '    if [ ${@oe.types.boolean(d.getVar("KCONFIG_CONFIG_ENABLE_MENUCONFIG"))} = True ]; then\n'
    '        cp ${KCONFIG_CONFIG_ROOTDIR}/.config ${S}/.config.baseline\n'
    '        ln -sfT ${KCONFIG_CONFIG_ROOTDIR}/.config ${S}/.config.new\n'
    '    fi\n'
    '}\n')

In contradiction to the first code block the second code block considers
the variables which is correct.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agouboot-config: fix devtool modify with kernel-fitimage
Adrian Freihofer [Tue, 3 Sep 2024 20:48:29 +0000 (22:48 +0200)] 
uboot-config: fix devtool modify with kernel-fitimage

How to reproduce:
- UBOOT_CONFIG must be used. With UBOOT_MACHINE it works fine.
  A simple example based on oe-core is to modify the
  beaglebone-yocto.conf file like this:
  -UBOOT_MACHINE = "am335x_evm_defconfig"
  +UBOOT_CONFIG = "foo"
  +UBOOT_CONFIG[foo] = "am335x_evm_defconfig"
- A build configuration which inherits the kernel-fitimage.bbclass is
  needed. For example:
  MACHINE = "beaglebone-yocto"
  KERNEL_IMAGETYPE = "Image"
  KERNEL_IMAGETYPES += " fitImage "
  KERNEL_CLASSES = " kernel-fitimage "

devtool modify linux-yocto
devtool build linux-yocto
...
| cp: cannot stat '.../linux-yocto-6.6.21+git/am335x_evm_defconfig/.config':
  No such file or directory
| WARNING: .../linux-yocto/6.6.21+git/temp/run.do_configure.2081673:172 exit 1
  from 'cp .../linux-yocto-6.6.21+git/am335x_evm_defconfig/.config
  .../build/workspace/sources/linux-yocto/.config.baseline'

The reason for this problem is that the uboot-config.bbclass sets the
variable KCONFIG_CONFIG_ROOTDIR to a path that makes sense for u-boot,
but not for other recipes. However, the kernel-fitimage.bbclasse, for
example, inherits the uboot-config.bbclass, which brings the
u-boot-specific path into the kernel build context.

This change removes the uboot-specific KCONFIG_CONFIG_ROOTDIR path from
recipes other than u-boot itself.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolib/oe/sbom30.py: Fix build parameters
Joshua Watt [Tue, 3 Sep 2024 15:42:24 +0000 (09:42 -0600)] 
lib/oe/sbom30.py: Fix build parameters

The property to specify the build parameters is `build_parameters` not
just `parameters`

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolib/spdx30_tasks: Report all missing providers
Joshua Watt [Tue, 3 Sep 2024 15:42:01 +0000 (09:42 -0600)] 
lib/spdx30_tasks: Report all missing providers

Instead of failing on the first missing provider, collect all of them
and report them all as it is more convenient for end users trying to fix
problems

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoclasses/create-spdx-image-3.0: Fix SSTATE_SKIP_CREATION
Joshua Watt [Tue, 3 Sep 2024 15:41:36 +0000 (09:41 -0600)] 
classes/create-spdx-image-3.0: Fix SSTATE_SKIP_CREATION

Fixes SSTATE_SKIP_CREATION for do_create_image_spdx

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoelfutils: Drop obsolete ptest conditional in do_install
Richard Purdie [Tue, 3 Sep 2024 14:08:32 +0000 (15:08 +0100)] 
elfutils: Drop obsolete ptest conditional in do_install

The PTEST_ENABLED conditional is no longer needed since the task is deleted
if ptest isn't enabled.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agogettext: Drop obsolete ptest conditional in do_install
Richard Purdie [Tue, 3 Sep 2024 14:07:46 +0000 (15:07 +0100)] 
gettext: Drop obsolete ptest conditional in do_install

The PTEST_ENABLED conditional is no longer needed since the task is deleted
if ptest isn't enabled.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agowebkitgtk: Fix build issues with clang-19
Khem Raj [Tue, 3 Sep 2024 04:40:18 +0000 (21:40 -0700)] 
webkitgtk: Fix build issues with clang-19

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agokea: Replace Name::NameString with vector of uint8_t
Khem Raj [Tue, 3 Sep 2024 04:40:17 +0000 (21:40 -0700)] 
kea: Replace Name::NameString with vector of uint8_t

This will fix build with libc++ from llvm 19.x

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoffmpeg: Fix build on musl linux systems
Khem Raj [Mon, 2 Sep 2024 21:20:22 +0000 (14:20 -0700)] 
ffmpeg: Fix build on musl linux systems

Improved detection of ioctl API makes it easier to use the right
implementation rather than bunch of ifdef condition checks.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agowayland: upgrade 1.23.0 -> 1.23.1
Wang Mingyu [Tue, 3 Sep 2024 08:32:59 +0000 (16:32 +0800)] 
wayland: upgrade 1.23.0 -> 1.23.1

Changelog:
============
- meson: Fix use of install_data() without specifying install_dir
- Put WL_DEPRECATED in front of the function declarations
- client: Handle proxies with no queue
- tests: add enum bitfield test
- scanner: fix validator for bitfields
- scanner: extract validator function emission to helper function

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agowayland-protocols: upgrade 1.36 -> 1.37
Wang Mingyu [Tue, 3 Sep 2024 08:32:58 +0000 (16:32 +0800)] 
wayland-protocols: upgrade 1.36 -> 1.37

Changelog:
============
- xdg-toplevel-icon: add error for destroyed wl_buffer
- pointer-gestures: Add punctuation to clarify gesture cycles
- tablet-v2: Fix feedback description in mode_switch
- ext-image-copy-capture-v1: new protocol
- ext-image-capture-source-v1: new protocol
- governance: document review requirements
- members: trim trailing comma
- readme: recommend using "Draft:" prefix for RFC protocols
- readme: use references for links
- staging: Add xdg-toplevel-icon protocol for dedicated toplevel icons
- readme: s/Makefile.am/meson.build/
- staging/tearing-control: clarify what happens after wl_surface destruction
- ci: don't run pipelines in forks
- various: Fix definition of double-buffered state
- Fix some trivial typos

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agotaglib: upgrade 2.0.1 -> 2.0.2
Wang Mingyu [Tue, 3 Sep 2024 08:32:57 +0000 (16:32 +0800)] 
taglib: upgrade 2.0.1 -> 2.0.2

Changelog:
===========
 * Fix parsing of ID3v2.2 frames.
 * Tolerate MP4 files with unknown atom types as generated by Android tools.
 * Support setting properties with arbitrary names in MP4 tags.
 * Windows: Fix "-p" option in tagwriter example.
 * Support building with older utfcpp versions.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-zipp: upgrade 3.20.0 -> 3.20.1
Wang Mingyu [Tue, 3 Sep 2024 08:32:56 +0000 (16:32 +0800)] 
python3-zipp: upgrade 3.20.0 -> 3.20.1

Bugfix:
- Replaced SanitizedNames with a more surgical fix for infinite loops, restoring
  support for names with special characters in the archive.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-websockets: upgrade 12.0 -> 13.0.1
Wang Mingyu [Tue, 3 Sep 2024 08:32:55 +0000 (16:32 +0800)] 
python3-websockets: upgrade 12.0 -> 13.0.1

Changelog:
 https://github.com/python-websockets/websockets/blob/main/docs/project/changelog.rst

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-pbr: upgrade 6.0.0 -> 6.1.0
Wang Mingyu [Tue, 3 Sep 2024 08:32:54 +0000 (16:32 +0800)] 
python3-pbr: upgrade 6.0.0 -> 6.1.0

0001-change-shebang-to-python3.patch
refreshed for 6.1.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-maturin: upgrade 1.7.0 -> 1.7.1
Wang Mingyu [Tue, 3 Sep 2024 08:32:53 +0000 (16:32 +0800)] 
python3-maturin: upgrade 1.7.0 -> 1.7.1

Changelog
=========
- Update clap_complete_command to v0.6.1
- Fix platform tags when cross-compiling universal2
- Fix Typo in Migration Guide
- Fix rust 1.80 clippy errors
- Don't check .gitignore files in parent directories
- Replace --skip-auditwheel with --auditwheel option
- Remove install_requires and setup_requires from setup.py
- Use modern stripping option
- Move project metadata from setup.py to pyproject.toml
- Update manylinux/musllinux policies to the latest main
- use just licenses as the license directory in a wheel
- Forward cargo package --list warnings
- Add current package context to source dist error
- Place source dist readmes next to Cargo.toml

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-idna: upgrade 3.7 -> 3.8
Wang Mingyu [Tue, 3 Sep 2024 08:32:52 +0000 (16:32 +0800)] 
python3-idna: upgrade 3.7 -> 3.8

Changelog:
==========
- Fix regression where IDNAError exception was not being produced for certain inputs.
- Add support for Python 3.13, drop support for Python 3.5 as it is no longer testable.
- Documentation improvements
- Updates to package testing using Github actions

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-certifi: upgrade 2024.7.4 -> 2024.8.30
Wang Mingyu [Tue, 3 Sep 2024 08:32:51 +0000 (16:32 +0800)] 
python3-certifi: upgrade 2024.7.4 -> 2024.8.30

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoofono: upgrade 2.9 -> 2.10
Wang Mingyu [Tue, 3 Sep 2024 08:32:50 +0000 (16:32 +0800)] 
ofono: upgrade 2.9 -> 2.10

Changelog:
==========
- Fix issue with SMS and user data length checks.
- Add support for QMI and Dual-Stack context activation.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agonghttp2: upgrade 1.62.1 -> 1.63.0
Wang Mingyu [Tue, 3 Sep 2024 08:32:49 +0000 (16:32 +0800)] 
nghttp2: upgrade 1.62.1 -> 1.63.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agomc: upgrade 4.8.31 -> 4.8.32
Wang Mingyu [Tue, 3 Sep 2024 08:32:48 +0000 (16:32 +0800)] 
mc: upgrade 4.8.31 -> 4.8.32

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoliburcu: upgrade 0.14.0 -> 0.14.1
Wang Mingyu [Tue, 3 Sep 2024 08:32:46 +0000 (16:32 +0800)] 
liburcu: upgrade 0.14.0 -> 0.14.1

Changelog:
===========
* Fix: missing typename in URCU_FORCE_CAST
* Allow building with GCC >= 13.3 on RISC-V
* pointer.h: Fix the rcu_cmpxchg_pointer documentation
* Adjust shell script to allow Bash in other locations
* fix: handle EINTR correctly in get_cpu_mask_from_sysfs
* Relicense src/compat-smp.h to MIT
* ppc.h: use mftb on ppc
* Fix: allow clang to build liburcu on RISC-V
* Fix -Walloc-size
* urcu/uatomic/riscv: Mark RISC-V as broken
* Fix: urcu-bp: misaligned reader accesses
* LoongArch: Document that byte and short atomics are implemented with LL/SC
* Add LoongArch support
* tests/regression/rcutorture: Add wait state
* urcu-wait: Initialize node in URCU_WAIT_NODE_INIT
* Fix: urcu-wait: add missing futex.h include
* Adjust shell scripts to allow Bash in other locations
* Add support for OpenBSD
* Revert "compiler.h: Introduce caa_unqual_scalar_typeof"
* rculfhash: Use caa_container_of_check_null in cds_lfht_entry
* compiler.h: Introduce caa_container_of_check_null
* compiler.h: Introduce caa_unqual_scalar_typeof
* Avoid calling caa_container_of on NULL pointer in cds_lfht macros
* Fix: revise urcu_read_lock_update() comment
* Fix: uatomic powerpc comment about lwsync
* fix: aarch64: allow RHEL7 gcc 4.8.5-11
* fix: warning 'noreturn' function does return on ppc
* Fix: use __noreturn__ for C11-compatibility

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolibsoup: upgrade 3.4.4 -> 3.6.0
Wang Mingyu [Tue, 3 Sep 2024 08:32:45 +0000 (16:32 +0800)] 
libsoup: upgrade 3.4.4 -> 3.6.0

Changelog:
==========
* Allow HTTP/2 to be used with non-HTTP proxies
* Strictly forbid NUL bytes in headers
* Fix minor leaks
* Add 'SOUP_METHOD_PATCH'
* websocket: Add 'SoupWebsocketConnection:keepalive-pong-timeout' property
* Increase maxmimum size of HTTP headers
* Fix 'soup_uri_copy()' in Vala
* Fix leak in 'soup_message_new_from_encoded_form()'
* multipart: Improve handling of messages missing termination
* logger: Fix request filter function being called with response user data
* logger: Fix response bodies never being logged if request bodies aren't
* logger: Add Soup-Host to logged headers for when Host is missing
* cookies: Fix incorrect logic in determining same-site cookies
* cookie-jar-db: Explicitly handle old databases lacking same-site column
* cookies: Limit the Max-Age to 1 year

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolibdrm: upgrade 2.4.122 -> 2.4.123
Wang Mingyu [Tue, 3 Sep 2024 08:32:44 +0000 (16:32 +0800)] 
libdrm: upgrade 2.4.122 -> 2.4.123

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoell: upgrade 0.67 -> 0.68
Wang Mingyu [Tue, 3 Sep 2024 08:32:42 +0000 (16:32 +0800)] 
ell: upgrade 0.67 -> 0.68

Changelog:
==========
- Fix issue with string allocation growth strategy.
- Add support for netlink helper functions.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agodiffoscope: upgrade 276 -> 277
Wang Mingyu [Tue, 3 Sep 2024 08:32:41 +0000 (16:32 +0800)] 
diffoscope: upgrade 276 -> 277

Changelog:
===========
- Don't crash when attempting to hashing symlinks with targets that point to
  a directory.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agodhcpcd: upgrade 10.0.8 -> 10.0.10
Wang Mingyu [Tue, 3 Sep 2024 08:32:40 +0000 (16:32 +0800)] 
dhcpcd: upgrade 10.0.8 -> 10.0.10

License-Update: Copyright year updated to 2024.

0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch
0001-remove-INCLUDEDIR-to-prevent-build-issues.patch
refreshed for 10.0.10

Changelog:
==========
- configure: add --enable-ntp
- Force dumplease to parse stdin
- holmanb authored and rsmarples committed
- Improve and document prior.
- linux: Prefer local over address when both in netlink RTA
- IPv6: DUPLICATED could be announced by RTM_DELADDR
- Fix prior patch which might also fix #333
- IPv6: Delay for LL address before delay for start
- IPv6: make more readable (nfc)
- DHCP6: Don't remove delegated prefix addresses on start or fail
- privsep: Sweep ELE_ERROR away for BPF
- DHCP6: Add commentary around why we read leases
- linux: allow roaming without IFF_DORMANT
- DHCP: Remove an assertation in get_lease if ia is NULL
- DHCP6: Persist configuration on confirm/rebind failure
- DHCP6: Don't remove state in DISCOVER
- IPv4LL: Restart ARP probling on address conflict
- DHCP: Handle option 108 correctly when receiving 0.0.0.0 OFFER
- taoyl-g and rsmarples committed on Jul 25
- DHCP: No longer set interface mtu
- IPv4LL: If we are not configuring, abort if address does not exist
- IPv4LL: Harden the noconfigure option.
- DHCP6: Remove the dhcp6_pd_addr packed struct
- Update privsep-linux.c to allow statx

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agocairo: upgrade 1.18.0 -> 1.18.2
Wang Mingyu [Tue, 3 Sep 2024 08:32:39 +0000 (16:32 +0800)] 
cairo: upgrade 1.18.0 -> 1.18.2

Changelog:
===========
- The malloc-stats code has been removed from the tests directory
  Cairo now requires a version of pixman equal to, or newer than, 0.40.
- There have been multiple build fixes for newer versions of GCC
  for MSVC; for Solaris; and on macOS 10.7
- PNG errors caused by loading malformed data are correctly propagated to
  callers, so they can handle the case.
- Both stroke and fill colors are now set when showing glyphs on a PDF
  surface.
- All the font options are copied when creating a fallback font object.
- When drawing text on macOS, Cairo now tries harder to select the appropriate
  font name.
- Cairo now prefers the COLRv1 table inside a font, if one is available.
- Cairo requires a C11 toolchain when building.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoacpica: upgrade 20240322 -> 20240827
Wang Mingyu [Tue, 3 Sep 2024 08:32:38 +0000 (16:32 +0800)] 
acpica: upgrade 20240322 -> 20240827

Changelog:
==========
- Fix the PHAT table working: ensure that the PHAT firmware health record offset
  works correctly, fix various sub-table offsets, prevent segmentation faults
  when encountering invalid device paths.
- Fix the optional table 4-byte signature.
- Correct the dumping of SLIC and DBG2 tables.
- Add support for QWordPCC and DWordPCC
- Fix the integer to hex string conversions
- Detecting FACS in reduced HW mode and allowing setting waking vector thereby waking up from S3 state
- Fixing issues with crossing page boundaries when mapping operation regions
- Update the support for IORT, HMAT, MPAM, AEST, CEDT, SPCR etc. tables
- Fix multiple issues with table parsing, compilation and disassembly
- Allow for more flexibility in _DSM usage.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agozip: Fix LICENSE
Niko Mauno [Tue, 3 Sep 2024 07:41:59 +0000 (07:41 +0000)] 
zip: Fix LICENSE

The contents of the LICENSE file included in the current source code
package match those of Info-ZIP license, which seems to originate from
the year 2007:

  This is version 2007-Mar-4 of the Info-ZIP license.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agounzip: Fix LICENSE
Niko Mauno [Tue, 3 Sep 2024 07:41:58 +0000 (07:41 +0000)] 
unzip: Fix LICENSE

The contents of the LICENSE file included in the current source code
package match those of Info-ZIP license, which seems to originate from
the year 2009:

  This is version 2009-Jan-02 of the Info-ZIP license.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolibtool: 2.5.1 -> 2.5.2
Richard Purdie [Sun, 1 Sep 2024 18:57:02 +0000 (19:57 +0100)] 
libtool: 2.5.1 -> 2.5.2

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolttng-tools: 2.13.13 -> 2.13.14
Richard Purdie [Sun, 1 Sep 2024 18:57:41 +0000 (19:57 +0100)] 
lttng-tools: 2.13.13 -> 2.13.14

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agosstate: Drop SSTATEPOSTINSTFUNC support
Richard Purdie [Thu, 29 Aug 2024 12:02:02 +0000 (13:02 +0100)] 
sstate: Drop SSTATEPOSTINSTFUNC support

This was deprecated with the introduction of postfunc support for tasks
in general and only used by buildhistory. Now that usage has been removed,
drop the code from sstate.bbclass. Any other users should be able to use
postfuncs too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agobuildhistory: Simplify intercept call sites and drop SSTATEPOSTINSTFUNC usage
Richard Purdie [Thu, 29 Aug 2024 11:57:40 +0000 (12:57 +0100)] 
buildhistory: Simplify intercept call sites and drop SSTATEPOSTINSTFUNC usage

We planned to drop SSTATEPOSTINSTFUNC some time ago with the introduction of
postfuncs. Finally get around to doing that which should make the buildhistory
code a little more readable.

Unfortunately ordering the buildhistory function calls after the sstate ones is
difficult without coding that into the sstate class. This patch does that to
ensure everything functions as expected until we can find a better way. This is
still likely preferable than the generic sstate postfuncs support since the function
flow is much more readable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agodejagnu: Fix LICENSE
Niko Mauno [Mon, 2 Sep 2024 11:09:12 +0000 (11:09 +0000)] 
dejagnu: Fix LICENSE

The contents of the COPYING file included in the current source code
package match those of GPL-3.0-only license, which seems to have been
the case since 2008 commit
http://git.savannah.gnu.org/gitweb/?p=dejagnu.git;a=commitdiff;h=9bebe7b9bfb9b02e5e4d86ad74e8ce3eb32a36b9;hp=50fbdd118dba066e201c73a8b0155381cd65a32d
("* COPYING: Update to GPL version 3.")

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agomc: set ac_cv_path_ZIP to avoid buildpaths QA issues
Martin Jansa [Mon, 2 Sep 2024 07:50:10 +0000 (09:50 +0200)] 
mc: set ac_cv_path_ZIP to avoid buildpaths QA issues

* in builds with zip in HOSTTOOLS mc fails with:
  ERROR: mc-4.8.31-r0 do_package_qa: QA Issue: File /usr/libexec/mc/extfs.d/uzip in package mc-helpers-perl contains reference to TMPDIR [buildpaths]
  and it's because of the path to zip:
  mc/4.8.31/package $ grep -R styhead .
  ./usr/libexec/mc/extfs.d/uzip:my $app_zip = "TMPDIR/hosttools/zip";

* don't use /usr/bin/env as in other cases, because app_zip is then used e.g. with:
  my $cmd_addlink = "$app_zip -g -y";

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolibpcap: upgrade 1.10.4 -> 1.10.5
Yi Zhao [Sat, 31 Aug 2024 23:03:27 +0000 (07:03 +0800)] 
libpcap: upgrade 1.10.4 -> 1.10.5

ChangeLog:
https://git.tcpdump.org/libpcap/blob/HEAD:/CHANGES

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopatchtest: test_non_auh_upgrade: improve parse logic
Trevor Gamblin [Sun, 1 Sep 2024 00:51:19 +0000 (20:51 -0400)] 
patchtest: test_non_auh_upgrade: improve parse logic

The AUH email address used for matching was outdated. Fix it so that it
correctly identifies emails using the new one.

Also make sure to only scan the commit message and not the body, since
it's possible (like in this patch) that the user may be editing actual
code that checks for AUH-related strings.

Fixes [YOCTO #15390].

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoiw: Fix LICENSE
Niko Mauno [Sun, 1 Sep 2024 05:20:11 +0000 (08:20 +0300)] 
iw: Fix LICENSE

The contents of the COPYING file included in the source code match
those of ISC license:
https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/tree/COPYING?h=v6.9
which seems to have been in effect since 2008 commit
https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/commit?id=622c36ae94a880fb53f7f051f1b26616f5b553c1
("license under ISC").

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopatchtest: test_shortlog_length: omit shortlog prefixes
Trevor Gamblin [Sat, 31 Aug 2024 01:39:03 +0000 (21:39 -0400)] 
patchtest: test_shortlog_length: omit shortlog prefixes

In certain cases, the shortlog for a patch would include branch and
'PATCH' tag information even after the repo tag got stripped out,
padding it with data that wouldn't actually be included with a merge.
This caused the patchtest test_shortlog_length test to erroneously
report a failure.

For example, a patch whose shortlog tags were:

[OE-core][master/scarthgap][PATCH]

would leave this behind in the shortlog, along with the actual content:

[master/scarthgap][PATCH]

Add a re.sub() call in the test to fix this by removing all square
bracket pairs that appear at the beginning of the string.

Fixes [YOCTO #15575].

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopatchtest: test_mbox: remove duplicate regex definition
Trevor Gamblin [Sat, 31 Aug 2024 01:39:02 +0000 (21:39 -0400)] 
patchtest: test_mbox: remove duplicate regex definition

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoffmpeg: Package example files in ffmpeg-examples
Ola x Nilsson [Tue, 27 Aug 2024 09:02:12 +0000 (11:02 +0200)] 
ffmpeg: Package example files in ffmpeg-examples

The most future proof way to not always ship the example files is to
package them separately.

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython: Backport fixes for CVE-2024-7592
Khem Raj [Sun, 25 Aug 2024 15:17:18 +0000 (08:17 -0700)] 
python: Backport fixes for CVE-2024-7592

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agotestexport: support for executing tests over serial
Andrew Oppelt [Tue, 13 Aug 2024 22:07:49 +0000 (15:07 -0700)] 
testexport: support for executing tests over serial

Uses TEST_SERIALCONTROL_CMD to open a serial connection to the target
and execute commands. This is a drop in replacement for the ssh target,
fully supporting the same API. Supported with testexport.

To use, set the following in local.conf:
- TEST_TARGET to "serial"
- TEST_SERIALCONTROL_CMD to a shell command or script which connects to
  the serial console of the target and forwards that connection to
  standard input/output.
- TEST_SERIALCONTROL_EXTRA_ARGS (optional) any parameters that must be
  passed to the serial control command.
- TEST_SERIALCONTROL_PS1 (optional) A regex string representing an empty
  prompt on the target terminal. Example: "root@target:.*# ". This is
  used to find an empty shell after each command is run. This field is
  optional and will default to "root@{MACHINE}:.*# " if no other value is
  given.
- TEST_SERIALCONTROL_CONNECT_TIMEOUT (optional) Specifies the timeout in
  seconds for the initial connection to the target. Defaults to 10 if no
  other value is given.

The serial target does have some additional limitations over the ssh
target.
1. Only supports one "run" command at a time. If two threads attempt to
   call "run", one will block until it finishes. This is a limitation of
   the serial link, since two connections cannot be opened at once.
2. For file transfer, the target needs a shell and the base32 program.
   The file transfer implementation was chosen to be as generic as
   possible, so it could support as many targets as possible.
3. Transferring files is significantly slower. On a 115200 baud serial
   connection, the fastest observed speed was 30kbps. This is due to
   overhead in the implementation due to decisions documented in #2
   above.

Signed-off-by: Andrew Oppelt <andrew.j.oppelt@boeing.com>
Signed-off-by: Matthew Weber <matthew.l.weber3@boeing.com>
Signed-off-by: Chuck Wolber <chuck.wolber@boeing.com>
--

Tested with core-image-sato on real hardware. TEST_SERIALCONTROL_CMD
was set to a bash script which connected with telnet to the target.

Additionally tested with QEMU by setting TEST_SERIALCONTROL_CMD to
"ssh -o StrictHostKeyChecking=no root@192.168.7.2". This imitates
a serial connection to the QEMU instance.

Steps:
1) Set the following in local.conf:
  - IMAGE_CLASSES += "testexport"
  - TEST_TARGET = "serial"
  - TEST_SERIALCONTROL_CMD="ssh -o StrictHostKeyChecking=no root@192.168.7.2"
2) Build an image
  - bitbake core-image-sato
3) Run the test export
  - bitbake -c testexport core-image-sato
4) Run the image in qemu
  - runqemu nographic core-image-sato
5) Navigate to the test export directory
6) Run the exported tests with target-type set to serial
 - ./oe-test runtime --test-data-file ./data/testdata.json --packages-manifest ./data/manifest --debug --target-type serial

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopackagegroup-core-tools-profile.bb: Enable aarch64 valgrind
John Ripple [Fri, 16 Aug 2024 16:01:24 +0000 (16:01 +0000)] 
packagegroup-core-tools-profile.bb: Enable aarch64 valgrind

The Valgrind recipe has had support for aarch64 for 9 years but the
packagegroup-core-tools-profile recipe still excludes valgrind on
aarch64 builds. This patch adds Valgrind when building the
package-group-core-tools-profile for aarch64 systems.

Signed-off-by: John Ripple <john.ripple@keysight.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoopenssh: Mark CVE-2023-51767 as wont-fix
Khem Raj [Mon, 19 Aug 2024 21:54:54 +0000 (14:54 -0700)] 
openssh: Mark CVE-2023-51767 as wont-fix

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agosystemd: dont set polkit permissions manually
Markus Volk [Wed, 14 Aug 2024 08:29:25 +0000 (10:29 +0200)] 
systemd: dont set polkit permissions manually

According to this commit polkit rules should go to ${datadir} instead of ${sysconfdir}:
https://git.openembedded.org/meta-openembedded/commit/?h=master-next&id=d5e90541f8e35916abc930b2da6de037b23d51a1
Theres no need to adjust the permissions for ${datadir} anymore:
https://git.openembedded.org/meta-openembedded/commit/?h=master-next&id=6da0fd21c900e32a0693a6b27d38182f19c8c76c

Dont set polkit permissions manually. This allows to drop the manually
set polkit permissions for all files in meta-openembedded and also for
libvirt in meta-virtualization.

In addition, manually setting the permissions would not be needed for
new recipes anymore.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoabi-version/ssate: Bump to avoid systemd hash corruption issue
Richard Purdie [Sat, 31 Aug 2024 21:20:59 +0000 (22:20 +0100)] 
abi-version/ssate: Bump to avoid systemd hash corruption issue

Unfortunately some recent patches caused non-deterministic output.
One input hash lead to both good and bad output and whilst that patch
has been fixed, the problematic hash 'cross' linkage remains. Bump to
a new sstate and hash equivalence version to avoid this and work from
a clean slate.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agou-boot: Ensure we use BFD as linker even if using GCC for it
Otavio Salvador [Fri, 30 Aug 2024 00:43:24 +0000 (21:43 -0300)] 
u-boot: Ensure we use BFD as linker even if using GCC for it

If we are using 'ld-is-gold' as DISTRO_FEATURE, the U-Boot Makefile has
mechanisms to ensure that we use BFD as linker. However, this does not
work for the GCC when it is used as linking tool.

To support that, we added explicit BFD use whenever we have the
DISTRO_FEATURE feature enabled.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoaspell: Backport a fix to build with gcc-15/clang-19
Khem Raj [Fri, 30 Aug 2024 07:13:38 +0000 (00:13 -0700)] 
aspell: Backport a fix to build with gcc-15/clang-19

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agobuildcfg.py: add dirty status to get_metadata_git_describe
Jörg Sommer [Fri, 30 Aug 2024 11:41:00 +0000 (13:41 +0200)] 
buildcfg.py: add dirty status to get_metadata_git_describe

For postmortem analysis it's helpful to know if the build environment was
clean or contained any modifications.

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoapr: upgrade 1.7.4 -> 1.7.5
Vijay Anusuri [Fri, 30 Aug 2024 10:42:18 +0000 (16:12 +0530)] 
apr: upgrade 1.7.4 -> 1.7.5

Refreshed patch 0001-configure-Remove-runtime-test-for-mmap-that-can-map-.patch

Includes security fix
CVE-2023-49582

changelog:
https://downloads.apache.org/apr/CHANGES-APR-1.7

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoinsane: Remove redundant returns
Ola x Nilsson [Fri, 30 Aug 2024 07:27:24 +0000 (09:27 +0200)] 
insane: Remove redundant returns

Some redundant return statements were left over from
insane: Drop oe.qa.add_message usage

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agooeqa/selftest/bbclasses: Add tests for systemd and update-rc.d interaction
Peter Kjellerstedt [Tue, 20 Aug 2024 19:54:40 +0000 (21:54 +0200)] 
oeqa/selftest/bbclasses: Add tests for systemd and update-rc.d interaction

These tests verify that the correct files are left behind when systemd
is inherited and depending on whether the systemd and/or sysvinit distro
features are enabled.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
11 months agosystemd.bbclass: Clean up empty parent directories
Peter Kjellerstedt [Tue, 20 Aug 2024 01:08:03 +0000 (03:08 +0200)] 
systemd.bbclass: Clean up empty parent directories

Previously, rm_systemd_unitdir() would remove one parent directory of
${systemd_unitdir} if it was empty after removing ${systemd_unitdir}.
rm_sysvinit_initddir() would not remove any parent directory. Thus, if
the only directory created in /etc was /etc/init.d, an empty /etc would
remain after the cleanup and would be packaged.

Simplify rm_systemd_unitdir() and rm_sysvinit_initddir() by rewriting
them in shell, and use rmdir -p to remove all empty parent directories.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
11 months agopiglit: add missing dependency on wayland
Dmitry Baryshkov [Fri, 30 Aug 2024 02:40:10 +0000 (05:40 +0300)] 
piglit: add missing dependency on wayland

After the recent piglit update it fails X11 builds reporting that it can
not find wayland-client package. Commit 9662bdabf3f6 ("piglit: upgrade
22eaf6a91c -> c11c9374c1") has added wayland-related dependencies to the
recipe's DEPENDS variable, but it seems it missed the target wayland
pacakge, making cross-compilation of piglit fail when building
X11-targeted configurations.

Pushing more and more wayland dependencies to a generic build doesn't
seem to be a good idea, so introduce "wayland" PACKAGECONFIG option,
move existing wayland-related dependencies to be guarded by it and add
dependency on the wayland package.

Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
Fixes: 9662bdabf3f6 ("piglit: upgrade 22eaf6a91c -> c11c9374c1")
Cc: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agorunqemu: add sd card device
Alessandro Pecugi [Thu, 29 Aug 2024 11:16:04 +0000 (13:16 +0200)] 
runqemu: add sd card device

runqemu currently only supports scsi, ide and virtio drive types.
Implement QB_DRIVE_TYPE=/dev/mmcblk which adds an sdhci-pci device and
mounts the rootfs file as an sd card.

Signed-off-by: Alessandro Pecugi <alessandro.pecugi@seco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agouboot-sign: fix counters in do_uboot_assemble_fitimage
Paul Gerber [Thu, 29 Aug 2024 10:43:36 +0000 (12:43 +0200)] 
uboot-sign: fix counters in do_uboot_assemble_fitimage

Without unsetting `j` and `k` for each `UBOOT_MACHINE`, `j` and `k`
are incremented in the same frequency as `i` and therefore `$j -eq $i`
and `$k -eq $i` is always true for the first `type` from `UBOOT_CONFIG`
and the first `binary` from `UBOOT_BINARIES`.

Signed-off-by: Paul Gerber <paul.gerber@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolinux-firmware: Move Silabs wfx firmware to a separate package
Alexander Sverdlin [Thu, 29 Aug 2024 19:36:33 +0000 (21:36 +0200)] 
linux-firmware: Move Silabs wfx firmware to a separate package

Separate 300KB wfx firmware from the rest of linux-firmware package.
With this change the wfx/LICENCE.wf200 is really packaged, before the
change it didn't fall into copying wildcard.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agorunqemu: Fix detection of -serial parameter
Jörg Sommer [Thu, 29 Aug 2024 18:33:45 +0000 (20:33 +0200)] 
runqemu: Fix detection of -serial parameter

The pattern `-serial` matches also `-device usb-serial` and `virtio-serial`
which are not the desired parameter. This causes the serial console ttyS1 is
missing and Systemd's getty@ttyS1 fails constantly.

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agofmt: Get rid of std::copy
Khem Raj [Thu, 29 Aug 2024 16:58:50 +0000 (09:58 -0700)] 
fmt: Get rid of std::copy

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-pyparsing: upgrade 3.1.2 -> 3.1.4
Trevor Gamblin [Thu, 29 Aug 2024 14:11:22 +0000 (10:11 -0400)] 
python3-pyparsing: upgrade 3.1.2 -> 3.1.4

Changelog (https://github.com/pyparsing/pyparsing/releases):

3.1.4

- Fixed a regression introduced in pyparsing 3.1.3, addition of a type
  annotation that referenced re.Pattern. Since this type was introduced
  in Python 3.7, using this type definition broke Python 3.6 installs of
  pyparsing 3.1.3. PR submitted by Felix Fontein, nice work!

3.1.3

- Added new Tag ParserElement, for inserting metadata into the parsed
  results. This allows a parser to add metadata or annotations to the
  parsed tokens. The Tag element also accepts an optional value
  parameter, defaulting to True. See the new tag_metadata.py example in
  the examples directory.

    Example:

      # add tag indicating mood
      end_punc = "." | ("!" + Tag("enthusiastic")))
      greeting = "Hello" + Word(alphas) + end_punc

      result = greeting.parse_string("Hello World.")
      print(result.dump())

      result = greeting.parse_string("Hello World!")
      print(result.dump())

    prints:

      ['Hello', 'World', '.']

      ['Hello', 'World', '!']
      - enthusiastic: True

- Added example mongodb_query_expression.py, to convert human-readable
  infix query expressions (such as a==100 and b>=200) and transform them
  into the equivalent query argument for the pymongo package ({'$and':
  [{'a': 100}, {'b': {'$gte': 200}}]}). Supports many equality and
  inequality operators - see the docstring for the transform_query
  function for more examples.
- Fixed issue where PEP8 compatibility names for ParserElement static
  methods were not themselves defined as staticmethods. When called
  using a ParserElement instance, this resulted in a TypeError
  exception. Reported by eylenburg (#548).  To address a compatibility
  issue in RDFLib, added a property setter for the ParserElement.name
  property, to call ParserElement.set_name.  Modified
  ParserElement.set_name() to accept a None value, to clear the defined
  name and corresponding error message for a ParserElement.  Updated
  railroad diagram generation for ZeroOrMore and OneOrMore expressions
  with stop_on expressions, while investigating #558, reported by user
  Gu_f.  Added <META> tag to HTML generated for railroad diagrams to
  force UTF-8 encoding with older browsers, to better display Unicode
  parser characters.
- Fixed some cosmetics/bugs in railroad diagrams: fixed groups being
  shown even when show_groups=False show results names as quoted strings
  when show_results_names=True only use integer loop counter if
  repetition > 2
- Some type annotations added for parse action related methods, thanks
  August Karlstedt (#551).
- Added exception type to trace_parse_action exception output, while
  investigating SO question posted by medihack.
- Added set_name calls to internal expressions generated in
  infix_notation, for improved railroad diagramming.
- delta_time, lua_parser, decaf_parser, and roman_numerals examples
  cleaned up to use latest PEP8 names and add minor enhancements.
- Fixed bug (and corresponding test code) in delta_time example that did
  not handle weekday references in time expressions (like "Monday at
  4pm") when the weekday was the same as the current weekday.
- Minor performance speedup in trim_arity, to benefit any parsers using
  parse actions.
- Added early testing support for Python 3.13 with JIT enabled.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-hypothesis: upgrade 6.111.1 -> 6.111.2
Trevor Gamblin [Thu, 29 Aug 2024 14:11:21 +0000 (10:11 -0400)] 
python3-hypothesis: upgrade 6.111.1 -> 6.111.2

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

6.111.2 - 2024-08-24
- This patch contains some internal code cleanup. There is no user-visible change.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolz4: Disable static libraries again
Richard Purdie [Thu, 29 Aug 2024 10:09:16 +0000 (11:09 +0100)] 
lz4: Disable static libraries again

This option was incorrectly removed in the recent upgrade. We don't use/need
the static library so disable the build of it to save time/disk usage.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolz4: Fix static library reproducibility issue
Richard Purdie [Thu, 29 Aug 2024 10:05:48 +0000 (11:05 +0100)] 
lz4: Fix static library reproducibility issue

The autobuilder was seeing an intermittent reproducbility issue in lz4 with
regard to symbol ordering in the static library. Add a patch to fix this which
has been submitted upstream.

Fix the SRC_URI whitespace and cleanup the patch directory naming whilst here.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agorust: Upgrade 1.78.0->1.79.0
Yash Shinde [Thu, 29 Aug 2024 08:33:55 +0000 (01:33 -0700)] 
rust: Upgrade 1.78.0->1.79.0

Update the patch files with rust v1.79.0.

Drop the following backported patch which is merged
with rust v1.79 upgrade.

- cross-targets-backport.patch

https://blog.rust-lang.org/2024/06/13/Rust-1.79.0.html

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agorust: Oe-selftest changes for rust v1.79
Yash Shinde [Thu, 29 Aug 2024 08:33:54 +0000 (01:33 -0700)] 
rust: Oe-selftest changes for rust v1.79

* Sort the exclude list in alphabetical order.

* Add some of the upsupported/failing tests to the exclude list
  and ignore the failing unit tests.

* Remove duplicated tests from the exclude list.

* Testing summary
    Target                PASS                    SKIPPED

    ARM                   17241                    599
    ARM64                 17279                    561
    MIPS64                17228                    612
    PPC                   17194                    629
    X86                   17257                    583
    X86-64                17416                    424

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agozlib: Enable PIE for native builds
Yash Shinde [Thu, 29 Aug 2024 08:33:56 +0000 (01:33 -0700)] 
zlib: Enable PIE for native builds

The zlib crate in rust uses libz.a which comes from the zlib-native build.
Some distros like alma9, fedora etc. do not have PIE enabled by default for system compiler.

This leads to target-rust-ccld linking error for cargo-native as (line no 22936):
error: linking with `/home/pokybuild/yocto-worker/qemuarm64/build/build/tmp/work/x86_64-linux/cargo-native/1.79.0/wrapper/target-rust-ccld` failed: exit status: 1

https://autobuilder.yoctoproject.org/typhoon/#/builders/42/builds/9385/steps/13/logs/stdio

Hence, enable PIE option to CFLAGS for native builds.

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agogdb: Fix build with latest clang
Khem Raj [Wed, 28 Aug 2024 19:41:32 +0000 (12:41 -0700)] 
gdb: Fix build with latest clang

This patch is already proposed upstream and perhaps landing
soon in gdb master.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoresulttool: Add support to create test report in JUnit XML format
Clara Kowalsky [Wed, 28 Aug 2024 09:20:27 +0000 (11:20 +0200)] 
resulttool: Add support to create test report in JUnit XML format

This adds the functionality to convert the results of the
testresults.json file to a unit test report in JUnit XML format. The
unit test report can be used in the CI/CD pipeline to display the test
results.

To use the resulttool scripts, first source oe environment, then run the
entry point script to look for help.
$ resulttool

To generate the unit test report, execute the below
$ resulttool junit <json_file>

By default the unit test report is stored as
<build_dir>/tmp/log/oeqa/junit.xml.

Signed-off-by: Clara Kowalsky <clara.kowalsky@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoselftest/sstatetests: Extend to cover ERROR_QA/WARN_QA common issues
Richard Purdie [Thu, 29 Aug 2024 10:56:07 +0000 (11:56 +0100)] 
selftest/sstatetests: Extend to cover ERROR_QA/WARN_QA common issues

Now that adding new values to ERROR_QA doesn't invalidate tasks, add this
check to the selftests so that this functionality doens't regress in future.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoinsane: Allow ERROR_QA to use 'contains' hash optimisations for do_package_qa
Richard Purdie [Wed, 28 Aug 2024 20:52:46 +0000 (21:52 +0100)] 
insane: Allow ERROR_QA to use 'contains' hash optimisations for do_package_qa

We want ERROR_QA to operate using the "contains" optimizations which means
accessing the variable only using the contains function.

To do this, remove usage of ALL_QA, open coding the few references to check
both WARN_QA and ERROR_QA.

Move the function table generation to a separate function where we can exclude
the ERROR_QA and WARN_QA variables since they are handled by the handle_error()
function calls.

Ensure all the chain of functions to the handle_error calls is correctly
recognised in the variable dependencies.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoinsane: Further simplify code
Richard Purdie [Wed, 28 Aug 2024 17:37:56 +0000 (18:37 +0100)] 
insane: Further simplify code

Now handle_error is used, we can further simplify the QA test execution
as we don't need seperate function lists for warnings and errors.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoinsane: Add missing vardepsexclude
Richard Purdie [Thu, 29 Aug 2024 06:38:51 +0000 (07:38 +0100)] 
insane: Add missing vardepsexclude

If we improve the function dependency visibility in insane.bbclass, it
exposes some dependencies which were previously not seen causing variances
in the do_package_qa task checksums. Update vardepsexclude in a couple of
test cases to ensure the sstate hash selftests pass and the taskhashes
don't vary when we don't expect them too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoinsane: Drop oe.qa.add_message usage
Richard Purdie [Wed, 28 Aug 2024 16:10:28 +0000 (17:10 +0100)] 
insane: Drop oe.qa.add_message usage

Drop the oe.qa.add_message() usage in favour of oe.qa.handle_error() which has
code allowing it to be optimised with contains usage.

The patch also drops unused return values which we stopped using a while ago
and drops the now unneeded function parameters, generally leading to cleaner
code.

The code should be functionally equivalent.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoinsane: Optimise ERROR_QA/WARN_QA references in do_populate_sysroot
Richard Purdie [Wed, 28 Aug 2024 12:03:08 +0000 (13:03 +0100)] 
insane: Optimise ERROR_QA/WARN_QA references in do_populate_sysroot

The new contains code can't inspect variable references in handle_error()
calls. Expand what is effectively a hardcoded reference anyway so the code
can optimise it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolib/oe: Use new visitorcode functionality for qa.handle_error()
Richard Purdie [Wed, 28 Aug 2024 11:58:30 +0000 (12:58 +0100)] 
lib/oe: Use new visitorcode functionality for qa.handle_error()

Early functions like do_recipe_qa (which do_fetch depends upon) reference
oe.qa.handle_error() which in turn adds dependencies on ERROR_QA and
WARN_QA. This means that ERROR_QA:append = " nothing" will cause
literally everything to rebuild and break sstate reuse.

Take advantage of new bitbake functionality to add a custom visitorcode
function to handle_error which optimises the references into contains
expressions which means the ERROR_QA and WARN_QA references are optmised
to containing specific strings. This dramatically improves sstate reuse.

The qa module has to be imported first since other code in later modules
references it and bitbake can't handle the dependency ordering internally
without a lot of unwanted complexity.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agomusl: Upgrade to latest tip of trunk
Khem Raj [Tue, 27 Aug 2024 16:26:04 +0000 (09:26 -0700)] 
musl: Upgrade to latest tip of trunk

Bring following changes on top of 1.2.5

dd1e63c3 syslog: revert LOG_FAC/LOG_FACMASK changes
008f737d siglongjmp: document why this function just calls longjmp
947b4574 inet_ntop: fix the IPv6 leading zero sequence compression
50ab8306 dynlink: avoid copying to temp buffer in get_lfs64
1b97d006 sys/epoll.h: add epoll ioctls
ab31e9d6 getusershell: skip blank lines and comments
53ac44ff dynlink: fix get_lfs64() with posix_fallocate64
895736d4 syslog: fix incorrect LOG_MAKEPRI and LOG_FAC[MASK] macros
05ce67fe add renameat2 linux syscall wrapper
00799729 fix mismatched type in posix_getdents definition
cbf59dd6 aarch64 crti.o: fix alignment of _init/_fini
84015cee fix typo that broke sys/reg.h and sys/user.h
1b0d4851 implement posix_getdents adopted for next issue of POSIX
2c124e13 stdint.h: derive limits from __LONG_MAX, use common fast16 types
7019fbe1 sys/user.h: derive __WORDSIZE from __LONG_MAX
e709a6f0 sys/reg.h: derive __WORDSIZE from __LONG_MAX
29b216b2 unistd.h: derive ILP32/LP64 macros from __LONG_MAX instead of arch bits
0dfa1d8c unify bits/stat.h for all archs sharing a common definition
ef600888 align aarch64, riscv64, loongarch64 stat structure padding type
6f666231 ldso: fix non-functional fix to early dynamic PAGE_SIZE access
fced99e9 strptime: implement conversion specifiers adopted for next POSIX issue
3f9d4224 printf decimal integer formatting: shave off one division
a23cf8f9 riscv mcontext_t/sigcontext: use __aligned__ instead of aligned
cbf1c7b6 add missing STATX_ATTR_* macros omitted when statx was added
3f49203c initgroups: do not artificially limit number of supplementary groups
24ebbbde printf: fix edge case where hex float precision was not honored
e3b0ace5 complex: fix comment in cacosh
9683bd62 math: fix fma(x,y,0) when x*y rounds to -0
5370070f fix pwrite/pwritev handling of O_APPEND files
bdc9a9ff uio.h: add RWF_NOAPPEND flag for pwritev2
7ada6dde iconv: fix missing bounds checking for shift_jis decoding
fd7d0185 add missing inline keyword on default a_barrier definition
b5121e2e iconv: add aliases for GBK
ca6f46af iconv: add euro symbol to GBK as single byte 0x80

(From OE-Core rev: 70179bc94c90ba1f33a3fff8f3019cb96fcdbaef)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agomusl: Update to 1.2.5 release
Khem Raj [Tue, 27 Aug 2024 16:26:03 +0000 (09:26 -0700)] 
musl: Update to 1.2.5 release

This release adds extension functions statx and preadv2/pwritev2, with
fallback implementations for older kernels, and adds two new ports:
loongarch64 and riscv32. Minor changes to the printf family of
functions have been made for conformance to new standards
interpretations/requirements. TLSDESC support for riscv64 has also
been added.

Bugs fixed include some DNS issues related to new TCP fallback
functionality, several rare race conditions, potentially incorrect
return value when glob aborts, and several signifiant arch-specific
bugs affecting TLSDESC on arm, riscv64 icache flushing, and sh
sigsetjmp and dlsym RTLD_NEXT. [1]

Do not use https protocol for fetching

Musl author confirms that https protocol is not well supported yet on
musl git host, currently we experience this problem intermittently on
some build hosts where the fetching fails.

fatal: protocol error: bad line length character: erro
WARNING: Failed to fetch URL git://git.etalabs.net/git/musl;branch=master;protocol=https

[1] https://www.openwall.com/lists/musl/2024/03/01/2

(From OE-Core rev: c6c79477209f5e7e1a0206942de9603a7accec67)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agobluez5: Fix build with musl
Khem Raj [Wed, 28 Aug 2024 04:10:00 +0000 (21:10 -0700)] 
bluez5: Fix build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agovim: Upgrade 9.1.0682 -> 9.1.0698
Siddharth Doshi [Tue, 27 Aug 2024 15:19:31 +0000 (20:49 +0530)] 
vim: Upgrade 9.1.0682 -> 9.1.0698

This includes CVE-fix for CVE-2024-43790 and CVE-2024-43802

Changes between 9.1.0682 -> 9.1.0698
====================================
https://github.com/vim/vim/compare/v9.1.0682...v9.1.0698

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolinux-firmware: restore qcom/vpu-1.0/venus.mdt compatibility symlink
Dmitry Baryshkov [Wed, 28 Aug 2024 06:19:37 +0000 (09:19 +0300)] 
linux-firmware: restore qcom/vpu-1.0/venus.mdt compatibility symlink

The commit [1] has dropped the qcom/vpu-1.0/venus.mdt symlink which is
required for the kernels before 6.6. Pick up a patch restoring this
symlink.

[1] https://gitlab.com/kernel-firmware/linux-firmware/-/commit/36db650dae038be945fb04def591fc726255b09f

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolinux-firmware: package qcom-vpu firmware
Dmitry Baryshkov [Wed, 28 Aug 2024 06:19:36 +0000 (09:19 +0300)] 
linux-firmware: package qcom-vpu firmware

Release 20240811 has restructured the locations of Qualcomm VPU
firmware (see commit [1]). Follow those changes and implement a single
linux-firmware-qcom-vpu package holding all VPU firmware files.

[1] https://gitlab.com/kernel-firmware/linux-firmware/-/commit/36db650dae038be945fb04def591fc726255b09f

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolinux-firmware: use wildcards to grab all qcom-qcm2290/qrb4210 wifi files
Dmitry Baryshkov [Tue, 27 Aug 2024 14:18:42 +0000 (17:18 +0300)] 
linux-firmware: use wildcards to grab all qcom-qcm2290/qrb4210 wifi files

It makes little sense to keep board-specific firmware-5.bin in
linux-firmware-ath10k package if the wlanmdsp.mbn file is a part of the
linux-firmware-qcom-qcm2290 / -qrb4210 packages. Use wildcards to pick
those files too.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolinux-firmware: move -qcom-qcm2290-wifi before -ath10k
Dmitry Baryshkov [Tue, 27 Aug 2024 14:18:41 +0000 (17:18 +0300)] 
linux-firmware: move -qcom-qcm2290-wifi before -ath10k

The linux-firmware-qcom-qcm2290-wifi package needs to steal some files
from the linux-firmware-ath10k (like qcom-qrb4210-wifi and
qcom-sdm845-modem packages do). Move the package name before the ath10k
in the list so that thieft is successful.

Fixes: f65e01a0c7eb ("linux-firmware: update to 20240513")
Cc: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolinux-firmware: add packages with SM8550 and SM8650 audio topology files
Dmitry Baryshkov [Tue, 27 Aug 2024 10:12:32 +0000 (13:12 +0300)] 
linux-firmware: add packages with SM8550 and SM8650 audio topology files

Split audio topology files to separate packages so that users of the
corresponding boards don't have to pull in the whole linux-firmware
package.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolinux-firmware: make qcom-sc8280xp-lenovo-x13s-audio install Linaro licence
Dmitry Baryshkov [Tue, 27 Aug 2024 10:12:31 +0000 (13:12 +0300)] 
linux-firmware: make qcom-sc8280xp-lenovo-x13s-audio install Linaro licence

The linux-firmware-qcom-sc8280xp-lenovo-x13s-audio package includes
audio topology file which has separate licensing terms. Make this
package RDEPEND on the corresponding licence package.

Fixes: 958d6a209edf ("linux-firmware: package audio topology for Lenovo X13s")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agocracklib: update 2.9.11 -> 2.10.2
Alexander Kanavin [Tue, 27 Aug 2024 05:23:54 +0000 (07:23 +0200)] 
cracklib: update 2.9.11 -> 2.10.2

Drop endianness patch; upstream resolved the issue via:
https://github.com/cracklib/cracklib/pull/86
https://github.com/cracklib/cracklib/issues/74

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agovte: upgrade 0.74.2 -> 0.76.3
Alexander Kanavin [Tue, 27 Aug 2024 05:23:53 +0000 (07:23 +0200)] 
vte: upgrade 0.74.2 -> 0.76.3

lz4 is a new required dependency.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolz4: upgrade 1.9.4 -> 1.10.0
Alexander Kanavin [Tue, 27 Aug 2024 05:23:52 +0000 (07:23 +0200)] 
lz4: upgrade 1.9.4 -> 1.10.0

Drop most EXTRA_OEMAKE settings as no longer necessary.
(makefiles use weak assignments and shell variables then
take precedence).

License-Update: clarification that it's gpl2-or-later.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoalsa-utils: upgrade 1.2.11 -> 1.2.12
Alexander Kanavin [Tue, 27 Aug 2024 05:23:51 +0000 (07:23 +0200)] 
alsa-utils: upgrade 1.2.11 -> 1.2.12

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolibtraceevent: upgrade 1.8.2 -> 1.8.3
Alexander Kanavin [Tue, 27 Aug 2024 05:23:50 +0000 (07:23 +0200)] 
libtraceevent: upgrade 1.8.2 -> 1.8.3

Drop backport.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agowaffle: upgrade 1.8.0 -> 1.8.1
Alexander Kanavin [Tue, 27 Aug 2024 05:23:49 +0000 (07:23 +0200)] 
waffle: upgrade 1.8.0 -> 1.8.1

Drop the patch: the build is correctly using everything from sysroots
now.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agohicolor-icon-theme: upgrade 0.17 -> 0.18
Alexander Kanavin [Tue, 27 Aug 2024 05:23:48 +0000 (07:23 +0200)] 
hicolor-icon-theme: upgrade 0.17 -> 0.18

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoadwaita-icon-theme: upgrade 46.0 -> 46.2
Alexander Kanavin [Tue, 27 Aug 2024 05:23:47 +0000 (07:23 +0200)] 
adwaita-icon-theme: upgrade 46.0 -> 46.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agommc-utils: upgrade to latest revision
Alexander Kanavin [Tue, 27 Aug 2024 05:23:46 +0000 (07:23 +0200)] 
mmc-utils: upgrade to latest revision

Add sphinx as a build dependency and set C= to avoid needing the 'sparse' utility.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>