Richard Purdie [Thu, 21 Nov 2024 11:46:08 +0000 (11:46 +0000)]
resulttool: Use single space indentation in json output
Using 4 space indentation in resulted in hundreds of megabytes of extra file size
in general use. Reduce this to make filesizes more managable and reduce the processing
cost. Some level of indentation and spacing does make the files more readable and allows
use of git diff so we need to retain some of it.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Trevor Gamblin [Thu, 21 Nov 2024 15:38:59 +0000 (10:38 -0500)]
python3-numpy: upgrade 1.26.4 -> 2.1.3
- This release contains numerous API changes and bug fixes.
Changelog: https://github.com/numpy/numpy/releases
- Notably, the build backend has switched to mesonpy since 1.26.4.
- Patch 0001-numpy-core-Define-RISCV-32-support.patch had to be updated
to change the paths for the target files. It has now been merged
upstream, but isn't included in any release yet. PR for reference:
https://github.com/numpy/numpy/pull/17780
- Builds OK and seems to be compatible with current piglit and pandas
(meta-python), which was not the case for the previous upgrade attempt
to numpy 2.0.1.
- For numpy, add 'pkgconfig' to inherit to avoid errors like this at
do_compile:
| Found Pkg-config: NO
| Run-time dependency python found: YES 3.12
| Has header "Python.h" with dependency python: NO
|
| ../numpy-2.0.0/meson.build:44:2: ERROR: Problem encountered: Cannot compile `Python.h`. Perhaps you need to install python-dev|python-devel
|
| A full log can be found at /home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux/python3-numpy/2.0.0/build/meson-logs/meson-log.txt
- Mmodify the FILES:${PN}-staticdev line to fix a QA issue.
- This is now reproducible as of oe-core commit: 917df5ed022f
- Update tests to work with newly released pyproject-metadata 0.9.0.
Fix tests to work when not executed in a git work tree.
Daniele Nicolodi — 23-10-2024.
0.17.0
- Refuse to build wheels targeting the limited API and free-threaded
CPython: the free-threaded CPython build does not support the
limited API yet.
- Always use UTF-8 encoding for writing Meson native and cross
files. Always use UTF-8 encoding for reading read Meson
introspection data and pyproject.toml.
- Do not include uncommitted changes when creating source
distributions. Previously, uncommitted changes to files under
version control were included, but not untracked files. There was
no strong use case for this behavior and it was too surprising to
keep it.
- Make source distribution reproducible: use the modification time
of pyproject.toml for the generated files in the source
distribution archives.
- Disable the abi3 wheel tag for PyPy when building wheels targeting
the limited API: PyPy supports the limited API but not the stable
ABI.
- Raise ImportError when the package rebuild fails when importing an
editable install.
- Fix the wheel platform tag for GraalPy.
- Add .gitignore and .hgignore files to build directory if it is
empty.
- Allow install_subdir() of missing directories.
Christian Clauss, Daniele Nicolodi, Jonathan J. Helmus, Leo Singer, Loïc
Estève, Michael Simacek, Ralf Gommers, Simon McVittie — 19-10-2024.
Harish Sadineni [Wed, 20 Nov 2024 12:19:23 +0000 (04:19 -0800)]
linux: Modify kernel configuration to fix runqlat issue
In Qemu Running "/usr/share/bcc/tools/runqlat 1 5" gives following error:-
libbpf: kernel BTF is missing at '/sys/kernel/btf/vmlinux', was CONFIG_DEBUG_INFO_BTF enabled?
libbpf: failed to find valid kernel BTF
modprobe: FATAL: Module kheaders not found in directory /lib/modules/6.10.14-yocto-standard
Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module) or installing
the kernel development package for your running kernel version.
chdir(/lib/modules/6.10.14-yocto-standard/build): No such file or directory
Traceback (most recent call last):
File "/usr/share/bcc/tools/./runqlat", line 293, in <module>
b = BPF(text=bpf_text)
File "/usr/lib/python3.13/site-packages/bcc/__init__.py", line 479, in __init__
raise Exception("Failed to compile BPF module %s" % (src_file or "<text>"))
the following patch fixes the error.
BCC test summary for x86_64:
Before applying the patch:
TOTAL: 95
PASS: 29
FAIL: 66
After applying the patch:
TOTAL: 95
PASS: 79
FAIL: 16
Richard Purdie [Thu, 21 Nov 2024 14:55:59 +0000 (14:55 +0000)]
selftest/reproducible: Clean up pathnames
There are several problems with these paths. Firstly they contain full
system paths which depend upon where the test was run. These are pretty
pointless and just take up a lot of space making the results files large.
Secondly, they contain the same path twice. The reference and target path
will always be the same thing in two different locations.
Strip off the prefix and remove the duplication. This does change the output
data but that can't really be avoided. It does shrink the results data and makes
it more readable.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 21 Nov 2024 14:55:44 +0000 (14:55 +0000)]
selftest/reproducible: Drop rawlogs
The "rawlogs" data consists of a long string of results data which is
already in a structured data format. I can't see this is adding much
value in duplciating the data but it does create a huge string with a
lot of long problematic pathnames and inflates the results data size.
I suggest we drop this data as obsolete and not necessary.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changqing Li [Thu, 21 Nov 2024 06:02:56 +0000 (14:02 +0800)]
rxvt-unicode.inc: disable the terminfo installation by setting TIC to :
Without this change, TIC is the native tic in recipe-sysroot-native.
By default, native tic has set its default terminfo path to native path:
${datadir}/terminfo; $HOME/.terminfo
When sstate cache is used, the cached native tic's terminfo path could
be a path not exist on current host, then native tic will try to install
terminfo to HOME dir, cause host contamination.
Disable the terminfo installation by setting TIC to :
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The musl tests that fail, currently for unknown reasons, are:
pread64-pwrite64.gen
preadv-pwritev.gen
pwritev.gen
uio
At least for pread64-pwrite6 the pwrite(64) syscalls are not traced
and that makes the test fail.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jason Schonberg [Tue, 19 Nov 2024 18:44:11 +0000 (13:44 -0500)]
icu: upgrade 75-1 -> 76-1
License-Update: add JSON parsing library under MIT license.
Drop backported patches which have been merged into the new version.
ICU-22813_rise_buffer_sizes_pkgdata_PR3058.patch - https://github.com/unicode-org/icu/pull/3058/commits/db70adaddcfa8050db6a69cdfef080a7f1423ad7
fix-install-manx.patch
Signed-off-by: Jason Schonberg <schonm@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Thu, 21 Nov 2024 04:13:18 +0000 (23:13 -0500)]
linux-yocto/6.10: cfg: gpio: allow to re-enable the deprecated GPIO sysfs interface
Integrating the following commit(s) to linux-yocto/.:
1/1 [
Author: Bartosz Golaszewski
Email: bartosz.golaszewski@linaro.org
Subject: gpio: allow to re-enable the deprecated GPIO sysfs interface
Date: Mon, 11 Nov 2024 14:08:23 +0100
The GPIO sysfs interface is disabled in standard linux config and in
general users should use the character device instead but there are still
programs out there that depend on it so for the time being add a kernel
feature allowing to enable it.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Thu, 21 Nov 2024 04:13:17 +0000 (23:13 -0500)]
linux-yocto/6.6: update to v6.6.60
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:
9b5aad3a7498c Linux 6.6.60 cc082e50375a2 fs/ntfs3: Sequential field availability check in mi_enum_attr() 10c20d79d59ca drm/amd/display: Add null checks for 'stream' and 'plane' before dereferencing e979a6a626abf ASoC: SOF: ipc4-control: Add support for ALSA enum control 3facc0417d3d7 ASoC: SOF: ipc4-control: Add support for ALSA switch control f01d8fc623711 ASoC: SOF: ipc4-topology: Add definition for generic switch/enum control d54afaef6570c SUNRPC: Remove BUG_ON call sites 27a58a19bd20a mtd: spi-nor: winbond: fix w25q128 regression 3d544942c0010 mm: don't install PMD mappings when THPs are disabled by the hw/process/vma 02ec4b3bba49e mm: huge_memory: add vma_thp_disabled() and thp_disabled_by_hw() fc621e7a043de wifi: iwlwifi: mvm: fix 6 GHz scan construction f2f1fa446676c nilfs2: fix kernel bug due to missing clearing of checked flag a53c2d847627b wifi: mac80211: fix NULL dereference at band check in starting tx ba session 6a91a5816b289 io_uring: always lock __io_cqring_overflow_flush e3fb0e6afcc39 arm64: dts: imx8ulp: correct the flexspi compatible string 1a49b96c51063 vmscan,migrate: fix page count imbalance on node stats when demoting pages 003d2996964c0 io_uring/rw: fix missing NOWAIT check for O_DIRECT start write 70bbe8d0a9494 kasan: remove vmalloc_percpu test c60af16e1d6cc nvmet-auth: assign dh_key to NULL after kfree_sensitive 4a39320977f9c ALSA: hda/realtek: Fix headset mic on TUXEDO Stellaris 16 Gen6 mb1 b42adef85aca7 ALSA: hda/realtek: Fix headset mic on TUXEDO Gemini 17 Gen3 77ddc732416b0 xfs: fix finding a last resort AG in xfs_filestream_pick_ag 8e886e44397ba mctp i2c: handle NULL header address 88f97a4b5843c ocfs2: pass u64 to ocfs2_truncate_inline maybe overflow c117a980185ee x86/traps: move kmsan check after instrumentation_begin 86ee1845cbbf5 x86/traps: Enable UBSAN traps on x86 b958948ae1cb3 mm/page_alloc: let GFP_ATOMIC order-0 allocs access highatomic reserves 4882a352b5df8 mei: use kvmalloc for read buffer cb8b81ad3e893 mptcp: init: protect sched with rcu_read_lock 4f7ffa83fa79d iov_iter: fix copy_page_from_iter_atomic() if KMAP_LOCAL_FORCE_MAP ade91f6e9848b sched/numa: Fix the potential null pointer dereference in task_numa_work() 8c9a1ec39c698 cxl/acpi: Ensure ports ready at cxl_acpi_probe() return a9ed67f39f888 cxl/port: Fix cxl_bus_rescan() vs bus_rescan_devices() d210bc87cc4fd riscv: Remove duplicated GET_RM 6d84e1b2e5ac0 riscv: Remove unused GENERATING_ASM_OFFSETS a63ba17207c50 riscv: Use '%u' to format the output of 'cpu' 909e71f28e961 riscv: efi: Set NX compat flag in PE/COFF header 58e78589ade88 ALSA: hda/realtek: Limit internal Mic boost on Dell platform ceec8ad09135c Input: edt-ft5x06 - fix regmap leak when probe fails c19a0c171d37f riscv: vdso: Prevent the compiler from inserting calls to memset() e79c1f1c9100b spi: spi-fsl-dspi: Fix crash when not using GPIO chip select 163e6323799bd phy: freescale: imx8m-pcie: Do CMN_RST just before PHY PLL lock check 0d86cd70fc6a7 cgroup/bpf: use a dedicated workqueue for cgroup bpf destruction b3c301b859c4a block: fix sanity checks in blk_rq_map_user_bvec 0fc87887dcb3a mmc: sdhci-pci-gli: GL9767: Fix low power mode in the SD Express process 4159cd6ab5cfe mmc: sdhci-pci-gli: GL9767: Fix low power mode on the set clock function 8e1b52c15c811 cxl/port: Fix use-after-free, permit out-of-order decoder shutdown 8cd25f1fce6b8 thunderbolt: Honor TMU requirements in the domain when setting TMU mode 9523a0268924a tools/mm: -Werror fixes in page-types/slabinfo edd1f90505068 mm: shmem: fix data-race in shmem_getattr() b6f95df4f7af6 RISC-V: ACPI: fix early_ioremap to early_memremap 1246d86e7bbde nilfs2: fix potential deadlock with newly created symlinks 1a797936d3468 iio: light: veml6030: fix microlux value calculation 38d6e8be234d8 iio: gts-helper: Fix memory leaks in iio_gts_build_avail_scale_table() 62c1189668312 iio: gts-helper: Fix memory leaks for the error path of iio_gts_build_avail_scale_table() 3dc0eda2cd5c6 iio: adc: ad7124: fix division by zero in ad7124_set_channel_odr() adfbc08b94e7d staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg() cedf0f1db8d5f wifi: iwlegacy: Clear stale interrupts before resuming device 6c44abb2d4c32 wifi: cfg80211: clear wdev->cqm_config pointer on free 5f5a939759c79 wifi: ath10k: Fix memory leak in management tx ee35c423042c9 wifi: mac80211: do not pass a stopped vif to the driver in .get_txpower 0b9be24679358 Revert "selftests/mm: replace atomic_bool with pthread_barrier_t" 1fe6799ee9b5f Revert "selftests/mm: fix deadlock for fork after pthread_create on ARM" fd28d95894609 Revert "driver core: Fix uevent_show() vs driver detach race" a762d0fc17df2 xhci: Use pm_runtime_get to prevent RPM on unsupported systems 809dd30ee9011 xhci: Fix Link TRB DMA in command ring stopped completion event 7e8066811a2c4 phy: qcom: qmp-usb-legacy: fix NULL-deref on runtime suspend 370814e9d512b phy: qcom: qmp-usb: fix NULL-deref on runtime suspend e8180a4b1cf93 usb: typec: qcom-pmic-typec: use fwnode_handle_put() to release fwnodes 558650b18f090 usb: typec: fix unreleased fwnode_handle in typec_port_register_altmodes() cd205590599a3 usb: phy: Fix API devm_usb_put_phy() can not release the phy 53e0684f3093b usbip: tools: Fix detach_port() invalid port error path aa03c31a001ac ALSA: usb-audio: Add quirks for Dell WD19 dock b3b2431ed27f4 rcu-tasks: Fix access non-existent percpu rtpcp variable in rcu_tasks_need_gpcb() 7679283e61a8b rcu-tasks: Initialize data to eliminate RCU-tasks/do_exit() deadlocks dc5d4d4c12246 rcu-tasks: Add data to eliminate RCU-tasks/do_exit() deadlocks 01a2b99ffcca8 rcu-tasks: Pull sampling of ->percpu_dequeue_lim out of loop 7d85884576a3b USB: gadget: dummy-hcd: Fix "task hung" problem e028b82aba882 usb: gadget: dummy_hcd: execute hrtimer callback in softirq context 365a13cf5baa6 usb: gadget: dummy_hcd: Set transfer interval to 1 microframe 4a4cb56556124 usb: gadget: dummy_hcd: Switch to hrtimer transfer scheduler f6568620246d2 misc: sgi-gru: Don't disable preemption in GRU driver fe8cb9fac9793 NFS: remove revoked delegation from server's delegation list cc0ff7495e41b net: amd: mvme147: Fix probe banner message 715db716a9f83 thermal: intel: int340x: processor: Add MMIO RAPL PL4 support 56029f1bc3f1f thermal: intel: int340x: processor: Remove MMIO RAPL CPU hotplug support 34c0344e7eac5 cifs: Fix creating native symlinks pointing to current or parent directory 201430d21faab cifs: Improve creating native symlinks pointing to directory 45eaaa13dd91d scsi: scsi_transport_fc: Allow setting rport state to current state 550ef40fa6366 fs/ntfs3: Additional check in ntfs_file_release 68b39c0765de7 fs/ntfs3: Fix general protection fault in run_is_mapped_full 7a4ace681dbb6 fs/ntfs3: Additional check in ni_clear() 34e3220efd666 fs/ntfs3: Fix possible deadlock in mi_read e91fbb21f248b fs/ntfs3: Add rough attr alloc_size check 898c8795ec492 fs/ntfs3: Stale inode instead of bad 84d363dbcfabc fs/ntfs3: Fix warning possible deadlock in ntfs_set_state 5f21e3e60982c fs/ntfs3: Check if more than chunk-size bytes are written 22cdf3be7d34f ntfs3: Add bounds checking to mi_enum_attr() 3c73746c222a7 cxl/events: Fix Trace DRAM Event Record 7013af5bbd281 smb: client: set correct device number on nfs reparse points bbc258dcdbfe5 smb: client: fix parsing of device numbers 0eb2b767c42fa ACPI: CPPC: Make rmw_lock a raw_spin_lock 790dc90b96481 afs: Fix missing subdir edit when renamed between parent dirs 243d2506e7eb0 afs: Automatically generate trace tag enums a6fd78620f25a firmware: arm_sdei: Fix the input parameter of cpuhp_remove_state() 2e4eb1866990e kasan: Fix Software Tag-Based KASAN with GCC 4c3575787e988 iomap: turn iomap_want_unshare_iter into an inline function 9bc18bb476e50 fsdax: dax_unshare_iter needs to copy entire blocks 35adbe088888a fsdax: remove zeroing code from dax_unshare_iter 451b0a27ca6a7 iomap: share iomap_unshare_iter predicate code with fsdax 3c06d13ec80be iomap: don't bother unsharing delalloc extents 61ada9422009e iomap: improve shared block detection in iomap_unshare_iter d4d5767c53581 bpf, test_run: Fix LIVE_FRAME frame update after a page has been recycled 0ab3be58b45b9 netfilter: nft_payload: sanitize offset and length before calling skb_checksum() 31384aa2ad05c mlxsw: spectrum_ipip: Fix memory leak when changing remote IPv6 address 598f95742fdc6 mlxsw: spectrum_ptp: Add missing verification before pushing Tx header c69bc67c1cb21 net: skip offload for NETIF_F_IPV6_CSUM if ipv6 header contains extension 1f1764466c33a Bluetooth: hci: fix null-ptr-deref in hci_read_supported_codecs fef63832317d9 netfilter: nf_reject_ipv6: fix potential crash in nf_send_reset6() 6a1f088f9807f netfilter: Fix use-after-free in get_info() ac5977001eee7 net: fix crash when config small gso_max_size/gso_ipv4_max_size 90a6e0e1e151e bpf: Fix out-of-bounds write in trie_get_next_key() 6a604877160fe netdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write() e20459b5f658b bpf: Force checkpoint when jmp history is too long bef1f6beae90f selftests/bpf: Add bpf_percpu_obj_{new,drop}() macro in bpf_experimental.h 597cf9748c347 net/sched: stop qdisc_tree_reduce_backlog on TC_H_ROOT 42097a9dcaee3 gtp: allow -1 to be specified as file description from userspace 699b48fc31727 ipv4: ip_tunnel: Fix suspicious RCU usage warning in ip_tunnel_init_flow() 07c9c26e37542 net: stmmac: TSO: Fix unbalanced DMA map/unmap for non-paged SKB data bf6b2cd3c55de net: stmmac: dwmac4: Fix high address display by updating reg_space[] from register values 9f5ae743dbe9a macsec: Fix use-after-free while sending the offloading packet b33b410597ebe ASoC: cs42l51: Fix some error handling paths in cs42l51_probe() fa078b39e3f1b wifi: iwlwifi: mvm: don't add default link in fw restart flow 3eb986c64c6bf wifi: iwlwifi: mvm: Fix response handling in iwl_mvm_send_recovery_cmd() 3b01b9985a543 wifi: iwlwifi: mvm: disconnect station vifs if recovery failed 148f6af754781 RDMA/bnxt_re: synchronize the qp-handle table array 16dbff3e8d195 RDMA/bnxt_re: Fix the usage of control path spin locks 8636072c21e39 RDMA/mlx5: Round max_rd_atomic/max_dest_rd_atomic up instead of down e9c62661a0697 RDMA/cxgb4: Dump vendor specific QP details 0a59445e2cdf3 wifi: brcm80211: BRCM_TRACING should depend on TRACING 9b5c89acc8e99 wifi: ath11k: Fix invalid ring usage in full monitor mode 189f1bfc5c84e wifi: mac80211: skip non-uploaded keys in ieee80211_iter_keys 021693dad10a2 mac80211: MAC80211_MESSAGE_TRACING should depend on TRACING 5db6e193c4ca0 wifi: iwlegacy: Fix "field-spanning write" warning in il_enqueue_hcmd() 9cfab1f3d425c spi: geni-qcom: Fix boot warning related to pm_runtime and devres fb384669cb8c2 cgroup: Fix potential overflow issue when checking max_depth 73ca1c70b8b7f Input: xpad - add support for 8BitDo Ultimate 2C Wireless Controller 403777d303399 Input: xpad - sort xpad_device by vendor and product ID eabe285e1c629 thermal: core: Free tzp copy along with the thermal zone 3eb073abba327 thermal: core: Rework thermal zone availability check a95a9e3089d56 thermal: core: Make thermal_zone_device_unregister() return after freeing the zone 18abb2787b536 x86/syscall: Mark exit[_group] syscall handlers __noreturn 2879d995e5697 pnmtologo: sync with 6.6 43ea1c5e6eb3c lib/build_OID_registry: take -stable reproducibility changes 35046aea43c85 bpftool: Fix undefined bpf macro for unix socket 9a558d4b86219 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids 42b2eec2e5039 bpftool: Query only cgroup-related attach types f71bb11887bae cpu/amd: inhibit SMP check for qemux86 c31365597a17b powerpc/uaccess: Fix build errors seen with GCC 13/14 64ebf485c56b5 usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock 7c76aad68f6d1 kselftest: Add a ksft_perror() helper 06644f0d7193d drm/tilcdc: Set preferred depth ff7ae7b323242 crypto: jitter - add RCT/APT support for different OSRs 50cd24ddb6f0b arm64: defconfig: remove CONFIG_IPQ_APSS_5018 58e5c91d6701f x86/alternatives: Disable interrupts and sync when optimizing NOPs in place c878fd2d4c793 x86/alternatives: Sync core before enabling interrupts c2d64b9f52b6e qemux86: add configuration symbol to select values 630c33229e6d5 sched/isolation: really align nohz_full with rcu_nocbs 0e5e0f68e2e6e clear_warn_once: add a clear_warn_once= boot parameter 46934791b9026 clear_warn_once: bind a timer to written reset value cdee9e38ff324 clear_warn_once: expand debugfs to include read support 82b562b818419 tools: Remove some options from CLANG_CROSS_FLAGS 36dc380b776b1 libbpf: Fix build warning on ref_ctr_off 9e3e1fe209827 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel. e497a4a5da65b perf: x86-32: explicitly include <errno.h> 7b57ddd89565b perf: mips64: Convert __u64 to unsigned long long 1cfc19423dc7f perf: fix bench numa compilation 98bc2815fade4 perf: add SLANG_INC for slang.h 17209a70b9b39 perf: add sgidefs.h to for mips builds 9cd4258d910af perf: change --root to --prefix for python install 8110a4f266284 perf: add 'libperl not found' warning bc89d5e08f773 perf: force include of <stdbool.h> 4f6c760cc876a fat: Replace prandom_u32() with get_random_u32() bc53117b12b21 fat: don't use obsolete random32 call in namei_vfat 30b2236ab3786 FAT: Added FAT_NO_83NAME cef98d22b4edf FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option 0bbd7daba9e1b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option 5883fc340084a aufs6: adapt to v6.6 i_op->ctime changes c4342d979bf21 aufs6: fix magic.mk include path 35266bc2dc81a aufs6: adapt to v6.6 8edede4e98be1 aufs6: core 712248233ebe1 aufs6: standalone 3b71a8a848d8b aufs6: mmap 3e2924871f371 aufs6: base 7f4907a931016 aufs6: kbuild d2f7b03e4aa77 yaffs2: update VFS ctime operations to 6.6+ bcd6cfcd1aa04 yaffs2: v6.5 fixups cc615704b5f54 yaffs2: Fix miscalculation of devname buffer length 8ef2e22dcf913 yaffs2: convert user_namespace to mnt_idmap c9c749f9f7d34 yaffs2: replace bdevname call with sprintf 395b01cdc39d1 yaffs2: convert read_page -> readfolio d98b07e43ba61 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL 613c6d50fdbe8 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name 622c4648936f3 yaffs2: v5.12+ build fixups (not runtime tested) 7562133d4090b yaffs: include blkdev.h dbd44252cd592 yaffs: fix misplaced variable declaration c223a10b1ac08 yaffs2: v5.6 build fixups 90f6007cfbf41 yaffs2: fix memory leak when /proc/yaffs is read 37ee169c5ea10 yaffs: add strict check when call yaffs_internal_read_super b6e007b8abb6e yaffs: repair yaffs_get_mtd_device fb98f65a466a7 yaffs: Fix build failure by handling inode i_version with proper atomic API 51e0aac75ea27 yaffs2: fix memory leak in mount/umount 2b74a0cae7b0b yaffs: Avoid setting any ACL releated xattr ff4130a9c3766 Yaffs:check oob size before auto selecting Yaffs1 ba95b409c67cd fs: yaffs2: replace CURRENT_TIME by other appropriate apis 8fa35eba90565 yaffs2: adjust to proper location of MS_RDONLY 1eb5deaad8c4a yaffs2: import git revision b4ce1bb (jan, 2020) 4dce67c1e8c8b initramfs: allow an optional wrapper script around initramfs generation 2f603d83fcc4d pnmtologo: use relocatable file name 664a6a0a484ba tools: use basename to identify file in gen-mach-types 9de64bc0c1857 lib/build_OID_registry: fix reproducibility issues ae9b80797295a vt/conmakehash: improve reproducibility a972323151bdd iwlwifi: select MAC80211_LEDS conditionally 15d2adcc01984 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119) 5556a6c04b197 arm64/perf: Fix wrong cast that may cause wrong truncation 5552dc768ffcd defconfigs: drop obselete options 00fe4152df313 arm64/perf: fix backtrace for AAPCS with FP enabled 3888d0652edf1 linux-yocto: Handle /bin/awk issues 3d55d299f23a7 uvesafb: provide option to specify timeout for task completion 23c068c080bea uvesafb: print error message when task timeout occurs edbfc939266ec compiler.h: Undef before redefining __attribute_const__ c99ae7e2a19ab vmware: include jiffies.h 572d84d928c87 Resolve jiffies wrapping about arp fdcd47cac8435 nfs: Allow default io size to be configured. 927d488010984 check console device file on fs when booting 57cc27f821ddf mount_root: clarify error messages for when no rootfs found 1b53d82a81528 mconf: fix output of cflags and libraries 1811da09f42ca menuconfig,mconf-cfg: Allow specification of ncurses location 83c2e0c6eb1f3 modpost: mask trivial warnings 6de6730394846 kbuild: exclude meta directory from distclean processing 6decd32815f53 powerpc: serialize image targets f6b683b38318c arm: serialize build targets e798b09ebf572 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition dc8a1e5a88f86 x86_64_defconfig: Fix warnings 68491e5f72b61 powerpc/ptrace: Disable array-bounds warning with gcc8 d71ebfce30048 powerpc: Disable attribute-alias warnings from gcc8 62f50884b8b18 powerpc: kexec fix for powerpc64 da6871c62c371 powerpc: Add unwind information for SPE registers of E500 core f161c880c11de mips: make current_cpu_data preempt safe 5e94a8247ce7f mips: vdso: fix 'jalr $t9' crash in vdso code 19e36714b1c7f mips: Kconfig: add QEMUMIPS64 option e2e537db3cbdc 4kc cache tlb hazard: tlbp cache coherency aee9870611e5d malta uhci quirks: make allowance for slow 4k(e)c 881948cd15176 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var 98ec1963fcb7a arm64: defconfig: cleanup config options f1727c537ba8d vexpress: Pass LOADADDR to Makefile 4474c32dc24a4 arm: ARM EABI socketcall 75e31a2b70fd3 ARM: LPAE: Invalidate the TLB for module addresses during translation fault
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hongxu Jia [Thu, 7 Nov 2024 14:41:13 +0000 (06:41 -0800)]
meta/classes/spdx-common.bbclass: fix sstate cache racing issue on kernel source while SPDX_INCLUDE_SOURCES = "1"
While two projects share one sstate cache, the 1st project builds kernel-devsrc without
setting SPDX_INCLUDE_SOURCES, and 2nd project build kernel-devsrc with setting
SPDX_INCLUDE_SOURCES = "1". Then the 2nd build failed with kernel-source not found
1. In 1st build
$ cd path-to-first-build
$ bitbake kernel-devsrc
2. In 2nd build, share sstate cache of 1st build and SPDX_INCLUDE_SOURCES = "1"
$ cd path-to-second-build
$ echo 'SSTATE_DIR = "path-to-first-build/sstate-cache"' >> conf/local.conf
$ echo 'SPDX_INCLUDE_SOURCES = "1"' >> conf/local.conf
$ bitbake kernel-devsrc
...
NOTE: copyhardlinktree path-to-second-build/tmp-glibc/work-shared/axxiaarm64/kernel-source to path-to-second-build/tmp-glibc/work/axxiaarm64-wrs-linux/kernel-devsrc/1.0/spdx/3.0.1/work/kernel-source
ERROR: Error executing a python function in exec_func_python() autogenerated:
...
0208: bb.note(f"copyhardlinktree {share_src} to {src_dir}")
*** 0209: oe.path.copyhardlinktree(share_src, src_dir)
...
tar: path-to-second-build/tmp-glibc/work-shared/axxiaarm64/kernel-source: Cannot open: No such file or directory
...
The recipe kernel-devsrc or the recipe to inherit kernelsrc.bbclass, they do not
have task do_shared_workdir but depends on virtual/kernel:do_shared_workdir.
In this situation(the ${S} == ${STAGING_KERNEL_DIR}), explicitly make do_create_spdx
depends on virtual/kernel:do_shared_workdir could fix the racing issue
Richard Purdie [Wed, 20 Nov 2024 17:59:43 +0000 (17:59 +0000)]
qemu/testimage: Ensure GNU tar is in test images
We've seen cases where a ptest (strace) has a 43GB sparse file in the test
directory. busybox tar doesn't work well with this. The resulting 1.4GB archive
takes hours to extract too.
Ensure tar is added to our full images and use the sparse option to collect
files for debugging. This stops crazy build hangs.
Since tar is GPLv3, we have to exclude it from that test code. We don't boot
any of those images so the debug collection code is safe there, at least for now.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>