]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/log
thirdparty/openembedded/openembedded-core.git
18 months agopython3-alabaster: upgrade 0.7.13 -> 0.7.16
Tim Orling [Tue, 16 Jan 2024 18:45:04 +0000 (10:45 -0800)] 
python3-alabaster: upgrade 0.7.13 -> 0.7.16

* Since 0.7.14 setup.py was dropped and now the project is using the
  flit core backend (inherit python_flit_core)
* Add BUGTRACKER url

License-Update: LICENSE renamed to LICENSE.rst

https://alabaster.readthedocs.io/en/latest/changelog.html#changelog

0.7.14 – 2024-01-08
* Dropped support for Python 3.8 and earlier.
* Dropped support for Sphinx 3.3 and earlier.
* #198 Fix horizontal scrolling on mobile.
* #206 Properly support the html_support_sphinx config value.
* #211 Fix the GitHub ‘forkme’ banner.
* Added alabaster_version_info to the HTML template context.
* Declare support for Python 3.13.
* Adopt the Ruff linter and formatter.
* Migrate from CircleCI to GitHub Actions.

0.7.15 – 2024-01-08
* #213 Allow an arbitrary string in the logo_name option.
* #114 Improved sidebar CSS styles.
* #178 Deprecated canonical_url in favor of html_baseurl.
* #200 Removed duplicate <meta name="viewport" ... /> tag.
* #188 Removed underline from whitespace.
* #164 Removed type="text/javascript" from <script> elements.
* #161 Replaced &copy; with unicode decimal code entity #169;.

0.7.16 – 2024-01-10
* #215 Do not display logo_name if it is set to False.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoclasses-global/insane: Add check for "virtual/" in RPROVIDES and RDEPENDS
Simone Weiß [Sun, 14 Jan 2024 17:19:03 +0000 (17:19 +0000)] 
classes-global/insane: Add check for "virtual/" in RPROVIDES and RDEPENDS

Fixes [YOCTO #14538]

Recipes shouldn't use "virtual/" in RPROVIDES and RDEPENDS. This was
addressed already in recipes in meta-oe and oe-core. Add a test for
this in insane.bbclass to ensure no regressions occur.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibunwind: clean up configuration
Ross Burton [Wed, 17 Jan 2024 15:07:20 +0000 (15:07 +0000)] 
libunwind: clean up configuration

Add a PACKAGECONFIG for the support for zlib-compressed debuginfo.

There's no need to explicitly enable reading of .debug_frame segments as
this is enabled automatically for arm/aarch64.

Enable static globally, there's not much to gain by making this
musl-specific.

Don't disable the tests on musl as they verify that libunwind can link,
which is important with external libucontext libraries.

No need to disable documentation on musl, as it's already disabled out
of the box.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibunwind: refresh patches
Ross Burton [Wed, 17 Jan 2024 15:07:19 +0000 (15:07 +0000)] 
libunwind: refresh patches

0001-src-Gtrace-remove-unguarded-print-calls.patch has been merged, so
update the Upstream-Status.

0003-x86-Stub-out-x86_local_resume.patch has been hopefully obsoleted by
the use of libucontext, remove.

Split 004-Fix-build-on-mips-musl.patch into two, as there's two
independent issues here.

0006-Fix-for-X32.patch appears to have been fixed with 31738a upstream,
in 1.6.0.

musl-header-conflict.patch was obsoleted by recipe-specific-sysroots,
remove it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibunwind: merge .inc and .bb
Ross Burton [Wed, 17 Jan 2024 15:07:18 +0000 (15:07 +0000)] 
libunwind: merge .inc and .bb

There's no need to these to be split, so merge them together.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agomusl: doesn't support riscv32
Ross Burton [Wed, 17 Jan 2024 15:07:17 +0000 (15:07 +0000)] 
musl: doesn't support riscv32

musl doesn't support riscv32, so set COMPATIBLE_HOST appropriately.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoiputils: update to 20240117
Petr Vorel [Thu, 18 Jan 2024 00:29:47 +0000 (01:29 +0100)] 
iputils: update to 20240117

Changelog:

* ping
- fix: Restore -i0 (commit: 7a51494, PR: #519, regression from 2a63b94)

* localization
- Updated Turkish and Indonesian
- 100% translated: Chinese (Simplified), Czech, French, Georgian, German,
  Korean, Portuguese (Brazil), Turkish, Ukrainian
- > 90% translated: Finnish, Indonesian, Japanese

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibtool: Update further patch status to backport
Richard Purdie [Thu, 18 Jan 2024 00:20:42 +0000 (00:20 +0000)] 
libtool: Update further patch status to backport

Three further patches were merged to upstream libtool, update the patch
status to Backport.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibtool: Update patch offsets
Richard Purdie [Wed, 17 Jan 2024 12:55:05 +0000 (12:55 +0000)] 
libtool: Update patch offsets

Our patches were rather out of sync, update the line offsets to match the current
patchset/underlying code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibtool: Update cleanup sysroot handling patch
Richard Purdie [Wed, 17 Jan 2024 13:02:49 +0000 (13:02 +0000)] 
libtool: Update cleanup sysroot handling patch

The sysroot path cleanup change was reworked after discussion/review upstream. It
appeared there were two different changes in one of our patches so separate out
the second one and mark as inappropriate as it is unlikely upstream would take
such a change in defaults. We need further investigation to decide if OE really
wants/needs this going forward.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibtool: Update prefixmap and clang patches to match upstream submission
Richard Purdie [Wed, 17 Jan 2024 08:36:09 +0000 (08:36 +0000)] 
libtool: Update prefixmap and clang patches to match upstream submission

The patches were submitted upstream and adjusted after discussion. Update to match
the changes requested.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibtool: Update nios2 patch to match upstream merged version
Richard Purdie [Wed, 17 Jan 2024 08:36:04 +0000 (08:36 +0000)] 
libtool: Update nios2 patch to match upstream merged version

Update the patch to match the version merged upstream.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibtool: Update patches to mark as backports
Richard Purdie [Mon, 15 Jan 2024 13:42:27 +0000 (13:42 +0000)] 
libtool: Update patches to mark as backports

Several patches merged upstream, mark as such.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoclasses/recipes: Switch to use inherit_defer
Richard Purdie [Sun, 31 Dec 2023 13:27:50 +0000 (13:27 +0000)] 
classes/recipes: Switch to use inherit_defer

Now that bitbake supports the use of inherit_defer, switch all conditional
(variable based) inherits to use this instead. This leads to more a more
deterministic user experience since there is no longer an immediate expansion
and later changes to the variables in question (e.g. a bbappend) are
accounted for.

This patch tries to ensure the behaviour before/after remains as unchanged
as it reasonably can, e.g. by always inherting populate_sdk_base. native
and nativesdk continue to need to be inherited last, hence being used
with inherit_defer in a handful of very specific cases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agorootfs-postcommands: Try and improve ordering constraints
Richard Purdie [Tue, 2 Jan 2024 17:22:14 +0000 (17:22 +0000)] 
rootfs-postcommands: Try and improve ordering constraints

The current code is in race to see who can set things last. This isn't scalable or
sustainable and problemtic in the face of inherit ordering changes.

Move the ordering issue into the actual code execution, which isn't ideal but
the best of several bad options and at least lets us drop the anonymous python.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agorootfs: Fix MULTILIB_RE_ALLOW to be inherit order independent
Richard Purdie [Tue, 2 Jan 2024 17:22:01 +0000 (17:22 +0000)] 
rootfs: Fix MULTILIB_RE_ALLOW to be inherit order independent

This variable is only used by the ipk backend with multilibs.

In order to make it work correctly regardless of inherit order, change
the string to be space delimeted, set using += and add in the regex '|'
sperator at the end of processing.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoallarch: Fix allarch corner case
Richard Purdie [Mon, 1 Jan 2024 12:35:19 +0000 (12:35 +0000)] 
allarch: Fix allarch corner case

Most of the allarch code is conditional and only set if the recipe remains marked
as allarch. The qemu wrapper handling is not handled in the same way however and
is unconditional.

Move the code to some slightly uglier inline python to allow it to be conditional
and match the way the rest of the code works.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibdrm: Upgrade to 2.4.120
Fabio Estevam [Sat, 13 Jan 2024 17:28:38 +0000 (14:28 -0300)] 
libdrm: Upgrade to 2.4.120

Upgrade to 2.4.120 which has the following changes:

Eric Engestrom (1):
      radeon: fix missing stencil_tile_mode initialisation in the linear/fallback case

Pierre-Eric Pelloux-Prayer (1):
      amdgpu: fix use-after-free

Simon Ser (2):
      Sync headers with drm-next
      build: bump version to 2.4.120

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolinux-firmware: split out rockchip/dptx firmware
André Draszik [Sat, 13 Jan 2024 15:56:37 +0000 (15:56 +0000)] 
linux-firmware: split out rockchip/dptx firmware

The dptx firmware is required by the Rockchip Type-C DisplayPort
controller, and we shouldn't have to pull in all of the other firmwares
just for that.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agomdadm: Disable 10ddf-fail-spare and 10ddf-fail-stop-readd testcases
Khem Raj [Fri, 12 Jan 2024 22:04:23 +0000 (14:04 -0800)] 
mdadm: Disable 10ddf-fail-spare and 10ddf-fail-stop-readd testcases

This always fails in my CI setup. There are some others which fail
intermittently however, this one is deterministic and fails always e.g.

    AssertionError:- [1/1]
    Failed ptests:
    {'mdadm': ['/usr/lib/mdadm/ptest/tests/10ddf-fail-spareFAILED_-_see_/usr/lib/mdadm/ptest/logs/10ddf-fail-spare.log_and_/usr/lib/mdadm/ptest/lo

Mark them broken for now.

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>
18 months agowebkitgtk: Workaround for clang compiler segfault
Khem Raj [Fri, 12 Jan 2024 17:21:39 +0000 (09:21 -0800)] 
webkitgtk: Workaround for clang compiler segfault

This is a compiler crash which is under works upstream, until its fixed
lets disable musttail calls on clang+arm

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>
18 months agositeinfo.bbclass: add support for darwin19 and darwin21
Etienne Cordonnier [Fri, 12 Jan 2024 15:33:52 +0000 (16:33 +0100)] 
siteinfo.bbclass: add support for darwin19 and darwin21

Ported from the meta-darwin layer which supports darwin19 (honister version)
and darwin21 (kirkstone version).

Signed-off-by: Dominik Schnitzer <dominik@snap.com>
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>
18 months agochrpath.bbclass: fix Darwin support
Etienne Cordonnier [Fri, 12 Jan 2024 15:33:08 +0000 (16:33 +0100)] 
chrpath.bbclass: fix Darwin support

Ported from the meta-darwin layer:
The call to out.split("\n") expects a string, thus the parameter text=True is
needed (otherwise Popen returns a bytes object).

Note that "text" is just a more readable alias for universal_newlines.

Signed-off-by: Dominik Schnitzer <dominik@snap.com>
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>
18 months agopackage.py: fix Darwin support
Etienne Cordonnier [Fri, 12 Jan 2024 15:20:30 +0000 (16:20 +0100)] 
package.py: fix Darwin support

- 'subprocess.Popen([d.expand("${HOST_PREFIX}otool)' requires text-mode (a more
  readable alias for the universal_newlines parameter), since otool produces
  text and the code 'out.split("\n")' expects a string, not a bytes object.
  otool is used on MacOS only, so this error isn't triggered on Linux.

- use 'startswith("darwin")' in order to support all darwin versions and not
  just specific versions (meta-darwin supports darwin21 at the moment).

Signed-off-by: Dominik Schnitzer <dominik@snap.com>
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>
18 months agoinsane.bbclass: Python code cleanup in check_32bit_symbols
Ola x Nilsson [Fri, 12 Jan 2024 15:14:03 +0000 (16:14 +0100)] 
insane.bbclass: Python code cleanup in check_32bit_symbols

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>
18 months agoinsane.bbclass: Check for adjtime in check_32_bit_symbols
Ola x Nilsson [Fri, 12 Jan 2024 15:14:01 +0000 (16:14 +0100)] 
insane.bbclass: Check for adjtime in check_32_bit_symbols

adjtime was overlooked in the original commit.

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>
18 months agobmaptool: add 3 fixes
Trevor Woerner [Fri, 12 Jan 2024 14:18:56 +0000 (09:18 -0500)] 
bmaptool: add 3 fixes

I found a couple issues with bmaptool, including a race condition, which I
have fixed and submitted upstream. This patch adds these fixes to the project
now while waiting for feedback and a new release:

BmapCopy.py: fix error message
CLI.py: fix block device udev race condition
BmapCopy.py: tweak suggested udev rule

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agomesa: Upgrade 23.3.2 -> 23.3.3
Fabio Estevam [Thu, 11 Jan 2024 19:27:04 +0000 (16:27 -0300)] 
mesa: Upgrade 23.3.2 -> 23.3.3

Mesa 23.3.3 release notes:

https://lists.freedesktop.org/archives/mesa-announce/2024-January/000742.html

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolinux-firmware: package PowerVR firmware
Alexander Sverdlin [Wed, 10 Jan 2024 21:19:57 +0000 (22:19 +0100)] 
linux-firmware: package PowerVR firmware

linux-firmware commit 9afbbf25689c
("powervr: add firmware for Imagination Technologies AXE-1-16M GPU")
has added the initial firmware for AXE-1-16M GPU.

New packages will be called linux-firmware-powervr{-license}.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolinux-firmware: upgrade 20231030 -> 20231211
Alexander Sverdlin [Wed, 10 Jan 2024 21:19:56 +0000 (22:19 +0100)] 
linux-firmware: upgrade 20231030 -> 20231211

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoinit-ifupdown: add predictable interface names
Joe Slater [Wed, 10 Jan 2024 21:10:16 +0000 (13:10 -0800)] 
init-ifupdown: add predictable interface names

Use a pattern to initialize interfaces which start
with 'en'.  Also, make 'eth0' a pattern so that we
do not see an initialization error if it has been
renamed.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agorng-tools: move to meta-oe
Randy MacLeod [Wed, 10 Jan 2024 20:25:01 +0000 (15:25 -0500)] 
rng-tools: move to meta-oe

Nothing in oe-core depends on rng-tools anymore:
   e7e1bc43ca rng-tools: splitting the rng-tools systemd/sysvinit serivce as a package
so move it to meta-oe for people who still want to run rngd
as a service for some reason or for those who want to run rng-test.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoiw: upgrade 5.19 -> 6.7
Changhyeok Bae [Wed, 10 Jan 2024 18:01:53 +0000 (18:01 +0000)] 
iw: upgrade 5.19 -> 6.7

52ae965 bump version to 6.7
ac7e46b update nl80211.h
44686ac iw: allow extra cflags
e2224c7 iw: S1G: add 802.11ah support for link command display
7298198 update nl80211.h
a1c9376 iw: connect: Fix segfault during open authentication
ea706b3 iw: fix attribute size mismatch
cb491fa iw: add more extended capa bits
cf26fc9 iw: Fix EHT rates printing.
f2d9f5b iw: S1G: add list command support for 802.11ah
1bc6ab0 iw: S1G: add parsing for 802.11ah scan IE's
a32046b iw: S1G: add frequency set in kHz and offset options
f5e3b43 util: don't print EHT info if not present
7794573 interface: print links
221875e link: update for MLO
5f64b70 link: fix some formatting
29555e1 iw: scan: set NL80211_SCAN_FLAG_COLOCATED_6GHZ in case of full sched scan
997e5f1 util: add support for 320MHz bandwidth without cf1
81d112f util: add support for 320Mhz bandwidth
de3da80 update nl80211.h
d6fd275 iw: event: fix printf format error
cc660cc iw: add support for retrieving keys
c4743bb iw: info: fix bug reading preambles and bandwidths
82e6fba iw: add cac background command
ad2f2f8 iw: info: print PMSR capabilities

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agoxmlcatalog: limit to native recipes only
Ross Burton [Thu, 11 Jan 2024 18:14:42 +0000 (18:14 +0000)] 
xmlcatalog: limit to native recipes only

The sysroot postinst is explicitly native-only, so use more overrides to
ensure that we don't try to run them outside of native recipes.

Also add a comment so this doesn't get forgotten again, and link to the
related bug.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agoshadow: link executables statically for -native variant
Alexander Kanavin [Thu, 11 Jan 2024 13:15:21 +0000 (14:15 +0100)] 
shadow: link executables statically for -native variant

shadow 4.14.x adds a number of libraries it dynamically links with
(md, bsd, attr). This causes troubles in setscene tasks where
shadow executables are used (such as useradd), as pulling in
the needed dynamic libraries needs unpleasant special-casing.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agoshadow: update 4.13 -> 4.14.2
Alexander Kanavin [Thu, 11 Jan 2024 13:15:20 +0000 (14:15 +0100)] 
shadow: update 4.13 -> 4.14.2

License-Update: formatting, spdx conversion

Drop:
0001-Disable-use-of-syslog-for-sysroot.patch
(issue fixed upstream)

0001-Fix-can-not-print-full-login.patch
0001-Overhaul-valid_field.patch
CVE-2023-29383.patch
(backports)

libbsd is a new native dependency, as otherwise glibc >= 2.38
is needed.

A similar fix is added to musl in order to define non-standard __BEGIN_DECLS/__END_DECLS.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agoglibc: Set status for CVE-2023-5156 & CVE-2023-0687
Simone Weiß [Thu, 11 Jan 2024 15:20:56 +0000 (15:20 +0000)] 
glibc: Set status for CVE-2023-5156 & CVE-2023-0687

Set `CVE_STATUS`for those CVEs, they have already been fixed with the latest
pull for stable branch fixes done in rev
e444d2bed0ea140a574414fcd5a689867e8ba312. Hence the issues are fixed
already.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agocairo: upgrade to 1.18.0
Ross Burton [Wed, 10 Jan 2024 21:01:53 +0000 (21:01 +0000)] 
cairo: upgrade to 1.18.0

The changelog is large[1] but:

Added:
- Type 3 colour and COLRv2 fonts
- Tee surfice automatically enabled
- Meson build system

Removed:
- The cairo-sphinx tool
- The XML, GL, GLES, Qt5, BeOS, OS/2, DirectFB, DRM, Cogl, and OpenVL
  backends
- Autotools build system

These CVE patches have been merged upstream:
  CVE-2018-19876.patch: https://gitlab.freedesktop.org/cairo/cairo/-/commit/90e85c2493fdfa3551f202ff10282463f1e36645
  CVE-2019-6461.patch: https://gitlab.freedesktop.org/cairo/cairo/-/commit/09643ee1abdd5daacebfcb564448f29be9a79bac
  CVE-2019-6462.patch: https://gitlab.freedesktop.org/cairo/cairo/-/commit/bbeaf08190d3006a80b80a77724801cd477a37b8
  CVE-2020-35492.patch: https://gitlab.freedesktop.org/cairo/cairo/-/commit/c986a7310bb06582b7d8a566d5f007ba4e5e75bf

Some niche options have been removed in the migration to Meson, so the
recipe can be cleaned up.

Put libcairo-fdr ("flight data recorder") in the perf-utils package
instead of deleting it.

There is an executable test for IPC behaviour that needs to be set via a
cross file if qemu-user isn't available, thanks to Alex Kanavin for this
portion.

[1] https://www.cairographics.org/news/cairo-1.18.0/

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agomeson: use pkg-config in the cross files
Ross Burton [Wed, 10 Jan 2024 13:42:02 +0000 (13:42 +0000)] 
meson: use pkg-config in the cross files

>From Meson 1.3.0, the "pkgconfig" entry is deprecated and "pkg-config"
should be used instead[1].

[1] https://mesonbuild.com/Release-notes-for-1-3-0.html#machine-files-pkgconfig-field-deprecated-and-replaced-by-pkgconfig

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agoopkg-utils: Backport fix to drop --numeric-owner parameter
Khem Raj [Tue, 9 Jan 2024 18:40:05 +0000 (10:40 -0800)] 
opkg-utils: Backport fix to drop --numeric-owner parameter

It fixes the issue with different GIDs during ipk creation and image
creation time

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agoselftest/SStatePrintdiff: ensure all base signatures are present in sstate in test_im...
Alexander Kanavin [Wed, 10 Jan 2024 10:44:59 +0000 (11:44 +0100)] 
selftest/SStatePrintdiff: ensure all base signatures are present in sstate in test_image_minimal_vs_base_do_configure

The test relies on all tasks in the dependency tree of the tasks being changed
having valid signatures in sstate, so that the recursive discovery of the
base invalid tasks stops there, and doesn't go further.

This may not always occur, particularly when hash equivalency combined with
different build host architectures prevents them from getting created in regular builds:
https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/2725/steps/15/logs/stdio

The other two tests (that change specific recipes) already ensure this, but
this test (which changes a basic task definition) does not.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agocoreutils: Ignore line-bytes.sh and no-allocate tests on musl
Khem Raj [Wed, 10 Jan 2024 04:49:41 +0000 (20:49 -0800)] 
coreutils: Ignore line-bytes.sh and no-allocate tests on musl

bash fails in xmalloc when running these tests. More thorough
investigation may reveal real cause, however, it seems to fail on
other musl distros as well.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agotcl: Fix prepending to run-ptest script
Khem Raj [Tue, 9 Jan 2024 23:29:12 +0000 (15:29 -0800)] 
tcl: Fix prepending to run-ptest script

This ensures that string is prepended properly and eclosed in ''
Fixes the ptest runs on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agoutil-linux: enable gtk-doc
Ross Burton [Wed, 10 Jan 2024 13:07:30 +0000 (13:07 +0000)] 
util-linux: enable gtk-doc

Now that we've solved the util-linux - gtk-doc - xmlto - util-linux
dependency loop, we can enable gtk-doc in util-linux.

We explicitly disable it in util-linux-libuuuid as this doesn't have API
documentation.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agokmod: fix configure with autopoint calling gtkdocize
Ross Burton [Wed, 10 Jan 2024 13:07:29 +0000 (13:07 +0000)] 
kmod: fix configure with autopoint calling gtkdocize

GTKDOC_DOCDIR is obsolete now, so fix the build by passing the
documentation directory in the GTK_DOC_CHECK call.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agogtk-doc: don't manually call gtkdocize
Ross Burton [Wed, 10 Jan 2024 13:07:28 +0000 (13:07 +0000)] 
gtk-doc: don't manually call gtkdocize

The autoreconf call will now call gtkdocize if needed, so we don't need
to run it manually here.

This obsoletes GTKDOC_DOCDIR.  If this is needed then the replacement is
to ensure that the configure.ac has a call to GTK_DOC_CHECK which passes
--docdir.

For example, this is the change required for kmod:

-GTK_DOC_CHECK([1.14],[--flavour no-tmpl-flat])
+GTK_DOC_CHECK([1.14],[--flavour no-tmpl-flat --docdir libkmod/docs])

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agogtk-doc: don't use docdir set in environment in gtkdocize
Ross Burton [Wed, 10 Jan 2024 13:07:27 +0000 (13:07 +0000)] 
gtk-doc: don't use docdir set in environment in gtkdocize

The gtkdocize script was accidentally respecting $docdir from the
environment as the default documentation directory. This is a problem as
bitbake.conf exports $docdir, resulting in configure failures.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agogtk-doc: remove obsolete logic
Ross Burton [Wed, 10 Jan 2024 13:07:26 +0000 (13:07 +0000)] 
gtk-doc: remove obsolete logic

This manual disabling of gtk-doc for autotools and meson in native and
nativesdk builds is replicating logic above for target builds.

Instead, use one assignment for all builds, as we explicitly disable
gtk-doc in native builds and it can be useful in nativesdk.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agogtk-doc: fix DEPENDS
Ross Burton [Wed, 10 Jan 2024 13:07:25 +0000 (13:07 +0000)] 
gtk-doc: fix DEPENDS

The use of xmlto and six was removed many years ago, instead depend
directly on docbook-xml and docbook-xsl.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agoautotools: don't exclude gtkdocize
Ross Burton [Wed, 10 Jan 2024 13:07:24 +0000 (13:07 +0000)] 
autotools: don't exclude gtkdocize

gtkdocize can now be ran successfully from autoreconf, so there's no
need to exclude it and run it manually.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agoautotools: append to EXTRA_AUTORECONF
Ross Burton [Wed, 10 Jan 2024 13:07:23 +0000 (13:07 +0000)] 
autotools: append to EXTRA_AUTORECONF

Inherit order may mean that this class is inherited after assignments,
so extend instead of assign EXTRA_AUTORECONF.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agoglib-2.0: no need to depend on target gtk-doc
Ross Burton [Wed, 10 Jan 2024 13:07:22 +0000 (13:07 +0000)] 
glib-2.0: no need to depend on target gtk-doc

The meson.build looks for a target gtk-doc, but it should be looking for
the native package.

Fixing this means we can drop the need for a target gtk-doc package.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agorootfs.py: check depmodwrapper execution result
Yang Xu [Tue, 9 Jan 2024 11:05:15 +0000 (11:05 +0000)] 
rootfs.py: check depmodwrapper execution result

The execution result of depmodwrapper is not checked which makes depmod
generation failed sliently and hard to detect.

So check exection result and stop building if depmodwrapper failed.

Signed-off-by: Yang Xu <yang.xu@mediatek.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
19 months agokmscube: Add package version
Fabio Estevam [Tue, 9 Jan 2024 01:09:50 +0000 (22:09 -0300)] 
kmscube: Add package version

kmscube meson.build passes version : '0.0.1', so add a package
version entry to match.

Suggested-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
19 months agokmscube: Change header file to <GLES3/gl3.h>
Fabio Estevam [Tue, 9 Jan 2024 01:09:49 +0000 (22:09 -0300)] 
kmscube: Change header file to <GLES3/gl3.h>

Since kmscube commit 96d63eb59e34 ("kmscube: Add gears mode"), kmscube
fails to build on platforms without <GL/gl.h>.

Fix it by changing the header file to <GLES3/gl3.h>.

Reported-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
19 months agolinux-firmware: Fix the linux-firmware-bcm4373 FILES variable
Rodrigo M. Duarte [Mon, 8 Jan 2024 13:43:23 +0000 (10:43 -0300)] 
linux-firmware: Fix the linux-firmware-bcm4373 FILES variable

This commit includes the 'cyfmac4373-sdio.clm_blob' file in
the list of files for the linux-firmware-bcm4373 package.
Without this file, the linux-firmware package adds all
firmware packages to the image.

Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
19 months agorng-tools: remove obsolete build time dependency on sysfsutils
david d zuhn [Mon, 8 Jan 2024 22:49:03 +0000 (16:49 -0600)] 
rng-tools: remove obsolete build time dependency on sysfsutils

This package used to use libsysfs, but has been modified to read
the /sys file system directly.  This build dependency is no longer
needed.

Signed-off-by: david d zuhn <david.zuhn@sonos.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
19 months agosyslinux: Allow mtools to be optional
Joshua Watt [Mon, 8 Jan 2024 20:22:47 +0000 (13:22 -0700)] 
syslinux: Allow mtools to be optional

Adds a PACKAGECONFIG to syslinux to determine if the mtools version of
the utilities is installed or not. The difference between the two
versions is that the mtools version can be used by any user with write
permission, while the non-mtools can only be used by root.

The syslinux-nomtools package is removed, as it was empty and doesn't
appear to be used anyway

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
19 months agosystemd: add udev-bash-completion package
Corentin Guillevic [Mon, 8 Jan 2024 16:49:57 +0000 (17:49 +0100)] 
systemd: add udev-bash-completion package

Move the 'udevadm' autocompletion script into a dedicated package.
Indeed, bash (and therefore, the bash-completion package) is not
always installed. But the 'udevadm' autocompletion script remains
in ${datadir}/bash-completion.

Creating a dedicated package allows better split, and avoids
installing it if the bash-completion package is missing.

Signed-off-by: Corentin Guillevic <corentin.guillevic@smile.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
19 months agou-boot: Upgrade to 2024.01
Fabio Estevam [Mon, 8 Jan 2024 16:00:22 +0000 (13:00 -0300)] 
u-boot: Upgrade to 2024.01

Upgrade to U-Boot 2024.01.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
19 months agoselftest/sstatetests: include fetcher diagnostics into CDN test failure message
Alexander Kanavin [Mon, 8 Jan 2024 14:27:26 +0000 (15:27 +0100)] 
selftest/sstatetests: include fetcher diagnostics into CDN test failure message

This will help finding out what kind of error the server actually returned,
as sporadic CDN failures continue to occur.

[YOCTO #15335]

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
19 months agoicon-naming-utils: take tarball from debian
Alexander Kanavin [Mon, 8 Jan 2024 11:12:27 +0000 (12:12 +0100)] 
icon-naming-utils: take tarball from debian

Upstream website has disappeared; the tarball can still be downloaded
but this is probably not for long.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
19 months agolibpcre2: fix upstream version check
Alexander Kanavin [Mon, 8 Jan 2024 11:12:26 +0000 (12:12 +0100)] 
libpcre2: fix upstream version check

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
19 months agotaglib: fix upstream version check
Alexander Kanavin [Mon, 8 Jan 2024 11:12:25 +0000 (12:12 +0100)] 
taglib: fix upstream version check

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
19 months agogptfdisk: Make the version consistent
Mingli Yu [Mon, 8 Jan 2024 09:11:33 +0000 (17:11 +0800)] 
gptfdisk: Make the version consistent

The previous change [262aa17e0e popt: update 1.18 -> 1.19] backports a
patch [1] for gptfdisk and make the version bump from 1.0.9 to 1.0.9.1
and make the package version inconsistent as below:
root@qemux86-64:~# rpm -qa | grep gptfdisk
gptfdisk-1.0.9-r0.core2_64
root@qemux86-64:~# rpm -ql gptfdisk
/usr
/usr/sbin
/usr/sbin/cgdisk
/usr/sbin/fixparts
/usr/sbin/gdisk
/usr/sbin/sgdisk
root@qemux86-64:~# gdisk --help
GPT fdisk (gdisk) version 1.0.9.1

[snip]

So update the bumped version part to make the package version consistent.

[1] https://sourceforge.net/p/gptfdisk/code/ci/5d5e76d369a412bfb3d2cebb5fc0a7509cef878d

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
19 months agopython3-cython: update 0.29.36 -> 3.0.7
Alexander Kanavin [Fri, 5 Jan 2024 13:35:43 +0000 (14:35 +0100)] 
python3-cython: update 0.29.36 -> 3.0.7

pep517 build backends require cython 3.x when
python is at 3.12, so we can't hold this update any
longer. There are only a few things in meta-oe
and meta that break anymore, and fixes for them
are provided at the same time as this patch.

License-update: http -> https

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
19 months agopython3-pyyaml: make compatible with cython 3.x
Alexander Kanavin [Fri, 5 Jan 2024 13:35:42 +0000 (14:35 +0100)] 
python3-pyyaml: make compatible with cython 3.x

This has been rejected by upstream in favour of requiring obsolete cython
until there's 'proper' 3.x support. Months later, there's still no progress
so let's just take the rejected fix, as it does work (as reported by others as well),
and allows moving forward with cython.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
19 months agoselftest/sstatetest: re-enable gcc printdiff test
Alexander Kanavin [Mon, 18 Dec 2023 08:44:03 +0000 (09:44 +0100)] 
selftest/sstatetest: re-enable gcc printdiff test

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agoselftest/sstatetests: fix up printdiff test to match rework of printdiff logic
Alexander Kanavin [Mon, 18 Dec 2023 08:43:58 +0000 (09:43 +0100)] 
selftest/sstatetests: fix up printdiff test to match rework of printdiff logic

Other than the formatting changes, there are two functional ones:

- use perlcross instead of quilt, as quilt is special in the sense
of being excluded from task hash calculcations. perlcross is a full
participant.

- run the full test (local + sstate) for gcc do_preconfiure change
as the necessary fix has been implemented
(sstatesig/find_siginfo: special-case gcc-source when looking in sstate caches)

Note that when several tasks are found to have changed (as is the case
when base do_configure is adjusted), find_siginfo() runs
glob.glob("*/*/*taskname*") against autobuilder sstate cache for each
of those tasks (six or seven times). This is an expensive operation
taking several minutes. I left it in for now, but if it's proven too slow
the test would have to be reduced to checking a specific base recipe
(e.g. zstd-native) rather than a distant image target.

[YOCTO #15289]

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agoqemu.bbclass: fix a python TypeError
Ming Liu [Sun, 7 Jan 2024 10:34:48 +0000 (11:34 +0100)] 
qemu.bbclass: fix a python TypeError

QEMU_OPTIONS can be empty which will trigger a exception TypeError:
| can only concatenate str (not "NoneType") to str. Fix it by setting a
empty string.

ALso removed two useless blanks.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agousbutils: Update to version 017
Fabio Estevam [Thu, 4 Jan 2024 03:24:34 +0000 (00:24 -0300)] 
usbutils: Update to version 017

Update to version 017 and add a patch to fix a buildpath error.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agolibusb1: Do not match on -rc versions
Fabio Estevam [Fri, 5 Jan 2024 02:36:55 +0000 (23:36 -0300)] 
libusb1: Do not match on -rc versions

Currently, the upstream check gives incorrect results:

$ devtool latest-version libusb1
...
INFO: Current version: 1.0.26
INFO: Latest version: 1.0.27

There is no 1.0.27 release yet, only 1.0.27-rc1.

Anuj Mittal has submitted the fix in v2:
https://lists.openembedded.org/g/openembedded-core/message/192683

but the original version was applied instead.

Fix it by passing "$" to make an exact match on the version.

With this change applied, devtool reports the correct
latest version:

INFO: Current version: 1.0.26
INFO: Latest version: 1.0.26

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agodevtool/standard: correctly escape \
Alexander Kanavin [Fri, 5 Jan 2024 13:35:41 +0000 (14:35 +0100)] 
devtool/standard: correctly escape \

python 3.12 points out that:

SyntaxWarning: invalid escape sequence '\*'

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>
19 months agopython3-attrs: enable ptest
Tim Orling [Fri, 5 Jan 2024 18:14:55 +0000 (10:14 -0800)] 
python3-attrs: enable ptest

The conftest.py file is needed to define the "slots" and "frozen" fixtures
for pytest

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agopython3-bcrypt: upgrade 4.1.1 -> 4.1.2
Tim Orling [Fri, 5 Jan 2024 17:24:46 +0000 (09:24 -0800)] 
python3-bcrypt: upgrade 4.1.1 -> 4.1.2

* Refresh -crates.inc

https://github.com/pyca/bcrypt/compare/4.1.1...4.1.2

https://github.com/pyca/bcrypt/?tab=readme-ov-file#changelog
https://github.com/pyca/bcrypt/?tab=readme-ov-file#412

* Publish both py37 and py39 wheels. This should resolve some errors
  relating to initializing a module multiple times per process.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agoelfutils: Update license information
William Lyu [Thu, 4 Jan 2024 18:30:45 +0000 (10:30 -0800)] 
elfutils: Update license information

Update license information for overall package, package libraries, and
package utilities in the recipe to match the license information as
described on the upstream website [1]:

"License. The libraries and backends are dual GPLv2+/LGPLv3+. The
utilities are GPLv3+."

[1] https://sourceware.org/elfutils

Signed-off-by: William Lyu <William.Lyu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agoutil-linux/util-linux-libuuid: ugprade from 2.39.2 to 2.39.3
Chen Qi [Wed, 3 Jan 2024 04:42:06 +0000 (12:42 +0800)] 
util-linux/util-linux-libuuid: ugprade from 2.39.2 to 2.39.3

License-Update:
===============
GPL-1.0-or-later is added. fdisk.c is licensed under it.

0001-lscpu-Use-4K-buffer-size-instead-of-BUFSIZ.patch is dropped as
it's been in the new version.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agogawk: Add coreutils to rdeps for ptests package
Khem Raj [Fri, 5 Jan 2024 07:12:24 +0000 (23:12 -0800)] 
gawk: Add coreutils to rdeps for ptests package

newer gawk 5.3.0+ added a new testcase test/cmdlinefsbacknl2.sh which
use od utility with -An option which is not available in busybox
provided od applet. Replacing -An is not possible because default output
for od is octal and the test wants to use none for radix thats why it
uses -An.

Fixes test/cmdlinefsbacknl2.sh failures in ptests

which fails like below

   Usage: od [-aBbcDdeFfHhIiLlOovXx] [FILE]
    od: unrecognized option: A
    BusyBox v1.36.1 () multi-call binary.

Sadly, this prolongs depchain if ptest distro feature is used but there
is no other option if this test has to execute. Perhaps its best to
report this to upstream gawk and request to fix the testcase to not
hard depend on coreutils/od utility

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>
19 months agooeqa systemd.py: settle() using "running" or "degraded" state
Mikko Rapeli [Thu, 4 Jan 2024 13:51:12 +0000 (15:51 +0200)] 
oeqa systemd.py: settle() using "running" or "degraded" state

systemd boot has completed when system is in "running" or "degraded"
(some services failed) state. Check for that in the systemd settle()
function instead of listing all services and checking their activation
state since some services are in activation state even when whole
system is already in "running" state. Examples of services which can be
in activation state are rootfs auto mounting related generated services.

Without this patch systemd test_systemd_list (systemd.SystemdBasicTests) times
out on an image with dm-verity /usr partition and systemd generated
rootfs:

NOTE:  ... FAIL
Traceback (most recent call last):
  File "/home/builder/src/base/build/../poky/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
  File "/home/builder/src/base/poky/meta/lib/oeqa/runtime/cases/systemd.py", line 97, in test_systemd_failed
    self.assertTrue(settled, msg=msg)
AssertionError: False is not true : Timed out waiting for systemd to settle:
  UNIT                                                                                              LOAD   ACTIVE     SUB
     DESCRIPTION
  dev-disk-by\x2did-dm\x2dname\x2droot.device                                                       loaded activating tentativ
e    /dev/disk/by-id/dm-name-root
  dev-disk-by\x2did-dm\x2dname\x2dusr.device                                                        loaded activating tentativ
e    /dev/disk/by-id/dm-name-usr
  dev-disk-by\x2did-dm\x2duuid\x2dCRYPT\x2dLUKS2\x2df2b944f394174eb5918cb6af2c6b4cb2\x2droot.device loaded activating tentativ
e    /dev/disk/by-id/dm-uuid-CRYPT-LUKS2-f2b944f394174eb5918cb6af2c6b4cb2-root
  dev-disk-by\x2did-dm\x2duuid\x2dCRYPT\x2dVERITY\x2d3dd703c88f1946658697a6d57617473b\x2dusr.device loaded activating tentativ
e    /dev/disk/by-id/dm-uuid-CRYPT-VERITY-3dd703c88f1946658697a6d57617473b-usr
  dev-disk-by\x2duuid-bfbf856e\x2d3c65\x2d4eb2\x2d9ffb\x2d8e0b11641d85.device                       loaded activating tentativ
e    /dev/disk/by-uuid/bfbf856e-3c65-4eb2-9ffb-8e0b11641d85
  dev-dm\x2d0.device                                                                                loaded activating tentativ
e    /dev/dm-0
  dev-dm\x2d1.device                                                                                loaded activating tentativ
e    /dev/dm-1
...

Fix is to check for the systemd global "running" or "degraded" state.
Note that it would be possible to use a blocking call
"systemctl is-system-running --wait" to exit after system enters "running"
or "degraded" state but using the existing loop for a 2 minute timeout.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agodevtool: modify: fix exception
Jamin Lin [Wed, 3 Jan 2024 10:13:44 +0000 (18:13 +0800)] 
devtool: modify: fix exception

Root Cause:
initial_revs is an empty dictionary and do not have "." key.

Traceback (most recent call last):
  File "scripts/devtool", line 349, in <module>
    ret = main()
  File "scripts/devtool", line 336, in main
    ret = args.func(args, config, basepath, workspace)
  File "scripts/lib/devtool/standard.py", line 922, in modify
    if not initial_revs["."]:
KeyError: '.'

Solution:
check key exists, then get its value.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agopython3-lxml: upgrade 4.9.4 -> 45.0.0
Wang Mingyu [Wed, 3 Jan 2024 08:42:58 +0000 (16:42 +0800)] 
python3-lxml: upgrade 4.9.4 -> 45.0.0

Changelog:
==========
-LP#1976304: The "Element.addnext()" method previously inserted the new element
 before existing tail text.  The tail text of both sibling elements now stays on
 the respective elements.
-LP#1980767, GH#379: "TreeBuilder.close()" could fail with a "TypeError" after
 parsing incorrect input.
-"Element.itertext(with_tail=False)" returned the tail text of comments and
 processing instructions, despite the explicit option.
-GH#370: A crash with recent libxml2 2.11.x versions was resolved.
-A compile problem with recent libxml2 2.12.x versions was resolved.
-The internal exception handling in C callbacks was improved for Cython 3.0.
-The exception declarations of "xmlInputReadCallback", "xmlInputCloseCallback",
-"xmlOutputWriteCallback" and "xmlOutputCloseCallback" in "tree.pxd" were
 corrected to prevent running Python code or calling into the C-API with a live
 exception set.
-GH#385: The long deprecated "unittest.makeSuite()" function is no longer used.
-LP#1522052: A file-system specific test is now optional and should no longer fail
 on systems that don't support it.
-GH#392: Some tests were adapted for libxml2 2.13.
-Contains all fixes from lxml 4.9.4.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agopython3-attrs: upgrade 22.1.0 -> 23.2.0
Wang Mingyu [Wed, 3 Jan 2024 08:42:57 +0000 (16:42 +0800)] 
python3-attrs: upgrade 22.1.0 -> 23.2.0

Changelog:
===========
- The type annotation for 'attrs.resolve_types()' is now correct.
- Type stubs now use 'typing.dataclass_transform' to decorate dataclass-like
  decorators, instead of the non-standard '__dataclass_transform__' special
  form, which is only supported by Pyright.
- Fixed serialization of namedtuple fields using 'attrs.asdict/astuple()'
  with 'retain_collection_types=True'.
- 'attrs.AttrsInstance' is now a 'typing.Protocol' in both type hints and code.
  This allows you to subclass it along with another 'Protocol'.
- If *attrs* detects that '__attrs_pre_init__' accepts more than just 'self',
  it will call it with the same arguments as '__init__' was called.
  This allows you to, for example, pass arguments to 'super().__init__()'.
- Slotted classes now transform 'functools.cached_property' decorated methods
  to support equivalent semantics.
- Added *class_body* argument to 'attrs.make_class()' to provide additional
  attributes for newly created classes.
  It is, for example, now possible to attach methods.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agosudo: upgrade from 1.9.15p2 to 1.9.15p5
Chen Qi [Wed, 3 Jan 2024 04:42:08 +0000 (12:42 +0800)] 
sudo: upgrade from 1.9.15p2 to 1.9.15p5

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agodbus-wait: bump srcrev
Chen Qi [Wed, 3 Jan 2024 04:42:07 +0000 (12:42 +0800)] 
dbus-wait: bump srcrev

This upgrade only includes one new commit:
64bc7c8 SECURITY.md: Add file

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agolibcap-ng-python: upgrade 0.8.3 -> 0.8.4
Yi Zhao [Tue, 2 Jan 2024 15:06:41 +0000 (23:06 +0800)] 
libcap-ng-python: upgrade 0.8.3 -> 0.8.4

ChangeLog:
  - In capng_change_id, clear PR_SET_KEEPCAPS if returning an error
  - pscap: add -p option for reporting a specified process
  - Annotate function prototypes to warn if results are unused
  - Drop python2 support

* Remove "--with-python" option as python2 support was dropped.

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>
19 months agolibcap-ng: upgrade 0.8.3 -> 0.8.4
Yi Zhao [Tue, 2 Jan 2024 15:06:40 +0000 (23:06 +0800)] 
libcap-ng: upgrade 0.8.3 -> 0.8.4

ChangeLog:
  - In capng_change_id, clear PR_SET_KEEPCAPS if returning an error
  - pscap: add -p option for reporting a specified process
  - Annotate function prototypes to warn if results are unused
  - Drop python2 support

* Remove "--with-python" option as python2 support was dropped.

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>
19 months agorpm: Fix build with musl
Khem Raj [Tue, 2 Jan 2024 08:29:42 +0000 (00:29 -0800)] 
rpm: Fix build with musl

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>
19 months agoconnman: Fix build with musl
Khem Raj [Tue, 2 Jan 2024 08:29:41 +0000 (00:29 -0800)] 
connman: Fix build with musl

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>
19 months agopython3-pytest: upgrade 7.4.3 -> 7.4.4
Wang Mingyu [Tue, 2 Jan 2024 07:31:59 +0000 (15:31 +0800)] 
python3-pytest: upgrade 7.4.3 -> 7.4.4

Changelog:
============
-Fix non-string constants at the top of file being detected as docstring
s on Python>=3.8.
-Handle an edge case where sys.stderr and sys.__stderr__ might already be
 closed when Fault Handler is tearing down.
-Fixed tracebacks from collection errors not getting pruned.
-Removed unhelpful error message from assertion rewrite mechanism when exceptions
 are raised in __iter__ methods. Now they are treated un-iterable instead.
-Updated documentation to refer to hyphenated options: replaced --junitxml with
 --junit-xml and --collectonly with --collect-only.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agopython3-pycryptodomex: upgrade 3.19.0 -> 3.19.1
Wang Mingyu [Tue, 2 Jan 2024 07:28:55 +0000 (15:28 +0800)] 
python3-pycryptodomex: upgrade 3.19.0 -> 3.19.1

Changelog:
Fixed a side-channel leakage with OAEP decryption that could be exploited to carry out a Manger attack.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agopython3-pycryptodome: upgrade 3.19.0 -> 3.19.1
Wang Mingyu [Tue, 2 Jan 2024 07:28:19 +0000 (15:28 +0800)] 
python3-pycryptodome: upgrade 3.19.0 -> 3.19.1

Changelog:
Fixed a side-channel leakage with OAEP decryption that could be exploited to carry out a Manger attack.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agopython3-hypothesis: upgrade 6.92.1 -> 6.92.2
Wang Mingyu [Tue, 2 Jan 2024 07:26:37 +0000 (15:26 +0800)] 
python3-hypothesis: upgrade 6.92.1 -> 6.92.2

Changelog:
============
updates vendored list of top-level domains, which is used by the provisional domains() strategy.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agopython3-hatch-fancy-pypi-readme: upgrade 23.1.0 -> 24.1.0
Wang Mingyu [Tue, 2 Jan 2024 07:23:43 +0000 (15:23 +0800)] 
python3-hatch-fancy-pypi-readme: upgrade 23.1.0 -> 24.1.0

Changelog:
===========
-Added a default to an internal API that is used by scikit-build-core.
-$HFPR_VERSION is now replaced by the package version in the PyPI readme.
 The version is not available in CLI mode, therefore it's replaced by the dummy
 value of 42.0.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agopython3-dbusmock: upgrade 0.30.1 -> 0.30.2
Wang Mingyu [Tue, 2 Jan 2024 07:22:43 +0000 (15:22 +0800)] 
python3-dbusmock: upgrade 0.30.1 -> 0.30.2

Changelog:
 bluez5: Fix invalid arguments to PairDevice

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agosubversion: upgrade 1.14.2 -> 1.14.3
Wang Mingyu [Tue, 2 Jan 2024 07:22:05 +0000 (15:22 +0800)] 
subversion: upgrade 1.14.2 -> 1.14.3

Changelog:
============
 - Client-side bugfixes:
    * Fix svn:mergeinfo diff parser bug when parsing forward merges (r1906502)
    * Fix redirected URL handling with file externals (r1908926, issue #4911)
 - Developer-visible changes:
    * swig-rb: Fix uses of 'File.exist?', deprecated since Ruby 2.1 (r1904472)
    * Build: Fix uses of deprecated Python APIs (r1900882, issue #4899)
    * Build: Retain ability to build SWIG Python 2 bindings (r1900890)
    * Fix reading WC lock status with svn_wc_status2_t (r1904193, issue #4908)
    * JavaHL: Add @Deprecated to silence compiler warnings (r1904936)
    * JavaHL: Fix crash in case of null message in getMessage (r1904938)
    * Fix build breakage of release tarballs by installed swig (r1878379 et al)
    * Add regression test for issue #4711 "invalid xml file" (r1877310)
    * swig-py: Fix building with SWIG 4.1.0 (r1904167)
    * Makefile.in: Fix cleaning of __pycache__ dirs and *.pyc (r1903267)
    * swig-py: Avoid deprecated options to SWIG >= 4.1.0 (r1904198, r1904287)
    * swig-py: Use sysconfig to allow building with Python 3.12 (r1910098)
    * INSTALL: Document not to use SVN with APR 1.7.3 on Windows (r1911278)
    * Fix test suite broken by syntax error when --enable-sasl (r1907124)
    * swig-py: Fix issues #4916, #4917, #4918 (r1912500 et al)
    * swig-py: Improve error when no external diff (r1912724, -743, issue #1778)
    * autogen.sh: Fix building when Python is not named "python" (r1903245)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agomesa: upgrade 23.3.1 -> 23.3.2
Wang Mingyu [Tue, 2 Jan 2024 07:21:29 +0000 (15:21 +0800)] 
mesa: upgrade 23.3.1 -> 23.3.2

0001-meson.build-check-for-all-linux-host_os-combinations.patch
refreshed for 23.3.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agoccache: upgrade 4.8.3 -> 4.9
Wang Mingyu [Tue, 2 Jan 2024 07:20:49 +0000 (15:20 +0800)] 
ccache: upgrade 4.8.3 -> 4.9

License-Update:
===============
Upgrade to fmt 10.1.1
Upgrade to cpp-httplib 0.14.3
Upgrade to BLAKE3 1.5.0

Changelog:
 https://ccache.dev/releasenotes.html#_ccache_4_9

0001-xxhash.h-Fix-build-with-gcc-12.patch
refreshed for 4.9

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agomeson: upgrade 1.3.0 -> 1.3.1
Wang Mingyu [Tue, 2 Jan 2024 07:20:08 +0000 (15:20 +0800)] 
meson: upgrade 1.3.0 -> 1.3.1

0001-Make-CPU-family-warnings-fatal.patch
0001-python-module-do-not-manipulate-the-environment-when.patch
0002-Support-building-allarch-recipes-again.patch
refreshed for 1.3.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agoffmpeg: upgrade 6.1 -> 6.1.1
Wang Mingyu [Tue, 2 Jan 2024 07:19:34 +0000 (15:19 +0800)] 
ffmpeg: upgrade 6.1 -> 6.1.1

Changelog:
==========
- avcodec/mpegvideo_enc: Dont copy beyond the image
- avfilter/vf_minterpolate: Check pts before division
- avfilter/avf_showwaves: Check history_nb_samples
- avformat/flacdec: Avoid double AVERRORS
- avfilter/vf_vidstabdetect: Avoid double AVERRORS
- avcodec/vaapi_encode: Avoid double AVERRORS
- avfilter/vf_swaprect: round coordinates down
- avfilter/vf_swaprect: Use height for vertical variables
- avfilter/vf_swaprect: assert that rectangles are within memory
- avfilter/af_alimiter: Check nextpos before use
- avfilter/f_reverse: Apply PTS compensation only when pts is available
- avfilter/af_stereowiden: Check length
- avformat/mov: Fix MSAN issue with stsd_id
- avcodec/jpegxl_parser: Check get_vlc2()
- avfilter/vf_weave: Fix odd height handling
- avfilter/edge_template: Fix small inputs with gaussian_blur()
- avfilter/vf_gradfun: Do not overread last line
- avfilter/avf_showspectrum: fix off by 1 error
- avcodec/jpegxl_parser: Add padding to cs_buffer
- avformat/mov: do not set sign bit for chunk_offsets
- avcodec/jpeglsdec: Check Jpeg-LS LSE
- avcodec/osq: Implement flush()
- configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm
- avcodec/cbs_h266: more restrictive check on pps_tile_idx_delta_val
- avcodec/jpeg2000htdec: check if block decoding will exceed internal precision
- tools/target_dec_fuzzer: Adjust threshold for VMIX
- avcodec/av1dec: Fix resolving zero divisor
- avformat/mov: Ignore duplicate ftyp
- avformat/mov: Fix integer overflow in mov_read_packet().
- lavc/qsvdec: return 0 if more data is required
- avcodec/jpegxl_parser: check ANS cluster alphabet size vs bundle size
- libavformat/vvc: Make probe more conservative
- hwcontext_vulkan: guard unistd.h include
- lavc/Makefile: build vulkan decode code if vulkan_av1 has been enabled
- lavc/dvdsubenc: only check canvas size when it is actually set
- avcodec/decode: validate hw_frames_ctx when AVHWAccel.free_frame_priv is used
- avcoded/fft: Fix memory leak if ctx2 is used
- avcodec/fft: Use av_mallocz to avoid invalid free/uninit

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 months agosystemd-bootchart: upgrade from 234 to 235
Chen Qi [Tue, 2 Jan 2024 06:09:47 +0000 (14:09 +0800)] 
systemd-bootchart: upgrade from 234 to 235

0001-architecture-Recognise-RISCV-32-RISCV-64.patch is dropped because
it has some problem. It's a patch from systemd repo, yet it's marked
as 'Backport' for systemd-bootchart. systemd and systemd-bootchart are
two different projects. Now in 235, RISCV64 has been officially supported,
but RISCV32 is not. So drop this patch. People who want RISCV32 support
need to work with systemd-bootchart upstream first.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>