Currently, file system images created with mkfs.vfat are not
reproducible, because both the file system creation time and the
volume id are derived from the current time.
Upstream has added a patch for deriving those from SOURCE_DATE_EPOCH,
when defined, many years ago, but unfortunately there is no official
release containing that patch.
The issue [1] is 2.5 years old, so there's no reason to believe such a
release would be just around the corner.
The patch applies cleanly, and e.g. Arch Linux already uses this exact
combination of source tarball and this single patch [2], so I think
this should be ok. It certainly works for the images I've tested on.
[1] https://github.com/dosfstools/dosfstools/issues/179
[2] https://gitlab.archlinux.org/archlinux/packaging/packages/dosfstools/-/blob/main/PKGBUILD?ref_type=heads
(From OE-Core rev: bf9e6bf884bc780547d3dc88c3977c8102e1faeb)
Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
- Refactored the convert command to not need setuptools to be installed
- Don't configure setuptools logging unless running bdist_wheel
- Added a redirection from wheel.bdist_wheel.bdist_wheel to
setuptools.command.bdist_wheel.bdist_wheel to improve compatibility with
setuptools' latest fixes.
(From OE-Core rev: deba45d6d23aae40573b51e16716918f7841ef51)
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>
no_shebang_mangling.patch
refreshed for 24.3.1
Changelog:
=========
- Deprecate wheel filenames that are not compliant with PEP 440.
- Detect recursively referencing requirements files and help users identify the source.
- Support for PEP 730 iOS wheels.
- Display a better error message when an already installed package has an invalid requirement
- Ignore PIP_TARGET and pip.conf global.target when preparing a build environment.
- Restore support for macOS 10.12 and older (via truststore).
- Allow installing pip in editable mode in a virtual environment on Windows.
- Upgrade certifi to 2024.8.30
- Upgrade distlib to 0.3.9
- Upgrade truststore to 0.10.0
- Upgrade urllib3 to 1.26.20
- Allow multiple nested inclusions of the same requirements file again.
(From OE-Core rev: 0ee321a8080226347116e9beeb66e1f00436cb22)
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>
Changelog:
==========
- The source is auto-formatted with ruff, not black
- Bump the github-actions group across 1 directory with 3 updates
- Apply ruff rules (RUF)
- Fix typo in Version __str__
- Bump the github-actions group with 3 updates
- Get rid of duplicate test cases
- Fix doc for canonicalize_version and a typo in a docstring
- docs: public/base_version comparison
- Apply ruff/bugbear rules (B)
- Apply ruff/pyupgrade rules (UP)
- Add a changelog entry for dropping Python 3.7 support
- Patch python_full_version unconditionally
- Refactor canonicalize_version
- Allow creating a SpecifierSet from a list of specifiers
- Fix uninformative error message
- Fix prerelease detection for > and <
- Bump the github-actions group across 1 directory with 4 updates
- Add support for PEP 730 iOS tags.
- Update the changelog to reflect 24.1 changes
- Mention updating changelog in release process
- Add a comment as to why Metadata.name isn't normalized
- Use !r formatter for error messages with filenames.
- PEP 639: Implement License-Expression and License-File
- Bump the github-actions group with 4 updates
- Upgrade to latest mypy
- Extraneous quotes
(From OE-Core rev: 7e134bd24e7b621a0fbf4ef8143334fb039445e3)
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>