Ross Burton [Wed, 20 Nov 2024 19:51:23 +0000 (19:51 +0000)]
classes-recipe/python_pep517: remove all RECORD files
Python modules install metadata into a .dist-info directory, one of which
is RECORD, which contains the files that were installed and their
checksum[1]. This is typically used by pip to validate the install, or
to know what files to remove when the module is uninstalled.
This is slightly problematic when we need to do patching of installed
.py files in do_install(), as the RECORD file has already been written
at that point.
However, the RECORD files only really have a use outside of a system-
managed environment, which our python packages are. We already have
commands to verify and remove modules (opkg, dpkg, rpm) and the RECORD
file existing simply allows people to 'sudo pip' and alter the package-
managed directories outside of the package manager.
This is not a good idea, and some other distros remove the RECORD file
to stop this possibility:
- Debian[2]
- Fedora[3]
- Gentoo[4]
We can follow for all packages which inherit python_pep517, which is the
majority of the Python packages now.
with this, and the previous compression level changes
I am seeing drastic speedups in package_write_rpm completion times:
webkitgtk goes from 78 seconds to 37 seconds
glibc-locale goes from 399 seconds to 58 seconds (!)
The long version:
rpm uses multithreading for two purposes:
- spawning compressors (which are nowadays themselves
multi-threaded, so the feature is not as useful as it once
was)
- parallel file classification
While the former behaves well on massively parallel CPUs
(it was written and verified here :), the latter was then added
by upstream and only benchmarked on their very old, slow laptop,
apparently:
https://github.com/rpm-software-management/rpm/commit/41f0e214f2266f02d6185ba11f797716de8125d4
On anything more capable it starts showing pathologic behavior,
presumably from spawning massive amount of very short-lived threads,
and then having to synchronize them. For example classifying glibc-locale
takes
5m20s with 256 threads (default on my machine!)
1m49s with 64 threads
59s with 16 threads
48s with 8 threads
Even a more typical recipe like webkitgtk is affected:
47s with 256 threads
32s with 64 threads
27s with 16 or 8 threads
I have found that the optimal amount is actually four: this also
means that only four compressors are running at a time, but
as they're themselves using threads, and typical recipes are dominated
by just two or three large packages, this does not affect overall
completion time.
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
zstd uses 3 by default (and ZSTD_COMPRESSION_LEVEL is set to that),
while 19 is the highest and slowest.
It's not clear why 19 was picked to begin with, possibly
I copy-pasted it from rpm's examples without thinking:
https://git.yoctoproject.org/poky/commit/?h=master-next&id=4a4d5f78a6962dda5f63e9891825c80a8a87bf66
This brings significant speedups in rpm's compression step:
for example compressing webkitgtk takes 11s instead of 36s.
The rpm size increases from 175648k to 234860k. I think it's
a worthy default tradeoff.
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 20 Nov 2024 16:54:44 +0000 (16:54 +0000)]
oeqa/ssh: Improve performance and log sizes
The current code is not fit for purpose when handling large files via ssh. In the strace
ptest case, we can end up with a 1.4GB archive being transferred for which every
byte is printed into the task logfile twice over. This is then sent over bitbake IPC
which compounds the problems.
Make the following improvements:
* when the output is large (over 64kb), don't print it
* use a bytearray for better concat performance since strings are slow for this
* when there is no ssh output, say that
* print periodic size status output rather than the data itself since this could be binary and/or large
* fix the killed process message logic which appeared broken
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mikko Rapeli [Wed, 20 Nov 2024 10:10:07 +0000 (12:10 +0200)]
testimage.bbclass: change test failure logging from bb.fatal() to bb.error()
bb.fatal() exists right away while bb.error() does some cleanup
before exiting. Fixes running tests during image build with TESTIMAGE_AUTO
multiple times in a row when some of the tests fail:
With bb.fatal() something in cleanup is not done and second
image build builds an empty rootfs into .wic image.
Workaround is to kill Cooker processes between bitbake calls,
or to switch testimage.bbclass from bb.fatal() to bb.error()
logging which is done here.
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Tue, 19 Nov 2024 12:56:07 +0000 (12:56 +0000)]
systemd: extract dependencies from .note.dlopen ELF segments
First, this is likely not the final implementation, but a RFC and
prototype.
Some binaries don't dynamically link to libraries, but instead at runtime
dlopen() them. This means extra work for distributions as the dependencies
are not detected automatically, so libraries may be missing.
systemd is one such project which does this, and in an attempt to solve
the packaging problem it also embeds the names of the libraries that can
potentially be opened at runtime into ELF notes. These can be read to
generate package dependencies. For example:
I expect this code to be changed before merging. Whilst systemd is the
main user of his approach right now, I expect to see it used in more
places in the future so there's a reasonably good argument to merge it
into the core shlibs code. Also it currently manually extracts and
parses the data, whereas maybe we should incorporate pyelftools into
meta/lib/oe and use that to parse ELF files across all of OE.
This also means we can remove the explicit dependency on libkmod in udev,
which now comes in via libsystemd-shared.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nicolas Dechesne [Tue, 19 Nov 2024 09:41:09 +0000 (10:41 +0100)]
scripts: patchreview: fix failure when running from a different folder
When running patchreview with --blame, the scripts runs a git log
command on the analyzed patch. When trying to analyse a layer which is
not in poky tree, we might be running the git log command from outside
the git workspace where the file is located, which results in such
failures:
Missing Signed-off-by tag ([truncated]/meta-qcom-hwe/recipes-devtools/partition-utils/qcom-ptool/0001-ptool.py-Generate-zero-files-in-output-folder-when-s.patch)
fatal: not a git repository (or any parent up to mount point /local/mnt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Fix this situation by setting the current work dir inside the git
workspace of the patch when running git log.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@oss.qualcomm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Daniel McGregor [Tue, 19 Nov 2024 17:51:06 +0000 (11:51 -0600)]
systemd: wrap mtime based time with packageconfig
Recently the systemd recipe grew support for setting the epoch time
at image build time. Unfortunately this is unconditional, and our
use case for the set-time-epoch PACKAGECONFIG is we have a system
requirement that our product boot with the time set to the UNIX
epoch.
Instead of trying to complicate things with either an image hook or
overriding the systemd recipe, just make setting the epoch at image
time optional, with the same PACKAGECONFIG that controls hardcoding
the systemd build time as the default epoch.
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yoann Congal [Tue, 19 Nov 2024 17:39:44 +0000 (18:39 +0100)]
tcl8: fix headers path
During the tcl_8.x removal[0] and its reintegration as tcl8_x[1], BPN
has changed from tcl to tcl8. But, recipes that depends on tcl headers
search the tcl8.6.15 directory where the current recipe generate a
tcl88.6.15 ($BPN+$VERSION) directory.
Fix this by hardcoding the base part of the directory name to "tcl".
Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Tue, 19 Nov 2024 16:10:07 +0000 (16:10 +0000)]
cython: swap prefix-mapping patch for an upstream commit
Upstream has solved the absolute path problem differently by taking
paths relative to the top of the module. This appears to solve the
problem, at least I've not found any cases where it breaks.
Drop my patch, and backport the relevant commit from upstream.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When --with-extra-version="oe" option is used, systemtap code
stop using GIT_PRETTY_REV that comes from
'git describe --dirty --always --abbrev=8' output in its version
and uses --with-extra-version value instead. 'git describe' output
has reproducibility issue since it depends on commits present in
lattest branch, and that may change. Thus using fixed value instead
addresses systemtap reproducibility issue.
patchtest: use HEAD commit as base for the selftest and not master
Patchtest applies patches on top of poky master branch by default;
this means selftest does the same, and any commits from the branch-under-test
are then discarded.
This can cause issues for example, if bitbake-server process started by selftest
from the master branch tries to parse bitbake.conf from the branch under test:
https://valkyrie.yoctoproject.org/#/builders/71/builds/460
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
cracklib was dropped as a dependency in libpam v1.5.0
See the following commit as reference:
https://github.com/linux-pam/linux-pam/commit/d702ff714c309069111899fd07c09e31c414c166
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Ralph Siemsen [Wed, 13 Nov 2024 21:23:03 +0000 (16:23 -0500)]
rootfs-postcommands: Actually do the re-ordering
Previous commit added logic to move certain tasks to the end, but these
had no effect, because the result of the make_last() function was not
used to update the post_process_cmds variable.
Also, once this is fixed, it becomes evident that the commands need to
be joined using whitespace, otherwise they all run together, and cannot
be executed as individual commands anymore.
Fixes: 0ffff2c1f8 ("rootfs-postcommands: Try and improve ordering constraints") Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mark Hatle [Tue, 12 Nov 2024 21:23:11 +0000 (15:23 -0600)]
cve-update-nvd2-native: Handle BB_NO_NETWORK and missing db
The custom do_fetch routine is ignoring BB_NO_NETWORK, add a check for this
as the correct behavior for the user is to set:
CVE_DB_UPDATE_INTERVAL = "-1"
If CVE_DB_UPDATE_INTERNAL is set to -1, check that a DB file exists, if not
we need to error so the user can deal with this.
Note, MIRRORs are NOT handled by this code.
Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gaël PORTAY [Tue, 12 Nov 2024 19:22:14 +0000 (20:22 +0100)]
systemd: set better sane time at startup
When systemd is started, it sets the system clock to epoch to ensure the
system clock is reasonably initialized if no working RTC.
As init process, systemd sets epoch very early to the more recent
timestamp of[1]:
- the build time of systemd (-Dtime-epoch)
- the modification time ("mtime") of /var/lib/systemd/timesync/clock
(systemd-timesyncd)
- the modification time ("mtime") of /usr/lib/clock-epoch (systemd)
The first epoch timestamp is hard-coded at build-time by the systemd
recipe (using either SOURCE_DATE_EPOCH, git-tag, or NEWS modification
time[2]).
The second epoch timestamp is maintained at run-time if the system runs
systemd-timesyncd.
This implements the third epoch timestamp at image build-time, by
touching the timestamp file /usr/lib/clock-epoch from the package
post-install script.
Changqing Li [Tue, 12 Nov 2024 03:15:15 +0000 (11:15 +0800)]
gdk-pixbuf: enable other loaders by default
Refer [1], upstream gdk-pixbuf disable some loaders by default from
2.42.11, this makes some format of icons not works well after upgrade
gdk-pixbuf, report error like:
matchbox-deskto[501]: Error loading icon: Failed to load /usr/share/pixmaps/xinput_calibrator.xpm: Unrecognized image file format
Add PACKAGECONFIG gif, others, and fix the same as some other sdks and
arch linux, disable these loaders by default, refer [2][3][4]
dosfstools: add backported patch for honouring SOURCE_DATE_EPOCH
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.
Ross Burton [Thu, 14 Nov 2024 21:53:53 +0000 (21:53 +0000)]
classes-recipe/cython: handle builds with no .c sources
This didn't seem to be possible considering the entire point of Cython
is to generate C bindings, but some Python build systems remove the
build tree once the wheel has been generated, so we never get to see the
sources. As xargs will call the specified command even without any files
this results in sed failing.
Pass --no-run-if-empty so that this case doesn't result in an error.
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>
Ross Burton [Thu, 14 Nov 2024 17:43:36 +0000 (17:43 +0000)]
oeqa/runtime/ping: don't bother trying to ping localhost
If SLIRP is being used instead of TAP for networking to the guest then
the target IP will be localhost. There's no point in pinging localhost
to see if the target is up but whilst you'd think it is harmless, in
some containers ping doesn't actually have enough rights to work:
ping: socktype: SOCK_RAW
ping: socket: Operation not permitted
ping: => missing cap_net_raw+p capability or setuid?
Look at the target address and if it's localhost or 127.0.0.* return
immediately.
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>
Wang Mingyu [Tue, 12 Nov 2024 09:24:35 +0000 (17:24 +0800)]
python3-wheel: upgrade 0.44.0 -> 0.45.0
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.
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>
Wang Mingyu [Tue, 12 Nov 2024 09:24:31 +0000 (17:24 +0800)]
python3-pip: upgrade 24.2 -> 24.3.1
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.
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>
Wang Mingyu [Tue, 12 Nov 2024 09:24:30 +0000 (17:24 +0800)]
python3-packaging: upgrade 24.1 -> 24.2
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
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>
Wang Mingyu [Tue, 12 Nov 2024 09:24:42 +0000 (17:24 +0800)]
xrandr: upgrade 1.5.2 -> 1.5.3
Changelog:
==========
- set_gamma_info: remove unnecessary round-trip to server
- xrandr: Print/consume the CTM prop in human readable form
- Reworked transform fix
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>
Wang Mingyu [Tue, 12 Nov 2024 09:24:38 +0000 (17:24 +0800)]
seatd: upgrade 0.8.0 -> 0.9.1
Changelog:
===========
- libseat could end up not servicing seat enable/disable events if they
were received immediately after a response, leading to the session
deadlocking in a deactivated state.
- Some protocol strings lacked validation of the NULL termination
requirement.
- libseat/seatd: Remove read_and_execute
- libseat/seatd: Read remaining events after processing responses
- libseat/seatd: Cleanup of request error handling
- libseat/seatd: Set EINVAL if target session is invalid
- libseat/seatd: Set backend error if poll fails
- seatd: Add validation of device path libseat/seatd: Add validation of seat_name
- seatd: Add strict message size comparison
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>
Wang Mingyu [Tue, 12 Nov 2024 09:24:36 +0000 (17:24 +0800)]
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
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>
Wang Mingyu [Tue, 12 Nov 2024 09:24:23 +0000 (17:24 +0800)]
numactl: upgrade 2.0.18 -> 2.0.19
Changelog:
===========
- Fix fallback for set_mempolicy_home_node syscall
- Add -w and --weighted-interleave for weighted interleave mode
- Fix the using of the uninitialized value
- Fix RESOURCE_LEAK in show()
- Add documentation for weighted interleave
- Don't fail build when set_mempolicy_home_node syscall is unknown
- eliminate hard-coded tables
- Update numactl.c (green-br)
- fix nodemask allocation size for get_mempolicy
- Save and restore errno when probing for SET_PREFERRED_MANY
- Make numa_available respect EPERM
- Fix unitialized variables
- more unitialized variables
- Replace fgrep with grep -F to fix warning
- Set version number back again
- Increase version number to 2.0.19
- Regenerate configure for new version
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>
Wang Mingyu [Tue, 12 Nov 2024 09:24:22 +0000 (17:24 +0800)]
nghttp2: upgrade 1.63.0 -> 1.64.0
Changelog:
===========
- The internal :authoriy and host field value validation now treats @ as invalid.
nghttp2_check_authority still treats it as a valid character.
- Fix c-ares v1.34.0 version detection failure.
- Fix race condition on h1 connection close.
- Fix UDP datagram send/recv metric.
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>
Wang Mingyu [Tue, 12 Nov 2024 09:24:21 +0000 (17:24 +0800)]
mpg123: upgrade 1.32.7 -> 1.32.9
Changelog:
===========
-- enable 64 bit offset path for MSVCRT and avoid warnings about
MS's game about POSIX API with and without underscores
-- Increase the library patchlevel, as was forgotten on previous
release.
-- Add sections to assembly to support PAC/BTI code
for aarch64 (-mbranch-protection variants)
-- Prevent premature application of header info into decoding structure,
at worst having triggered out-of-bounds writes of decoded PCM data
- out123: Show --quiet in --longhelp.
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>
Wang Mingyu [Tue, 12 Nov 2024 09:24:19 +0000 (17:24 +0800)]
makedumpfile: upgrade 1.7.5 -> 1.7.6
0001-makedumpfile-replace-hardcode-CFLAGS.patch
refreshed for 1.7.6
Changelog:
============
- Fix incorrect page exclusion in exclude_nodata_pages()
- s390x: Assume zero value of OS_INFO pointer is valid
- Submit physical address to is_phys_addr()
- sadump_info: Return empty string instead of NULL
- Add ftruncate error handling
- Fix failure of free pages exclusion with -x option on Linux 6.10
- fix comment: Mention current logic for vmalloc_start
- make reserve_diskspace do nothing for flattened format
- Workaround for segfault by "makedumpfile --mem-usage" on PPC64
- Fix wrong exclusion of Slab pages on Linux 6.10-rc1 and later
- Fix failure of hugetlb pages exclusion on Linux 6.9 and later
- Makefile: Make sbin directory configurable
- Update maintainers
- ppc64: get vmalloc start address from vmcoreinfo
- ppc64: read cur_mmu_type from vmcoreinfo
- add PRINTK_CALLER id support to --dump-dmesg option
- s390x: uncouple virtual and physical address spaces
- s390x: fix virtual vs physical address confusion
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>
Wang Mingyu [Tue, 12 Nov 2024 09:24:18 +0000 (17:24 +0800)]
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'.
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>
Wang Mingyu [Tue, 12 Nov 2024 09:24:17 +0000 (17:24 +0800)]
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
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>
Wang Mingyu [Tue, 12 Nov 2024 09:24:08 +0000 (17:24 +0800)]
iptables: upgrade 1.8.10 -> 1.8.11
0001-configure-Add-option-to-enable-disable-libnfnetlink.patch
0002-nft-ruleparse-Add-missing-braces-around-ternary.patch
removed since they're included in 1.8.11
Wang Mingyu [Tue, 12 Nov 2024 09:24:07 +0000 (17:24 +0800)]
harfbuzz: upgrade 10.0.1 -> 10.1.0
Changelog:
============
- Fix the sign of fallback vertical glyph advance (used when font has no
vertical advance data).
- Increase maximum "CFF"operands limit 20 times to support more complex fonts.
- Add "--face-loader" option to command line utilities.
- Support "COLR"v0 table in hb_font_get_glyph_extents().
- Add support for font functions that use Core Text APIs, similar to FreeType
font functions. This allows, for example, using drawing fonts that use the new
(and undocumented) "hvgl"table.
- Update IANA and OT language registries, as well ase USE data files.
- Fix build with ICU 76.
- Various compiler warnings and build fixes.
- Various subsetter fixes.
- New API:
+hb_face_create_or_fail()
+hb_face_create_from_file_or_fail()
+hb_coretext_face_create_from_file_or_fail()
+hb_coretext_font_set_funcs()
+hb_ft_face_create_from_file_or_fail()
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>
Wang Mingyu [Tue, 12 Nov 2024 09:24:06 +0000 (17:24 +0800)]
gtk4: upgrade 4.16.3 -> 4.16.5
Changelog:
============
* Clean up debug spew
* GtkTextView:
- Fix some missing CSS invalidation
- Handle charsets in clipboard datatypes
* GtkApplication:
- Respect GDK_DEBUG=no-portals
* Printing:
- Avoid warnings for avahi errors
- Fix a segfault in the print dialog setup code
* Accessibility:
- Handle NULL values in more places
* Gdk:
- vulkan: Fix validation errors
- Fix 32bit build for the jpeg loader
* Wayland:
- Fix a possible deadlock with high-priority sources
triggering Wayland roundtrips
* Translation updates
Belarusian
British English
Latvian
Romanian
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>
Wang Mingyu [Tue, 12 Nov 2024 09:24:04 +0000 (17:24 +0800)]
glslang: upgrade 1.3.290.0 -> 1.3.296.0
0001-generate-glslang-pkg-config.patch
refreshed for 1.3.296.0
Changelog:
===========
* Explicitly export all symbols that are part of the public API and hide other symbols by default
* Allow building glslang without the SPIR-V backend using the new ENABLE_SPIRV build option
* Add setResourceSetBinding method to the API
* Add interface to get the GLSL IO mapper and resolver
* Allow compute derivative modes when the workgroup dimensions are spec constants
* Improve debug location of branch/return instructions
* Silence preprocessor '#' error reporting in inactive #if/#ifdef/#elif/#else blocks
* Apply GLSL memory decorations to top-level OpVariable
* Move definition of GLSLANG_EXPORT to visibility.h
* Merge ancillary libraries into main glslang library and stub originals
* Add public setSourceFile and addSourceText methods to TShader class
* Add type checks for hitObjectNV
* Add optimizerAllowExpandedIDBound to SpvOptions
* Add SpvTools.h back to public headers
* Add cross-stage check for missing outputs
* Fix HLSL offsets for non-buffers
* Add types and functions for IO mapping to API
* Add function to set preprocessed code to API
* Add set/get version functions to API
* Expose setGlobalUniform functions to API
* Don't emit debug instructions before an OpPhi
* Add command-line and API option to enable reporting column location for compiler errors
* Improve location aliasing checks
* Support constant expression calculated by matrixCompMult
* Fix crash caused by atomicCounter() use without arguments
* Fix multi-line function call line numbers
* Add line info to OpDebugDeclare for function parameters
* Fix HLSL OpDebugFunction file name
* Fix duplicate decorations
* Enable compilation of glslang without thread support for WASI
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>
Wang Mingyu [Tue, 12 Nov 2024 09:24:00 +0000 (17:24 +0800)]
dropbear: upgrade 2024.85 -> 2024.86
Changelog:
=========
- Fix failure on concurrent channel open/close.
- Print remote host after "Login attempt for nonexistent user" log entry to
assist fail2ban.
- Dropbear now exits with exit status 0 on SIGINT/SIGTERM. This is a more
graceful behaviour for "systemctl stop dropbear".
- New IDENT_VERSION_PART config allows customising some of the SSH version
string.
- Fix building SK_KEYS with just one of ECDSA or ED25519
- Fix dbclient "-m help" and "-c help" without a hostname.
- Remove fprintf/gettimeofday from sigchld handler when running with
verbose trace enabled.
- Improved configure help output
- Compile fix for GNU Hurd
- Support running test_aslr without venv
- Compilation fixes for older compilers, and better build tests
- Update some test infrastructure versions of python packages,
github actions, and github runner OSes
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>
Wang Mingyu [Tue, 12 Nov 2024 09:23:59 +0000 (17:23 +0800)]
diffoscope: upgrade 277 -> 283
Changelog:
==========
* Fix crash when objdump is missing when checking .EFI files.
* Ignore errors when listing .ar archives.
* Update copyright years.
* Don't try and test with systemd-ukify within Debian stable.
* Add support for UKI files.
* Drop Depends on deprecated python3-pkg-resources.
* Drop removal of calculated basename from readelf output.
* Temporarily remove procyon-decompiler from Build-Depends as it was removed
from testing
* Add a helpful contextual message to the output if comparing Debian .orig
tarballs within .dsc files without the ability to "fuzzy-match" away the
leading directory.
* Correctly invert "X% similar" value and do not emit "100% similar".
* Update copyright years.
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>
Wang Mingyu [Tue, 12 Nov 2024 09:23:58 +0000 (17:23 +0800)]
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
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>
Harish Sadineni [Thu, 14 Nov 2024 11:13:02 +0000 (03:13 -0800)]
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.
Deepthi Hemraj [Wed, 13 Nov 2024 12:37:33 +0000 (04:37 -0800)]
glibc: stable 2.40 branch update
Below commits on glibc-2.40 stable branch are updated. efb710034e linux: sparc: Fix clone for LEON/sparcv8 (BZ 31394) 2344580243 Mitigation for "clone on sparc might fail with -EFAULT for no valid reason" (bz 31394) 3a34851103 elf: Change ldconfig auxcache magic number (bug 32231) 85e5850f2f Make tst-strtod-underflow type-generic 5c06c6e0b5 libio: Set _vtable_offset before calling _IO_link_in [BZ #32148] cc256952ec Add tests of more strtod special cases 8f40dfbe2a Add more tests of strtod end pointer 4a9b6cdc88 Make tst-strtod2 and tst-strtod5 type-generic 5a10d05c39 powerpc64le: Build new strtod tests with long double ABI flags (bug 32145) c4cc72d2ef Do not set errno for overflowing NaN payload in strtod/nan (bug 32045) ad93c2047d Improve NaN payload testing cac10d88c6 Make __strtod_internal tests type-generic d0c1792ad2 Fix strtod subnormal rounding (bug 30220) e06153665f More thoroughly test underflow / errno in tst-strtod-round 9bc76c7ca4 Test errno setting on strtod overflow in tst-strtod-round 61b6464f8d Add tests of fread 77018fd9f9 stdio-common: Add new test for fdopen
Ross Burton [Wed, 13 Nov 2024 15:55:06 +0000 (15:55 +0000)]
matchbox-terminal: add x-terminal-emulator RPROVIDES and alternative
Add a RPROVIDES for virtual-x-terminal-emulator, so that:
- Packages can RDEPEND on virtual-x-terminal-emulator and know that they
have installed a terminal
- The x-terminal-emulator binary will (via alternatives) run a terminal
We don't bother with PROVIDES because nobody needs to DEPEND on a terminal,
the entire point of this is that the actual binary is interchangable.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Wed, 13 Nov 2024 15:55:04 +0000 (15:55 +0000)]
rxvt-unicode: change virtual/x-terminal-emulator PROVIDES to RPROVIDES
The point of the virtual-x-terminal-emulator alternative was to provide
a single binary that executes whatever terminal has been installed. This
is a runtime choice, so should be RPROVIDES.
This doesn't need built-time PROVIDES, which actively get in the way
when multiple recipes are being built with the same PROVIDES.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ola x Nilsson [Wed, 13 Nov 2024 14:45:47 +0000 (15:45 +0100)]
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]
Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ola x Nilsson [Wed, 13 Nov 2024 14:45:46 +0000 (15:45 +0100)]
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]
Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ola x Nilsson [Wed, 13 Nov 2024 14:45:45 +0000 (15:45 +0100)]
parted: Fix the ptest path to test-driver
Add a sed substitution for ${PTEST_PATH}/tests/Makefile that transforms
SH_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
to
SH_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]
Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ola x Nilsson [Wed, 13 Nov 2024 14:45:44 +0000 (15:45 +0100)]
sed: Fix the ptest path to test-driver
Add a sed substitution for ${PTEST_PATH}/Makefile that transforms
SH_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
PL_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
to
SH_LOG_DRIVER = $(SHELL) $(top_builddir)/build-aux/test-driver
PL_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]
Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ola x Nilsson [Wed, 13 Nov 2024 14:45:43 +0000 (15:45 +0100)]
attr: Fix the ptest path to test-driver
Add a sed substitution for ${PTEST_PATH}/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]
Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ola x Nilsson [Wed, 13 Nov 2024 14:45:42 +0000 (15:45 +0100)]
acl: Fix the ptest path to test-driver
Add a sed substitution for ${PTEST_PATH}/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]
Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Awais Belal [Tue, 12 Nov 2024 23:48:56 +0000 (04:48 +0500)]
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.
Signed-off-by: Awais B <awais.belal@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Deepthi Hemraj [Tue, 12 Nov 2024 12:28:09 +0000 (04:28 -0800)]
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
Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 13 Nov 2024 21:36:57 +0000 (21:36 +0000)]
resulttool: Allow store to filter to specific revisions
We have a challenge on the autobuilder where test results from both OE-Core
and poky are being mixed together during result storage which is confusing the
data. Add a way to filter to specific revisions as the least worst way to fix
the various issues this is causing.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>