Commit Graph

9586 Commits

Author SHA1 Message Date
Yi Zhao
db87ca070c rpm: fix expansion of %_libdir in macros
There is a patch in oe-core[1] to avoid hardcoded paths in macros. It
tries to use libdir to expand %_libdir in macros.in. However, in
upstream commit[2], libdir for macros in CMakeLists.txt is set to
${prefix}/=LIB=, which causes %_libdir to expand to ${prefix}/=LIB=
instead of the correct path in the final macros.

On target:
$ rpm --showrc | grep _libdir
[snip]
-13: _libdir    ${prefix}/=LIB=
[snip]

This also causes %__pkgconfig_path in fileattrs/pkgconfig.attr to become
an invalid regular expression when building rpm packages. This results a
warning in log.do_package_write_rpm in all packages:

Warning: Ignoring invalid regular expression ^((${prefix}/=LIB=|usr/share)/pkgconfig/.*.pc|usr/bin/pkg-config)$

Set libdir to ${CMAKE_INSTALL_FULL_LIBDIR} instead of ${prefix}/=LIB= to
make sure it is expanded to the correct path in macros.

After the patch:
On target:
$ rpm --showrc | grep _libdir
[snip]
-13: _libdir    /usr/lib
[snip]

[1] https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
[2] d2abb7a487

(From OE-Core rev: ae0e217145f45d065124aeb0a7d72a0c25f621ef)

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>
2024-08-06 11:33:58 +01:00
Khem Raj
d7a38848f0 binutils: Fix comment about major version
Reword so that it does not have to be updated with
every new major release of binutils

(From OE-Core rev: 679a12c21407ce32d0835e0fec6e5099f227b30b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-06 11:27:25 +01:00
Khem Raj
b35f220988 binutils: Upgrade to 2.43 release
Detailed changelog [1]

[1] https://sourceware.org/pipermail/binutils/2024-January/132213.html

(From OE-Core rev: 7e7afecc532a451b0ca9f34195a287c6472063c0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-06 11:27:25 +01:00
Intaek Hwang
907aa34fb5 python3-psutil: set CVE_PRODUCT
Set CVE_PRODUCT of python3-psutil to match NVD entries.

(From OE-Core rev: 1eaa6aed41bacc8a041fe230ffaf130fab425b72)

Signed-off-by: Intaek Hwang <intaek.hwang@gehealthcare.com>
Signed-off-by: Maxin John <maxin.john@gehealthcare.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Intaek Hwang
4227cd6210 python3-lxml: set CVE_PRODUCT
Set CVE_PRODUCT of python3-lxml to match NVD entries.

(From OE-Core rev: e2d4d19c673ef7bd743473caf57678e623af293d)

Signed-off-by: Intaek Hwang <intaek.hwang@gehealthcare.com>
Signed-off-by: Maxin John <maxin.john@gehealthcare.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Corentin Lévy
c01e633ab9 python3-libarchive-c: add ptest
test added to the fast-list
result of ptest-runner:
Testsuite summary
TOTAL: 36
PASS: 36
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 11
END: /usr/lib/python3-libarchive-c/ptest
2024-08-01T11:44
STOP: ptest-runner
TOTAL: 1 FAIL: 0

(From OE-Core rev: 2019edfc5a6fd252329347a6230a2e39603b932b)

Signed-off-by: Corentin Lévy <corentin.levy@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Ross Burton
cb2848c3ad meson: upgrade 1.4.0 -> 1.5.1
(From OE-Core rev: 145644c8c8318144ba12ed36c9a51924f1f58ad2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Alexander Kanavin
0c824d8071 pulseaudio, desktop-file-utils: correct freedesktop.org -> www.freedesktop.org SRC_URI
Server's https certificate isn't valid for freedesktop.org without www prefix.

(From OE-Core rev: d7ce9da33498869384b26a6fda05c37e7b2c3565)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:56:10 +01:00
Alexander Kanavin
43a484dff2 python3-jinja2: fix upstream version check
(From OE-Core rev: fdb5951292401fcff4617db16378c2b635fcf14e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:56:10 +01:00
Denys Dmytriyenko
af2b1221e8 gcc: unify cleanup of include-fixed, apply to cross-canadian
Since target and cross variants were already doing similar cleanup
of include-fixed headers, as those aren't used, unify the code and
also apply the same to cross-canadian variant.

Some of those header files get processed with a tool that leaves
absolute buildpaths inside the file's commented section, causing
QA errors. Since those aren't used, let's remove them.

This may be a temporary solution until the tool itself gets fixed
to not embed absolute buildpaths in the header files:
https://lists.openembedded.org/g/openembedded-core/topic/107268307

(From OE-Core rev: 9221e4ab8cca4c06dc3d5c1de2fd4ce46477578a)

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:56:10 +01:00
Oleksandr Hnatiuk
f1ad5be433 gcc: remove paths to sysroot from configargs.h and checksum-options for gcc-cross-canadian
Apply fixes from gcc-cross (84a78f46d594 and 0ead8cbdfb96) to gcc-cross-canadian.
This will improve (but not fix) reproducibility of gcc-cross-canadian.
Also move this code to functions to avoid code duplication.

[RP: Tweak patch to make the function parameters clear and fix quoting issues
ensuring the code exactly matches the original replacements with an additional
parameter.]

(From OE-Core rev: 350ff7d53f7506de2bc01f0efc569b8294b9afea)

Signed-off-by: Oleksandr Hnatiuk <ohnatiuk@cisco.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:56:10 +01:00
Richard Purdie
7dfb9af8e0 qemu: Upgrade 9.0.1 -> 9.0.2
Update along the stable release series.

(From OE-Core rev: 64c2e0a378cf3341e164664925190cc87e41b2fc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:36 +01:00
Richard Purdie
0aa515cb70 libtool: Upgrade 2.5.0 -> 2.5.1
Switch from an alpha to a beta release.

Drop two patches merged upstream.

(From OE-Core rev: 6348b10b3cae7e1d3fc79d5018f43133a0cd56f0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:36 +01:00
Trevor Gamblin
17766f47e6 dpkg: upgrade 1.22.6 -> 1.22.10
This required a refresh of patch
'0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch'. Since
it didn't have a proper commit message or signoffs, I also added those
and renamed the patch in the process. The original title is now the
description.

Wasn't able to find a new changelog, so commit history will have to do:

ef5536cfe (tag: 1.22.10) Release 1.22.10
e4d8d44dd po: Regenerate .pot files and merge .po files with them
58146a371 Revert "scripts/mk: Reduce the number of subprocesses"
3618de586 Dpkg::Changelog: Remove useless escaping for -
af10377e2 Dpkg::Changelog::Entry::Debian: Remove obsolete /o modifier from regex
dd4d53d97 build: Simplify C standard check output
adc3dd67b build: Fix dpkg_cv_c99 assignment in DPKG_C_C99 macro
1b562a0e9 build: Fix length for comment bar line after autoconf functions
f320bc0f8 build: Use pre-defined macros to check C/C++ conformance requirements
a2f7f85d5 build: Do not define macros for C/C++ standard level
e2b256176 Bump version to 1.22.10
82ab77437 (tag: 1.22.9) Release 1.22.9
5dcf833c2 po: Regenerate .pot files and merge .po files with them
b40d59472 scripts/mk: Fix typo in comment
c05f82972 scripts/mk: Fix pkg-info.mk evaluation by adding new DEB_TIMESTAMP variable
05efe8360 test: Fix typos in Makefile comments
80bdfdfe5 s-s-d: Use a stop context to track the current state
78a970dba dpkg-deb: Track maintscript information in a new struct
514b761a1 dpkg-deb: Print pathname instead of filename and directory in error output
f7978c885 dpkg-deb: Add long options for short-only compression ones
06dd1ad0f Bump version to 1.22.9
e9a8f699f (tag: 1.22.8) Release 1.22.8
ccaea43c6 po: Regenerate .pot files and merge .po files with them
017079b0c scripts/mk: Fix make variable expansions passed to dpkg-buildflags
574081691 scripts/mk: Ensure dpkg_datadir is computed once
f2f447be4 po: Update Catalan translations
286fc7467 Dpkg::Archive::Ar: Rework _read_buf() error messages to make l10n easier
ad717618e po: Update German programs translation
127d25ed1 libdpkg: Fix execname support on GNU/Hurd
94e577411 build: Update lcov usage for version 2.0
1aba90294 doc: Update Doxygen configuration from version 1.9.8
7c1ab6e31 Bump version to 1.22.8
7603b54e2 (tag: 1.22.7) Release 1.22.7
956bede10 po: Regenerate .pot files and merge .po files with them
3eca339cc dpkg-buildpackage: Reference the .dsc in .buildinfo if building from one
555f9fe3c dpkg-buildpackage: Add support for building from a specified .dsc or dir
a0e40ff85 perl: Use new Dpkg::Source::Package->get_basedirname() method
5ca492db5 Dpkg::Source::Package: Add a new get_basedirname() method
98adc2ec5 Dpkg::Source::Package::V3::Bzr: Remove unused variables
044955f9b Dpkg::Source::Package: Document method additions with an object
00f0fb173 Dpkg::Substvars: Add support for required substvars assigned with !=
df60765ed Dpkg::Vendor::Debian: Guarantee UTF-8 locale codeset on sanitize-env
259debe76 build: Do not include VCS specific files in the distributed tarball
5a381b45a build: Include a .dist-vcs-url file in the distributed tarball
4c6e077bf libdpkg: Do not try to strdup() a NULL pointer in dpkg_get_pid_execname()
4ec4dcd01 libdpkg: Remove unused variable in dpkg_get_pid_execname() on GNU/Hurd
99bba12f0 libdpkg: Try to print the executable name of the lock contending process
d6a9bb695 libdpkg: Add new execname module
b7dc60447 dselect: Use enum values instead of literal integers
e56be2165 libdpkg: Check for updateslength < 0 instead of == -1 in ulist_select()
af5c8d99e libdpkg: Check for limit >= 0 instead of != -1 in buffer_copy()
1a7b7d52e dpkg: Check for < 0 instead of == -1 for conffderef() return values
4682652aa Check for >= 0 instead of != -1 for syscall return values
5601b4769 Check for < 0 instead of == -1 from syscall return values
040922cf0 dpkg-realpath: Guarantee varbufs have been allocated
f724d5076 Revert "dpkg-realpath: Switch direct varbuf accesses to varbuf_str()"
0fee7b211 dpkg-realpath: Switch direct varbuf accesses to varbuf_str()
474db9879 dpkg-realpath: Do not allow an empty pathname argument
983fadb9e libdpkg: Do not accept len >= INT_MAX in fd_read() and fd_write()
9ff1f50b1 libcompat: Fix vasprintf() to error out if vsnprintf() returns >= INT_MAX
811651673 build: Check whether HAVE_* macros for headers are defined
83c6705c1 s-s-d: Fix typos in code comments
4993ac06a build: Add missing files and sort POTFILES.in
45317f873 test: Switch ar m4 macros to use internal dpkg-ar implementation
865322b2a dpkg-ar: New internal ar implementation script
fbee9f6d4 Dpkg::Archive::Ar: New module
9b2f0100f test: Refactor ar handling into m4 macros
59ce405f3 test: Unify all ar invocations into create, extract and list
7e27cbae0 Dpkg::Shlibs::Cppfilt: Normalize demangled symbols with llvm or C++11 format
1c7f9f2be test: Only execute Dpkg::Shlibs checks on ELF platforms
ef9d366fe test: Add new DPKG_CHECK_DIFF macro to abstract file comparisons
3533e05c2 Dpkg::Vendor::Debian: Set -Wno-error on qa=-bug-implicit-func
0dff3528b po: Update German scripts translation
0b7988833 po: Update German man pages translation
33e3074db Dpkg::OpenPGP::ErrorCodes: Update error codes from SOP draft version 10
0274e3d35 dpkg-buildpackage: Make newline injection during signing GnuPG specific
8389e7010 lib, src: Include missing <stdbool.h>
c94e16d93 Dpkg::Vendor::Debian: On native builds map *_FOR_BUILD flags to * flags
17456a341 Merge conffile obsolete and remove-on-upgrade into a single flags member
b11ffedca dpkg: Refactor conffile disappearing check into a new function
09ae88618 dpkg-shlibdeps: Add support for new --package option
e16a155f5 dpkg-shlibdeps: Refactor executable CLI parsing
01505a922 libdpkg: Factor fsys_list_parse_buffer() out of ensure_packagefiles_available()
6410d905b test: Clarify the Makefile fragment variable being tested via comments
1e9c98a43 test: Parametrize all Makefile fragment functional tests
7e73ffda9 test: Set CC to gcc in make fragments functional tests
d8ff5ef85 scripts/mk: Stop hard-coding dpkg_datadir
a0b4da48c scripts/mk: Replace more GNU sed constructs with POSIX ones
57048fc8c build: Fix test verbose and parallel option propagation
deb4cfe60 build: Workaround Tap::Harness verbose misbehavior on parallel mode
f2407763c doc: Fix casing after admonition
153a7c8de doc: Fix grammar for fallback
86fe73a5a po: Update German man pages translation
17dd89881 libdpkg: Make varbuf_detach() always return a string
0e589d3fc libdpkg: Make prefix and suffix varbuf checks cope with unallocated varbufs
7f287adcd libdpkg: Compute string slice for varbuf_has_suffix() check on good values
61b221cf7 man: Update verify format example to also include M
6d6488a9e dpkg: Do not run hooks or loggers with --dry-run or unprivileged
bc4dc7153 debian: Suppress s-s-d compat symlink if /sbin is missing
98e16e2eb dpkg-genbuildinfo: Parse Provides as virtual packages
b126d9726 test: Refactor real and virtual package setup
b33121e1f po: Update German man pages translation
b33417497 libdpkg: Turn the warning on Provides version relation into a lax error
77cd6c000 libdpkg: Refactor lax problem reporting into parse_lax_problem() function
4ed783dc7 man: Document weak checksum algorithms
e5fb453b3 man: Document missing Packages front-end fields in dpkg-query(1)
77f1ce33a po: Update Dutch man pages translations
9dff67290 libdpkg: Mark file_slurp_fd() NUL-terminate the varbuf
e146a68a3 scripts/mk: Reduce the number of subprocesses
970350af0 test: Test override of a build tool
48a52db41 test: Add missing test for CPP build tool
0b4d3ad3d test: Test DEB_CXXFLAGS_MAINT_SET
0a3195357 test: Test variable override
4b04e760a test: Test exported variables in addition to Make variables
bb01e59d8 test: Replace double quotes with single quote in shell recipes
d583f4846 test: Use loops instead of repetitions in mk fragment tests
4c7702871 test: Simplify buildflags.mk test of _MAINT_APPEND when TEST_ is empty
ce5c5af16 test: Unset DEB_BUILD_MAINT_OPTIONS in build flags tests
f1175056f build: Rework subst handling for built or installed artifacts
84d82aaaf po: Update German programs translation
f8d4dc399 po: Update German man pages translation
24a7aee46 Revert "test: Pass -T+1 to xz to workaround spurious warning with xz 5.6.0"
0f4000a29 test: Initialize varbuf before use
489c0f4b2 libdpkg: Add missing header includes
51b9b23c4 po: Update Swedish translations
0f503ee3a src: Check whether SOURCE_DATE_EPOCH is set before parsing it
2b771a88e src: Fix timestamp parse error reporting
f6d747035 dpkg: Use a variable for each conffile pathname type
42158472a dpkg-realpath: Rewrite in C
9d410b391 libdpkg: Add new file_getcwd() function
f382029ba libdpkg: Add new varbuf prefix and suffix handling functions
e5c856f73 libdpkg: Add support for DPKG_NLS environment variable
24287281f man: Document DPKG_COLORS and DPKG_NLS for all perl scripts honoring them
e309f8639 man: Add new libdpkg(7) manual page
46ca7d944 build: Pass abs_srcdir and abs_builddir to the TAP driver
ae03bfd28 libdpkg: Remove varbuf_end_str() function
cae07d61c libdpkg: Always NUL terminate varbufs
fe1c99810 Use varbuf_str() instead of direct access
426997f83 libdpkg: Rename varbuf_get_str() to varbuf_str()
aea0858f5 libdpkg: Change varbuf_get_str() to return "" instead of initializing it
bfecc8f13 test: Pass --check-level=exhaustive to cppcheck
54a1a23d3 scripts/mk: Generate the _FOR_BUILD variant of each variable automatically
61f824cf1 scripts/mk: Search once for parrallel= in DEB_BUILD_OPTIONS
d5835c587 scripts/mk: Use explicit test of $(origin) instead of ?=
c0dde13fd scripts/mk: Use filter instead of findstring
8966616fa scripts/mk: Protect files against double inclusion
f268c3733 po: Update German man pages translation
3e430c1f2 man: Document DEB_BUILD_ARCH and DEB_HOST_ARCH usage in commands
54a6ad9db build: Add support to track release VCS commit id
00707c50e build: Print the release version at the end of configure
4d9214444 po: Update German man pages translation
2c55113b6 build: Partially revert the sanitizer for some functional tests in CI
78a5e8e24 Dpkg::Vendor::Ubuntu: Use -fcf-protection=none instead of -fno-cf-protection
281c308ee libdpkg: Handle readlink() failures in file_readlink()
197fa86fc Dpkg::BuildDriver: Refactor build driver out of dpkg-buildpackage
bab74e22a dpkg-buildpackage: Refactor build target hook execution
c711bc865 dpkg-buildpackage: Fix the debian/rules executable check to respect -R
f4a75f138 dpkg-buildpackage: Remove fallback handling for missing required targets
7b6e42a13 libcompat: Include missing <string.h> in strnlen module
6a22037c2 build: Do not check for functions used unconditionally
4c586e344 build: Do not check for memcpy()
2eb48ad0c build: Unconditionally include <stddef.h>
4921ef18c build: Add missing space before backslash
ebd19171d build: Re-enable the sanitizer for functional tests in CI
7348ad792 doc: Add missing full stop to end of sentence
0d3527afd test: Do not fail the functional test suite due to memory leaks
5cdc783e5 libdpkg: Factor out filesystem database file loading into new function
cedd58200 po: Update German man pages translation
dfa1ac937 Bump version to 1.22.7

(From OE-Core rev: 576ac47a278eeadb7be65129492906f9260fe958)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:36 +01:00
Trevor Gamblin
35efa5d55f cmake: upgrade 3.29.3 -> 3.30.1
Refresh 0001-CMakeLists.txt-disable-USE_NGHTTP2.patch to apply on top of
the new version.

Changelogs:

3.29.4+: https://cmake.org/cmake/help/latest/release/3.29.html#id2
3.30.x: https://cmake.org/cmake/help/latest/release/3.30.html

(From OE-Core rev: 3bc8f132f2547105a4e631d909347b6e80e1f6d0)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:36 +01:00
Wang Mingyu
3bc7447062 strace: upgrade 6.9 -> 6.10
Makefile-ptest.patch
refreshed for 6.10

Changelog:
===========
* Improvements
  * Implemented --decode-fds=eventfd option to retrieve eventfd object details
    associated with eventfd file descriptors.
  * Implemented decoding of NETLINK_GENERIC nlctrl protocol.
  * Implemented decoding of F_DUPFD_QUERY fcntl.
  * Implemented decoding of mseal syscall.
  * Updated decoding of statx and prctl syscalls.
  * Updated decoding of BPF_RAW_TRACEPOINT_OPEN bpf command.
  * Updated lists of BPF_*, IORING_*, KEXEC_*, KEY_*, LANDLOCK_*, PR_*, STATX_*,
    TCP_*, TEE_*, V4L2_*, and *_MAGIC constants.
  * Updated lists of ioctl commands from Linux 6.10.

* Bug fixes
  * Worked around a bug introduced in Linux 6.5 that affected system call
    tampering on riscv64.

(From OE-Core rev: ff5fb4fa63db46e747fe3b0710d041a46ab2aec9)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
badd25c860 python3-sphinxcontrib-qthelp: upgrade 1.0.7 -> 1.0.8
Changelog:
 Fix tests for Sphinx 7.4 and later.

(From OE-Core rev: 7f8760e2a266e6cac02301d719dee6ef812c43bb)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
8d7d21f396 python3-sphinxcontrib-htmlhelp: upgrade 2.0.5 -> 2.0.6
Changelog:
============
* Fix tests for Sphinx 7.4 and later.

(From OE-Core rev: 3cb5a50209c36649d4d39d72086d121599e0bfa5)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
1ea6c5cea2 python3-sphinx: upgrade 7.3.7 -> 7.4.7
Changelog:
 https://www.sphinx-doc.org/en/master/changes.html

(From OE-Core rev: acb4e7bf7f33047cb36749d7215c479654fd0b7c)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
7b6eeb3ef2 python3-setuptools: upgrade 70.3.0 -> 71.1.0
Changelog:
=============
- Added return types to typed public functions
- Marked Package Discovery and Resource Access using pkg_resources as py.typed
- Removed lingering unused code around Distribution._patched_dist.
- Reset the backports module when enabling vendored packages.
- Include all vendored files in the sdist.
- Restored package data that went missing in 71.0. This change also incidentally
  causes tests to be installed once again.

(From OE-Core rev: ab5ebb1713d0bfac1a7fb8583aa8e4655e24ccd7)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
e861a44445 python3-pytest: upgrade 8.2.2 -> 8.3.1
Changelog:
 https://docs.pytest.org/en/stable/changelog.html

(From OE-Core rev: 72a798cb1cfb72691b1939ee945bf69cae0e423a)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
87f13375c1 python3-pytest-subtests: upgrade 0.13.0 -> 0.13.1
Changelog:
 Fixed bug were an extra test would execute when -x/--exitfirst was used

(From OE-Core rev: a29db0c8144f473d05ec2b2ba99c6327b5cb6246)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
b0e8ea601b python3-jsonschema: upgrade 4.22.0 -> 4.23.0
Changelog:
===========
- Do not reorder dictionaries (schemas, instances) that are printed as part
  of validation errors.
- Declare support for Py3.13

(From OE-Core rev: 716a45d194257d30a32e06d7e73dedeef3a677f6)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
eaa5e2427c python3-importlib-metadata: upgrade 8.0.0 -> 8.2.0
Changelog:
==========
- Add SimplePath to importlib_metadata.__all__.
- Prioritize valid dists to invalid dists when retrieving by name.

(From OE-Core rev: f0ddbe6fe760a8a63317f314f63b599fded30d9a)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
f8e111e849 python3-hypothesis: upgrade 6.105.1 -> 6.108.4
Changelog:
 https://hypothesis.readthedocs.io/en/latest/changes.html

(From OE-Core rev: b7416c0734d9981028f143ba22522d7fc94a1828)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
7821ae48ee python3-dbusmock: upgrade 0.31.1 -> 0.32.1
Changelog:
==========
- ModemManager: Add initial mock
- bluez5: Add advertising API
- Fix loading of libglib on macOS

(From OE-Core rev: 6323ca033e3e1bdb9292b054ce3c0a54fce6df10)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
3c2021ed9a python3-bcrypt: upgrade 4.1.3 -> 4.2.0
(From OE-Core rev: 5d02d9bde0805b5782db36a06c8c4ac5e4839662)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
5feabe1133 orc: upgrade 0.4.38 -> 0.4.39
(From OE-Core rev: bcbaaa9f7d88686915c354fb66682cbe9b1d0536)

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>
2024-08-03 07:47:35 +01:00
Sundeep KOKKONDA
e2e7017350 rust: rustdoc reproducibility issue fix
The 'codegen-units' option split the crate into multiple compilation units for parallel compilation. Currently, this split is causing the rustdoc to generate differnt binary between the builds.
To fix this the codegen-units & the lto options are disabled.

More info about options:
https://doc.rust-lang.org/cargo/reference/profiles.html#codegen-units
https://doc.rust-lang.org/rustc/codegen-options/index.html#lto

(From OE-Core rev: 0c00875de10b171f4ff2990af351a8124ec7e972)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-30 12:32:53 +01:00
Richard Purdie
3e29ba2205 pseudo: Update to include open symlink handling bugfix
Update to a new revision which includes "Bugfix for Linux open(O_CREAT|O_EXCL)"

(From OE-Core rev: 92a9710ec88c8729fa3d83baa2e63dd74d95cdf8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
9e789e2e75 python3-numpy: ignore pep517-backend warnings
Upstream has a pyproject.toml but it's marked as experimental and does
not currently work at all with the meson-python release we currently
have.

(From OE-Core rev: a09ad3838a00d2b4781850759ca857822ba330e1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Alejandro Hernandez Samaniego
09b49a35e1 tclibc-picolibc: Adds a new TCLIBC variant to build with picolibc as C library
Enables usage of TCLIBC=picolibc extending OE functionality to build and use
picolibc based toolchains to build baremetal applications.

Picolibc is a set of standard C libraries, both libc and libm, designed for
smaller embedded systems with limited ROM and RAM. Picolibc includes code
from Newlib and AVR Libc, but adresses some of newlibs concerns, it retains
newlibs directory structure, math, string and locale implementations, but
removed the GPL bits used to build the library, swiches old C style code for
C18 and replaces autotools with meson.

This patch adds a picolibc recipe for the C library, a picolibc-helloworld
recipe that contains an example application and a testcase that builds it.

Picolibc can be built for ARM and RISCV architectures, its been tested both
for 32 and 64 bits, the provided example recipe produces the following output:

hello, world

Runqemu does not automatically show any output since it hides QEMU stderr which
is where the QEMU monitors output is directed to when using semihosting, but,
manually running the same QEMU command does work properly.

(From OE-Core rev: c7535ecaccb72ef21a61f9aec5c68e61fb4f6fb6)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
0f2f18c738 python3-idna: enable ptest
(From OE-Core rev: 4b15fd105f8f84f55f1da1724a0ea2f06a88c4b5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
d4c0282f2b python3-packaging: enable ptest
(From OE-Core rev: df1e2e5bbf675f2b2582179fe28b25b840bb4790)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
bd21b9e878 python3-cffi: enable ptest
(From OE-Core rev: 5beb30cdf389490aa00f63a1c377680deb747bbc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
859ce65576 python3-cffi: generalise RDEPENDS
There's no need to mark these RDEPENDS as target-only.

(From OE-Core rev: 8b2332c355d603027e965e9a6a5045f9eb1f024c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
2e3162ffd4 python3-jsonpointer: upgrade 2.4 -> 3.0.0
Also re-arrange the recipe to match conventional order.

(From OE-Core rev: 8083d5d1732d805a2172ae6df1d2ae51c476f9cf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
24058c8827 python3-idna: generalise RDEPENDS
(From OE-Core rev: ffdea890710aa11ab819bb7d23e18a5f01447292)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
8ba4e6c963 python3-unittest-automake-output: add dependency on unittest
This module can be used as a wrapper around unittest, so depend on that.

Don't also depend on pytest as that's a much larger dependency, and
in ptest images we want as little pulled in as possible.

(From OE-Core rev: 98343c8fa3572ccd04964c988d55cd31f2ad8d9f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
50e95b7138 python3-pytest: clean up RDEPENDS
These dependencies are only used in development:
- attrs
- setuptools

These dependencies are obsolete:
- atomicwrites removed 7.2.0
- importlib-metadata removed in 5.1.0
- more-itertools removed 6.1.0
- pathlib2 removed 6.2.2
- py removed in 7.2
- six removed in 5.0.0
- wcwidth removed in 6.0.0

This removals now means that python3-xml has to be added explicitly.

(From OE-Core rev: 0aee9aa7b70667fefe898f6a9019a82b004da391)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
1a93f261d7 python3-uritools: enable ptest
Install the test suite and run it in core-image-ptest-fast.

(From OE-Core rev: 579675d773f52c877e50aafc59b5571ac5d6a0ba)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
194e1cebe2 python3-mako: add dependency on python3-misc for timeit
(From OE-Core rev: 901e43978eb2cb36f7da52b11319ff5ead084098)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
abefe97990 python3-yamllint: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

yamlint appears to have never used setuptools-scm, so remove the
dependency.

(From OE-Core rev: c3b51900326dbadb83b3853419f5c92bac12ba50)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
1c3418fccd python3-uritools: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

(From OE-Core rev: 4baa8e36e1ee788ed3f66a0546498e892cd69b83)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
9e77642ec4 python3-subunit: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

(From OE-Core rev: 02e635a898b209ed023ad41e9a09b7807d327d0e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
d047149ecc python3-spdx-tools: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

(From OE-Core rev: 1deca862432ddca0d10a712f7bf159816d0ae130)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
1d5520a9b0 python3-setuptools-scm: remove python3-tomli dependency
We have Python 3.11+ so setuptools-scm can use tomllib.

(From OE-Core rev: 5c8a0a26d3f63d90bc97eec4b115d51dfb1b3995)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
b121940131 python3-websockets: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

(From OE-Core rev: c3943c81f22f8dce2f279e91b0fd516fa3e8e408)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
ad37caf48c python3-scons: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

(From OE-Core rev: 9cf6a9c261b3c01402c511a2a9b4a9fda33b6e8e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
d1635ee499 python3-ruemel-yaml: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

Also remove the redundant RUAMEL_NO_PIP_INSTALL_CHECK assignment, this
is checked by setup.py which is no longer ran.

(From OE-Core rev: eb7519a542e207911a0419c79cb3aa1d08e3e742)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00