]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
11 months agolinux-yocto/6.6: update to v6.6.47
Bruce Ashfield [Fri, 6 Sep 2024 17:45:40 +0000 (13:45 -0400)] 
linux-yocto/6.6: update to v6.6.47

Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    4c1a2d4cd9a5 Linux 6.6.47
    88042e41534b Revert "ata: libata-scsi: Honor the D_SENSE bit for CK_COND=1 and no error"
    fb6f56244af3 media: Revert "media: dvb-usb: Fix unexpected infinite loop in dvb_usb_read_remote_control()"
    60d90e158261 KVM: arm64: Don't pass a TLBI level hint when zapping table entries
    2c770086e079 KVM: arm64: Don't defer TLB invalidation when zapping table entries
    f3c60ab676bb cgroup: Move rcu_head up near the top of cgroup_root
    6419341b6b2b mm/debug_vm_pgtable: drop RANDOM_ORVALUE trick
    e2bf9ba1d3d7 Revert "Input: bcm5974 - check endpoint type before starting traffic"
    6fb93eeb25e5 Revert "jfs: fix shift-out-of-bounds in dbJoin"
    49df34d2b7da binfmt_flat: Fix corruption when not offsetting data start
    f95d175a9e5f ALSA: usb: Fix UBSAN warning in parse_audio_unit()
    5472b587cf71 fs/ntfs3: Do copy_to_user out of run_lock
    f650148b4394 jfs: Fix shift-out-of-bounds in dbDiscardAG
    6ea10dbb1e6c jfs: fix null ptr deref in dtInsertEntry
    3db4395332e7 fou: remove warn in gue_gro_receive on unsupported protocol
    263df78166d3 f2fs: fix to cover read extent cache access with lock
    ae00e6536a2d f2fs: fix to do sanity check on F2FS_INLINE_DATA flag in inode during GC
    bd104cbb9d3f bpf, net: Use DEV_STAT_INC()
    3f6bbe6e07e5 ext4: sanity check for NULL pointer after ext4_force_shutdown
    3a2c70baf62b ext4: convert ext4_da_do_write_end() to take a folio
    8a3ac7fb3696 wifi: cfg80211: restrict NL80211_ATTR_TXQ_QUANTUM values
    5b485efcb6a6 mm/page_table_check: support userfault wr-protect entries
    737fb7853acd ext4: do not create EA inode under buffer lock
    f2a77188a396 ext4: fold quota accounting into ext4_xattr_inode_lookup_create()
    4ea65e2095e9 Bluetooth: RFCOMM: Fix not validating setsockopt user input
    0f1061332030 nfc: llcp: fix nfc_llcp_setsockopt() unsafe copies
    ae7f73e64e9b net: add copy_safe_from_sockptr() helper
    bae45e9b78e8 mISDN: fix MISDN_TIME_STAMP handling
    107449cfb217 fs: Annotate struct file_handle with __counted_by() and use struct_size()
    63f13eb5d627 bpf: Avoid kfree_rcu() under lock in bpf_lpm_trie.
    ef33f0296893 bpf: Replace bpf_lpm_trie_key 0-length array with flexible array
    5fbbd952e7c3 pppoe: Fix memory leak in pppoe_sendmsg()
    84c176fbecd1 net: sctp: fix skb leak in sctp_inq_free()
    6cee13d8d4e0 net:rds: Fix possible deadlock in rds_message_put
    a2f2e5a4c907 quota: Detect loops in quota tree
    0252e359afa5 Input: bcm5974 - check endpoint type before starting traffic
    2cea502f58d6 net: tls, add test to capture error on large splice
    2fdcf3c4ad74 erofs: avoid debugging output for (de)compressed data
    ca9b877a2e2c reiserfs: fix uninit-value in comp_keys
    984ed0567f5d Squashfs: fix variable overflow triggered by sysbot
    2dbaa75748ac squashfs: squashfs_read_data need to check if the length is 0
    0b24b7941086 jfs: fix shift-out-of-bounds in dbJoin
    3999d26986be net: don't dump stack on queue timeout
    e4a4435787dd jfs: fix log->bdev_handle null ptr deref in lbmStartIO
    9641706cbbc2 jfs: Convert to bdev_open_by_dev()
    4365d0d660ac fs: Convert to bdev_open_by_dev()
    e58695f6c556 wifi: mac80211: fix change_address deadlock during unregister
    be31c9be8764 wifi: mac80211: take wiphy lock for MAC addr change
    77100f2e8412 tcp_metrics: optimize tcp_metrics_flush_all()
    dd9542ae7c7c cgroup: Make operations on the cgroup root_list RCU safe
    bcd514804394 genirq/cpuhotplug: Retry with cpu_online_mask when migration fails
    20dbad7525c6 genirq/cpuhotplug: Skip suspended interrupts when restoring affinity
    a47b54846ac7 nvme/pci: Add APST quirk for Lenovo N60z laptop
    26273f5f4cf6 mm: gup: stop abusing try_grab_folio
    9eae19001439 nfsd: make svc_stat per-network namespace instead of global
    9ae63aab0df8 nfsd: remove nfsd_stats, make th_cnt a global counter
    b670a59817ec nfsd: make all of the nfsd stats per-network namespace
    6f8d6ed3426a nfsd: expose /proc/net/sunrpc/nfsd in net namespaces
    5b3a1ecf0790 nfsd: rename NFSD_NET_* to NFSD_STATS_*
    2e8076df20f3 sunrpc: use the struct net as the svc proc private
    791be93cf182 sunrpc: remove ->pg_stats from svc_program
    465bb0f1f48b sunrpc: pass in the sv_stats struct through svc_create_pooled
    032ed4c630cd nfsd: stop setting ->pg_stats for unused stats
    1257fe22e14e sunrpc: don't change ->sv_stats if it doesn't exist
    9b31d561f475 NFSD: Fix frame size warning in svc_export_parse()
    5bc2b8f225e9 NFSD: Rewrite synopsis of nfsd_percpu_counters_init()
    9d91b004df9a LoongArch: Define __ARCH_WANT_NEW_STAT in unistd.h
    7c3e55d8b463 ASoC: topology: Fix route memory corruption
    bd865c769002 ASoC: topology: Clean up route loading
    d2a2a4714d80 exec: Fix ToCToU between perm check and set-uid/gid usage
    2879d995e569 pnmtologo: sync with 6.6
    99fd042016c7 Linux 6.6.46
    7ba27f14161f btrfs: fix double inode unlock for direct IO sync writes
    1c3b01b519e5 Revert "selftests: mptcp: simult flows: mark 'unbalanced' tests as flaky"
    9d97114f2fd0 selftests: mptcp: join: test both signal & subflow
    e80cf3fc4ee1 selftests: mptcp: join: ability to invert ADD_ADDR check
    64815ba15880 mptcp: pm: do not ignore 'subflow' if 'signal' flag is also set
    9a4a4c0b8eeb mptcp: pm: don't try to create sf if alloc failed
    432535f52e7c mptcp: pm: reduce indentation blocks
    c2389c074973 xfs: fix log recovery buffer allocation for the legacy h_size fixup
    37e79836d6a4 nouveau: set placement to original placement on uvmm validate.
    2ae4d5821852 mm/hugetlb: fix potential race in __update_and_free_hugetlb_folio()
    d43ff9428954 tools headers arm64: Sync arm64's cputype.h with the kernel sources
    e7f3e5fb20c5 ipv6: fix source address selection with route leak
    717c91c6ed73 netfilter: nf_tables: prefer nft_chain_validate
    0a108bde616a btrfs: fix corruption after buffer fault in during direct IO append write
    a5c399fe433a mm: huge_memory: use !CONFIG_64BIT to relax huge page alignment on 32 bit machines
    6ea9aa8d97e6 mm: huge_memory: don't force huge page alignment on 32 bit
    94220b35aeba Revert "drm/amd/display: Add NULL check for 'afb' before dereferencing in amdgpu_dm_plane_handle_cursor_update"
    163f7dd80237 block: use the right type for stub rq_integrity_vec()
    d4c67071f481 mptcp: pm: deny endp with signal + subflow + port
    8165c84431b3 selftests: mptcp: fix error path
    fff9b9208c1d mptcp: pm: fix backup support in signal endpoints
    07bb418cb0b4 mptcp: fully established after ADD_ADDR echo on MPJ
    ea12dbf570ef drm/radeon: Remove __counted_by from StateArray.states[]
    81d34df84362 drm/mgag200: Bind I2C lifetime to DRM device
    6946b7b00531 drm/mgag200: Set DDC timeout in milliseconds
    b3aa563f2135 drm/lima: Mark simple_ondemand governor as softdep
    28c060cd370d drm/dp_mst: Skip CSN if topology probing is not done yet
    6f8765a70670 drm/bridge: analogix_dp: properly handle zero sized AUX transactions
    78f1990b6bf8 sched/core: Fix unbalance set_rq_online/offline() in sched_cpu_deactivate()
    4c15b20c26a4 sched/core: Introduce sched_set_rq_on/offline() helper
    65727331b601 sched/smt: Fix unbalance sched_smt_present dec/inc
    41d856565d64 sched/smt: Introduce sched_smt_present_inc/dec() helper
    8a90d3fc7c24 x86/mtrr: Check if fixed MTRRs exist before saving them
    8728e3fc7208 x86/paravirt: Fix incorrect virt spinlock setting on bare metal
    866992f0d452 btrfs: avoid using fixed char array size for tree names
    772f83194278 selftests: mm: add s390 to ARCH check
    2ef3d120d19f eventfs: Use SRCU for freeing eventfs_inodes
    b59603a114fa eventfs: Don't return NULL in eventfs_create_dir()
    c7cd840b8e2b smb3: fix setting SecurityFlags when encryption is required
    924f788c906d padata: Fix possible divide-by-0 panic in padata_mt_helper()
    a172c7b22bc2 tracing: Fix overflow in get_free_elt()
    f31fe63838e9 power: supply: axp288_charger: Round constant_charge_voltage writes down
    e1ab8ca8034f power: supply: axp288_charger: Fix constant_charge_voltage writes
    da5e1ee0eb12 power: supply: qcom_battmgr: return EAGAIN when firmware service is not up
    e32f7c84438f LoongArch: Enable general EFI poweroff method
    0688cacd0e93 genirq/irqdesc: Honor caller provided affinity in alloc_desc()
    2ce998fabc63 irqchip/xilinx: Fix shift out of bounds
    d0137ce03fe5 kcov: properly check for softirq context
    6f48f45c7bde ASoC: amd: yc: Add quirk entry for OMEN by HP Gaming Laptop 16-n0xxx
    642a0b7453da parisc: fix a possible DMA corruption
    8d26093f8124 parisc: fix unaligned accesses in BPF
    37a060b64ae8 memcg: protect concurrent access to mem_cgroup_idr
    e3ad50387628 serial: core: check uartclk for zero to avoid divide by zero
    65d76c0aa2b7 timekeeping: Fix bogus clock_was_set() invocation in do_adjtimex()
    ae5848cb5b28 ntp: Safeguard against time_constant overflow
    726f4c241e17 tracefs: Use generic inode RCU for synchronizing freeing
    a49f7de9b8e9 tracefs: Fix inode allocation
    4d035c743c3e driver core: Fix uevent_show() vs driver detach race
    9d6193fd9108 clocksource: Fix brown-bag boolean thinko in cs_watchdog_read()
    03c3855528ab clocksource: Scale the watchdog read retries automatically
    b5cf99eb7a7c ntp: Clamp maxerror and esterror to operating range
    2ac6deb9998b vhost-vdpa: switch to use vmf_insert_pfn() in the fault handler
    b9d604933d5f tick/broadcast: Move per CPU pointer access into the atomic section
    8bf58028d58c scsi: ufs: core: Fix hba->last_dme_cmd_tstamp timestamp updating logic
    74eda70a56be scsi: ufs: core: Do not set link to OFF state while waking up from hibernation
    80d0624d0a8f scsi: mpi3mr: Avoid IOMMU page faults on REPORT ZONES
    d67546814d14 usb: gadget: u_audio: Check return codes from usb_ep_enable and config_ep_by_speed.
    54b7f68025a0 usb: gadget: u_serial: Set start_delayed during suspend
    a4f0d0a0139c usb: gadget: midi2: Fix the response for FB info with block 0xff
    1a9df57d5745 usb: gadget: core: Check for unset descriptor
    0761ba080a0d USB: serial: debug: do not echo input by default
    128e82e41cf7 usb: vhci-hcd: Do not drop references before new references are gained
    22628010c596 ALSA: hda/hdmi: Yet more pin fix for HP EliteDesk 800 G4
    a70ed69f9b35 ALSA: hda/realtek: Add Framework Laptop 13 (Intel Core Ultra) to quirks
    09c0f5f9db33 ALSA: hda: Add HP MP9 G4 Retail System AMS to force connect list
    535df7f896a5 ALSA: line6: Fix racy access to midibuf
    d64fc94f7bb2 drm/client: fix null pointer dereference in drm_client_modeset_probe
    d73de3c64476 drm/i915/gem: Adjust vma offset for framebuffer mmap offset
    0da0b06165d8 drm/amdgpu: Forward soft recovery errors to userspace
    718d83f66fb0 drm/amd/display: Skip Recompute DSC Params if no Stream on Link
    4b09513ce93b drm/i915/gem: Fix Virtual Memory mapping boundaries calculation
    81ac1e888460 module: make waiting for a concurrent module loader interruptible
    bdb3679cf318 module: warn about excessively long module waits
    c0f767dea583 cifs: cifs_inval_name_dfs_link_error: correct the check for fullpath
    885283269275 ASoC: meson: axg-fifo: fix irq scheduling issue with PREEMPT_RT
    a59ee7038912 ALSA: usb-audio: Re-add ScratchAmp quirk entries
    a2c0f5df8b6b spi: spi-fsl-lpspi: Fix scldiv calculation
    c25b8a3f016a i2c: qcom-geni: Add missing geni_icc_disable in geni_i2c_runtime_resume
    233419a329d1 i2c: qcom-geni: Add missing clk_disable_unprepare in geni_i2c_runtime_resume
    a4155dec0199 kprobes: Fix to check symbol prefixes correctly
    25ad6909c86e bpf: kprobe: remove unused declaring of bpf_kprobe_override
    ae68eee1af4f i2c: smbus: Send alert notifications to all devices if source not found
    b66c92b7d17e ASoC: SOF: Remove libraries from topology lookups
    b15602915957 spi: spidev: Add missing spi_device_id for bh2228fv
    641de16bb3b0 ASoC: sti: add missing probe entry for player and reader
    8485d324aa03 ASoC: codecs: wsa884x: Correct Soundwire ports mask
    192af3ce5747 ASoC: codecs: wsa884x: parse port-mapping information
    e79e2d8f7a25 ASoC: codecs: wsa883x: Correct Soundwire ports mask
    986141e384dc ASoC: codecs: wsa883x: parse port-mapping information
    f4bbf2f2f5f1 ASoC: codecs: wsa881x: Correct Soundwire ports mask
    733677fc391e ASoC: codecs: wcd938x-sdw: Correct Soundwire ports mask
    1534b11275b7 i2c: smbus: Improve handling of stuck alerts
    745eec68a307 arm64: errata: Expand speculative SSBS workaround (again)
    8defe5195138 arm64: cputype: Add Cortex-A725 definitions
    44094ae235cd arm64: cputype: Add Cortex-X1C definitions
    b9bf53354e98 arm64: errata: Expand speculative SSBS workaround
    771746afa0b8 arm64: errata: Unify speculative SSBS errata logic
    88ef8dd94f8b arm64: cputype: Add Cortex-X925 definitions
    ef6e6d1062c8 arm64: cputype: Add Cortex-A720 definitions
    fc4675620ac8 arm64: cputype: Add Cortex-X3 definitions
    93696d8f96a9 arm64: errata: Add workaround for Arm errata 3194386 and 3312417
    527e7e72c9ac arm64: cputype: Add Neoverse-V3 definitions
    e5b9593843b7 arm64: cputype: Add Cortex-X4 definitions
    1ae80faeccfe arm64: barrier: Restore spec_bar() macro
    4167bf778008 arm64: Add Neoverse-V2 part
    6772c4868a8e net: drop bad gso csum_start and offset in virtio_net_hdr
    12f98cc6fb07 sched/cputime: Fix mul_u64_u64_div_u64() precision for cputime
    b56dee6c9b08 irqchip/loongarch-cpu: Fix return value of lpic_gsi_to_irq()
    57ab379d781c irqchip/meson-gpio: Convert meson_gpio_irq_controller::lock to 'raw_spinlock_t'
    b547433efa79 scsi: mpt3sas: Avoid IOMMU page faults on REPORT ZONES
    2d451ec01e66 profiling: remove profile=sleep support
    c26524044485 SUNRPC: Fix a race to wake a sync task
    1e8b7fb427af s390/sclp: Prevent release of buffer in I/O
    6dacca9fbe52 jbd2: avoid memleak in jbd2_journal_write_metadata_buffer
    e7abdad660ed ext4: fix uninitialized variable in ext4_inlinedir_to_tree
    850304152d36 media: xc2028: avoid use-after-free in load_firmware_cb()
    7f855b668137 media: uvcvideo: Fix the bandwdith quirk on USB 3.x
    5b835d12cfb9 media: uvcvideo: Ignore empty TS packets
    4cc2a94d96ca drm/amd/display: Add null checker before passing variables
    a59941605a2e drm/amd/display: Add NULL check for 'afb' before dereferencing in amdgpu_dm_plane_handle_cursor_update
    a29c1e51ef3a media: amphion: Remove lock in s_ctrl callback
    2e538944996d drm/amd/pm: Fix the null pointer dereference for vega10_hwmgr
    1adb5ebe205e drm/amdgpu: Add lock around VF RLCG interface
    641dac64178c drm/admgpu: fix dereferencing null pointer context
    3a01bf2ca9f8 drm/amdgpu/pm: Fix the null pointer dereference in apply_state_adjust_rules
    b89616333979 drm/amdgpu: Fix the null pointer dereference to ras_manager
    09544cd95c68 drm/amdgpu/pm: Fix the null pointer dereference for smu7
    837ab17ceef9 drm/amdgpu/pm: Fix the param type of set_power_profile_mode
    bc93cfde69b7 drm/amdgpu: fix potential resource leak warning
    479ccc213217 drm/amd/display: Add delay to improve LTTPR UHBR interop
    4d9adcb94d55 Bluetooth: btnxpuart: Shutdown timer and prevent rearming when driver unloading
    d9e846072fcd btrfs: fix bitmap leak when loading free space cache on duplicate entry
    ba4dedb71356 btrfs: do not clear page dirty inside extent_write_locked_range()
    a006e6c4a8a0 net: stmmac: qcom-ethqos: enable SGMII loopback during DMA reset on sa8775p-ride-r3
    759822a3300c can: mcp251xfd: tef: update workaround for erratum DS80000789E 6 of mcp2518fd
    1333fd55d12e can: mcp251xfd: tef: prepare to workaround broken TEF FIFO tail index erratum
    81f086d913be wifi: nl80211: don't give key data to userspace
    5cc9745e2ea1 udf: prevent integer overflow in udf_bitmap_free_blocks()
    9be0805597b3 PCI: Add Edimax Vendor ID to pci_ids.h
    412f97f36062 af_unix: Don't retry after unix_state_lock_nested() in unix_stream_connect().
    5ce414edb383 selftests/bpf: Fix send_signal test with nested CONFIG_PARAVIRT
    650e24748e1e net/mlx5e: SHAMPO, Fix invalid WQ linked list unlink
    9b034650f369 wifi: ath12k: fix memory leak in ath12k_dp_rx_peer_frag_setup()
    c6ea738e3feb wifi: nl80211: disallow setting special AP channel widths
    c2775ae4d922 xen: privcmd: Switch from mutex to spinlock for irqfds
    9747b722125c ACPI: SBS: manage alarm sysfs attribute through psy core
    e1f6d71b42bf ACPI: battery: create alarm sysfs attribute atomically
    9e1923b395ba clocksource/drivers/sh_cmt: Address race condition for clock events
    4991cb2d434c rcu: Fix rcu_barrier() VS post CPUHP_TEARDOWN_CPU invocation
    c63b44fb33dd block: change rq_integrity_vec to respect the iterator
    775a9ba16c9f md/raid5: avoid BUG_ON() while continue reshape after reassembling
    3fd53466dbff md: do not delete safemode_timer in mddev_suspend
    7adbf9b5c826 rcutorture: Fix rcu_torture_fwd_cb_cr() data race
    95cf80c93432 hwmon: corsair-psu: add USB id of HX1200i Series 2023 psu
    1b955f786a4b gpio: prevent potential speculation leaks in gpio_device_get_desc()
    c0780672805e net: fec: Stop PPS on driver remove
    73780807c67c net: bcmgenet: Properly overlay PHY and MAC Wake-on-LAN capabilities
    207e88155410 l2tp: fix lockdep splat
    a7d2808d6757 net: dsa: bcm_sf2: Fix a possible memory leak in bcm_sf2_mdio_register()
    f7dc578abe4f net/smc: add the max value of fallback reason count
    1a7a06e90e53 Bluetooth: hci_sync: avoid dup filtering when passive scanning with adv monitor
    b4af69d51dfd Bluetooth: l2cap: always unlock channel in l2cap_conless_channel()
    3e94132335cd ice: Fix reset handler
    3b1fae78bebe net: linkwatch: use system_unbound_wq
    e3145ca904fa net: bridge: mcast: wait for previous gc cycles when removing port
    f2c353227de1 net: usb: qmi_wwan: fix memory leak for not ip packets
    1407be30fc17 sctp: Fix null-ptr-deref in reuseport_add_sock().
    6a78a2903875 wifi: ath12k: fix soft lockup on suspend
    7091b094dd68 wifi: ath12k: add CE and ext IRQ flag to indicate irq_handler
    5c18b150e4cb wifi: ath12k: rename the sc naming convention to ab
    0397a48c4bd6 smb: client: handle lack of FSCTL_GET_REPARSE_POINT support
    fbb384e3f000 x86/mm: Fix pti_clone_entry_text() for i386
    ca07aab70dd3 x86/mm: Fix pti_clone_pgtable() alignment assumption
    c7b46f69d132 jump_label: Fix the fix, brown paper bags galore
    79b316264f57 platform/x86/intel/ifs: Initialize union ifs_status to zero
    3d0d7713dd3f platform/x86/intel/ifs: Gen2 Scan test support
    b399e6a23359 platform/x86/intel/ifs: Store IFS generation number
    69508cc9a9a8 irqchip/mbigen: Fix mbigen node address layout
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd 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>
11 months agorecipes-bsp: usbutils: Fix usb-devices command using busybox
Teresa Remmet [Fri, 6 Sep 2024 07:25:16 +0000 (09:25 +0200)] 
recipes-bsp: usbutils: Fix usb-devices command using busybox

Unknown find parameter -printf makes usb-devices script unusable with
busybox. Replace the parameter to fix this issue.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolinux-firmware: add packages for Qualcomm XElite GPU firmware
Dmitry Baryshkov [Fri, 6 Sep 2024 01:32:47 +0000 (04:32 +0300)] 
linux-firmware: add packages for Qualcomm XElite GPU firmware

Add two packages to handle Qualcomm XElite firmware, one for the
board-specific signed blob and one for the unsigned (generic) GPU
firmware files.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agospirv-tools: Update merged patch to backport status
Yoann Congal [Thu, 5 Sep 2024 17:27:39 +0000 (19:27 +0200)] 
spirv-tools: Update merged patch to backport status

Patch 0001-update_build_version.py-support-an-envvar-to-force-t.patch
was merged here: https://github.com/KhronosGroup/SPIRV-Tools/commit/bc4060ed274ad9749c20daced96d6f0518d6418e

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolayer.conf: Drop scarthgap namespace from LAYERSERIES
Richard Purdie [Fri, 6 Sep 2024 15:06:39 +0000 (16:06 +0100)] 
layer.conf: Drop scarthgap namespace from LAYERSERIES

As we move to release, drop the scarthgap namespace and prepare for
styhead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoconf/defaultsetup.conf: Drop TCLIBCAPPEND
Richard Purdie [Wed, 4 Sep 2024 10:26:33 +0000 (11:26 +0100)] 
conf/defaultsetup.conf: Drop TCLIBCAPPEND

We've been able to run musl and glibc builds in the same TMPDIR for
many years and a separate directory is not required. Most distros disable
this value for that reason.

Drop support for the variable to make it clear and easy for distros
to be able to set multiconfigs which behave consistently for distros
which do and don't clear it by dropping it entirely.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoinsane: Remove dependency on TCLIBC from QA test
Richard Purdie [Wed, 4 Sep 2024 10:24:58 +0000 (11:24 +0100)] 
insane: Remove dependency on TCLIBC from QA test

The TCLIBC value is already encoded into build paths through the triplet
so no need to encode it here where it can cause problems for allarch output
that span multiple libcs.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agosstate: Make do_recipe_qa and do_populate_lic non-arch specific
Richard Purdie [Thu, 5 Sep 2024 15:55:51 +0000 (16:55 +0100)] 
sstate: Make do_recipe_qa and do_populate_lic non-arch specific

The sstate functions currently pull in STAMP and SSTATE_PKG which
end up pulling in DEFAULTTUNE and other variables. The location on
disk encodes all the "architecture" information we need so clean up
the dependencies of these tasks and make them non-architecture specific.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolicense: Fix directory layout issues
Richard Purdie [Thu, 5 Sep 2024 15:56:03 +0000 (16:56 +0100)] 
license: Fix directory layout issues

There are several issues:

a) pointless empty directories were being created as a path wasn't
   fixed in a previous commit
b) SSTATE_PKGARCH wasn't being captured into the task signature
   since it is in the ignore list by default. We want to capture
   the absolute value, not the dependencies
c) with those issues fixed, cross/native issues became apparent so
   those need to be fixed too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-maturin: Fix cross compilation issue for armv7l, mips64, ppc
Niko Mauno [Thu, 5 Sep 2024 10:12:38 +0000 (10:12 +0000)] 
python3-maturin: Fix cross compilation issue for armv7l, mips64, ppc

When bitbaking python3-rpds-py it built extension module as:

  site-packages/rpds/rpds.cpython-312-armv7l-linux-gnueabihf.so

Which caused error on target:

  root@qemuarm:~# python3 -c "from rpds import HashTrieMap, HashTrieSet, List"
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/usr/lib/python3.12/site-packages/rpds/__init__.py", line 1, in <module>
      from .rpds import *
  ModuleNotFoundError: No module named 'rpds.rpds'

Where as it should have been:

  site-packages/rpds/rpds.cpython-312-arm-linux-gnueabihf.so

Associated upstream bug report:
https://github.com/PyO3/maturin/issues/2203

Associated upstream pull request:
https://github.com/PyO3/maturin/pull/2204

Note - mitigation has not been tested with musl:
https://github.com/PyO3/maturin/pull/2204#issuecomment-2323952320

Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agobitbake.conf: DEBUG_PREFIX_MAP: add -fmacro-prefix-map for STAGING_DIR_NATIVE
Martin Jansa [Thu, 5 Sep 2024 09:16:17 +0000 (11:16 +0200)] 
bitbake.conf: DEBUG_PREFIX_MAP: add -fmacro-prefix-map for STAGING_DIR_NATIVE

* the default STAGING_DIR_NATIVE starts with STAGING_DIR_HOST and the
  only difference is '-native' suffix at the end

* this can lead into replacing STAGING_DIR_NATIVE path with just "-native"
  in FILE macros

* I've noticed this by accident in python3-matplotlib where buildpaths
  QA warning was triggered only for lib32-python3-matplotlib and it was
  because pybind11 path to STAGING_DIR_NATIVE was mapped to only
  '-native/<path>' in python3-matplotlib build (which doesn't trigger
  buildpaths QA and lib32-python3-matplotlib the macro path wasn't
  replaced at all, because of 'lib32-' prefix in:
  -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/i586-oemllib32-linux/lib32-python3-matplotlib/3.7.2/lib32-recipe-sysroot= \
  -fmacro-prefix-map=/OE/build/oe-core/tmp-glibc/work/i586-oemllib32-linux/lib32-python3-matplotlib/3.7.2/lib32-recipe-sysroot= \
  -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/i586-oemllib32-linux/lib32-python3-matplotlib/3.7.2/recipe-sysroot-native= \

* more details in meta-python fix for lib32-python3-matplotlib:
  https://lists.openembedded.org/g/openembedded-devel/message/112074

* the order of *-prefix-map options still seems to be that the last
  one matching wins and this works with gcc and clang, see:
  https://reviews.llvm.org/D148975?id=516863
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109591

* some components might sometimes be built with -coverage and could use
  -fcoverage-prefix-map:
  https://reviews.llvm.org/D148757
  or -fprofile-prefix-map:
  https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html#index-fprofile-prefix-map
  but will leave that to recipes which actually use -coverage for now

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agosystemd: Remove a leftover reference to ${datadir}/mime
Peter Kjellerstedt [Wed, 4 Sep 2024 22:51:47 +0000 (00:51 +0200)] 
systemd: Remove a leftover reference to ${datadir}/mime

${MIMEDIR} (aka ${datadir}/mime) is packaged in ${PN}-mime and the
reference to ${datadir}/mime/packages/io.systemd.xml for FILES:${PN}
should have been removed in commit
5560243137f772683e53b614f134dd632b62be8b.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoexpat: 2.6.2 -> 2.6.3
Richard Purdie [Wed, 4 Sep 2024 20:07:57 +0000 (21:07 +0100)] 
expat: 2.6.2 -> 2.6.3

Includes fixes for CVE-2024-45490, CVE-2024-45491 and CVE-2024-45492.

https://blog.hartwork.org/posts/expat-2-6-3-released/

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agogcr: Fix LICENSE
Niko Mauno [Wed, 4 Sep 2024 12:29:46 +0000 (12:29 +0000)] 
gcr: Fix LICENSE

The contents of the COPYING file included in the current source code
package match those of LGPL-2.0 license, which seems to have been the
case since 2011 commit
https://gitlab.gnome.org/GNOME/gcr/-/commit/c6691faa0348ab087e99ab9bd9914e1d5e81fa14

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agotiff: Fix LICENSE
Niko Mauno [Wed, 4 Sep 2024 12:29:04 +0000 (12:29 +0000)] 
tiff: Fix LICENSE

The contents of the LICENSE.md file included in the current source
code package match those of libtiff license, which seems to have been
the case since 1999 commit
https://gitlab.com/libtiff/libtiff/-/commit/0ef31e1f62aa7a8b1c488a59c4930775ee0046e4
where it was added with filename COPYRIGHT and was then changed to
LICENSE.md in 2022 commit
https://gitlab.com/libtiff/libtiff/-/commit/fa1d6d787fc67a1eeb3abccb790b5bee969d424b

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agocml1: add do_savedefconfig
Adrian Freihofer [Wed, 4 Sep 2024 14:46:21 +0000 (16:46 +0200)] 
cml1: add do_savedefconfig

Move the do_savedefconfig task definition from u-boot and kernel to
cml1.bbclass. There are more recipes which use the kbuild framework and
benefit from a do_savedefconfig task.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agogcc: Fix spurious '/' in GLIBC_DYNAMIC_LINKER on microblaze
Khem Raj [Wed, 4 Sep 2024 05:25:44 +0000 (22:25 -0700)] 
gcc: Fix spurious '/' in GLIBC_DYNAMIC_LINKER on microblaze

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoglibc: Fix the arm/arm64 worsize.h uniificationb patch
Khem Raj [Wed, 4 Sep 2024 03:17:59 +0000 (20:17 -0700)] 
glibc: Fix the arm/arm64 worsize.h uniificationb patch

The symlink got mangled during the 2.40 upgrade

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Maohui Lei <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agooe-setup-build: Fix typo
Ryan Eatmon [Thu, 5 Sep 2024 20:41:16 +0000 (15:41 -0500)] 
oe-setup-build: Fix typo

A variable was mistyped in an error message resulting in this error:

NameError: name 'tempalte_name' is not defined. Did you mean: 'template_name'?

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agodevtool: remove obsolete SRCTREECOVEREDTASKS handling
Adrian Freihofer [Tue, 3 Sep 2024 20:48:31 +0000 (22:48 +0200)] 
devtool: remove obsolete SRCTREECOVEREDTASKS handling

devtool modify generates a bbappend for kernel recipes which contains:
  SRCTREECOVEREDTASKS="\
    do_fetch \
    do_kernel_checkout \
    do_kernel_configcheck \
    do_unpack \
    do_validate_branches \
  "
  do_patch[noexec] = "1"

If the linux-yocto kernel is used, this is redundant. The
linux-yocto.bbclass already does the same:

linux-yocto sets SRCTREECOVEREDTASKS to
  SRCTREECOVEREDTASKS="\
    do_fetch \
    do_kernel_checkout \
    do_kernel_configcheck \
    do_patch \
    do_unpack \
    do_validate_branches \
  "

Also the do_patch[noexec] is redundant because the purpose of
SRCTREECOVEREDTASKS is to delete these tasks if the externalsrc.bbclass
is used.

The default value of SRCTREECOVEREDTASKS initialized in
externalsrc.bbclass is:
  SRCTREECOVEREDTASKS ?= "do_patch do_unpack do_fetch"
This is fine for kernels which do not inherit the linux-yocto.bbclass.

The code in devtool modify is redundant and therefore removed.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agodevtool: modify kernel adds append twice
Adrian Freihofer [Tue, 3 Sep 2024 20:48:30 +0000 (22:48 +0200)] 
devtool: modify kernel adds append twice

Drop the redundant generation of the do_configure:append section for the
kernel. The same append is generated twice:

if bb.data.inherits_class('kernel', rd):
    f.write('\ndo_configure:append() {\n'
    '    cp ${B}/.config ${S}/.config.baseline\n'
    '    ln -sfT ${B}/.config ${S}/.config.new\n'
    '}\n')

KCONFIG_CONFIG_ENABLE_MENUCONFIG ??= "true"
KCONFIG_CONFIG_ROOTDIR ??= "${B}"
if rd.getVarFlag('do_menuconfig', 'task'):
    f.write('\ndo_configure:append() {\n'
    '    if [ ${@oe.types.boolean(d.getVar("KCONFIG_CONFIG_ENABLE_MENUCONFIG"))} = True ]; then\n'
    '        cp ${KCONFIG_CONFIG_ROOTDIR}/.config ${S}/.config.baseline\n'
    '        ln -sfT ${KCONFIG_CONFIG_ROOTDIR}/.config ${S}/.config.new\n'
    '    fi\n'
    '}\n')

In contradiction to the first code block the second code block considers
the variables which is correct.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agouboot-config: fix devtool modify with kernel-fitimage
Adrian Freihofer [Tue, 3 Sep 2024 20:48:29 +0000 (22:48 +0200)] 
uboot-config: fix devtool modify with kernel-fitimage

How to reproduce:
- UBOOT_CONFIG must be used. With UBOOT_MACHINE it works fine.
  A simple example based on oe-core is to modify the
  beaglebone-yocto.conf file like this:
  -UBOOT_MACHINE = "am335x_evm_defconfig"
  +UBOOT_CONFIG = "foo"
  +UBOOT_CONFIG[foo] = "am335x_evm_defconfig"
- A build configuration which inherits the kernel-fitimage.bbclass is
  needed. For example:
  MACHINE = "beaglebone-yocto"
  KERNEL_IMAGETYPE = "Image"
  KERNEL_IMAGETYPES += " fitImage "
  KERNEL_CLASSES = " kernel-fitimage "

devtool modify linux-yocto
devtool build linux-yocto
...
| cp: cannot stat '.../linux-yocto-6.6.21+git/am335x_evm_defconfig/.config':
  No such file or directory
| WARNING: .../linux-yocto/6.6.21+git/temp/run.do_configure.2081673:172 exit 1
  from 'cp .../linux-yocto-6.6.21+git/am335x_evm_defconfig/.config
  .../build/workspace/sources/linux-yocto/.config.baseline'

The reason for this problem is that the uboot-config.bbclass sets the
variable KCONFIG_CONFIG_ROOTDIR to a path that makes sense for u-boot,
but not for other recipes. However, the kernel-fitimage.bbclasse, for
example, inherits the uboot-config.bbclass, which brings the
u-boot-specific path into the kernel build context.

This change removes the uboot-specific KCONFIG_CONFIG_ROOTDIR path from
recipes other than u-boot itself.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolib/oe/sbom30.py: Fix build parameters
Joshua Watt [Tue, 3 Sep 2024 15:42:24 +0000 (09:42 -0600)] 
lib/oe/sbom30.py: Fix build parameters

The property to specify the build parameters is `build_parameters` not
just `parameters`

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolib/spdx30_tasks: Report all missing providers
Joshua Watt [Tue, 3 Sep 2024 15:42:01 +0000 (09:42 -0600)] 
lib/spdx30_tasks: Report all missing providers

Instead of failing on the first missing provider, collect all of them
and report them all as it is more convenient for end users trying to fix
problems

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoclasses/create-spdx-image-3.0: Fix SSTATE_SKIP_CREATION
Joshua Watt [Tue, 3 Sep 2024 15:41:36 +0000 (09:41 -0600)] 
classes/create-spdx-image-3.0: Fix SSTATE_SKIP_CREATION

Fixes SSTATE_SKIP_CREATION for do_create_image_spdx

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoelfutils: Drop obsolete ptest conditional in do_install
Richard Purdie [Tue, 3 Sep 2024 14:08:32 +0000 (15:08 +0100)] 
elfutils: Drop obsolete ptest conditional in do_install

The PTEST_ENABLED conditional is no longer needed since the task is deleted
if ptest isn't enabled.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agogettext: Drop obsolete ptest conditional in do_install
Richard Purdie [Tue, 3 Sep 2024 14:07:46 +0000 (15:07 +0100)] 
gettext: Drop obsolete ptest conditional in do_install

The PTEST_ENABLED conditional is no longer needed since the task is deleted
if ptest isn't enabled.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agowebkitgtk: Fix build issues with clang-19
Khem Raj [Tue, 3 Sep 2024 04:40:18 +0000 (21:40 -0700)] 
webkitgtk: Fix build issues with clang-19

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agokea: Replace Name::NameString with vector of uint8_t
Khem Raj [Tue, 3 Sep 2024 04:40:17 +0000 (21:40 -0700)] 
kea: Replace Name::NameString with vector of uint8_t

This will fix build with libc++ from llvm 19.x

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoffmpeg: Fix build on musl linux systems
Khem Raj [Mon, 2 Sep 2024 21:20:22 +0000 (14:20 -0700)] 
ffmpeg: Fix build on musl linux systems

Improved detection of ioctl API makes it easier to use the right
implementation rather than bunch of ifdef condition checks.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agowayland: upgrade 1.23.0 -> 1.23.1
Wang Mingyu [Tue, 3 Sep 2024 08:32:59 +0000 (16:32 +0800)] 
wayland: upgrade 1.23.0 -> 1.23.1

Changelog:
============
- meson: Fix use of install_data() without specifying install_dir
- Put WL_DEPRECATED in front of the function declarations
- client: Handle proxies with no queue
- tests: add enum bitfield test
- scanner: fix validator for bitfields
- scanner: extract validator function emission to helper function

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agowayland-protocols: upgrade 1.36 -> 1.37
Wang Mingyu [Tue, 3 Sep 2024 08:32:58 +0000 (16:32 +0800)] 
wayland-protocols: upgrade 1.36 -> 1.37

Changelog:
============
- xdg-toplevel-icon: add error for destroyed wl_buffer
- pointer-gestures: Add punctuation to clarify gesture cycles
- tablet-v2: Fix feedback description in mode_switch
- ext-image-copy-capture-v1: new protocol
- ext-image-capture-source-v1: new protocol
- governance: document review requirements
- members: trim trailing comma
- readme: recommend using "Draft:" prefix for RFC protocols
- readme: use references for links
- staging: Add xdg-toplevel-icon protocol for dedicated toplevel icons
- readme: s/Makefile.am/meson.build/
- staging/tearing-control: clarify what happens after wl_surface destruction
- ci: don't run pipelines in forks
- various: Fix definition of double-buffered state
- Fix some trivial typos

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agotaglib: upgrade 2.0.1 -> 2.0.2
Wang Mingyu [Tue, 3 Sep 2024 08:32:57 +0000 (16:32 +0800)] 
taglib: upgrade 2.0.1 -> 2.0.2

Changelog:
===========
 * Fix parsing of ID3v2.2 frames.
 * Tolerate MP4 files with unknown atom types as generated by Android tools.
 * Support setting properties with arbitrary names in MP4 tags.
 * Windows: Fix "-p" option in tagwriter example.
 * Support building with older utfcpp versions.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-zipp: upgrade 3.20.0 -> 3.20.1
Wang Mingyu [Tue, 3 Sep 2024 08:32:56 +0000 (16:32 +0800)] 
python3-zipp: upgrade 3.20.0 -> 3.20.1

Bugfix:
- Replaced SanitizedNames with a more surgical fix for infinite loops, restoring
  support for names with special characters in the archive.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-websockets: upgrade 12.0 -> 13.0.1
Wang Mingyu [Tue, 3 Sep 2024 08:32:55 +0000 (16:32 +0800)] 
python3-websockets: upgrade 12.0 -> 13.0.1

Changelog:
 https://github.com/python-websockets/websockets/blob/main/docs/project/changelog.rst

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-pbr: upgrade 6.0.0 -> 6.1.0
Wang Mingyu [Tue, 3 Sep 2024 08:32:54 +0000 (16:32 +0800)] 
python3-pbr: upgrade 6.0.0 -> 6.1.0

0001-change-shebang-to-python3.patch
refreshed for 6.1.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-maturin: upgrade 1.7.0 -> 1.7.1
Wang Mingyu [Tue, 3 Sep 2024 08:32:53 +0000 (16:32 +0800)] 
python3-maturin: upgrade 1.7.0 -> 1.7.1

Changelog
=========
- Update clap_complete_command to v0.6.1
- Fix platform tags when cross-compiling universal2
- Fix Typo in Migration Guide
- Fix rust 1.80 clippy errors
- Don't check .gitignore files in parent directories
- Replace --skip-auditwheel with --auditwheel option
- Remove install_requires and setup_requires from setup.py
- Use modern stripping option
- Move project metadata from setup.py to pyproject.toml
- Update manylinux/musllinux policies to the latest main
- use just licenses as the license directory in a wheel
- Forward cargo package --list warnings
- Add current package context to source dist error
- Place source dist readmes next to Cargo.toml

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-idna: upgrade 3.7 -> 3.8
Wang Mingyu [Tue, 3 Sep 2024 08:32:52 +0000 (16:32 +0800)] 
python3-idna: upgrade 3.7 -> 3.8

Changelog:
==========
- Fix regression where IDNAError exception was not being produced for certain inputs.
- Add support for Python 3.13, drop support for Python 3.5 as it is no longer testable.
- Documentation improvements
- Updates to package testing using Github actions

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-certifi: upgrade 2024.7.4 -> 2024.8.30
Wang Mingyu [Tue, 3 Sep 2024 08:32:51 +0000 (16:32 +0800)] 
python3-certifi: upgrade 2024.7.4 -> 2024.8.30

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoofono: upgrade 2.9 -> 2.10
Wang Mingyu [Tue, 3 Sep 2024 08:32:50 +0000 (16:32 +0800)] 
ofono: upgrade 2.9 -> 2.10

Changelog:
==========
- Fix issue with SMS and user data length checks.
- Add support for QMI and Dual-Stack context activation.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agonghttp2: upgrade 1.62.1 -> 1.63.0
Wang Mingyu [Tue, 3 Sep 2024 08:32:49 +0000 (16:32 +0800)] 
nghttp2: upgrade 1.62.1 -> 1.63.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agomc: upgrade 4.8.31 -> 4.8.32
Wang Mingyu [Tue, 3 Sep 2024 08:32:48 +0000 (16:32 +0800)] 
mc: upgrade 4.8.31 -> 4.8.32

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoliburcu: upgrade 0.14.0 -> 0.14.1
Wang Mingyu [Tue, 3 Sep 2024 08:32:46 +0000 (16:32 +0800)] 
liburcu: upgrade 0.14.0 -> 0.14.1

Changelog:
===========
* Fix: missing typename in URCU_FORCE_CAST
* Allow building with GCC >= 13.3 on RISC-V
* pointer.h: Fix the rcu_cmpxchg_pointer documentation
* Adjust shell script to allow Bash in other locations
* fix: handle EINTR correctly in get_cpu_mask_from_sysfs
* Relicense src/compat-smp.h to MIT
* ppc.h: use mftb on ppc
* Fix: allow clang to build liburcu on RISC-V
* Fix -Walloc-size
* urcu/uatomic/riscv: Mark RISC-V as broken
* Fix: urcu-bp: misaligned reader accesses
* LoongArch: Document that byte and short atomics are implemented with LL/SC
* Add LoongArch support
* tests/regression/rcutorture: Add wait state
* urcu-wait: Initialize node in URCU_WAIT_NODE_INIT
* Fix: urcu-wait: add missing futex.h include
* Adjust shell scripts to allow Bash in other locations
* Add support for OpenBSD
* Revert "compiler.h: Introduce caa_unqual_scalar_typeof"
* rculfhash: Use caa_container_of_check_null in cds_lfht_entry
* compiler.h: Introduce caa_container_of_check_null
* compiler.h: Introduce caa_unqual_scalar_typeof
* Avoid calling caa_container_of on NULL pointer in cds_lfht macros
* Fix: revise urcu_read_lock_update() comment
* Fix: uatomic powerpc comment about lwsync
* fix: aarch64: allow RHEL7 gcc 4.8.5-11
* fix: warning 'noreturn' function does return on ppc
* Fix: use __noreturn__ for C11-compatibility

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolibsoup: upgrade 3.4.4 -> 3.6.0
Wang Mingyu [Tue, 3 Sep 2024 08:32:45 +0000 (16:32 +0800)] 
libsoup: upgrade 3.4.4 -> 3.6.0

Changelog:
==========
* Allow HTTP/2 to be used with non-HTTP proxies
* Strictly forbid NUL bytes in headers
* Fix minor leaks
* Add 'SOUP_METHOD_PATCH'
* websocket: Add 'SoupWebsocketConnection:keepalive-pong-timeout' property
* Increase maxmimum size of HTTP headers
* Fix 'soup_uri_copy()' in Vala
* Fix leak in 'soup_message_new_from_encoded_form()'
* multipart: Improve handling of messages missing termination
* logger: Fix request filter function being called with response user data
* logger: Fix response bodies never being logged if request bodies aren't
* logger: Add Soup-Host to logged headers for when Host is missing
* cookies: Fix incorrect logic in determining same-site cookies
* cookie-jar-db: Explicitly handle old databases lacking same-site column
* cookies: Limit the Max-Age to 1 year

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolibdrm: upgrade 2.4.122 -> 2.4.123
Wang Mingyu [Tue, 3 Sep 2024 08:32:44 +0000 (16:32 +0800)] 
libdrm: upgrade 2.4.122 -> 2.4.123

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoell: upgrade 0.67 -> 0.68
Wang Mingyu [Tue, 3 Sep 2024 08:32:42 +0000 (16:32 +0800)] 
ell: upgrade 0.67 -> 0.68

Changelog:
==========
- Fix issue with string allocation growth strategy.
- Add support for netlink helper functions.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agodiffoscope: upgrade 276 -> 277
Wang Mingyu [Tue, 3 Sep 2024 08:32:41 +0000 (16:32 +0800)] 
diffoscope: upgrade 276 -> 277

Changelog:
===========
- Don't crash when attempting to hashing symlinks with targets that point to
  a directory.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agodhcpcd: upgrade 10.0.8 -> 10.0.10
Wang Mingyu [Tue, 3 Sep 2024 08:32:40 +0000 (16:32 +0800)] 
dhcpcd: upgrade 10.0.8 -> 10.0.10

License-Update: Copyright year updated to 2024.

0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch
0001-remove-INCLUDEDIR-to-prevent-build-issues.patch
refreshed for 10.0.10

Changelog:
==========
- configure: add --enable-ntp
- Force dumplease to parse stdin
- holmanb authored and rsmarples committed
- Improve and document prior.
- linux: Prefer local over address when both in netlink RTA
- IPv6: DUPLICATED could be announced by RTM_DELADDR
- Fix prior patch which might also fix #333
- IPv6: Delay for LL address before delay for start
- IPv6: make more readable (nfc)
- DHCP6: Don't remove delegated prefix addresses on start or fail
- privsep: Sweep ELE_ERROR away for BPF
- DHCP6: Add commentary around why we read leases
- linux: allow roaming without IFF_DORMANT
- DHCP: Remove an assertation in get_lease if ia is NULL
- DHCP6: Persist configuration on confirm/rebind failure
- DHCP6: Don't remove state in DISCOVER
- IPv4LL: Restart ARP probling on address conflict
- DHCP: Handle option 108 correctly when receiving 0.0.0.0 OFFER
- taoyl-g and rsmarples committed on Jul 25
- DHCP: No longer set interface mtu
- IPv4LL: If we are not configuring, abort if address does not exist
- IPv4LL: Harden the noconfigure option.
- DHCP6: Remove the dhcp6_pd_addr packed struct
- Update privsep-linux.c to allow statx

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agocairo: upgrade 1.18.0 -> 1.18.2
Wang Mingyu [Tue, 3 Sep 2024 08:32:39 +0000 (16:32 +0800)] 
cairo: upgrade 1.18.0 -> 1.18.2

Changelog:
===========
- The malloc-stats code has been removed from the tests directory
  Cairo now requires a version of pixman equal to, or newer than, 0.40.
- There have been multiple build fixes for newer versions of GCC
  for MSVC; for Solaris; and on macOS 10.7
- PNG errors caused by loading malformed data are correctly propagated to
  callers, so they can handle the case.
- Both stroke and fill colors are now set when showing glyphs on a PDF
  surface.
- All the font options are copied when creating a fallback font object.
- When drawing text on macOS, Cairo now tries harder to select the appropriate
  font name.
- Cairo now prefers the COLRv1 table inside a font, if one is available.
- Cairo requires a C11 toolchain when building.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoacpica: upgrade 20240322 -> 20240827
Wang Mingyu [Tue, 3 Sep 2024 08:32:38 +0000 (16:32 +0800)] 
acpica: upgrade 20240322 -> 20240827

Changelog:
==========
- Fix the PHAT table working: ensure that the PHAT firmware health record offset
  works correctly, fix various sub-table offsets, prevent segmentation faults
  when encountering invalid device paths.
- Fix the optional table 4-byte signature.
- Correct the dumping of SLIC and DBG2 tables.
- Add support for QWordPCC and DWordPCC
- Fix the integer to hex string conversions
- Detecting FACS in reduced HW mode and allowing setting waking vector thereby waking up from S3 state
- Fixing issues with crossing page boundaries when mapping operation regions
- Update the support for IORT, HMAT, MPAM, AEST, CEDT, SPCR etc. tables
- Fix multiple issues with table parsing, compilation and disassembly
- Allow for more flexibility in _DSM usage.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agozip: Fix LICENSE
Niko Mauno [Tue, 3 Sep 2024 07:41:59 +0000 (07:41 +0000)] 
zip: Fix LICENSE

The contents of the LICENSE file included in the current source code
package match those of Info-ZIP license, which seems to originate from
the year 2007:

  This is version 2007-Mar-4 of the Info-ZIP license.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agounzip: Fix LICENSE
Niko Mauno [Tue, 3 Sep 2024 07:41:58 +0000 (07:41 +0000)] 
unzip: Fix LICENSE

The contents of the LICENSE file included in the current source code
package match those of Info-ZIP license, which seems to originate from
the year 2009:

  This is version 2009-Jan-02 of the Info-ZIP license.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolibtool: 2.5.1 -> 2.5.2
Richard Purdie [Sun, 1 Sep 2024 18:57:02 +0000 (19:57 +0100)] 
libtool: 2.5.1 -> 2.5.2

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolttng-tools: 2.13.13 -> 2.13.14
Richard Purdie [Sun, 1 Sep 2024 18:57:41 +0000 (19:57 +0100)] 
lttng-tools: 2.13.13 -> 2.13.14

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agosstate: Drop SSTATEPOSTINSTFUNC support
Richard Purdie [Thu, 29 Aug 2024 12:02:02 +0000 (13:02 +0100)] 
sstate: Drop SSTATEPOSTINSTFUNC support

This was deprecated with the introduction of postfunc support for tasks
in general and only used by buildhistory. Now that usage has been removed,
drop the code from sstate.bbclass. Any other users should be able to use
postfuncs too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agobuildhistory: Simplify intercept call sites and drop SSTATEPOSTINSTFUNC usage
Richard Purdie [Thu, 29 Aug 2024 11:57:40 +0000 (12:57 +0100)] 
buildhistory: Simplify intercept call sites and drop SSTATEPOSTINSTFUNC usage

We planned to drop SSTATEPOSTINSTFUNC some time ago with the introduction of
postfuncs. Finally get around to doing that which should make the buildhistory
code a little more readable.

Unfortunately ordering the buildhistory function calls after the sstate ones is
difficult without coding that into the sstate class. This patch does that to
ensure everything functions as expected until we can find a better way. This is
still likely preferable than the generic sstate postfuncs support since the function
flow is much more readable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agodejagnu: Fix LICENSE
Niko Mauno [Mon, 2 Sep 2024 11:09:12 +0000 (11:09 +0000)] 
dejagnu: Fix LICENSE

The contents of the COPYING file included in the current source code
package match those of GPL-3.0-only license, which seems to have been
the case since 2008 commit
http://git.savannah.gnu.org/gitweb/?p=dejagnu.git;a=commitdiff;h=9bebe7b9bfb9b02e5e4d86ad74e8ce3eb32a36b9;hp=50fbdd118dba066e201c73a8b0155381cd65a32d
("* COPYING: Update to GPL version 3.")

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agomc: set ac_cv_path_ZIP to avoid buildpaths QA issues
Martin Jansa [Mon, 2 Sep 2024 07:50:10 +0000 (09:50 +0200)] 
mc: set ac_cv_path_ZIP to avoid buildpaths QA issues

* in builds with zip in HOSTTOOLS mc fails with:
  ERROR: mc-4.8.31-r0 do_package_qa: QA Issue: File /usr/libexec/mc/extfs.d/uzip in package mc-helpers-perl contains reference to TMPDIR [buildpaths]
  and it's because of the path to zip:
  mc/4.8.31/package $ grep -R styhead .
  ./usr/libexec/mc/extfs.d/uzip:my $app_zip = "TMPDIR/hosttools/zip";

* don't use /usr/bin/env as in other cases, because app_zip is then used e.g. with:
  my $cmd_addlink = "$app_zip -g -y";

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolibpcap: upgrade 1.10.4 -> 1.10.5
Yi Zhao [Sat, 31 Aug 2024 23:03:27 +0000 (07:03 +0800)] 
libpcap: upgrade 1.10.4 -> 1.10.5

ChangeLog:
https://git.tcpdump.org/libpcap/blob/HEAD:/CHANGES

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopatchtest: test_non_auh_upgrade: improve parse logic
Trevor Gamblin [Sun, 1 Sep 2024 00:51:19 +0000 (20:51 -0400)] 
patchtest: test_non_auh_upgrade: improve parse logic

The AUH email address used for matching was outdated. Fix it so that it
correctly identifies emails using the new one.

Also make sure to only scan the commit message and not the body, since
it's possible (like in this patch) that the user may be editing actual
code that checks for AUH-related strings.

Fixes [YOCTO #15390].

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoiw: Fix LICENSE
Niko Mauno [Sun, 1 Sep 2024 05:20:11 +0000 (08:20 +0300)] 
iw: Fix LICENSE

The contents of the COPYING file included in the source code match
those of ISC license:
https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/tree/COPYING?h=v6.9
which seems to have been in effect since 2008 commit
https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/commit?id=622c36ae94a880fb53f7f051f1b26616f5b553c1
("license under ISC").

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopatchtest: test_shortlog_length: omit shortlog prefixes
Trevor Gamblin [Sat, 31 Aug 2024 01:39:03 +0000 (21:39 -0400)] 
patchtest: test_shortlog_length: omit shortlog prefixes

In certain cases, the shortlog for a patch would include branch and
'PATCH' tag information even after the repo tag got stripped out,
padding it with data that wouldn't actually be included with a merge.
This caused the patchtest test_shortlog_length test to erroneously
report a failure.

For example, a patch whose shortlog tags were:

[OE-core][master/scarthgap][PATCH]

would leave this behind in the shortlog, along with the actual content:

[master/scarthgap][PATCH]

Add a re.sub() call in the test to fix this by removing all square
bracket pairs that appear at the beginning of the string.

Fixes [YOCTO #15575].

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopatchtest: test_mbox: remove duplicate regex definition
Trevor Gamblin [Sat, 31 Aug 2024 01:39:02 +0000 (21:39 -0400)] 
patchtest: test_mbox: remove duplicate regex definition

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoffmpeg: Package example files in ffmpeg-examples
Ola x Nilsson [Tue, 27 Aug 2024 09:02:12 +0000 (11:02 +0200)] 
ffmpeg: Package example files in ffmpeg-examples

The most future proof way to not always ship the example files is to
package them separately.

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython: Backport fixes for CVE-2024-7592
Khem Raj [Sun, 25 Aug 2024 15:17:18 +0000 (08:17 -0700)] 
python: Backport fixes for CVE-2024-7592

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agotestexport: support for executing tests over serial
Andrew Oppelt [Tue, 13 Aug 2024 22:07:49 +0000 (15:07 -0700)] 
testexport: support for executing tests over serial

Uses TEST_SERIALCONTROL_CMD to open a serial connection to the target
and execute commands. This is a drop in replacement for the ssh target,
fully supporting the same API. Supported with testexport.

To use, set the following in local.conf:
- TEST_TARGET to "serial"
- TEST_SERIALCONTROL_CMD to a shell command or script which connects to
  the serial console of the target and forwards that connection to
  standard input/output.
- TEST_SERIALCONTROL_EXTRA_ARGS (optional) any parameters that must be
  passed to the serial control command.
- TEST_SERIALCONTROL_PS1 (optional) A regex string representing an empty
  prompt on the target terminal. Example: "root@target:.*# ". This is
  used to find an empty shell after each command is run. This field is
  optional and will default to "root@{MACHINE}:.*# " if no other value is
  given.
- TEST_SERIALCONTROL_CONNECT_TIMEOUT (optional) Specifies the timeout in
  seconds for the initial connection to the target. Defaults to 10 if no
  other value is given.

The serial target does have some additional limitations over the ssh
target.
1. Only supports one "run" command at a time. If two threads attempt to
   call "run", one will block until it finishes. This is a limitation of
   the serial link, since two connections cannot be opened at once.
2. For file transfer, the target needs a shell and the base32 program.
   The file transfer implementation was chosen to be as generic as
   possible, so it could support as many targets as possible.
3. Transferring files is significantly slower. On a 115200 baud serial
   connection, the fastest observed speed was 30kbps. This is due to
   overhead in the implementation due to decisions documented in #2
   above.

Signed-off-by: Andrew Oppelt <andrew.j.oppelt@boeing.com>
Signed-off-by: Matthew Weber <matthew.l.weber3@boeing.com>
Signed-off-by: Chuck Wolber <chuck.wolber@boeing.com>
--

Tested with core-image-sato on real hardware. TEST_SERIALCONTROL_CMD
was set to a bash script which connected with telnet to the target.

Additionally tested with QEMU by setting TEST_SERIALCONTROL_CMD to
"ssh -o StrictHostKeyChecking=no root@192.168.7.2". This imitates
a serial connection to the QEMU instance.

Steps:
1) Set the following in local.conf:
  - IMAGE_CLASSES += "testexport"
  - TEST_TARGET = "serial"
  - TEST_SERIALCONTROL_CMD="ssh -o StrictHostKeyChecking=no root@192.168.7.2"
2) Build an image
  - bitbake core-image-sato
3) Run the test export
  - bitbake -c testexport core-image-sato
4) Run the image in qemu
  - runqemu nographic core-image-sato
5) Navigate to the test export directory
6) Run the exported tests with target-type set to serial
 - ./oe-test runtime --test-data-file ./data/testdata.json --packages-manifest ./data/manifest --debug --target-type serial

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopackagegroup-core-tools-profile.bb: Enable aarch64 valgrind
John Ripple [Fri, 16 Aug 2024 16:01:24 +0000 (16:01 +0000)] 
packagegroup-core-tools-profile.bb: Enable aarch64 valgrind

The Valgrind recipe has had support for aarch64 for 9 years but the
packagegroup-core-tools-profile recipe still excludes valgrind on
aarch64 builds. This patch adds Valgrind when building the
package-group-core-tools-profile for aarch64 systems.

Signed-off-by: John Ripple <john.ripple@keysight.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoopenssh: Mark CVE-2023-51767 as wont-fix
Khem Raj [Mon, 19 Aug 2024 21:54:54 +0000 (14:54 -0700)] 
openssh: Mark CVE-2023-51767 as wont-fix

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agosystemd: dont set polkit permissions manually
Markus Volk [Wed, 14 Aug 2024 08:29:25 +0000 (10:29 +0200)] 
systemd: dont set polkit permissions manually

According to this commit polkit rules should go to ${datadir} instead of ${sysconfdir}:
https://git.openembedded.org/meta-openembedded/commit/?h=master-next&id=d5e90541f8e35916abc930b2da6de037b23d51a1
Theres no need to adjust the permissions for ${datadir} anymore:
https://git.openembedded.org/meta-openembedded/commit/?h=master-next&id=6da0fd21c900e32a0693a6b27d38182f19c8c76c

Dont set polkit permissions manually. This allows to drop the manually
set polkit permissions for all files in meta-openembedded and also for
libvirt in meta-virtualization.

In addition, manually setting the permissions would not be needed for
new recipes anymore.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoabi-version/ssate: Bump to avoid systemd hash corruption issue
Richard Purdie [Sat, 31 Aug 2024 21:20:59 +0000 (22:20 +0100)] 
abi-version/ssate: Bump to avoid systemd hash corruption issue

Unfortunately some recent patches caused non-deterministic output.
One input hash lead to both good and bad output and whilst that patch
has been fixed, the problematic hash 'cross' linkage remains. Bump to
a new sstate and hash equivalence version to avoid this and work from
a clean slate.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agou-boot: Ensure we use BFD as linker even if using GCC for it
Otavio Salvador [Fri, 30 Aug 2024 00:43:24 +0000 (21:43 -0300)] 
u-boot: Ensure we use BFD as linker even if using GCC for it

If we are using 'ld-is-gold' as DISTRO_FEATURE, the U-Boot Makefile has
mechanisms to ensure that we use BFD as linker. However, this does not
work for the GCC when it is used as linking tool.

To support that, we added explicit BFD use whenever we have the
DISTRO_FEATURE feature enabled.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoaspell: Backport a fix to build with gcc-15/clang-19
Khem Raj [Fri, 30 Aug 2024 07:13:38 +0000 (00:13 -0700)] 
aspell: Backport a fix to build with gcc-15/clang-19

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agobuildcfg.py: add dirty status to get_metadata_git_describe
Jörg Sommer [Fri, 30 Aug 2024 11:41:00 +0000 (13:41 +0200)] 
buildcfg.py: add dirty status to get_metadata_git_describe

For postmortem analysis it's helpful to know if the build environment was
clean or contained any modifications.

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoapr: upgrade 1.7.4 -> 1.7.5
Vijay Anusuri [Fri, 30 Aug 2024 10:42:18 +0000 (16:12 +0530)] 
apr: upgrade 1.7.4 -> 1.7.5

Refreshed patch 0001-configure-Remove-runtime-test-for-mmap-that-can-map-.patch

Includes security fix
CVE-2023-49582

changelog:
https://downloads.apache.org/apr/CHANGES-APR-1.7

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoinsane: Remove redundant returns
Ola x Nilsson [Fri, 30 Aug 2024 07:27:24 +0000 (09:27 +0200)] 
insane: Remove redundant returns

Some redundant return statements were left over from
insane: Drop oe.qa.add_message usage

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agooeqa/selftest/bbclasses: Add tests for systemd and update-rc.d interaction
Peter Kjellerstedt [Tue, 20 Aug 2024 19:54:40 +0000 (21:54 +0200)] 
oeqa/selftest/bbclasses: Add tests for systemd and update-rc.d interaction

These tests verify that the correct files are left behind when systemd
is inherited and depending on whether the systemd and/or sysvinit distro
features are enabled.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
11 months agosystemd.bbclass: Clean up empty parent directories
Peter Kjellerstedt [Tue, 20 Aug 2024 01:08:03 +0000 (03:08 +0200)] 
systemd.bbclass: Clean up empty parent directories

Previously, rm_systemd_unitdir() would remove one parent directory of
${systemd_unitdir} if it was empty after removing ${systemd_unitdir}.
rm_sysvinit_initddir() would not remove any parent directory. Thus, if
the only directory created in /etc was /etc/init.d, an empty /etc would
remain after the cleanup and would be packaged.

Simplify rm_systemd_unitdir() and rm_sysvinit_initddir() by rewriting
them in shell, and use rmdir -p to remove all empty parent directories.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
11 months agopiglit: add missing dependency on wayland
Dmitry Baryshkov [Fri, 30 Aug 2024 02:40:10 +0000 (05:40 +0300)] 
piglit: add missing dependency on wayland

After the recent piglit update it fails X11 builds reporting that it can
not find wayland-client package. Commit 9662bdabf3f6 ("piglit: upgrade
22eaf6a91c -> c11c9374c1") has added wayland-related dependencies to the
recipe's DEPENDS variable, but it seems it missed the target wayland
pacakge, making cross-compilation of piglit fail when building
X11-targeted configurations.

Pushing more and more wayland dependencies to a generic build doesn't
seem to be a good idea, so introduce "wayland" PACKAGECONFIG option,
move existing wayland-related dependencies to be guarded by it and add
dependency on the wayland package.

Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
Fixes: 9662bdabf3f6 ("piglit: upgrade 22eaf6a91c -> c11c9374c1")
Cc: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agorunqemu: add sd card device
Alessandro Pecugi [Thu, 29 Aug 2024 11:16:04 +0000 (13:16 +0200)] 
runqemu: add sd card device

runqemu currently only supports scsi, ide and virtio drive types.
Implement QB_DRIVE_TYPE=/dev/mmcblk which adds an sdhci-pci device and
mounts the rootfs file as an sd card.

Signed-off-by: Alessandro Pecugi <alessandro.pecugi@seco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agouboot-sign: fix counters in do_uboot_assemble_fitimage
Paul Gerber [Thu, 29 Aug 2024 10:43:36 +0000 (12:43 +0200)] 
uboot-sign: fix counters in do_uboot_assemble_fitimage

Without unsetting `j` and `k` for each `UBOOT_MACHINE`, `j` and `k`
are incremented in the same frequency as `i` and therefore `$j -eq $i`
and `$k -eq $i` is always true for the first `type` from `UBOOT_CONFIG`
and the first `binary` from `UBOOT_BINARIES`.

Signed-off-by: Paul Gerber <paul.gerber@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolinux-firmware: Move Silabs wfx firmware to a separate package
Alexander Sverdlin [Thu, 29 Aug 2024 19:36:33 +0000 (21:36 +0200)] 
linux-firmware: Move Silabs wfx firmware to a separate package

Separate 300KB wfx firmware from the rest of linux-firmware package.
With this change the wfx/LICENCE.wf200 is really packaged, before the
change it didn't fall into copying wildcard.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agorunqemu: Fix detection of -serial parameter
Jörg Sommer [Thu, 29 Aug 2024 18:33:45 +0000 (20:33 +0200)] 
runqemu: Fix detection of -serial parameter

The pattern `-serial` matches also `-device usb-serial` and `virtio-serial`
which are not the desired parameter. This causes the serial console ttyS1 is
missing and Systemd's getty@ttyS1 fails constantly.

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agofmt: Get rid of std::copy
Khem Raj [Thu, 29 Aug 2024 16:58:50 +0000 (09:58 -0700)] 
fmt: Get rid of std::copy

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-pyparsing: upgrade 3.1.2 -> 3.1.4
Trevor Gamblin [Thu, 29 Aug 2024 14:11:22 +0000 (10:11 -0400)] 
python3-pyparsing: upgrade 3.1.2 -> 3.1.4

Changelog (https://github.com/pyparsing/pyparsing/releases):

3.1.4

- Fixed a regression introduced in pyparsing 3.1.3, addition of a type
  annotation that referenced re.Pattern. Since this type was introduced
  in Python 3.7, using this type definition broke Python 3.6 installs of
  pyparsing 3.1.3. PR submitted by Felix Fontein, nice work!

3.1.3

- Added new Tag ParserElement, for inserting metadata into the parsed
  results. This allows a parser to add metadata or annotations to the
  parsed tokens. The Tag element also accepts an optional value
  parameter, defaulting to True. See the new tag_metadata.py example in
  the examples directory.

    Example:

      # add tag indicating mood
      end_punc = "." | ("!" + Tag("enthusiastic")))
      greeting = "Hello" + Word(alphas) + end_punc

      result = greeting.parse_string("Hello World.")
      print(result.dump())

      result = greeting.parse_string("Hello World!")
      print(result.dump())

    prints:

      ['Hello', 'World', '.']

      ['Hello', 'World', '!']
      - enthusiastic: True

- Added example mongodb_query_expression.py, to convert human-readable
  infix query expressions (such as a==100 and b>=200) and transform them
  into the equivalent query argument for the pymongo package ({'$and':
  [{'a': 100}, {'b': {'$gte': 200}}]}). Supports many equality and
  inequality operators - see the docstring for the transform_query
  function for more examples.
- Fixed issue where PEP8 compatibility names for ParserElement static
  methods were not themselves defined as staticmethods. When called
  using a ParserElement instance, this resulted in a TypeError
  exception. Reported by eylenburg (#548).  To address a compatibility
  issue in RDFLib, added a property setter for the ParserElement.name
  property, to call ParserElement.set_name.  Modified
  ParserElement.set_name() to accept a None value, to clear the defined
  name and corresponding error message for a ParserElement.  Updated
  railroad diagram generation for ZeroOrMore and OneOrMore expressions
  with stop_on expressions, while investigating #558, reported by user
  Gu_f.  Added <META> tag to HTML generated for railroad diagrams to
  force UTF-8 encoding with older browsers, to better display Unicode
  parser characters.
- Fixed some cosmetics/bugs in railroad diagrams: fixed groups being
  shown even when show_groups=False show results names as quoted strings
  when show_results_names=True only use integer loop counter if
  repetition > 2
- Some type annotations added for parse action related methods, thanks
  August Karlstedt (#551).
- Added exception type to trace_parse_action exception output, while
  investigating SO question posted by medihack.
- Added set_name calls to internal expressions generated in
  infix_notation, for improved railroad diagramming.
- delta_time, lua_parser, decaf_parser, and roman_numerals examples
  cleaned up to use latest PEP8 names and add minor enhancements.
- Fixed bug (and corresponding test code) in delta_time example that did
  not handle weekday references in time expressions (like "Monday at
  4pm") when the weekday was the same as the current weekday.
- Minor performance speedup in trim_arity, to benefit any parsers using
  parse actions.
- Added early testing support for Python 3.13 with JIT enabled.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-hypothesis: upgrade 6.111.1 -> 6.111.2
Trevor Gamblin [Thu, 29 Aug 2024 14:11:21 +0000 (10:11 -0400)] 
python3-hypothesis: upgrade 6.111.1 -> 6.111.2

Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html)

6.111.2 - 2024-08-24
- This patch contains some internal code cleanup. There is no user-visible change.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolz4: Disable static libraries again
Richard Purdie [Thu, 29 Aug 2024 10:09:16 +0000 (11:09 +0100)] 
lz4: Disable static libraries again

This option was incorrectly removed in the recent upgrade. We don't use/need
the static library so disable the build of it to save time/disk usage.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolz4: Fix static library reproducibility issue
Richard Purdie [Thu, 29 Aug 2024 10:05:48 +0000 (11:05 +0100)] 
lz4: Fix static library reproducibility issue

The autobuilder was seeing an intermittent reproducbility issue in lz4 with
regard to symbol ordering in the static library. Add a patch to fix this which
has been submitted upstream.

Fix the SRC_URI whitespace and cleanup the patch directory naming whilst here.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agorust: Upgrade 1.78.0->1.79.0
Yash Shinde [Thu, 29 Aug 2024 08:33:55 +0000 (01:33 -0700)] 
rust: Upgrade 1.78.0->1.79.0

Update the patch files with rust v1.79.0.

Drop the following backported patch which is merged
with rust v1.79 upgrade.

- cross-targets-backport.patch

https://blog.rust-lang.org/2024/06/13/Rust-1.79.0.html

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agorust: Oe-selftest changes for rust v1.79
Yash Shinde [Thu, 29 Aug 2024 08:33:54 +0000 (01:33 -0700)] 
rust: Oe-selftest changes for rust v1.79

* Sort the exclude list in alphabetical order.

* Add some of the upsupported/failing tests to the exclude list
  and ignore the failing unit tests.

* Remove duplicated tests from the exclude list.

* Testing summary
    Target                PASS                    SKIPPED

    ARM                   17241                    599
    ARM64                 17279                    561
    MIPS64                17228                    612
    PPC                   17194                    629
    X86                   17257                    583
    X86-64                17416                    424

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agozlib: Enable PIE for native builds
Yash Shinde [Thu, 29 Aug 2024 08:33:56 +0000 (01:33 -0700)] 
zlib: Enable PIE for native builds

The zlib crate in rust uses libz.a which comes from the zlib-native build.
Some distros like alma9, fedora etc. do not have PIE enabled by default for system compiler.

This leads to target-rust-ccld linking error for cargo-native as (line no 22936):
error: linking with `/home/pokybuild/yocto-worker/qemuarm64/build/build/tmp/work/x86_64-linux/cargo-native/1.79.0/wrapper/target-rust-ccld` failed: exit status: 1

https://autobuilder.yoctoproject.org/typhoon/#/builders/42/builds/9385/steps/13/logs/stdio

Hence, enable PIE option to CFLAGS for native builds.

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agogdb: Fix build with latest clang
Khem Raj [Wed, 28 Aug 2024 19:41:32 +0000 (12:41 -0700)] 
gdb: Fix build with latest clang

This patch is already proposed upstream and perhaps landing
soon in gdb master.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoresulttool: Add support to create test report in JUnit XML format
Clara Kowalsky [Wed, 28 Aug 2024 09:20:27 +0000 (11:20 +0200)] 
resulttool: Add support to create test report in JUnit XML format

This adds the functionality to convert the results of the
testresults.json file to a unit test report in JUnit XML format. The
unit test report can be used in the CI/CD pipeline to display the test
results.

To use the resulttool scripts, first source oe environment, then run the
entry point script to look for help.
$ resulttool

To generate the unit test report, execute the below
$ resulttool junit <json_file>

By default the unit test report is stored as
<build_dir>/tmp/log/oeqa/junit.xml.

Signed-off-by: Clara Kowalsky <clara.kowalsky@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoselftest/sstatetests: Extend to cover ERROR_QA/WARN_QA common issues
Richard Purdie [Thu, 29 Aug 2024 10:56:07 +0000 (11:56 +0100)] 
selftest/sstatetests: Extend to cover ERROR_QA/WARN_QA common issues

Now that adding new values to ERROR_QA doesn't invalidate tasks, add this
check to the selftests so that this functionality doens't regress in future.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoinsane: Allow ERROR_QA to use 'contains' hash optimisations for do_package_qa
Richard Purdie [Wed, 28 Aug 2024 20:52:46 +0000 (21:52 +0100)] 
insane: Allow ERROR_QA to use 'contains' hash optimisations for do_package_qa

We want ERROR_QA to operate using the "contains" optimizations which means
accessing the variable only using the contains function.

To do this, remove usage of ALL_QA, open coding the few references to check
both WARN_QA and ERROR_QA.

Move the function table generation to a separate function where we can exclude
the ERROR_QA and WARN_QA variables since they are handled by the handle_error()
function calls.

Ensure all the chain of functions to the handle_error calls is correctly
recognised in the variable dependencies.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoinsane: Further simplify code
Richard Purdie [Wed, 28 Aug 2024 17:37:56 +0000 (18:37 +0100)] 
insane: Further simplify code

Now handle_error is used, we can further simplify the QA test execution
as we don't need seperate function lists for warnings and errors.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoinsane: Add missing vardepsexclude
Richard Purdie [Thu, 29 Aug 2024 06:38:51 +0000 (07:38 +0100)] 
insane: Add missing vardepsexclude

If we improve the function dependency visibility in insane.bbclass, it
exposes some dependencies which were previously not seen causing variances
in the do_package_qa task checksums. Update vardepsexclude in a couple of
test cases to ensure the sstate hash selftests pass and the taskhashes
don't vary when we don't expect them too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoinsane: Drop oe.qa.add_message usage
Richard Purdie [Wed, 28 Aug 2024 16:10:28 +0000 (17:10 +0100)] 
insane: Drop oe.qa.add_message usage

Drop the oe.qa.add_message() usage in favour of oe.qa.handle_error() which has
code allowing it to be optimised with contains usage.

The patch also drops unused return values which we stopped using a while ago
and drops the now unneeded function parameters, generally leading to cleaner
code.

The code should be functionally equivalent.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoinsane: Optimise ERROR_QA/WARN_QA references in do_populate_sysroot
Richard Purdie [Wed, 28 Aug 2024 12:03:08 +0000 (13:03 +0100)] 
insane: Optimise ERROR_QA/WARN_QA references in do_populate_sysroot

The new contains code can't inspect variable references in handle_error()
calls. Expand what is effectively a hardcoded reference anyway so the code
can optimise it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolib/oe: Use new visitorcode functionality for qa.handle_error()
Richard Purdie [Wed, 28 Aug 2024 11:58:30 +0000 (12:58 +0100)] 
lib/oe: Use new visitorcode functionality for qa.handle_error()

Early functions like do_recipe_qa (which do_fetch depends upon) reference
oe.qa.handle_error() which in turn adds dependencies on ERROR_QA and
WARN_QA. This means that ERROR_QA:append = " nothing" will cause
literally everything to rebuild and break sstate reuse.

Take advantage of new bitbake functionality to add a custom visitorcode
function to handle_error which optimises the references into contains
expressions which means the ERROR_QA and WARN_QA references are optmised
to containing specific strings. This dramatically improves sstate reuse.

The qa module has to be imported first since other code in later modules
references it and bitbake can't handle the dependency ordering internally
without a lot of unwanted complexity.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agomusl: Upgrade to latest tip of trunk
Khem Raj [Tue, 27 Aug 2024 16:26:04 +0000 (09:26 -0700)] 
musl: Upgrade to latest tip of trunk

Bring following changes on top of 1.2.5

dd1e63c3 syslog: revert LOG_FAC/LOG_FACMASK changes
008f737d siglongjmp: document why this function just calls longjmp
947b4574 inet_ntop: fix the IPv6 leading zero sequence compression
50ab8306 dynlink: avoid copying to temp buffer in get_lfs64
1b97d006 sys/epoll.h: add epoll ioctls
ab31e9d6 getusershell: skip blank lines and comments
53ac44ff dynlink: fix get_lfs64() with posix_fallocate64
895736d4 syslog: fix incorrect LOG_MAKEPRI and LOG_FAC[MASK] macros
05ce67fe add renameat2 linux syscall wrapper
00799729 fix mismatched type in posix_getdents definition
cbf59dd6 aarch64 crti.o: fix alignment of _init/_fini
84015cee fix typo that broke sys/reg.h and sys/user.h
1b0d4851 implement posix_getdents adopted for next issue of POSIX
2c124e13 stdint.h: derive limits from __LONG_MAX, use common fast16 types
7019fbe1 sys/user.h: derive __WORDSIZE from __LONG_MAX
e709a6f0 sys/reg.h: derive __WORDSIZE from __LONG_MAX
29b216b2 unistd.h: derive ILP32/LP64 macros from __LONG_MAX instead of arch bits
0dfa1d8c unify bits/stat.h for all archs sharing a common definition
ef600888 align aarch64, riscv64, loongarch64 stat structure padding type
6f666231 ldso: fix non-functional fix to early dynamic PAGE_SIZE access
fced99e9 strptime: implement conversion specifiers adopted for next POSIX issue
3f9d4224 printf decimal integer formatting: shave off one division
a23cf8f9 riscv mcontext_t/sigcontext: use __aligned__ instead of aligned
cbf1c7b6 add missing STATX_ATTR_* macros omitted when statx was added
3f49203c initgroups: do not artificially limit number of supplementary groups
24ebbbde printf: fix edge case where hex float precision was not honored
e3b0ace5 complex: fix comment in cacosh
9683bd62 math: fix fma(x,y,0) when x*y rounds to -0
5370070f fix pwrite/pwritev handling of O_APPEND files
bdc9a9ff uio.h: add RWF_NOAPPEND flag for pwritev2
7ada6dde iconv: fix missing bounds checking for shift_jis decoding
fd7d0185 add missing inline keyword on default a_barrier definition
b5121e2e iconv: add aliases for GBK
ca6f46af iconv: add euro symbol to GBK as single byte 0x80

(From OE-Core rev: 70179bc94c90ba1f33a3fff8f3019cb96fcdbaef)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>