Commit Graph

10156 Commits

Author SHA1 Message Date
Wang Mingyu
7db0cbc2b6 ruby: upgrade 3.3.5 -> 3.3.6
0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
refreshed for 3.3.6

(From OE-Core rev: f1be2b0edfa9f11de350e9e0d979bc0c6e0b85a4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-18 22:09:02 +00:00
Wang Mingyu
6fdfde5407 repo: upgrade 2.48 -> 2.49.3
Changelog:
==========
- sync: fix connection error on macOS
- upload: Return correct tuple values in _ProcessResults
- worktree: Do not try to fix relative paths
- forall: Fix returning results early
- Use full name of the revision when checking dest-branch
- Add REPO_SKIP_SELF_UPDATE check in sync
- manifest: add optional base check on remove and extend
- [event_log] Stop leaking semaphore resources
- progress: always show done message
- subcmds: reduce multiprocessing serialization overhead
- sync: reduce multiprocessing serialization overhead
- Fix incremental syncs for prjs with submodules

(From OE-Core rev: 92e274a819ab6d1202519fd6b0b0cd9bf2b2e727)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-18 22:09:02 +00:00
Wang Mingyu
2c810b61f9 mmc-utils: upgrade to latest revision
(From OE-Core rev: 3aeaf134f9181fa8be517f9190f56451a38d1ce5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-18 22:09:02 +00:00
Wang Mingyu
4d7c8cf834 log4cplus: upgrade 2.1.1 -> 2.1.2
Changelog:
===========
- Implement 'LOG4CPLUS_ASSERT_FMT()' - formats assertion message using C-style
  format string.
- Implement 'LOG4CPLUS_ASSERT_FORMAT()' - formats assertion message using
  C++20 '<format>' header facilities.
- New configuration property: 'log4cplus.threadPoolBlockOnFull'. When this
  property is 'true' (default), threads will block when internal thread pool
  queue is full.
- Warn about full internal thread pool queue when dropping events due to
  'log4cplus.threadPoolBlockOnFull' being 'false'.

(From OE-Core rev: e3b87a2ebeed3e3943d912c3118698a6ef6f0723)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-18 22:09:02 +00:00
Wang Mingyu
e8c1a9342a llvm: upgrade 19.1.2 -> 19.1.3
Changelog:
===========
- Handle uninitialized type constraints
- Make LazyOffsetPtr more portable
- Fix incorrect range of relative jumps
- Fix KCFI types for generated functions with integer normalization
- Handle template opener/closer in braced list
- Disable use of the counted_by attribute for whole struct pointers
- Reject if constexpr in C
- fix build failure
- Fix feature coalescing
- Backport "Support for Gentoo *t64 triples (64-bit time_t ABIs)"
- Instantiate Typedefs referenced by type alias deduction guides
- Don't propagate access attr to byval params
- Undef _TIME_BITS along with _FILE_OFFSET_BITS

(From OE-Core rev: 3e7491397760b14cdb0f0956bc159c3ded31fe58)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-18 22:09:02 +00:00
Wang Mingyu
05eeb3f92c librepo: upgrade 1.18.1 -> 1.19.0
Changelog:
===========
- Fix input termination for pgpParsePkts
- Introduce entropy for fastestmirror option
- Fix upper case xattr incompatible to Amazon S3

(From OE-Core rev: 80844f21f21c03703db72a2c1eb5634bef034715)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-18 22:09:02 +00:00
Wang Mingyu
44d7085fd5 desktop-file-utils: upgrade 0.27 -> 0.28
Changelog:
============
- Increase GLib requirement to 2.26
- Fix install failing on second run
- Fix use of deprecated Meson feature resulting in a warning
- Allow groups with the same name as interfaces in Implements
- Add support for the COSMIC environment

(From OE-Core rev: 60b95f9258209f9eb62edfae86240f49247f5cff)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-18 22:09:02 +00:00
Harish Sadineni
30bf8dcc25 rust: Upgrade 1.79.0->1.80.0
Update the patch files with rust v1.80.0.

The patch repro-issue-fix-with-cc-crate-hashmap.patch addresses the rust
 reprouciblity issue by correcting the way hash values are generated for
 different build paths.

https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html

(From OE-Core rev: d68449da0df795abe3233383a82d0b6b7908d736)

Signed-off-by: Sunil Dora <SunilKumar.Dora@windriver.com>
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-18 22:09:02 +00:00
Ola x Nilsson
37213bb5d9 automake: Remove patch that changes path to test-driver
The patch "Set relative to top_builddir path in Makefile to access"
sets the default path of `test-driver` to
`$(top_builddir)/$(config_aux_dir)` instead of the normal
`$(top_srcdir)/$(config_aux_dir)`.

This breaks `check test` for Automake projects in generated images,
and probably other places like SDKs.

A typical error would be

/bin/sh: ./build-aux/test-driver: No such file or directory

Removing the patch makes such checks complete successfully.

Fixes [YOCTO #15635]

(From OE-Core rev: d21dbafda92263d3e30a5b7d84dd9bb02f855610)

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-14 11:56:53 +00:00
Ola x Nilsson
ea0e5262c6 strace: Fix the ptest path to test-driver
Add a sed substitution for ${PTEST_PATH}/tests/Makefile that
transforms
 TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
to
 TEST_LOG_DRIVER = $(SHELL) $(top_builddir)/build-aux/test-driver
which is where the test-driver script can be found when installed.

There used to be an oe-core automake patch to do this, but it
broke non-ptest use of automake.

Relates to [YOCTO #15635]

(From OE-Core rev: cfa585b93192222904ca99b7533d21726089b11c)

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-14 11:56:53 +00:00
Awais Belal
fb57e8bde4 quilt: fix dependency on ptest-runner
Specifically when using useradd-staticids this fails without
creating a ptest user entry.

ERROR: Nothing PROVIDES 'ptest-runner' ptest-runner was skipped: Recipe ptest-runner, package ptest-runner: system username "ptest" does not have a static ID defined. Add ptest to one of these files: .../passwd
...
...
Missing or unbuildable dependency chain was: ['my-image-sdk', 'packagegroup-core-sdk', 'quilt', 'ptest-runner']

This is seen when ptest is not even enabled. We fix this by
making a conditional dependency on the ptest-runner.

(From OE-Core rev: f4cc8bfe9c7d936ed36023f955d34f57676597d6)

Signed-off-by: Awais B <awais.belal@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-14 11:56:53 +00:00
Alexander Kanavin
df62e8824a tcl: correctly symlink tclsh to 9.0 version
(From OE-Core rev: 5875448ae501e40627ed291ad93c129d6c7288e0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-14 11:56:53 +00:00
Deepthi Hemraj
9d739fd042 binutils: stable 2.43.1 branch update
Below commit on binutils-2.43.1 stable branch are updated.
b82e2250574 Automatic date update in version.in
280374309b1 PR32300, --dependency-file: link dependencies are not all collected
263e116833e s390: Add arch15 instructions
645da6d426e s390: Relax risbg[n]z, risb{h|l}gz, {rns|ros|rxs}bgt operand constraints
7f7047a9c6c s390: Simplify (dis)assembly of insn operands with const bits
e7592364504 s390: Align opcodes to lower-case
d6ab1d2efdc s390: Document syntax to omit base register operand
c40337b1784 LoongArch: Add elfNN_loongarch_mkobject to initialize LoongArch tdata
95ed7cf1be2 segv in bfd_elf_get_str_section
0a71d78f6a6 ld: Don't explicitly add .note.gnu.build-id in elf.sc
ad2ce1e6457 x86: Turn PLT32 to PC32 only for PC-relative relocations
238493e7f09 x86-64: Disable PIE on PR gas/32189 test
68d5dbd315d x86-64: Never make R_X86_64_GOT64 section relative
d77d08180d1 x86/APX: Don't promote AVX/AVX2 instructions out of APX spec
f307db3d8b7 bfd: Pass true to ld_plugin_object_p
cd3e2b58f2c PR32109, aborting at bfd/bfd.c:1236 in int _bfd_doprnt
2d37b890e56 lto: Add a test for PR ld/32083
d16a1893c44 ld: Add an LTO test for common symbol override
e4cfe6dab3e Re-enable development changes on the 2_43 branch

Testing was done and there were no regressions found

(From OE-Core rev: 4950a2d67a85b3f4a643a46fdc54d348abce5ed6)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-14 11:56:53 +00:00
Ross Burton
8d0c2c9e3c python3-*: inherit cython
Change recipes that depend on python3-cython-native to inherit cython
instead.

(From OE-Core rev: 8217b61c3838d4a43b63b78c5121d657f52b4b2b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-12 23:54:35 +00:00
Ross Burton
b34a4b3b01 python3-cython: add patch to prefix map source paths in generated files
Cython generates C source code that contains mentions to the original
.py files, which results in build paths being embedded inside the
binaries.

Implement prefix remapping to change these build paths to point at the
target debug directory, so that we don't leak build paths and have
reproducible builds.

This patch is currently not submitted upstream, but will be shortly and
I expect it to evolve before being merged.

(From OE-Core rev: cdbe8ef6b744f8e485c4bc77897ad545457ea51e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-12 23:54:35 +00:00
Peter Tatrai
b82bb08f15 rust: Add patch to increase timeout in process-sigpipe rust selftest
This commit adds a patch to increase the timeout in the process-sigpipe
rust selftest to prevent occasional failures under heavy server load.
The patch aims to reduce the likelihood of false negatives when the test
environment is overloaded.

Patch file:
* oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch

Fixes [YOCTO #15625]

(From OE-Core rev: 12c85933e2150ba78a8a914787e400c95c5cf585)

Signed-off-by: Peter Tatrai <peter.tatrai.ext@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-12 23:54:35 +00:00
Ross Burton
4eaae8c55e python3-setuptools: add more comments to a patch
Add more explanatory comments, including when we can drop the patch.

(From OE-Core rev: 15091ef668b544ceb881f8179c0c25c97afd3f5f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-12 11:19:44 +00:00
Alexander Kanavin
eca49ca726 tcl8: re-add tcl 8 to support building expect
I'd be happy to remove expect from core as it has been unmaintained for years,
but sadly gcc/binutils test suites are basically written in it (via dejagnu),
and ltp makes use of it as well.

I attempted porting expect to tcl 9, but it's a tcl extension and makes
extensive use of features that have been deprecated in tcl 8 and removed
in tcl 9, and even pokes into tcl internals.

At some point hopefully the GNU toolchain upstreams are going to notice;
for now we'll carry tcl (latest) and tcl8 recipes.

tcl and tcl8 packages can be co-installed, the latter is adjusted
to contain tclsh8.

tcl-dev and tcl8-dev packages can also be co-installed, a few files
in tcl8-dev are renamed to avoid clashes with tcl-dev (tcl.pc -> tcl8.pc,
and similar for tclConfig.sh and tclooConfig.sh).

(From OE-Core rev: 8ec7bfc6644aff011545dfb0f5a415e79d7b0844)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-12 11:19:44 +00:00
Alexander Kanavin
b33b064b48 tcl: update 8.6.15 -> 9.0.0
Make adjustments needed for ptests: among others,
the binary.test needs 4G of RAM.

Apply all patches unconditionally for ease of future upgrades.

(From OE-Core rev: 372cfdd3f9355081942514c7db44119fa55ff58e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-12 11:19:44 +00:00
Khem Raj
9d8042f045 python3-packaging: Ignore old glibc tests on musl
These tests expect glibc to be the system C library
ignore them for musl

(From OE-Core rev: 8b5b18a65c3ac3a3b5f1eef462824ef27f36f223)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-12 11:09:51 +00:00
Ross Burton
330720015a python3-cython: remove obsolete SETUPTOOLS_INSTALL_ARGS
(From OE-Core rev: b4bdfc78e8e1cb8b86221bc55d80d601ea1a065f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-07 13:32:29 +00:00
Ross Burton
f3f838a6d3 python3-pyyaml: rearrange recipe
Sort the recipe into a more traditional order, and remove a duplicated
DEPENDS on libyaml.

(From OE-Core rev: 11739d4419b790c798ba9f2d2ef0086a8c39271d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-06 12:18:05 +00:00
Philip Lorenz
ed82f9c090 cmake: Fix sporadic issues when determining compiler internals
When `-pipe` is enabled, GCC passes data between its different
executables using pipes instead of temporary files. This leads to issues
when cmake attempts to infer compiler internals via the `-v` parameter
as each executable will print to `stderr` in parallel.

In turn this may lead to compilation issues down the line as for example
the system include directories could not be determined properly which
may then propagate to issues such as:

    recipe-sysroot/usr/include/c++/11.3.0/cstdlib:75:15: fatal error:
        stdlib.h: No such file or directory
    |    75 | #include_next <stdlib.h>
    |       |               ^~~~~~~~~~
    | compilation terminated.
    | ninja: build stopped: subcommand failed.
    | WARNING: exit code 1 from a shell command.

Fix this stripping `-pipe` from the command line used to determine
compiler internals.

(From OE-Core rev: 34fa8230163e5ed1c6668bf800c45a173c6490ca)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-06 12:18:05 +00:00
Khem Raj
e366c7a671 python3-libarchive-c: Avoid using find_library python API
find_library API depends on platform to provide ldconfig, ld, gcc, objdump
etc, so either we add these dependencies or avoid them by computing the
libarchive library name during build, which we can be done.

This ensures that ffi module works with musl as well as glibc equally
as musl does not provide ldconfig like glibc does

(From OE-Core rev: db350fa7c3c33956fb652eef8aefebaf18ead841)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-04 14:34:42 +00:00
Khem Raj
94e03dc420 python3-jsonschema: Fix annotation for validator_for's default
Backport the fix, it helps some ptests on meta-python packages
e.g. pydantic

(From OE-Core rev: 3bf9241787574bad15e685d8f956f33719bac749)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-01 12:13:18 +00:00
Wang Mingyu
04fc8f4972 python3-rdflib: upgrade 7.0.0 -> 7.1.1
License-Update: Copyright year updated to 2024.

Changelog:
 https://github.com/RDFLib/rdflib/blob/main/CHANGELOG.md#2024-10-17-rel

(From OE-Core rev: 3789e5e55fb2d6eef7e1635016b749b9205194fc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-01 12:13:18 +00:00
Jiaying Song
ee7e6badab ruby: Add init.rb file to PTEST installation path
This patch copies the init.rb file to the tool testing directory in the
PTEST installation path during installation. This modification can address
the following errors:

BEGIN: /usr/lib64/ruby/ptest
/usr/lib64/ruby/ptest/tool/test/runner.rb:4:in `require_relative': cannot load such file -- /usr/lib64/ruby/ptest/tool/test/init (LoadError)
	from /usr/lib64/ruby/ptest/tool/test/runner.rb:4:in `<top (required)>'
	from ./test/runner.rb:5:in `require_relative'
	from ./test/runner.rb:5:in `<main>'

(From OE-Core rev: 4f9fd1255d5a75e3597e6c8ab3fc243b17fca583)

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-01 12:13:18 +00:00
Alexander Kanavin
d5d7b01460 python3-markupsafe: fix upstream version check
(From OE-Core rev: 721395809dcab2b133f77f7592c3aa69b710212c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-01 11:53:27 +00:00
Alexander Kanavin
ea2b9b9bd2 python3-mako: fix upstream version check
(From OE-Core rev: aed0e0cd96ae1250c9d6991ffccdcc7c902dd4ef)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-01 11:53:27 +00:00
Trevor Gamblin
557db256e3 cmake: upgrade 3.30.2 -> 3.30.5
Changelog (https://cmake.org/cmake/help/latest/release/3.30.html#updates):

3.30.5

-   The project(<PROJECT-NAME>) command now sets
    <PROJECT-NAME>_SOURCE_DIR, <PROJECT-NAME>_BINARY_DIR, and
    <PROJECT-NAME>_IS_TOP_LEVEL as non-cache variables only if they are
    already set as non-cache variables when project() is invoked. Cache
    entries by the same names are always set as before. This refines
    3.30.3's behavior change to restore behavior of nested directories
    that call project() with the same project name, and it addresses the
    bug in the implementation introduced in 3.30.4.

3.30.4

-   The project(<PROJECT-NAME>) command now sets
    <PROJECT-NAME>_SOURCE_DIR, <PROJECT-NAME>_BINARY_DIR, and
    <PROJECT-NAME>_IS_TOP_LEVEL as normal variables only if they are
    already set as cache or non-cache variables when project() is
    invoked. Cache entries by the same names are always set as before.
    This refines 3.30.3's behavior change to restore behavior of nested
    directories that call project() with the same project name, but the
    implementation in this release is flawed (this release note has been
    retoractively updated). It can result in different behavior between
    the first and subsequent runs. Do not use CMake 3.30.4 if your
    project contains nested calls to project() with the same project
    name and you use these variables.

3.30.3

-   The project(<PROJECT-NAME>) command now sets
    <PROJECT-NAME>_SOURCE_DIR, <PROJECT-NAME>_BINARY_DIR, and
    <PROJECT-NAME>_IS_TOP_LEVEL as normal variables in addition to
    setting them as cache entries. This is needed to preserve support
    for some FetchContent use cases under policy CMP0169's NEW behavior.

-   The FindPython and FindPython3 modules now define, respectively, the
    Python_DEFINITIONS and Python3_DEFINITIONS variables on Windows to
    support development with the free threaded version of Python. The
    INTERFACE_COMPILE_DEFINITIONS target property is also defined for
    the various targets provided by these modules.

(From OE-Core rev: 9783c7af634e6bd3e29ef350f61b444c0c6087f5)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-01 11:53:27 +00:00
Wang Mingyu
0a28fd7fd9 llvm: upgrade 19.1.0 -> 19.1.2
Changelog:
 https://discourse.llvm.org/t/llvm-19-1-2-released/82550

(From OE-Core rev: 61b9424759a31470de86eda56b1a56a053fef8b8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-29 11:19:57 +00:00
Wang Mingyu
8718dcaa1f i2c-tools: upgrade 4.3 -> 4.4
Changelog:
===========
- tools: Use getopt
       Implement and document option -h
- eeprog: Use force option when data comes from a pipe
- i2cdetect: Display more functionality bits with option -F
- i2cdump: Remove support for SMBus block mode
- i2cget: Document SMBus block mode
       Fix the return code of option -h
- i2cset: Fix the return code of option -h
- i2ctransfer: Sort command line options and add to help text
       Add an option to print binary data
       Drop redundant variable arg_idx
- py-smbus: Install in the defined prefix
	Use setuptools instead of distutils

(From OE-Core rev: e4b835e04bce4e3407d0b6e8e85da10d6391823e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-29 11:19:57 +00:00
Wang Mingyu
13c1952db0 autoconf-archive: upgrade 2023.02.20 -> 2024.10.16
(From OE-Core rev: aa25723dc5e70f23b864b90f416d5a5199f08e90)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-29 11:19:57 +00:00
Peter Marko
6567857332 go: upgrade 1.22.7 -> 1.22.8
Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.7..go1.22.8
aeccd613c8 (tag: go1.22.8) [release-branch.go1.22] go1.22.8
b4086b7c16 [release-branch.go1.22] syscall: skip TestAmbientCapsUserns when restricted, document
6fab4b9a9e [release-branch.go1.22] runtime: size maps.Clone destination bucket array safely
71655f14ce [release-branch.go1.22] cmd/cgo: correct padding required by alignment

[1] https://github.com/golang/go/compare/go1.22.7...go1.22.8

(From OE-Core rev: 552b9913b25107d7a34611b499b7811896b5f098)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-29 11:19:57 +00:00
Peter Marko
da6f5f2886 go: upgrade 1.22.6 -> 1.22.7
Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.6..go1.22.7
7529d09a11 (tag: go1.22.7) [release-branch.go1.22] go1.22.7
d4c53812e6 [release-branch.go1.22] go/build/constraint: add parsing limits
2092294f2b [release-branch.go1.22] encoding/gob: cover missed cases when checking ignore depth
b232596139 [release-branch.go1.22] go/parser: track depth in nested element lists
e87be9833e [release-branch.go1.22] runtime: on AIX, fix call to _cgo_sys_thread_create in _rt0_ppc64_aix_lib
676d6100d8 [release-branch.go1.22] cmd/fix: support go versions with patch release
0a525a3ed0 [release-branch.go1.22] os: fix Chtimes test flakes

Fixes CVE-2024-34155, CVE-2024-34156 and CVE-2024-34158

[1] https://github.com/golang/go/compare/go1.22.6...go1.22.7

(From OE-Core rev: 92d609c49c0870ca10fcc39d52a801109d65a98b)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-29 11:19:57 +00:00
Ross Burton
491a90d6e8 meson: upgrade to 1.6.0
Detailed release notes at https://mesonbuild.com/Release-notes-for-1-6-0.html.

(From OE-Core rev: 24da8fb65a7b62bd2b0c7a60099d30c725df45ab)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-25 15:25:33 +01:00
Aditya Tayade
d68d0ba16b e2fsprogs: removed 'sed -u' option
In embedded box, sed might be provided another providers like Busybox,
hence use generic options whenever possible.
/bin/sed -> /etc/alternatives/sed
/etc/alternatives/sed -> /bin/busybox.nosuid

Here used 'sed -u' option is not necessary, hence removed it.

Fixes below error:
sed: invalid option -- 'u'

Also added 'set -eux' option which halts execution of the script
on any failures.

(From OE-Core rev: 07caee1829d2a61bc018fe0e37ecd482922179ee)

Signed-off-by: Aditya Tayade <Aditya.Tayade@kpit.com>
Signed-off-by: Pawan Badganchi <Pawan.Badganchi@kpit.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-25 15:25:32 +01:00
Alexander Kanavin
085afc322b python3: update 3.12.6 -> 3.13.0
License-update: copyright years

Update 0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch
to only include tests that do not fail under qemu (following upstream
change that also no longer obscures failures).

Drop
0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch
(backport)
0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch
(fixed upstream)
0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch
(code completely rewritten upstream)
cgi_py.patch
(cgi and cgitb modules removed upstream)

Add fix-armv5.patch
(address armv5 crashes)

Modules removed in 3.13 (look for 'important removals'):
https://docs.python.org/3/whatsnew/3.13.html
Manifest updated accordingly.

Add an explicit dependency on libatomic (needed on mips
and ppc), as upstream has explicitly switched it off
in cross builds. It's a no-op on other targets.

Fcntl relocated to python3-core by the manifest script.

(From OE-Core rev: 0b49c9aa31279ecda565cc66b63d1d61723b37b8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-25 15:04:30 +01:00
Alexander Kanavin
8d909f94a6 python3-cryptography: update 42.0.8 -> 43.0.1
Changelog:
- https://cryptography.io/en/latest/changelog/#v43-0-0
- https://cryptography.io/en/latest/changelog/#v43-0-1

Switch over to maturin as specified in pyproject.toml file.

(From OE-Core rev: d2c548c47ccb7f00de8842e26456fd82175a7472)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-25 15:04:30 +01:00
Trevor Gamblin
816e7d3550 python3-mako: upgrade 1.3.5 -> 1.3.6
Update PYPI_PACKAGE to lowercase since that's what the upstream tarball
now uses.

ptest results:

|============================================================================
|Testsuite summary
|# TOTAL: 500
|# PASS: 447
|# SKIP: 53
|# XFAIL: 0
|# FAIL: 0
|# XPASS: 0
|# ERROR: 0
|DURATION: 2
|END: /usr/lib/python3-mako/ptest
|2024-10-22T17:30
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

Changelog (https://docs.makotemplates.org/en/latest/changelog.html):

-   Fixed long standing bug where the sequence <& would be
    misinterpreted by the lexer. It’s not clear why the ampersand
    character was part of the characters being consumed here and it may
    have been an inadvertent bit of code from one of Mako’s predecessor
    languages.

    References: #412

(From OE-Core rev: 3871ceb5927d4540e0a109d47d5a08a12a0d48a5)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-24 15:18:54 +01:00
Trevor Gamblin
af0cffb9cc python3-sphinx: upgrade 8.0.2 -> 8.1.3
Changelog: https://github.com/sphinx-doc/sphinx/releases

License-Update: moved "Licenses for incorporated software" section from
LICENSE.rst to sphinx/ext/napoleon/docstring.py

(From OE-Core rev: cfae43d564b5526dc6b6f940dc56f2314fe5ed8e)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-24 15:18:54 +01:00
Trevor Gamblin
3f75227386 python3-pyproject-metadata: upgrade 0.8.0 -> 0.8.1
Changelog (https://github.com/pypa/pyproject-metadata/releases/tag/0.8.1):

- Validate project name
- Validate entrypoint group names
- Correct typing for emails
- Add 3.13 to testing
- Add ruff-format
- Actions and dependabot
- Generate GitHub attestations for releases
- Add PyPI attestations
- Fix coverage context

(From OE-Core rev: 0fbf3b91098b70903397e57920ce7a1adb2f8a12)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-24 15:18:54 +01:00
Trevor Gamblin
af09a399db python3-hypothesis: upgrade 6.112.4 -> 6.115.3
Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html):

6.115.3 - 2024-10-16
- This patch fixes a regression from version 6.115.2 where generating
  values from integers() with certain values for min_value and max_value
  would error.

6.115.2 - 2024-10-14
- This release improves integer shrinking by folding the endpoint
  upweighting for integers() into the weights parameter of our IR (issue
  #3921). If you maintain an alternative backend as part of our (for now
  explicitly unstable) Alternative backends for Hypothesis, this release
  changes the type of the weights parameter to draw_integer and may be a
  breaking change for you.

6.115.1 - 2024-10-14
- This patch improves the performance of from_type() with
  pydantic.types.condate (issue #4000).

6.115.0 - 2024-10-12
- This improves the formatting of dataclasses and attrs classes when
  printing falsifying examples.

6.114.1 - 2024-10-10
- This patch upgrades remaining type annotations to Python 3.9 syntax.

6.114.0 - 2024-10-09
- This release drops support for Python 3.8, which reached end of life
  on 2024-10-07.

6.113.0 - 2024-10-09
- This release adds hypothesis.errors.BackendCannotProceed, an unstable
  API for use by Alternative backends for Hypothesis.

6.112.5 - 2024-10-08
- This release fixes a regression where hypothesis.stateful.Bundle did
  not work properly with flatmap functionality (issue #4128).

(From OE-Core rev: 0ab451304025f7fdad06345c73233daa47e4f8b9)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-24 15:18:54 +01:00
Trevor Gamblin
fb377b1d1c python3-hypothesis: add python3-zoneinfo to RDEPENDS
This fixes the following runtime issue:

|root@qemux86-64:~# python3
|Python 3.12.6 (main, Sep  6 2024, 19:03:47) [GCC 14.2.0] on linux
|Type "help", "copyright", "credits" or "license" for more information.
|>>> import hypothesis
|Traceback (most recent call last):
|  File "<stdin>", line 1, in <module>
|  File "/usr/lib/python3.12/site-packages/hypothesis/__init__.py", line 29, in <module>
|    from hypothesis.core import example, find, given, reproduce_failure, seed
|  File "/usr/lib/python3.12/site-packages/hypothesis/core.py", line 44, in <module>
|    from hypothesis import strategies as st
|  File "/usr/lib/python3.12/site-packages/hypothesis/strategies/__init__.py", line 48, in <module>
|    from hypothesis.strategies._internal.datetime import (
|  File "/usr/lib/python3.12/site-packages/hypothesis/strategies/_internal/datetime.py", line 13, in <module>
|    import zoneinfo
|ModuleNotFoundError: No module named 'zoneinfo'

(From OE-Core rev: 2a535f7ca6329fee98491251c282741d9d21febc)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-24 15:18:54 +01:00
Trevor Gamblin
fc14b71d47 python3-pyparsing: upgrade 3.1.4 -> 3.2.0
Changelog: https://github.com/pyparsing/pyparsing/releases/tag/3.2.0

(From OE-Core rev: 34fe8260075c60573b254ec176301e1c69f3468b)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-24 15:18:54 +01:00
Trevor Gamblin
2efe2ad8c7 python3-trove-classifiers: upgrade 2024.9.12 -> 2024.10.21.16
Changelog (https://github.com/pypa/trove-classifiers/releases):

2024.10.21.16

- chore: update calver to include hour (#191)

2024.10.14

- Add Django trove classifiers for 5 and upcoming 5.2 release. (#193).
  We missed adding the generic `Framework :: Django :: 5`, and I'll add
  5.2 since it will be released in a few months.

2024.10.13

- chore: update github actions (#192)

- chore: update release github actions

2024.10.12

- Update CMU to include SPDX in parentheses (#190)

2024.10.11

- Add classifier for MIT-CMU licence (#189)

(From OE-Core rev: 34d00a03c37c1691285b8e618eef833a5ed9ffe5)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-24 15:18:54 +01:00
Yoann Congal
4724851d0d python3-maturin: sort external libs in wheel files
Import a merged patch that sort external libs in the wheel file
generated by maturin. That improve reproducibility.

(From OE-Core rev: 66da28f85727206c0e647efba93c1be028519fe5)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
CC: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-22 12:28:18 +01:00
Chen Qi
07c8f11aec libgfortran: fix buildpath QA issue
The '-fdebug-prefix-map' options are used to map source files locations,
otherwise, DW_AT_comp_dir will contain buildpath.

The '-gno-record-gcc-switches' option is used to fix the buildpath introduced
by '-fintrinsic-modules-path' option, which is automatically added by fortran.
Here's some output from 'readelf --debug-dump libgfortran.so.5.0.0' when this
option is not added:
"""
<0><1a37d3>: Abbrev Number: 4 (DW_TAG_compile_unit)
   <1a37d4>   DW_AT_producer    : (indirect string, offset: 0xd653): GNU Fortran2008 14.2.0 -m64
                -march=core2 -mtune=core2 -msse3
                -mfpmath=sse -mshstk -g -O2 -O2 -fstack-protector-strong -fimplicit-none
                -fno-repack-arrays -fno-underscoring -fcf-protection=full
                -fallow-leading-underscore -fbuilding-libgfortran -fPIC
                -fintrinsic-modules-path /ala-lpggp72/qichen/Yocto/builds/build-poky/tmp/work/
                core2-64-poky-linux/libgfortran/14.2.0/recipe-sysroot-native/usr/bin/x86_64-poky-linux
                /../../lib/x86_64-poky-linux/gcc/x86_64-poky-linux/14.2.0/finclude
                -fpre-include=../../../../recipe-sysroot/usr/include/finclude/math-vector-fortran.h
"""

See https://gcc.gnu.org/pipermail/fortran/2024-October/061204.html for more
detailed information.

(From OE-Core rev: 1eb084956bcba83782bc2b24cf8cc89459a57e34)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-22 12:28:18 +01:00
Alexander Kanavin
fe96ba1f24 python3-jinja2: backport a patch to address python 3.13 ptest fails
(From OE-Core rev: 372ba77af5f226ec178bd616ff03b897a4760df1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-22 12:28:18 +01:00
Alexander Kanavin
c9b7b850e7 python3-markupsafe: add missing html module dependency
(From OE-Core rev: 0f55f110b76eb1fab25c7a1656d9a2aebcc35cfb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-22 12:28:18 +01:00