]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/log
thirdparty/openembedded/openembedded-core.git
15 months agouseradd-example: Fix S = WORKDIR reference
Richard Purdie [Thu, 23 May 2024 06:48:41 +0000 (07:48 +0100)] 
useradd-example: Fix S = WORKDIR reference

Update not to use S = WORKDIR after that was no longer allowed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agopython3-requests: cleanup RDEPENDS
Guðni Már Gilbert [Sat, 18 May 2024 09:48:33 +0000 (09:48 +0000)] 
python3-requests: cleanup RDEPENDS

Drop the following dependencies from RDEPENDS:
- python3-ndg-httpsclient
- python3-pyasn1
- python3-pyopenssl

Add a missing dependency into RDEPENDS:
- python3-certifi

Additional fix HOMEPAGE, the old link doesn't work

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agolibcap-ng-python: upgrade 0.8.4 -> 0.8.5
Yi Zhao [Sat, 18 May 2024 10:48:54 +0000 (18:48 +0800)] 
libcap-ng-python: upgrade 0.8.4 -> 0.8.5

Changelog:
https://people.redhat.com/sgrubb/libcap-ng/ChangeLog

 - Remove python global exception handler since it's deprecated
 - Make the utilities link against just built libraries
 - Remove unused macro in cap-ng.h

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agolibcap-ng: upgrade 0.8.4 -> 0.8.5
Yi Zhao [Sat, 18 May 2024 10:48:53 +0000 (18:48 +0800)] 
libcap-ng: upgrade 0.8.4 -> 0.8.5

Changelog:
https://people.redhat.com/sgrubb/libcap-ng/ChangeLog

 - Remove python global exception handler since it's deprecated
 - Make the utilities link against just built libraries
 - Remove unused macro in cap-ng.h

Drop backport patch fix-issues-with-swig-4-2.patch.
Backport a patch to fix build for libcap-ng-python.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agoopenssl: Fix build on riscv
Khem Raj [Mon, 13 May 2024 23:05:28 +0000 (16:05 -0700)] 
openssl: Fix build on riscv

GCC-14 unearths this bug which is already fixed upstream so backport it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agomaintainers.inc: maintainer for opensbi
Thomas Perrot [Fri, 17 May 2024 08:36:11 +0000 (10:36 +0200)] 
maintainers.inc: maintainer for opensbi

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agoptest-runner: Bump to 2.4.4 (95f528c)
Changqing Li [Mon, 13 May 2024 07:32:33 +0000 (15:32 +0800)] 
ptest-runner: Bump to 2.4.4 (95f528c)

Changes in 2.4.4:
95f528c utils.c: run_ptests improve error handling on ptests iteration
c48e5fc utils.c: run-ptests improve pseudo-terminal handling

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agopython3-cryptography: upgrade 42.0.5 -> 42.0.7
Tim Orling [Tue, 21 May 2024 16:24:17 +0000 (09:24 -0700)] 
python3-cryptography: upgrade 42.0.5 -> 42.0.7

Also upgrade python3-cryptography-vectors
Refresh python3-cryptography-crates.inc

42.0.7 - 2024-05-06
Restored Windows 7 compatibility for our pre-built wheels. Note that we
do not test on Windows 7 and wheels for our next release will not support
it. Microsoft no longer provides support for Windows 7 and users are
encouraged to upgrade.

42.0.6 - 2024-05-04
Fixed compilation when using LibreSSL 3.9.1.

https://cryptography.io/en/latest/changelog/#v42-0-7
https://cryptography.io/en/latest/changelog/#v42-0-6
https://github.com/pyca/cryptography/compare/42.0.5...42.0.7

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agomaintainers.inc: transfer some python recipes to tgamblin
Trevor Gamblin [Tue, 21 May 2024 17:04:45 +0000 (13:04 -0400)] 
maintainers.inc: transfer some python recipes to tgamblin

Change maintainer for the following recipes to tgamblin:

python3-hypothesis
python3-pygments
python3-pytest
python3-referencing
python3-pyproject-metadata
python3-setuptools-scm
python3-sphinx

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agopython3-trove-classifiers: upgrade 2024.4.10 -> 2024.5.17
Trevor Gamblin [Tue, 21 May 2024 17:04:44 +0000 (13:04 -0400)] 
python3-trove-classifiers: upgrade 2024.4.10 -> 2024.5.17

PYPI_PACKAGE is added since the upstream now uses an underscore in the
package name.

Changelog (https://github.com/pypa/trove-classifiers/releases):

- Add Trove classifier for Python 3.14 (#178)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agopython3-sphinx: upgrade 7.2.6 -> 7.3.7
Trevor Gamblin [Tue, 21 May 2024 17:04:43 +0000 (13:04 -0400)] 
python3-sphinx: upgrade 7.2.6 -> 7.3.7

License-Update: Update copyright year, add .rst extension

There are many changes brought in by this uprev, in particular with the
major release 7.3.0, which contains many bugfixes and new features. Changelog:
https://www.sphinx-doc.org/en/master/changes.html#release-7-3-7-released-apr-19-2024

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agopython3-setuptools-scm: upgrade 8.0.4 -> 8.1.0
Trevor Gamblin [Tue, 21 May 2024 17:04:42 +0000 (13:04 -0400)] 
python3-setuptools-scm: upgrade 8.0.4 -> 8.1.0

PYPI_PACKAGE is updated since the upstream now uses an underscore in the
package name.

Changelog: https://github.com/pypa/setuptools_scm/releases/tag/v8.1.0

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agopython3-pyproject-metadata: upgrade 0.7.1 -> 0.8.0
Trevor Gamblin [Tue, 21 May 2024 17:04:41 +0000 (13:04 -0400)] 
python3-pyproject-metadata: upgrade 0.7.1 -> 0.8.0

PYPI_PACKAGE is updated since the upstream now uses an underscore in the
package name.

Changelog (https://pep621.readthedocs.io/en/stable/changelog.html#id1):

  - Support specifying the metadata_version as 2.1, 2.2, or 2.3
  - Always normalize extras following PEP 685
  - Preserve the user-specified name style in the metadata. .canonical_name added to get the normalized name
  - Require “version” in the dynamic table if unset (following PEP 621)
  - Support extras using markers containing “or”
  - Support empty extras
  - Using .as_rfc822() no longer modifies the metadata object
  - Fix email-author listing for names containing commas
  - Separate core metadata keywords with commas, following the (modified) spec
  - An error message reported project.license instead of project.readme
  - Produce slightly cleaner tracebacks Fix a typo in an exception message
  - Subclasses now type check correctly
  - The build backend is now flit-core

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agopython3-requests: upgrade 2.31.0 -> 2.32.1
Trevor Gamblin [Tue, 21 May 2024 17:04:40 +0000 (13:04 -0400)] 
python3-requests: upgrade 2.31.0 -> 2.32.1

Also transition to using python_setuptools_build_meta.

Changelog: https://requests.readthedocs.io/en/latest/community/updates/#release-history

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agopython3-referencing: upgrade 0.34.0 -> 0.35.1
Trevor Gamblin [Tue, 21 May 2024 17:04:39 +0000 (13:04 -0400)] 
python3-referencing: upgrade 0.34.0 -> 0.35.1

Changelog: https://referencing.readthedocs.io/en/stable/changes/#v0-35-1

- Ensure that Registry.contents() also raises NoSuchResource exceptions
  for nonexistent resources, not KeyError (which is an implementation
  detail).

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agopython3-pytest: upgrade 8.2.0 -> 8.2.1
Trevor Gamblin [Tue, 21 May 2024 17:04:38 +0000 (13:04 -0400)] 
python3-pytest: upgrade 8.2.0 -> 8.2.1

Changelog: https://docs.pytest.org/en/stable/changelog.html#pytest-8-2-1-2024-05-19

- Improvements
    #12334: Support for Python 3.13 (beta1 at the time of writing).
- Bug Fixes
    #12120: Fix PermissionError crashes arising from directories which are not
            selected on the command-line.
    #12191: Keyboard interrupts and system exits are now properly handled during
            the test collection.
    #12300: Fixed handling of ‘Function not implemented’ error under squashfuse_ll,
            which is a different way to say that the mountpoint is read-only.
    #12308: Fix a regression in pytest 8.2.0 where the permissions of
            automatically-created .pytest_cache directories became rwx------ instead
    of the expected rwxr-xr-x.
- Trivial/Internal Changes
    #12333: pytest releases are now attested using the recent Artifact Attestation
    <https://github.blog/2024-05-02-introducing-artifact-attestations-now-in-public-beta/>
    support from GitHub, allowing users to verify the provenance of pytest’s
    sdist and wheel artifacts.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agopython3-pygments: upgrade 2.17.2 -> 2.18.0
Trevor Gamblin [Tue, 21 May 2024 17:04:37 +0000 (13:04 -0400)] 
python3-pygments: upgrade 2.17.2 -> 2.18.0

2.18.0 offers new/updated lexers and various other improvements.
Changelog:

https://pygments.org/docs/changelog/

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agopython3-hypothesis: upgrade 6.100.1 -> 6.102.4
Trevor Gamblin [Tue, 21 May 2024 17:04:36 +0000 (13:04 -0400)] 
python3-hypothesis: upgrade 6.100.1 -> 6.102.4

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

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agobase/insane: Move S/B checks to more logical place in insane class
Richard Purdie [Wed, 22 May 2024 15:40:50 +0000 (16:40 +0100)] 
base/insane: Move S/B checks to more logical place in insane class

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agobase/bitbake.conf: Move S/B to PSEUDO_IGNORE_PATHS unconditionally
Richard Purdie [Wed, 22 May 2024 15:14:11 +0000 (16:14 +0100)] 
base/bitbake.conf: Move S/B to PSEUDO_IGNORE_PATHS unconditionally

Now S and B can't be set to WORKDIR, add to PSEUDO_IGNORE_PATHS unconditionally
and simplify the code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agoinsane: Add error for B = WORKDIR
Richard Purdie [Wed, 22 May 2024 15:11:23 +0000 (16:11 +0100)] 
insane: Add error for B = WORKDIR

This was never a good idea and would have mostly happened from S = WORKDIR
however explictly disallow it and error if anyone tries.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agousbinit: Drop recipe
Richard Purdie [Wed, 22 May 2024 11:45:01 +0000 (12:45 +0100)] 
usbinit: Drop recipe

This recipe is poorly named, it is a gadget ethernet driver. Gadget ethernet
is of questionable use now and usbinit isn't referenced/used anywhere within
OE-Core. Drop it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agoinsane: Error for S == WORKDIR
Richard Purdie [Thu, 25 Apr 2024 16:00:20 +0000 (17:00 +0100)] 
insane: Error for S == WORKDIR

Where a recipe uses WORKDIR as S, exit with a fatal error since the
code is no longer safe for this layout.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agorecipetool/devtool: Update to work correctly with UNPACKDIR
Richard Purdie [Mon, 13 May 2024 15:02:41 +0000 (16:02 +0100)] 
recipetool/devtool: Update to work correctly with UNPACKDIR

Tweak recipetool and devtool to correctly use UNPACKDIR. This allows some
simplification of the code. This patch makes things basically work but there
are likely deeper improvements that can be made now that WORKDIR != UNPACKDIR.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agobase: Switch UNPACKDIR to a subdir of WORKDIR
Richard Purdie [Thu, 9 May 2024 16:01:27 +0000 (17:01 +0100)] 
base: Switch UNPACKDIR to a subdir of WORKDIR

Change do_unpack to unpack files to a subdirectory of WORKDIR instead of WORKDIR
itself. There are several good reasons for this but it is mainly about being able
to isolate the output of the unpack task and tell the files apart from other things
which are created in workdir (logs, sysroots, temp dirs and more).

This means that when the do_unpack task reruns, we can clean UNPACKDIR and know
we have a standard point to start builds from.

It also makes code in tools like devtool and recipetool easier.

To reduce the impact to users, if a subdirectory under UNPACKDIR matches
the first subdirectory under WORKDIR of S, that directory is moved into position
inside WORKDIR. This preserves the behaviour of S = "${WORKDIR}/git",
S = "${WORKDIR}/${BPN}" and other commonly used source directory setups.

The directory is moved since sadly many autotools based projects can't cope with
symlinks in their paths.

The patch also updates reproducible and SOURCE_DATE_EPOCH handling to
match the new potential source locations. We can get rid of the horrible
list of hardcoded directories in WORKDIR to ignore from that code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agocdrtools-native: fix build with gcc-14
Martin Jansa [Tue, 21 May 2024 06:35:57 +0000 (08:35 +0200)] 
cdrtools-native: fix build with gcc-14

Fixes:
http://errors.yoctoproject.org/Errors/Details/770525/
| checking whether the C compiler (gcc  -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe ) works... no
| configure: error: installation or configuration problem: C compiler cannot create executables.
| RULES/rules.cnf:70: incs/amd-ryzen-threadripper-3970x-32-core-processor-linux-cc/rules.cnf: No such file or directory
| make: *** [RULES/rules.cnf:59: incs/amd-ryzen-threadripper-3970x-32-core-processor-linux-cc/rules.cnf] Error 1
| make: *** Waiting for unfinished jobs....

where config.log show it's caused by gcc-14:

configure:1189: checking whether the C compiler (gcc  -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe ) works
configure:1211: gcc  -o conftest -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe  -D_GNU_SOURCE  conftest.c   1>&5
configure:1208:1: error: return type defaults to 'int' [-Wimplicit-int]
configure: failed program was:

main(){return(0);}

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agoyocto-uninative: Update to 4.5 for gcc 14
Michael Halstead [Wed, 22 May 2024 04:39:30 +0000 (21:39 -0700)] 
yocto-uninative: Update to 4.5 for gcc 14

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agogawk: fix readline detection
Ross Burton [Tue, 21 May 2024 15:32:31 +0000 (15:32 +0000)] 
gawk: fix readline detection

The code fragment used to detect readline in cross builds doesn't compile
cleanly with GCC 14.1, so readline is never enabled.

Add missing includes so the test works, and readline can be enabled.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agocurl: skip FTP tests in run-ptest
Ross Burton [Mon, 20 May 2024 16:34:42 +0000 (16:34 +0000)] 
curl: skip FTP tests in run-ptest

It looks like something related to FTP in curl, be it the protocol itself
or the harness, is unstable under load.  We've been seeing random failures
in automated QA, and Debian does too.

Until this issue is resolved, disable all of the FTP tests on the hope
that this is the underlying common factor.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agovulkan-volk: upgrade to 1.3.283.0
Tim Orling [Mon, 20 May 2024 23:25:12 +0000 (16:25 -0700)] 
vulkan-volk: upgrade to 1.3.283.0

https://github.com/zeux/volk/compare/vulkan-sdk-1.3.280.0...vulkan-sdk-1.3.283

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agovulkan-utility-libraries: upgrade to 1.3.283.0
Tim Orling [Mon, 20 May 2024 23:31:07 +0000 (16:31 -0700)] 
vulkan-utility-libraries: upgrade to 1.3.283.0

https://github.com/KhronosGroup/Vulkan-Utility-Libraries/compare/vulkan-sdk-1.3.280.0...vulkan-sdk-1.3.283

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agovulkan-validation-layers: upgrade to 1.3.283.0
Tim Orling [Mon, 20 May 2024 23:28:27 +0000 (16:28 -0700)] 
vulkan-validation-layers: upgrade to 1.3.283.0

branch=vulkan-sdk-1.3.283

https://github.com/KhronosGroup/Vulkan-ValidationLayers/compare/vulkan-sdk-1.3.280.0...vulkan-sdk-1.3.283

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agospirv-tools: upgrade to 1.3.283.0
Tim Orling [Mon, 20 May 2024 23:11:03 +0000 (16:11 -0700)] 
spirv-tools: upgrade to 1.3.283.0

https://github.com/KhronosGroup/SPIRV-Tools/compare/vulkan-sdk-1.3.280.0...vulkan-sdk-1.3.283

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agospirv-headers: upgrade to 1.3.283.0
Tim Orling [Mon, 20 May 2024 23:08:16 +0000 (16:08 -0700)] 
spirv-headers: upgrade to 1.3.283.0

https://github.com/KhronosGroup/SPIRV-Headers/compare/vulkan-sdk-1.3.280.0...vulkan-sdk-1.3.283

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agovulkan-tools: upgrade to 1.3.283.0
Tim Orling [Mon, 20 May 2024 23:16:43 +0000 (16:16 -0700)] 
vulkan-tools: upgrade to 1.3.283.0

https://github.com/KhronosGroup/Vulkan-Tools/compare/vulkan-sdk-1.3.280.0...vulkan-sdk-1.3.283

[RP: fix branch]
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agovulkan-loader: upgrade to 1.3.283.0
Tim Orling [Mon, 20 May 2024 23:21:42 +0000 (16:21 -0700)] 
vulkan-loader: upgrade to 1.3.283.0

https://github.com/KhronosGroup/Vulkan-Loader/compare/vulkan-sdk-1.3.280.0...vulkan-sdk-1.3.283

[RP: fix branch]
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agovulkan-headers: upgrade to 1.3.283.0
Tim Orling [Mon, 20 May 2024 23:19:11 +0000 (16:19 -0700)] 
vulkan-headers: upgrade to 1.3.283.0

https://github.com/KhronosGroup/Vulkan-Headers/compare/vulkan-sdk-1.3.280.0...vulkan-sdk-1.3.283

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agoglslang: upgrade to 1.3.283.0
Tim Orling [Mon, 20 May 2024 23:05:47 +0000 (16:05 -0700)] 
glslang: upgrade to 1.3.283.0

https://github.com/KhronosGroup/glslang/compare/vulkan-sdk-1.3.280.0...vulkan-sdk-1.3.283.0

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agotoolchain-scripts: export the target endianism and word size
Ross Burton [Mon, 20 May 2024 10:18:31 +0000 (10:18 +0000)] 
toolchain-scripts: export the target endianism and word size

Some build systems (notably, Meson) like to be told when cross-compiling
what the target endian and word size is.  We don't have these exported
via the variables, so add them using siteinfo as a source of data.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agomeson: don't use deprecated pkgconfig variable
Ross Burton [Mon, 20 May 2024 10:18:30 +0000 (10:18 +0000)] 
meson: don't use deprecated pkgconfig variable

As with a previous change to the class[1], the "pkgconfig" entry is now
deprecated and "pkg-config" should be used instead.

[1] oe-core d64b307891422e290bbe821d4303b3af526bbe17

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agooeqa/sdk: remove unused imports from test cases
Ross Burton [Mon, 20 May 2024 10:18:29 +0000 (10:18 +0000)] 
oeqa/sdk: remove unused imports from test cases

Remove redundant imports.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agooeqa/sdk: rename test cases
Ross Burton [Mon, 20 May 2024 10:18:28 +0000 (10:18 +0000)] 
oeqa/sdk: rename test cases

Instead of having a test called eg "assimp", rename it to "cmake" as the
point of the test is to verify that CMake works.  This should make it
clearer what the tests are actually exercising.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agobase-files: profile: fix error sh: 1: unknown operand
Felix Nilsson [Mon, 20 May 2024 08:29:28 +0000 (10:29 +0200)] 
base-files: profile: fix error sh: 1: unknown operand

Handle errors when SHLVL isn't set.

Signed-off-by: Felix Nilsson <felixn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agocups: upgrade from 2.4.7 to 2.4.8
Chen Qi [Mon, 20 May 2024 08:10:39 +0000 (16:10 +0800)] 
cups: upgrade from 2.4.7 to 2.4.8

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agoshadow: upgrade from 4.15.0 to 4.15.1
Chen Qi [Mon, 20 May 2024 08:10:38 +0000 (16:10 +0800)] 
shadow: upgrade from 4.15.0 to 4.15.1

0001-lib-copydir-copy_entry-use-temporary-stat-buffer.patch is dropped
as it has been merged and is in this new release.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agopciutils: upgrade from 3.11.1 to 3.12.0
Chen Qi [Mon, 20 May 2024 08:10:37 +0000 (16:10 +0800)] 
pciutils: upgrade from 3.11.1 to 3.12.0

configure.patch is rebased against the new version.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agosystemd/systemd-boot: upgrade from 255.4 to 255.6
Chen Qi [Mon, 20 May 2024 08:10:35 +0000 (16:10 +0800)] 
systemd/systemd-boot: upgrade from 255.4 to 255.6

musl patches are refreshed to avoid 'patch-fuzz' error.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agotclibc-newlib: update security cflags override
Alejandro Hernandez Samaniego [Sun, 19 May 2024 05:50:49 +0000 (23:50 -0600)] 
tclibc-newlib: update security cflags override

It appears that it is no longer necessary to disable security cflags for
newlib targets, with the exception of RISCV architectures where the linker
does not support PIE

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agoglib-2.0: upgrade 2.80.0 -> 2.80.2
Anuj Mittal [Thu, 16 May 2024 10:51:28 +0000 (18:51 +0800)] 
glib-2.0: upgrade 2.80.0 -> 2.80.2

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agostress-ng: upgrade 0.17.07 -> 0.17.08
Anuj Mittal [Thu, 16 May 2024 10:51:27 +0000 (18:51 +0800)] 
stress-ng: upgrade 0.17.07 -> 0.17.08

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agoharfbuzz: upgrade 8.4.0 -> 8.5.0
Anuj Mittal [Thu, 16 May 2024 10:51:26 +0000 (18:51 +0800)] 
harfbuzz: upgrade 8.4.0 -> 8.5.0

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agorust: correctly link rust-snapshot into build/stage0
Alexander Kanavin [Thu, 16 May 2024 11:21:08 +0000 (13:21 +0200)] 
rust: correctly link rust-snapshot into build/stage0

This does not seem to be used in regular builds, but is beneficial
in rust selftest, where it allows dropping a custom patch
that is unsuitable for upstream (and was rejected by them).

Also remove an obsolete comment that seems related to the code
but describes something that was resolved long time ago.

I have confirmed that the rust selftest continues to pass with just
this one commit on top of master (as the following changes do break
the selftest).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agoncurses: Upgrade 6.4 -> 6.5
Peter Marko [Sat, 18 May 2024 21:29:54 +0000 (23:29 +0200)] 
ncurses: Upgrade 6.4 -> 6.5

Removed 4 backported patched included in this release.
Updated patches by devtool.

License-Update: copyright years refreshed

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agoncurses: switch to new mirror
Peter Marko [Sat, 18 May 2024 21:29:53 +0000 (23:29 +0200)] 
ncurses: switch to new mirror

github.com/mirror/ncurses is not updated for over a year.
Switch to new mirror from Thomas Dickey (ncurses maintainer).

Sources are identical.

Updated upstream check regex by:
* changed dot to underscore as this repo is tagged like this
* added v prefix to not propose updates to some old tags
* removed third part to not propose updates to development snapshots

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agoopenssl: patch CVE-2024-4603
Peter Marko [Sat, 18 May 2024 17:27:12 +0000 (19:27 +0200)] 
openssl: patch CVE-2024-4603

Advisory: https://github.com/advisories/GHSA-85xr-ghj6-6m46

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agogtk+3: add gtk+ to CVE_PRODUCT uninative-4.5
Emil Kronborg [Mon, 13 May 2024 12:03:26 +0000 (12:03 +0000)] 
gtk+3: add gtk+ to CVE_PRODUCT

While the plus in GTK+ was dropped in GTK4 and onwards [1], it is still
necessary for GTK3. This is also reflected upstream where two versions
exist: http://ftp.gnome.org/pub/gnome/sources/gtk+ and
http://ftp.gnome.org/pub/gnome/sources/gtk.

[1]: https://mail.gnome.org/archives/gtk-devel-list/2019-February/msg00000.html

Signed-off-by: Emil Kronborg <emil.kronborg@protonmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agogit: set --with-gitconfig=/etc/gitconfig for -native builds
Rasmus Villemoes [Tue, 23 Apr 2024 09:57:02 +0000 (11:57 +0200)] 
git: set --with-gitconfig=/etc/gitconfig for -native builds

Commit 6c2ae2346db0 (kern-tools: depend on git-replacement-native)
broke our kernel builds. For saving space and time, we have a DL_DIR
shared between multiple users/buildbots, not all of which run with the
same uid (and with appropriate sticky bits set so that files
downloaded by one user become owned by a common group and are readable
by others). This works fine also for git sources because the docker
images we use all have a /etc/gitconfig with

  [safe]
    directory = *

But with the mentioned commit, the host's git is no longer used for
do_unpack (nor for do_fetch if re-building and sysroot has already
been populated by a previous build), causing spurious "fatal: detected
dubious ownership..." failures.

Currently, the path where the git-native binary searches for system
gitconfig is the sysroot from it was built, which obviously doesn't
contain a /etc/gitconfig. As for the nativesdk variant, respect the
host's /etc/gitconfig if present.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agogcc-runtime: libgomp fix for gcc 14 warnings with mandb selftest
Richard Purdie [Mon, 20 May 2024 17:02:49 +0000 (18:02 +0100)] 
gcc-runtime: libgomp fix for gcc 14 warnings with mandb selftest

ERROR: gcc-runtime-14.1.0-r0 do_package: QA Issue: gcc-runtime: Files/directories were installed but not shipped in any package:
  /usr/share/info
  /usr/share/info/libgomp.info-2
  /usr/share/info/libgomp.info-1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agooeqa/sdk/assimp: Upgrade and fix for gcc 14
Richard Purdie [Fri, 17 May 2024 14:14:42 +0000 (15:14 +0100)] 
oeqa/sdk/assimp: Upgrade and fix for gcc 14

To enable this test to work with gcc 14, pass the option to make
warnings non-fatal. Also upgrade to version 5.4.1 from 5.3.1.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agooeqa/sdkext/devtool: replace use of librdfa
Ross Burton [Mon, 20 May 2024 12:34:17 +0000 (12:34 +0000)] 
oeqa/sdkext/devtool: replace use of librdfa

librdfa hasn't had a commit for a decade now and as such has problems
with modern compilers (specifically gcc 14.1).  Switch the recipe
creation test to something much simpler that we also control: dbus-wait.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agogcc: Upgrade to GCC 14.1 release
Khem Raj [Thu, 25 Jan 2024 18:08:30 +0000 (10:08 -0800)] 
gcc: Upgrade to GCC 14.1 release

This is major release upgrade. major changes are listed in [1]
and it has a list of bugs [2] fixed as well

This release may differ in significant ways from prior gcc releases
where it may require port the code to gcc 14, there is a porting guide [3]
available.

[1] https://gcc.gnu.org/gcc-14/changes.html
[2] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=14.0
[3] https://gcc.gnu.org/gcc-14/porting_to.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
15 months agosystemd: fix build against 6.9 libc-headers
Bruce Ashfield [Wed, 15 May 2024 14:44:32 +0000 (10:44 -0400)] 
systemd: fix build against 6.9 libc-headers

When building against the 6.9 linux-libc-headrs the following build
issue was hit:

  | Program check-filesystems.sh found: YES (build/tmp/work/cortexa57-poky-linux/systemd/255.4/git/src/basic/check-filesystems.sh)
  |
  | ../git/src/basic/meson.build:238:8: ERROR: Problem encountered: Unknown filesystems defined in kernel headers:
  |
  | Filesystem found in kernel header but not in filesystems-gperf.gperf: PID_FS_MAGIC

Upstream already has this fixed, so we backport the commit.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agolinux-yocto: Avoid QA check
Richard Purdie [Thu, 16 May 2024 10:03:40 +0000 (11:03 +0100)] 
linux-yocto: Avoid QA check

The kernel has special handling of ${S} and it is therefore expected to be empty
at do_unpack time. For now, ignore this QA check until the kernel unpack process
can be more standardised.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agogo: Drop fork of unpack code, mandate GO_SRCURI_DESTSUFFIX
Richard Purdie [Thu, 16 May 2024 16:32:14 +0000 (17:32 +0100)] 
go: Drop fork of unpack code, mandate GO_SRCURI_DESTSUFFIX

The go class has its own fork of the base unpack code. At the time I was
told this was fine, it now isn't as that code is changing.

Rather than have a fork, put the path magic into a variable and then go
recipes can just set SRC_URI appropriately, e.g.:

git://go.googlesource.com/example;branch=master;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}

This avoids having special case hacks in the class and makes everything
a little more obvious.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agobuild-appliance-image: Remove warning about S not existing
Richard Purdie [Wed, 15 May 2024 09:36:24 +0000 (10:36 +0100)] 
build-appliance-image: Remove warning about S not existing

Disable the qe checks the cause a warning about S not existing as this
recipe is special case where that doens't matter.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agorecipes: Ensure S is set to a valid directory
Richard Purdie [Wed, 15 May 2024 06:53:23 +0000 (07:53 +0100)] 
recipes: Ensure S is set to a valid directory

Several recipes have S pointing at a directory that does not exist.
Set S in these cases to somethig valid making the metadata and
recipe behaviour more consistent.

Tweak one of the QA test diff offsets to match the changed recipe.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agosystemd-conf: Convert to use a dedicated UNPACKDIR
Richard Purdie [Tue, 14 May 2024 10:03:39 +0000 (11:03 +0100)] 
systemd-conf: Convert to use a dedicated UNPACKDIR

Avoid:

WARNING: systemd-conf-1_1.0-r0 do_unpack: systemd-conf: the directory ${WORKDIR}/${BP}
(tmp/work/genericarm64-poky-linux/systemd-conf/1.0/systemd-conf-1.0) pointed to by
the S variable doesn't exist - please set S within the recipe to point to where the
source has been unpacked to

by using a dedicated unpack directory for sources.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agodevtool: Drop oe-local-files and simplify
Richard Purdie [Wed, 1 May 2024 21:36:50 +0000 (22:36 +0100)] 
devtool: Drop oe-local-files and simplify

The only real reason for oe-local-files was to support S = WORKDIR. With changes to
drop support for that, it makes sense to simplify devtool and to try and make both
the code and the processes/workflows simpler.

This patch drops support for S = WORKDIR, removes oe-local-files and then updates
the test cases to match this new situation.

At the code level, we assume we can always now track code changes using git and
that things committed into git are handled as patches (as before) but delta against
HEAD is saved as specific file level changes to the recipe.

One test is disabled as it is no longer approproate. It is being keped until we can
make WORKDIR != UNPACKDIR at which point it should be revisited.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agorecipes: Switch away from S = WORKDIR
Richard Purdie [Wed, 1 May 2024 21:52:57 +0000 (22:52 +0100)] 
recipes: Switch away from S = WORKDIR

Where recipes use S = ${WORKDIR}, change them to set UNPACKDIR to
a subdir of WORKDIR and make S point at this instead.

I've chosen not to force S into any standard UNPACKDIR we may pick in
future just so the S = UNPACKDIR case is clearly visible by the
directory naming under WORKDIR as that should aid usability.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agorecipes: Start WORKDIR -> UNPACKDIR transition
Richard Purdie [Thu, 9 May 2024 16:02:39 +0000 (17:02 +0100)] 
recipes: Start WORKDIR -> UNPACKDIR transition

Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agodwarfsrcfiles: Switch to S = UNPACKDIR
Richard Purdie [Sat, 11 May 2024 10:46:42 +0000 (11:46 +0100)] 
dwarfsrcfiles: Switch to S = UNPACKDIR

Since the recipe uses a single source file, use UNPACKDIR = ${S}.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agoselftest/cases/runtime_test: Exclude centos-9 from virgl tests
Richard Purdie [Fri, 17 May 2024 06:42:54 +0000 (07:42 +0100)] 
selftest/cases/runtime_test: Exclude centos-9 from virgl tests

Similarly to centos 8, centos 9 doesn't support the render device we need
for this test.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agoat: Tweak UNPACKDIR reference
Richard Purdie [Mon, 13 May 2024 15:02:26 +0000 (16:02 +0100)] 
at: Tweak UNPACKDIR reference

${UNPACKDIR}/${BP} is ${S} so use the correct variable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agooeqa/selftest/debuginfod: use localpkgfeed to speed server startup
Ross Burton [Tue, 14 May 2024 16:15:21 +0000 (16:15 +0000)] 
oeqa/selftest/debuginfod: use localpkgfeed to speed server startup

Sometimes the debuginfod selftest fails due to a timeout, because it
spends too long scanning a huge deploy directory that due to what tests
were ran previously can contain 30K packages.

The test only needs a subset of the feed, so use the new localpkgfeed
class to construct a minimal feed before running the test.

[ YOCTO #14937 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agoselftest/classes: add localpkgfeed class
Ross Burton [Tue, 14 May 2024 16:15:20 +0000 (16:15 +0000)] 
selftest/classes: add localpkgfeed class

This class can be used to construct a subset of a deployed package feed
for use in tests which iterate the deploy directory, and as such a huge
feed of 30K+ packages can result in very slow tests.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agolib/oe/package-manager: allow including self in create_packages_dir
Ross Burton [Tue, 14 May 2024 16:15:19 +0000 (16:15 +0000)] 
lib/oe/package-manager: allow including self in create_packages_dir

This function is typically used to construct a limited feed for image
creation, but there are other cases when you might want a limited feed
and include the current recipe's packages in it.

To ensure that existing behaviour is preserved, add a boolean to control
this behaviour and default it to False.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agoenchant2: upgrade to 2.7.3
Ross Burton [Tue, 14 May 2024 16:10:13 +0000 (16:10 +0000)] 
enchant2: upgrade to 2.7.3

Upstream NEWS:

  This release is made with Vala 0.56.17 (previous versions were made with
  0.56.0). This works around a bug in `valac` that generates code which causes
  an error in GCC >=14 and Clang >= 16.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agodevtool: modify: Catch git submodule error for go code
Anton Almqvist [Tue, 14 May 2024 09:56:23 +0000 (11:56 +0200)] 
devtool: modify: Catch git submodule error for go code

One of the git submodule commands failed for source extracted for
recipes using go.bbclass.  The root cause is probably the path set up
by go_do_unpack which makes S and gitroot not match.

This patch does not fix the root problem, but at least it is no worse
than before the git submodule support.

The extracted source will still have two .git folders, one in S
created by devtool and one in the go path which will contain the tru
git history.

[ YOCTO #15483 ]

Signed-off-by: Anton Almqvist <antonal@axis.com>
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agopython3-pycparser: cleanup RDEPENDS
Guðni Már Gilbert [Sun, 12 May 2024 09:59:58 +0000 (09:59 +0000)] 
python3-pycparser: cleanup RDEPENDS

- Drop python3-pprint, the source code no longer imports this module
- Drop python3-ply, ply package is bunled into pycparser, making the external python3-ply
dependency not useful. This seems to have been changed a long time ago in version 2.09 (2012.12.27)

Note about python3-netclient: It can be removed at a later date. There is one 'unused' import
for base64 in the ply source. Once that is cleaned up, python3-netclient can be removed.

Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agovalgrind: Upgrade to 3.23.0
Khem Raj [Mon, 13 May 2024 17:49:08 +0000 (10:49 -0700)] 
valgrind: Upgrade to 3.23.0

Drop backports already available in this release

This release supports X86/Linux, AMD64/Linux, ARM32/Linux, ARM64/Linux,
PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux, MIPS32/Linux,
MIPS64/Linux, ARM/Android, ARM64/Android, MIPS32/Android, X86/Android,
X86/Solaris, AMD64/Solaris, AMD64/MacOSX 10.12, X86/FreeBSD, AMD64/FreeBSD
and ARM64/FreeBSD  There is also preliminary support for X86/macOS 10.13,
AMD64/macOS 10.13 and nanoMIPS/Linux.

* ==================== CORE CHANGES ===================

* --track-fds=yes will now also warn about double closing of file
  descriptors. Printing the context where the file descriptor was
  originally opened and where it was previously closed.

* --track-fds=yes also produces "real" errors now which can be
  suppressed and work with --error-exitcode. When combined with
  --xml the xml-output now also includes FdBadClose and FdNotClosed
  error kinds (see docs/internals/xml-output-protocol5.txt).

* The option --show-error-list=no|yes now accepts a new value all.
  This indicates to also print the suppressed errors.
  This is useful to analyse which errors are suppressed by which
  suppression entries.
  The valgrind monitor command 'v.info all_errors' similarly now
  accepts a new optional argument 'also_suppressed' to show
  all errors including the suppressed errors.

* ================== PLATFORM CHANGES =================

* Added ARM64 support for FreeBSD.

* ARM64 now supports dotprod instructions (sdot/udot).

* AMD64 better supports code build with -march=x86-64-v3.
  fused-multiple-add instructions (fma) are now emulated more
  accurately. And memcheck now handles __builtin_strcmp using 128/256
  bit vectors with sse4.1, avx/avx2.

* S390X added support for NNPA (neural network processing assist)
  facility vector instructions VCNF, VCLFNH, VCFN, VCLFNL, VCRNF and
  NNPA (z16/arch14).

* X86 recognizes new binutils-2.42 nop patterns.

* ==================== TOOL CHANGES ===================

* The none tool now also supports xml output.

* ==================== FIXED BUGS ====================

The following bugs have been fixed or resolved.  Note that "n-i-bz"
stands for "not in bugzilla" -- that is, a bug that was reported to us
but never got a bugzilla entry.  We encourage you to file bugs in
bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather
than mailing the developers (or mailing lists) directly -- bugs that
are not entered into bugzilla tend to get forgotten about or ignored.

283429  ARM leak checking needs CLEAR_CALLER_SAVED_REGS
281059  Cannot connect to Oracle using valgrind
328563  make track-fds support xml output
362680  --error-exitcode not honored when file descriptor leaks are found
369723  __builtin_longjmp not supported in clang/llvm on Android arm64 target
390269  unhandled amd64-darwin syscall: unix:464 (openat_nocancel)
401284  False positive "Source and destination overlap in strncat"
428364  Signals inside io_uring_enter not handled
437790  valgrind reports "Conditional jump or move depends on uninitialised
        value" in memchr of macOS 10.12-10.15
460616  disInstr(arm64): unhandled instruction 0x4E819402 (dotprod/ASIMDDP)
463458  memcheck/tests/vcpu_fnfns fails when glibc is built for x86-64-v3
463463  none/tests/amd64/fma fails when executed on a x86-64-v3 system
466762  Add redirs for C23 free_sized() and free_aligned_sized()
466884  Missing writev uninit padding suppression for _XSend
471036  disInstr_AMD64: disInstr miscalculated next %rip on RORX imm8, m32/64, r32/6
471222  support tracking of file descriptors being double closed
474160  If errors-for-leak-kinds is specified, exit-on-first-error should only exit
        on one of the listed errors.
475498  Add reallocarray wrapper
476025  Vbit expected test results for Iop_CmpGT64Ux2 are wrong
476320  Build failure with GCC
476331  clean up generated/distributed filter scripts
476535  Difference in allocation size for massif/tests/overloaded-new between
        clang++/libc++ and g++/libstdc++
476548  valgrind 3.22.0 fails on assertion when loading debuginfo file
        produced by mold
476708  valgrind-monitor.py regular expressions should use raw strings
476780  Extend strlcat and strlcpy wrappers to GNU libc
476787  Build of Valgrind 3.21.0 fails when SOLARIS_PT_SUNDWTRACE_THRP is
        defined
476887  WARNING: unhandled amd64-freebsd syscall: 578
477198  Add fchmodat2 syscall on linux
477628  Add mremap support for Solaris
477630  Include ucontext.h rather than sys/ucontext.h in Solaris sources
477719  vgdb incorrectly replies to qRcmd packet
478211  Redundant code for vgdb.c and Valgrind core tools
478624  Valgrind incompatibility with binutils-2.42 on x86 with new nop patterns
        (unhandled instruction bytes: 0x2E 0x8D 0xB4 0x26
478837  valgrind fails to read debug info for rust binaries
479041  Executables without RW sections do not trigger debuginfo reading
480052  WARNING: unhandled amd64-freebsd syscall: 580
480126  Build failure on Raspberry Pi 5 / OS 6.1.0-rpi7-rpi-v8
480405  valgrind 3.22.0 "m_debuginfo/image.c:586 (set_CEnt):
        Assertion '!sr_isError(sr)' failed."
480488  Add support for FreeBSD 13.3
480706  Unhandled syscall 325 (mlock2)
481127  amd64: Implement VFMADD213 for Iop_MAddF32
481131  [PATCH] x86 regtest: fix clobber lists in generated asm statements
481676  Build failure on Raspberry Pi 5 Ubuntu 23.10 with clang
481874  Add arm64 support for FreeBSD
483786  Incorrect parameter indexing in FreeBSD clock_nanosleep syscall wrapper
484002  Add suppression for invalid read in glibc's __wcpncpy_avx2() via wcsxfrm()
484426  aarch64: 0.5 gets rounded to 0
484480  False positives when using sem_trywait
484935  [patch] Valgrind reports false "Conditional jump or move depends on
        uninitialised value" errors for aarch64 signal handlers
485148  vfmadd213ss instruction is instrumented incorrectly (the remaining
        part of the register is cleared instead of kept unmodified)
485487  glibc built with -march=x86-64-v3 does not work due to ld.so strcmp
485778  Crash with --track-fds=all and --gen-suppressions=all
n-i-bz  Add redirect for memccpy

To see details of a given bug, visit
  https://bugs.kde.org/show_bug.cgi?id=XXXXXX
where XXXXXX is the bug number as listed above.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agooe-build-perf-report: Add dark mode
Ninette Adhikari [Fri, 3 May 2024 14:43:40 +0000 (16:43 +0200)] 
oe-build-perf-report: Add dark mode

Update css to add dark mode when window prefers-color-scheme is dark.

Signed-off-by: Ninette Adhikari <ninette@thehoodiefirm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
15 months agooe-build-perf-report: Update chart tooltip and chart type
Ninette Adhikari [Fri, 3 May 2024 14:43:39 +0000 (16:43 +0200)] 
oe-build-perf-report: Update chart tooltip and chart type

- Update chart tooltip format to show value as size in MB for 'rootfs size'
and timestamp for 'tmpdir size'
- Add commit number to tooltip
- Update chart type to 'step chart' instead of 'line chart'

Signed-off-by: Ninette Adhikari <ninette@thehoodiefirm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
15 months agooe-build-perf-report: Improve report styling and add descriptions
Ninette Adhikari [Fri, 3 May 2024 14:43:38 +0000 (16:43 +0200)] 
oe-build-perf-report: Improve report styling and add descriptions

Styling updates are added including page margin, labels for x and y axis, tooltip, and section descriptions.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
15 months agooe-build-perf-report: Display more than 300 commits and date instead of commit number
Ninette Adhikari [Fri, 3 May 2024 14:43:37 +0000 (16:43 +0200)] 
oe-build-perf-report: Display more than 300 commits and date instead of commit number

- This commit updates measurement statistics data to include start_time so that time can be displayed instead of commit numbers on the chart.
- It also updates default commit history length to 300.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
15 months agooe-build-perf-report: Add apache echarts to make report interactive
Ninette Adhikari [Fri, 3 May 2024 14:43:36 +0000 (16:43 +0200)] 
oe-build-perf-report: Add apache echarts to make report interactive

- Add Apache echarts (https://echarts.apache.org/en/index.html) library to create build performance charts.
- Restructure data to time and value array format so that it can be used by echarts.
- This commit also converts test duration to minutes to map against the values axis.
- Zoom is added to the line charts.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
15 months agocpio: mark CVE-2023-7216 as disputed
Ross Burton [Mon, 13 May 2024 15:21:30 +0000 (15:21 +0000)] 
cpio: mark CVE-2023-7216 as disputed

Upstream consider the behaviour described in this CVE as intentional,
and provide an option to stop it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agosdk: Fix path length limit to match reserved size
Robert Kovacsics [Thu, 9 May 2024 13:28:17 +0000 (14:28 +0100)] 
sdk: Fix path length limit to match reserved size

There were two different interpreter lengths in use, make them match.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agopopulate_sdk_ext.bbclass: Fix undefined variable error
Jookia [Thu, 9 May 2024 10:40:20 +0000 (11:40 +0100)] 
populate_sdk_ext.bbclass: Fix undefined variable error

The variable uninative_checksum is returned without being set, causing a
build error. Set it to None by default instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agolinux-yocto: Enable team net driver
Khem Raj [Thu, 9 May 2024 15:36:41 +0000 (08:36 -0700)] 
linux-yocto: Enable team net driver

Its needed to run libteam ptests

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agossh-pregen-hostkeys: Limit to qemu machines by default
Richard Purdie [Sat, 4 May 2024 09:48:01 +0000 (10:48 +0100)] 
ssh-pregen-hostkeys: Limit to qemu machines by default

There are potential security issues from using pre-generated host keys. We made
the recipe available for autobuilder testing purposes but concerns remain about
how easily this could end up in production.

I thought we'd already done this, but limit the recipe to qemu* machines,
which means any real hardware trying to use it will need to be a bit more
explicit about it and specifically enable it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agopatchtest: utils: remove unused functions
Trevor Gamblin [Fri, 3 May 2024 13:10:32 +0000 (09:10 -0400)] 
patchtest: utils: remove unused functions

Specifically, remove four things:

- get_subject_prefix(): This function is only being used once (in the next
function found in the module), so remove it for easier
comprehension/maintenance.
- exec_cmd: the backend for executing a custom command
- exec_cmds: for running multiple calls to exec_cmd
- CmdException: A custom exception class specifically for exec_cmd

These are only used to execute git commands, but GitPython can be used
to handle all of that more efficiently, so remove them.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agopatchtest: tests: update bugzilla_entry_format.fail testfile
Trevor Gamblin [Fri, 3 May 2024 13:10:31 +0000 (09:10 -0400)] 
patchtest: tests: update bugzilla_entry_format.fail testfile

Update the test file to target a more stable README file.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agopatchtest: repo: refactor to use GitPython
Trevor Gamblin [Fri, 3 May 2024 13:10:30 +0000 (09:10 -0400)] 
patchtest: repo: refactor to use GitPython

The repo module currently uses a custom _exec() function in order to run
various git commands as part of the patchtest setup/test process. These
can more efficiently be done with the GitPython module, so use that
instead and reduce the amount of custom code to be maintained for
patchtest in the process. Some specifics replaced using GitPython:

- get branch list
- use repo.active_branch to determine current branch
- use execute() for checkout, merge check, abort, rev-parse, reset

The _exec() function is removed entirely with this change.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agopatchtest: requirements.txt: add GitPython
Trevor Gamblin [Fri, 3 May 2024 13:10:29 +0000 (09:10 -0400)] 
patchtest: requirements.txt: add GitPython

GitPython provides some simple utilities for retrieving repo
configurations that can replace the manual work that patchtest currently
does. Add it to the requirements so that the source can make use of it.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agoglib-2.0: correct deprecated man/gtk-doc options
Alexander Kanavin [Fri, 10 May 2024 09:53:44 +0000 (11:53 +0200)] 
glib-2.0: correct deprecated man/gtk-doc options

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agoglib/gobject-introspection: update 2.78.4 -> 2.80.0, 1.78.1 -> 1.80.0
Alexander Kanavin [Thu, 2 May 2024 10:32:52 +0000 (12:32 +0200)] 
glib/gobject-introspection: update 2.78.4 -> 2.80.0, 1.78.1 -> 1.80.0

With these versions, which need to be updated in lockstep, upstream has
relocated glib introspection data from g-i tree to glib tree and made
its generation a part of the overall glib build. This creates a circular
dependency, where g-i tools are linked with glib, but glib needs the tools
to build its g-i data. (I don't know why the two source trees
couldn't be simply merged into one, or g-i data for glib couldn't be generated
inside g-i build against sysroot glib).

Upstream is suggesting building glib twice, first without building g-i data,
then building g-i and linking it with that version, then building
the final glib, and that's what is being done here (via the new
glib-initial recipe, which is sysroot-only, and is not pulled in
via indirect dependencies either).

Other glib changes:
0001-Do-not-write-bindir-into-pkg-config-files.patch restores
writing bindir variable into glib.pc file (meson only writes
it out if other variables depend on it, and this custom patch
removes that dependency).

0001-girepository-introspection-correctly-install-.gir-fi.patch
ensures correct installation of .gir into something else
than $datadir (useful in multilib).

Merge previous glib .bb into .inc, so that glib and glib-initial
recipes could be cleanly separated with no duplication.

Convert from gtk-doc to gi-docgen, and manpages from xmlto to
docutils.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agoinsane: Fix case where S doesn't exist
Richard Purdie [Thu, 9 May 2024 16:02:39 +0000 (17:02 +0100)] 
insane: Fix case where S doesn't exist

If S doesn't exist, do_qa_patch would fail. Fix the code to not fail
in this situation.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agolibportal: fix rare build race
Ross Burton [Fri, 10 May 2024 15:45:35 +0000 (15:45 +0000)] 
libportal: fix rare build race

There is a build race where the libportal.vapi is not always generated
before it is needed to build libportal-gtk*.vapi. Backport the fix from
upstream.

[ YOCTO #15479 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agolib/package_manager/ipk: Do not hardcode payload compression algorithm
Philip Lorenz [Thu, 2 May 2024 14:27:16 +0000 (16:27 +0200)] 
lib/package_manager/ipk: Do not hardcode payload compression algorithm

The chosen payload compression algorithm can be changed by overriding
`OPKGBUILDCMD`. Ensure that package extraction deals with this by
globbing for "data.tar.*" to select the actual payload tarball.

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 months agozip: Fix build with gcc-14
Khem Raj [Thu, 9 May 2024 02:38:48 +0000 (19:38 -0700)] 
zip: Fix build with gcc-14

zip's configure fails to link this piece of test code:

  int main() { return closedir(opendir(".")); }

with GCC-14 because it now treats implicit declaration of function
as error, unline older GCC version where it was just a warning
and this test would build fine.

Remove 0002-unix.c-Do-not-redefine-DIR-as-FILE.patch which
is now unnecessary.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
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>