]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/log
thirdparty/openembedded/openembedded-core.git
2 years agolinux-yocto/6.4: update to v6.4.12
Bruce Ashfield [Tue, 5 Sep 2023 14:37:09 +0000 (10:37 -0400)] 
linux-yocto/6.4: update to v6.4.12

Updating  to the latest korg -stable release that comprises
the following commits:

    05d8970cca01 Linux 6.4.12
    b237550e1f1b net: fix the RTO timer retransmitting skb every 1ms if linear option is enabled
    4a3fcfc3b517 af_unix: Fix null-ptr-deref in unix_stream_sendpage().
    cdd01bada273 ASoC: SOF: intel: hda: Clean up link DMA for IPC3 during stop
    c1fc26cc6637 Revert "perf report: Append inlines to non-DWARF callchains"
    5b6284759656 drm/amdgpu: keep irq count in amdgpu_irq_disable_all
    6ccbdc0a018e drm/amd/pm: skip the RLC stop when S0i3 suspend for SMU v13.0.4/11
    04ee31fb4861 drm/amd/display: disable RCO for DCN314
    0469cd57d5da ASoC: amd: vangogh: select CONFIG_SND_AMD_ACP_CONFIG
    0fbdf79d003c drm/amdgpu/pm: fix throttle_status for other than MP1 11.0.7
    11c187026cce drm/amdgpu: skip fence GFX interrupts disable/enable for S0ix
    333f1edde0ad drm/amd: flush any delayed gfxoff on suspend entry
    fcb4a0bd819b drm/i915/sdvo: fix panel_type initialization
    19a213d106a1 Revert "Revert "drm/amdgpu/display: change pipe policy for DCN 2.0""
    d3ffc25912d6 Revert "drm/edid: Fix csync detailed mode parsing"
    a79aebe5bb68 drm/qxl: fix UAF on handle creation
    5c10ce0d815f mmc: sunplus: Fix error handling in spmmc_drv_probe()
    741a951f4192 mmc: sunplus: fix return value check of mmc_add_host()
    43a181a53c1a mmc: block: Fix in_flight[issue_type] value error
    62507bca734f mmc: wbsd: fix double mmc_free_host() in wbsd_init()
    cc3fa629bf13 mmc: f-sdh30: fix order of function calls in sdhci_f_sdh30_remove
    c65a1be58f09 dt-bindings: pinctrl: qcom,sa8775p-tlmm: add gpio function constant
    ceecb1bcaf7a media: uvcvideo: Fix menu count handling for userspace XU mappings
    531c6ed342d9 blk-crypto: dynamically allocate fallback profile
    8a33c9e15b7d arm64/ptrace: Ensure that the task sees ZT writes on first use
    e01af8e26c23 arm64/ptrace: Ensure that SME is set up for target when writing SSVE state
    44463c32622f arm64: dts: rockchip: Fix Wifi/Bluetooth on ROCK Pi 4 boards
    901ace2effdf virtio-net: Zero max_tx_vq field for VIRTIO_NET_CTRL_MQ_HASH_CONFIG case
    aa402a3b553b regulator: da9063: better fix null deref with partial DT
    abcd2a0b4f58 smb: client: fix null auth
    b8e7ee1d9c6b parisc: Fix CONFIG_TLB_PTLOCK to work with lightweight spinlock checks
    7a9fb689c1a1 cifs: Release folio lock on fscache read hit.
    8bd9786a1b57 ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces.
    375806616f8c serial: 8250: Fix oops for port->pm on uart_change_pm()
    258b867f40f0 riscv: uaccess: Return the number of bytes effectively not copied
    3f0605239fa2 riscv: correct riscv_insn_is_c_jr() and riscv_insn_is_c_jalr()
    761cf8f7a922 riscv: entry: set a0 = -ENOSYS only when syscall != -1
    4039f5e9e9d9 ALSA: hda/realtek - Remodified 3k pull low procedure
    d9a5ad4477d2 soc: aspeed: socinfo: Add kfree for kstrdup
    776133d21391 soc: aspeed: uart-routing: Use __sysfs_match_string
    7c315e716ba3 pinctrl: qcom: Add intr_target_width field to support increased number of interrupt targets
    44f3d2d2ae44 ALSA: hda/realtek: Add quirks for HP G11 Laptops
    cf2983df94de ASoC: meson: axg-tdm-formatter: fix channel slot allocation
    5de8e85b6734 ASoC: rt5665: add missed regulator_bulk_disable
    f163dc22e339 arm64: dts: imx93: Fix anatop node size
    5fb0d35fac3f ASoC: max98363: don't return on success reading revision ID
    66f202b1dcb6 ARM: dts: imx: Set default tuning step for imx6sx usdhc
    fe4d623f2e1b arm64: dts: imx8mm: Drop CSI1 PHY reference clock configuration
    a1aab731f0c8 ARM: dts: imx: Set default tuning step for imx7d usdhc
    969d3e64ebe7 ARM: dts: imx: Adjust dma-apbh node name
    506f787bd717 ARM: dts: imx6: phytec: fix RTC interrupt level
    0e67e84a2847 arm64: dts: rockchip: Disable HS400 for eMMC on ROCK 4C+
    749e4dbb3c96 arm64: dts: rockchip: Disable HS400 for eMMC on ROCK Pi 4
    59de878d1185 arm64: dts: qcom: qrb5165-rb5: fix thermal zone conflict
    28b634c9b328 bus: ti-sysc: Flush posted write on enable before reset
    24f0d69da35d ice: Block switchdev mode when ADQ is active and vice versa
    7d25579fb978 qede: fix firmware halt over suspend and resume
    e3636862f559 net: do not allow gso_size to be set to GSO_BY_FRAGS
    07ec025d7125 sock: Fix misuse of sk_under_memory_pressure()
    7575a3f1443c sfc: don't fail probe if MAE/TC setup fails
    80b707ac5d03 sfc: don't unregister flow_indr if it was never registered
    612b57e85162 sfc: add fallback action-set-lists for TC offload
    ff4ad046da4e net: dsa: mv88e6xxx: Wait for EEPROM done before HW reset
    872feeecd08c drm/nouveau/disp: fix use-after-free in error handling of nouveau_connector_create
    9a5d622b54dc net/mlx5e: XDP, Fix fifo overrun on XDP_REDIRECT
    8896f8498538 i40e: fix misleading debug logs
    62b46d6010f3 iavf: fix FDIR rule fields masks validation
    881faff9e548 net: openvswitch: reject negative ifindex
    1ac37294f952 team: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
    6095d0c396a9 net: phy: broadcom: stub c45 read/write for 54810
    8e249f8ffe16 netfilter: nft_dynset: disallow object maps
    c26cc57f41c6 netfilter: nf_tables: GC transaction race with netns dismantle
    3bdf400a1ad1 netfilter: nf_tables: fix GC transaction races with netns and netlink event exit path
    6650bebaa564 ipvs: fix racy memcpy in proc_do_sync_threshold
    c050b4c998f1 netfilter: set default timeout to 3 secs for sctp shutdown send and recv state
    156369a702c3 netfilter: nf_tables: don't fail inserts if duplicate has expired
    83ff16e449a6 netfilter: nf_tables: deactivate catchall elements in next generation
    a8f303445a5e netfilter: nf_tables: fix false-positive lockdep splat
    d410a96e5cb8 accel/qaic: Clean up integer overflow checking in map_user_pages()
    df45c3e46cdb accel/qaic: Fix slicing memory leak
    a0d348c61d08 net: veth: Page pool creation error handling for existing pools only
    62312e2f6466 octeon_ep: cancel queued works in probe error path
    067a5ec70ee1 octeon_ep: cancel ctrl_mbox_task after intr_poll_task
    1c5cc171ab10 octeon_ep: cancel tx_timeout_task later in remove sequence
    7757c240bf0e octeon_ep: fix timeout value for waiting on mbox response
    e6cf72c0330c net: macb: In ZynqMP resume always configure PS GTR for non-wakeup source
    8890f5b665a0 drm/i915/guc/slpc: Restore efficient freq earlier
    37e8031e134d drm/panel: simple: Fix AUO G121EAN01 panel timings according to the docs
    e75311fa503d selftests: mirror_gre_changes: Tighten up the TTL test match
    59f3d9198db7 net: phy: fix IRQ-based wake-on-lan over hibernate / power off
    2361c766093b net: pcs: Add missing put_device call in miic_create
    3c8608fb8d87 virtio-net: set queues after driver_ok
    c8ce01aad133 xfrm: don't skip free of empty state in acquire policy
    757eaa5d7625 xfrm: delete offloaded policy
    a9020514f175 xfrm: add forgotten nla_policy for XFRMA_MTIMER_THRESH
    53df4be4f522 xfrm: add NULL check in xfrm_update_ae_params
    78e397a43e1c ip_vti: fix potential slab-use-after-free in decode_session6
    c070688bfbe7 ip6_vti: fix slab-use-after-free in decode_session6
    86f15300a226 xfrm: fix slab-use-after-free in decode_session6
    21a3a70cf3ea xfrm: Silence warnings triggerable by bad packets
    6d1e6152778c net: xfrm: Amend XFRMA_SEC_CTX nla_policy structure
    66e1cd1b06c0 net: af_key: fix sadb_x_filter validation
    5713c7ca31f5 net: xfrm: Fix xfrm_address_filter OOB read
    e854497f5acf x86/srso: Correct the mitigation status when SMT is disabled
    dc4d07ddc4ff x86/retpoline,kprobes: Skip optprobe check for indirect jumps with retpolines and IBT
    aadb82bb7c65 x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANG
    51fc0a886211 x86/srso: Disable the mitigation on unaffected configurations
    1251b96d79fc x86/CPU/AMD: Fix the DIV(0) initial fix attempt
    48a558fbe848 x86/retpoline: Don't clobber RFLAGS during srso_safe_ret()
    92588f22a2a6 x86/static_call: Fix __static_call_fixup()
    37e6d8509c19 objtool/x86: Fixup frame-pointer vs rethunk
    c70e2efa972b x86/srso: Explain the untraining sequences a bit more
    04103096c1c3 x86/cpu/kvm: Provide UNTRAIN_RET_VM
    9588fd887886 x86/cpu: Cleanup the untrain mess
    ee621dddfe0f x86/cpu: Rename srso_(.*)_alias to srso_alias_\1
    5c510151d769 x86/cpu: Rename original retbleed methods
    4f0d18c28fcb x86/cpu: Clean up SRSO return thunk mess
    06bcb3dadce7 x86/alternative: Make custom return thunk unconditional
    2d4d8761e314 objtool/x86: Fix SRSO mess
    1e7b3334d180 x86/cpu: Fix up srso_safe_ret() and __x86_return_thunk()
    7047af224197 x86/cpu: Fix __x86_return_thunk symbol type
    385f438b5807 i2c: designware: Handle invalid SMBus block data response length value
    b2ef640ff40d i2c: designware: Correct length byte validation logic
    c4b460b5fa92 btrfs: only subtract from len_to_oe_boundary when it is tracking an extent
    8add2a9644e4 btrfs: fix replace/scrub failure with metadata_uuid
    ae81329f7de3 btrfs: fix BUG_ON condition in btrfs_cancel_balance
    b43a4c99d878 btrfs: fix incorrect splitting in btrfs_drop_extent_map_range
    5441532ffc9c btrfs: fix infinite directory reads
    c5be9bc0dff6 tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms
    f40e70d7f40b tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux
    1c37d5101e40 smb3: display network namespace in debug information
    98085d20c49c vdpa: Enable strict validation for netlinks ops
    ea65e8b5e6b1 vdpa: Add max vqp attr to vdpa_nl_policy for nlattr length check
    ccb533b7070a vdpa: Add queue index attr to vdpa_nl_policy for nlattr length check
    645d17e06c50 vdpa: Add features attr to vdpa_nl_policy for nlattr length check
    6acb8a453388 powerpc/rtas_flash: allow user copy to flash block cache objects
    1ced17e05dc6 media: mtk-jpeg: Set platform driver data earlier
    92010480edc9 fbdev: mmp: fix value check in mmphw_probe()
    cd4ffdf56791 blk-cgroup: hold queue_lock when removing blkg->q_node
    3c38774dbaaa i2c: tegra: Fix i2c-tegra DMA config option processing
    4c07b591014e i2c: hisi: Only handle the interrupt of the driver's transfer
    64d83e2c2fcb i2c: bcm-iproc: Fix bcm_iproc_i2c_isr deadlock issue
    4f210ab49736 rust: macros: vtable: fix `HAS_*` redefinition (`gen_const_name`)
    6b67a6d2e506 cifs: fix potential oops in cifs_oplock_break
    8671f8bdc7c0 vdpa/mlx5: Delete control vq iotlb in destroy_mr only when necessary
    bfb5564d969e vdpa/mlx5: Fix mr->initialized semantics
    fa450621efab virtio-vdpa: Fix cpumask memory leak in virtio_vdpa_find_vqs()
    a44a443dd12d vduse: Use proper spinlock for IRQ injection
    2dcb368fe5a8 virtio-mmio: don't break lifecycle of vm_dev
    049a8ae7f818 regulator: qcom-rpmh: Fix LDO 12 regulator for PM8550
    7569c4294ba6 btrfs: fix use-after-free of new block group that became unused
    5d19abcffd84 btrfs: move out now unused BG from the reclaim list
    02e52d7daaa3 ring-buffer: Do not swap cpu_buffer during resize process
    f2b06472be43 Bluetooth: MGMT: Use correct address for memcpy()
    3cecad9f4b81 powerpc/kasan: Disable KCOV in KASAN code
    3447bfd9d5d1 ALSA: hda/realtek: Add quirk for ASUS ROG GZ301V
    6e8d944d9e60 ALSA: hda/realtek: Add quirk for ASUS ROG G614Jx
    345fa36353da ALSA: hda/realtek: Amend G634 quirk to enable rear speakers
    cd7bee74ed63 ALSA: hda/realtek: Add quirk for ASUS ROG GA402X
    485cbcb5089d ALSA: hda/realtek: Add quirk for ASUS ROG GX650P
    b32e40379e5b ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync()
    472b6955ec2c ALSA: hda/realtek: Add quirks for Unis H3C Desktop B760 & Q760
    ec904a70e02a fs/ntfs3: Alternative boot if primary boot is corrupted
    209b0468acea fs/ntfs3: Mark ntfs dirty when on-disk struct is corrupted
    c5d39f001526 fs: ntfs3: Fix possible null-pointer dereferences in mi_read()
    1474098b590a fs/ntfs3: Return error for inconsistent extended attributes
    64fab8bce523 fs/ntfs3: Enhance sanity check while generating attr_list
    f5db29ce2502 drm/amdgpu: Fix potential fence use-after-free v2
    6eb77ac68f7a ceph: try to dump the msgs when decoding fails
    c68268e1ba8a Bluetooth: btusb: Add MT7922 bluetooth ID for the Asus Ally
    255be6815029 Bluetooth: L2CAP: Fix use-after-free
    552a15a0b4dd watchdog: sp5100_tco: support Hygon FCH/SCH (Server Controller Hub)
    9860921ab452 firewire: net: fix use after free in fwnet_finish_incoming_packet()
    3ab42eba15a1 thunderbolt: Limit Intel Barlow Ridge USB3 bandwidth
    9f1bd1392336 thunderbolt: Add Intel Barlow Ridge PCI ID
    fd53a1f28fab pcmcia: rsrc_nonstatic: Fix memory leak in nonstatic_release_resource_db()
    42077d4de49e gfs2: Fix possible data races in gfs2_show_options()
    d7b9e07ed765 usb: chipidea: imx: add missing USB PHY DPDM wakeup setting
    97ce5c4e7e5e usb: chipidea: imx: turn off vbus comparator when suspend
    15494054b51f usb: chipidea: imx: don't request QoS for imx8ulp
    000dd3a768e9 xhci: get rid of XHCI_PLAT quirk that used to prevent MSI setup
    84ee48939551 thunderbolt: Read retimer NVM authentication status prior tb_retimer_set_inbound_sbtx()
    4d299e6e0ac3 media: platform: mediatek: vpu: fix NULL ptr dereference
    61c7abd743b0 usb: gadget: uvc: queue empty isoc requests if no video buffer is available
    e20a23b34245 usb: gadget: u_serial: Avoid spinlock recursion in __gs_console_push
    0d353e6cd313 media: camss: set VFE bpl_alignment to 16 for sdm845 and sm8250
    e01ea1c4191e media: v4l2-mem2mem: add lock to protect parameter num_rdy
    09b490f3bb2a led: qcom-lpg: Fix resource leaks in for_each_available_child_of_node() loops
    9eb0bd1eeaac serial: stm32: Ignore return value of uart_remove_one_port() in .remove()
    759ffc164d95 cifs: fix session state check in reconnect to avoid use-after-free issue
    eb79f8dfba34 smb: client: fix warning in cifs_smb3_do_mount()
    c4f7f31b3a0e Revert "[PATCH] uml: export symbols added by GCC hardened"
    2356f03d50c1 HID: intel-ish-hid: ipc: Add Arrow Lake PCI device ID
    12f415a07490 ASoC: SOF: core: Free the firmware trace before calling snd_sof_shutdown()
    49698f5f3c3e drm/amd/display: Enable dcn314 DPP RCO
    49d5f97be648 drm/amd/display: Skip DPP DTO update if root clock is gated
    48c9a6f964a0 RDMA/bnxt_re: consider timeout of destroy ah as success.
    04704c201bb0 RDMA/mlx5: Return the firmware result upon destroying QP/RQ
    a3a96bf843c3 drm/amdgpu: unmap and remove csa_va properly
    8fd4d6d3619a drm/amd/display: Apply 60us prefetch for DCFCLK <= 300Mhz
    dcfd5a3ecf91 drm/amd/display: Remove v_startup workaround for dcn3+
    aa9e9ba5748c drm/amdgpu: install stub fence into potential unused fence pointers
    f03bcd68082f iommu/amd: Introduce Disable IRTE Caching Support
    45c5f38073ef HID: logitech-hidpp: Add USB and Bluetooth IDs for the Logitech G915 TKL Keyboard
    cfe5e5d87e93 HID: i2c-hid: goodix: Add support for "goodix,no-reset-during-suspend" property
    b5f4d1915090 dt-bindings: input: goodix: Add "goodix,no-reset-during-suspend" property
    973e0890e526 accel/habanalabs: fix mem leak in capture user mappings
    7f59afa93ffc accel/habanalabs: add pci health check during heartbeat
    4503b78fe6cd dma-remap: use kvmalloc_array/kvfree for larger dma memory remap
    aa09a767b3ae ASoC: SOF: Intel: fix SoundWire/HDaudio mutual exclusion
    848149e899c3 iopoll: Call cpu_relax() in busy loops
    b1079090c9c2 ASoC: Intel: sof_sdw: Add support for Rex soundwire
    09c98d0de748 ASoC: Intel: sof_sdw: add quick for Dell SKU 0BDA
    6fc290c768fc ASoC: Intel: sof_sdw_rt_sdca_jack_common: test SOF_JACK_JDSRC in _exit
    a2394961ca96 ARM: dts: imx6dl: prtrvt, prtvt7, prti6q, prtwd2: fix USB related warnings
    9376002694e3 RDMA/mana_ib: Use v2 version of cfg_rx_steer_req to enable RX coalescing
    1260703fbc87 ASoC: amd: vangogh: Add check for acp config flags in vangogh platform
    c212c2b01db2 drm: rcar-du: remove R-Car H3 ES1.* workarounds
    a6e0079b14f0 arm64: dts: qcom: ipq5332: add QFPROM node
    04fe3b825282 drm/stm: ltdc: fix late dereference check
    7235fb8db5e7 ASoC: SOF: amd: Add pci revision id check
    a740b0c82f16 ASoC: cs35l56: Move DSP part string generation so that it is done only once
    de8d025da18e PCI: tegra194: Fix possible array out of bounds access
    2bb7ffec12b6 ASoC: Intel: sof_sdw: add quirk for LNL RVP
    0755560e39ad ASoC: Intel: sof_sdw: add quirk for MTL RVP
    f15682b9d366 Revert "drm/amd/display: disable SubVP + DRR to prevent underflow"
    8d8c96efcec9 drm/amdgpu: fix memory leak in mes self test
    c3deb091398e drm/amdgpu: Fix integer overflow in amdgpu_cs_pass1
    756d674117f5 drm/amdgpu: fix calltrace warning in amddrm_buddy_fini
    4bea16716950 drm/scheduler: set entity to NULL in drm_sched_entity_pop_job()
    dd2e5d3f806b drm/amd/display: Update DTBCLK for DCN32
    86fd1f1ec4dd net: phy: at803x: fix the wol setting functions
    b129b7537a56 net: phy: at803x: Use devm_regulator_get_enable_optional()
    0ba71114c3af crypto, cifs: fix error handling in extract_iter_to_sg()

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto/6.1: fix CONFIG_F2FS_IO_TRACE configuration warning
Bruce Ashfield [Tue, 5 Sep 2023 14:37:08 +0000 (10:37 -0400)] 
linux-yocto/6.1: fix CONFIG_F2FS_IO_TRACE configuration warning

Integrating the following commit(s) to linux-yocto/.:

    70924d2512b features/f2fs: remove CONFIG_F2FS_IO_TRACE

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto/6.4: fix CONFIG_F2FS_IO_TRACE configuration warning
Bruce Ashfield [Tue, 5 Sep 2023 14:37:07 +0000 (10:37 -0400)] 
linux-yocto/6.4: fix CONFIG_F2FS_IO_TRACE configuration warning

Integrating the following commit(s) to linux-yocto/.:

    97bba4db5ff features/f2fs: remove CONFIG_F2FS_IO_TRACE

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemu: Add patches to resolve x86 and then mips boot issues
Richard Purdie [Wed, 6 Sep 2023 16:49:07 +0000 (17:49 +0100)] 
qemu: Add patches to resolve x86 and then mips boot issues

qemu 8.1.0 doesn't boot on x86. After adding tcg fixes for that, mips boot
breaks so also add patches for that as well.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemu: Upgrade 8.0.4 -> 8.1.0
Richard Purdie [Thu, 24 Aug 2023 15:41:20 +0000 (16:41 +0100)] 
qemu: Upgrade 8.0.4 -> 8.1.0

This upgrade isn't straighforward as upstream made changes. A pyenv
is now needed containing meson. This doesn't work for us for reasons
as yet unclear however it does mean we need python3native inherited
for that to stand a chance of working as otherwise host system
dependencies may be missing. For now, allow meson to work from our
sysroot via a patch. Our meson is always deterministic anyway so
we don't need their help for that.

The submodules approach used previously has changed, switch the options
for new ones to disable downloads and docs.

Some of the images binaries shipped for s390 show QA warnings for
relocations in code sections. Drop those binaries to avoid the QA
warnings since we don't need them anyway.

Drop a backported patch and refresh another.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux/generate-cve-exclusions: print the generated time in UTC
Yuta Hayama [Tue, 5 Sep 2023 07:29:07 +0000 (16:29 +0900)] 
linux/generate-cve-exclusions: print the generated time in UTC

Allow time comparisons to be made regardless of where the script was run.

Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoglibc-package: Fix conflict error when enable multilib.
Lei Maohui [Tue, 5 Sep 2023 07:07:49 +0000 (15:07 +0800)] 
glibc-package: Fix conflict error when enable multilib.

file /usr/include/bits/math-vector.h from install of lib32-libc6-dev-2.38-r0.armv7ahf_neon conflicts with file from package libc6-dev-2.38-r0.aarch64

Reference to the git log of glibc, upstream modified math-vector.h for
aarch64, so this file has many differences from aarch32.
For detailed modifications, please refer to these two commit log of
glibc:
commit 4a9392ffc27ad280f84779eea3ba01f2c134d1d8
commit 78c01a5cbeb6717ffa2d4d66bb90ac5c39bd81a9

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agotcl: Add a way to skip ptests
Khem Raj [Tue, 5 Sep 2023 06:36:04 +0000 (23:36 -0700)] 
tcl: Add a way to skip ptests

Some tests hardcode assumptions on locales, which may not be present in
musl systems e.g., therefore add a way to skip such tests using -skip
option.

Skip unixInit-3* test on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agowebkitgtk: fix build failure with DEBUG_BUILD enabled
Kai Kang [Tue, 5 Sep 2023 02:02:09 +0000 (10:02 +0800)] 
webkitgtk: fix build failure with DEBUG_BUILD enabled

It fails to compile webkitgtk when debug build enabled:

| /path_to/tmp/work/core2-64-poky-linux/webkitgtk/2.40.5/webkitgtk-2.40.5/Source/bmalloc/libpas/src/libpas/pas_allocation_result.h:76:1:
  error: inlining failed in call to 'always_inline' 'pas_allocation_result pas_allocation_result_identity(pas_allocation_result)':
  function not considered for inlining
|    76 | pas_allocation_result_identity(pas_allocation_result result)
|       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Add a cmake variable WEBKIT_NO_INLINE_HINTS to disable gcc function
attribute `always_inline` when debug build is enabled.

And adjust indent as well.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolinux: review some historic CVE_STATUS
Ross Burton [Mon, 4 Sep 2023 21:33:22 +0000 (22:33 +0100)] 
linux: review some historic CVE_STATUS

Do manual review and disposition these CVEs as appropriate.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolinux-yocto: update kernel CVE status
Ross Burton [Mon, 4 Sep 2023 12:36:31 +0000 (13:36 +0100)] 
linux-yocto: update kernel CVE status

Handles the following CVEs:

6.1:
- CVE-2022-4098
- CVE-2023-0160
- CVE-2023-20569
- CVE-2023-20588
- CVE-2023-33250
- CVE-2023-34319
- CVE-2023-40283
- CVE-2023-4128
- CVE-2023-4155
- CVE-2023-4194
- CVE-2023-4273
- CVE-2023-4385
- CVE-2023-4387
- CVE-2023-4389

6.4:
- CVE-2022-40982
- CVE-2023-0160
- CVE-2023-20569
- CVE-2023-20588
- CVE-2023-33250
- CVE-2023-34319
- CVE-2023-40283
- CVE-2023-4128
- CVE-2023-4155
- CVE-2023-4194
- CVE-2023-4273
- CVE-2023-4385
- CVE-2023-4387
- CVE-2023-4389
- CVE-2023-4394
- CVE-2023-4459

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocve-extra-exclusions: remove BlueZ issues
Ross Burton [Mon, 4 Sep 2023 16:03:35 +0000 (17:03 +0100)] 
cve-extra-exclusions: remove BlueZ issues

These BlueZ issues were mislabelled as Linux issues, but now that the
CPE data is accurate this ignore can be removed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocve-extra-exclusions: remove historic kernel CVEs which are handled now
Ross Burton [Mon, 4 Sep 2023 16:03:34 +0000 (17:03 +0100)] 
cve-extra-exclusions: remove historic kernel CVEs which are handled now

The bulk of the historic kernel CVEs in this file are now handled by
the include files generated by linux/generate-cve-exclusions.py, so
remove them.

Those that remain date from 2017 or earlier, so rename the group to
'historic' and update the comment.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoghostscript: avoid neon on unsupported machines
Benjamin Bara [Mon, 4 Sep 2023 15:28:18 +0000 (17:28 +0200)] 
ghostscript: avoid neon on unsupported machines

Disable neon if the machine does not support it.

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-numpy: Attempt to fix reproducibility issue
Richard Purdie [Mon, 4 Sep 2023 16:47:12 +0000 (17:47 +0100)] 
python3-numpy: Attempt to fix reproducibility issue

We've seen reproducibility failures where it appears an extra -O3 compiler flag ends
up in the multiarray library compilation. This can only really have come through
extra_info for BLASS support since it only affects just this library. Rather than
try and track down exactly where this came from in a rabbit warren of code, just
disable this since we don't have any of the dependencies anyway.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoffmpeg: avoid neon on unsupported machines
Benjamin Bara [Mon, 4 Sep 2023 08:49:06 +0000 (10:49 +0200)] 
ffmpeg: avoid neon on unsupported machines

Disable neon if the machine does not support it.

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agonettle: avoid neon on unsupported machines
Benjamin Bara [Mon, 4 Sep 2023 08:48:27 +0000 (10:48 +0200)] 
nettle: avoid neon on unsupported machines

Disable neon if the machine does not support it. --enable-fat also
includes the neon assembler code, therefore also disable it.

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopixman: avoid neon on unsupported machines
Benjamin Bara [Mon, 4 Sep 2023 08:04:19 +0000 (10:04 +0200)] 
pixman: avoid neon on unsupported machines

Disable neon if the machine does not support it.

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosqlite3: set CVE_STATUS for CVE-2023-36191
Changqing Li [Mon, 4 Sep 2023 02:09:47 +0000 (10:09 +0800)] 
sqlite3: set CVE_STATUS for CVE-2023-36191

The error is a bug. It has been fixed upstream. But it is not a
vulnerability. You may safely ignore the CVE.

Refer:
[1] https://www.sqlite.org/forum/forumpost/19f55ef73b

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3: Fix ptests on musl
Khem Raj [Sun, 3 Sep 2023 05:03:13 +0000 (22:03 -0700)] 
python3: Fix ptests on musl

Adjust locale dependencies to help run tests sadly, tr-tr is not
available yet in musl-locale so keep that specific to glibc

Add an exclusion list for tests and populate it for musl for the failing
tests

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>
2 years agoREADME: fix mail address in git example command
Benjamin Bara [Mon, 4 Sep 2023 08:47:37 +0000 (10:47 +0200)] 
README: fix mail address in git example command

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodos2unix: upgrade 7.5.0 -> 7.5.1
Khem Raj [Sat, 2 Sep 2023 16:05:11 +0000 (09:05 -0700)] 
dos2unix: upgrade 7.5.0 -> 7.5.1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoopenssh: upgrade to v9.4p1
Sudip Mukherjee [Sat, 2 Sep 2023 14:24:15 +0000 (15:24 +0100)] 
openssh: upgrade to v9.4p1

Changes:
Update sha256sum
Remove backported patch

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodpkg: upgrade to v1.22.0
Sudip Mukherjee [Sat, 2 Sep 2023 13:10:06 +0000 (14:10 +0100)] 
dpkg: upgrade to v1.22.0

Changes:
Use main branch
Rebase patch

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogcc-runtime: remove bashism
Peter Marko [Tue, 1 Aug 2023 06:18:49 +0000 (08:18 +0200)] 
gcc-runtime: remove bashism

Debian 12 no longer supports replacing dash with bash as default shell.
Therefore to achieve compatibility with Debian 12, all bashisms need
to be removed.

Shell comparison via == gives an error with dash and thus the condition
is always false.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-wheel: upgrade 0.41.1 -> 0.41.2
Wang Mingyu [Thu, 31 Aug 2023 02:51:53 +0000 (10:51 +0800)] 
python3-wheel: upgrade 0.41.1 -> 0.41.2

Changelog:
============
-Fixed platform tag detection for GraalPy and 32-bit python running on an
 aarch64 kernel
-Fixed wheel tags to not list directories in RECORD files
-Fixed ABI tag generation for GraalPy

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-sphinx-rtd-theme: upgrade 1.2.2 -> 1.3.0
Wang Mingyu [Thu, 31 Aug 2023 02:51:18 +0000 (10:51 +0800)] 
python3-sphinx-rtd-theme: upgrade 1.2.2 -> 1.3.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-pluggy: upgrade 1.2.0 -> 1.3.0
Wang Mingyu [Thu, 31 Aug 2023 02:45:52 +0000 (10:45 +0800)] 
python3-pluggy: upgrade 1.2.0 -> 1.3.0

Changelog:
===========
    #426: Python 3.7 is no longer supported.
    #428: Pluggy now exposes its typings to static type checkers.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-hypothesis: upgrade 6.82.5 -> 6.82.7
Wang Mingyu [Thu, 31 Aug 2023 02:45:41 +0000 (10:45 +0800)] 
python3-hypothesis: upgrade 6.82.5 -> 6.82.7

Changelog:
=========
- updates our autoformatting tools, improving our code style without any API changes.
- enables and fixes many more of ruff‘s lint rules.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agozlib: upgrade 1.2.13 -> 1.3
Wang Mingyu [Thu, 31 Aug 2023 02:55:07 +0000 (10:55 +0800)] 
zlib: upgrade 1.2.13 -> 1.3

Changelog:
============
- Remove K&R function definitions and zlib2ansi
- Fix bug in deflateBound() for level 0 and memLevel 9
- Fix bug when gzungetc() is used immediately after gzopen()
- Fix bug when using gzflush() with a very small buffer
- Fix crash when gzsetparams() attempted for transparent write
- Fix test/example.c to work with FORCE_STORED
- Rewrite of zran in examples (see zran.c version history)
- Fix minizip to allow it to open an empty zip file
- Fix reading disk number start on zip64 files in minizip
- Fix logic error in minizip argument processing
- Add minizip testing to Makefile
- Read multiple bytes instead of byte-by-byte in minizip unzip.c
- Add memory sanitizer to configure (--memory)
- Various portability improvements
- Various documentation improvements
- Various spelling and typo corrections

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoxz: upgrade 5.4.3 -> 5.4.4
Wang Mingyu [Thu, 31 Aug 2023 02:54:40 +0000 (10:54 +0800)] 
xz: upgrade 5.4.3 -> 5.4.4

Changelog:
===========
* liblzma and xzdec can now build against WASI SDK when threading
  support is disabled. xz and tests don't build yet.

* CMake:

    - Fixed a bug preventing other projects from including liblzma
      multiple times using find_package().

    - Don't create broken symlinks in Cygwin and MSYS2 unless
      supported by the environment. This prevented building for the
      default MSYS2 environment. The problem was introduced in
      xz 5.4.0.

* Documentation:

    - Small improvements to man pages.

    - Small improvements and typo fixes for liblzma API
      documentation.

* Tests:

    - Added a new section to INSTALL to describe basic test usage
      and address recent questions about building the tests when
      cross compiling.

    - Small fixes and improvements to the tests.

* Translations:

    - Fixed a mistake that caused one of the error messages to not
      be translated. This only affected versions 5.4.2 and 5.4.3.

    - Updated the Chinese (simplified), Croatian, Esperanto, German,
      Korean, Polish, Romanian, Spanish, Swedish, Ukrainian, and
      Vietnamese translations.

    - Updated the German, Korean, Romanian, and Ukrainian man page
      translations.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agosysklogd: upgrade 2.5.0 -> 2.5.2
Wang Mingyu [Thu, 31 Aug 2023 02:54:13 +0000 (10:54 +0800)] 
sysklogd: upgrade 2.5.0 -> 2.5.2

Changelog:
- Issue #67: restore support for reading kernel logs from '/proc/kmsg',
  regression introduced in v2.4.0, issue #48.
- Issue #37: improved accuracy of the MARK timer, optional, default: 20
  minutes.  Generates log messages to files, which have had no activity
  within the MARK interval.  Was off by up to 'interval / 2' minutes.
  It may now be off by up to '1 / 2' minutes, i.e.g, 30 seconds.
- Issue #64: sub-second faking of kernel timestamps was always zero

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agosqlite3: upgrade 3.42.0 -> 3.43.0
Wang Mingyu [Thu, 31 Aug 2023 02:53:45 +0000 (10:53 +0800)] 
sqlite3: upgrade 3.42.0 -> 3.43.0

Changelog:
==========
-Add support for Contentless-Delete FTS5 Indexes.
-Enhancements to the date and time functions:
-Added the octet_length(X) SQL function.
-Added the sqlite3_stmt_explain() API.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoshaderc: upgrade 2023.5 -> 2023.6
Wang Mingyu [Thu, 31 Aug 2023 02:52:57 +0000 (10:52 +0800)] 
shaderc: upgrade 2023.5 -> 2023.6

Changelog:
- Update dependencies, including SPIRV-Tools v2023.4.rc2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorepo: upgrade 2.35 -> 2.36.1
Wang Mingyu [Thu, 31 Aug 2023 02:52:33 +0000 (10:52 +0800)] 
repo: upgrade 2.35 -> 2.36.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-setuptools: upgrade 68.1.0 -> 68.1.2
Wang Mingyu [Thu, 31 Aug 2023 02:47:06 +0000 (10:47 +0800)] 
python3-setuptools: upgrade 68.1.0 -> 68.1.2

0001-conditionally-do-not-fetch-code-by-easy_install.patch
refreshed for new version.

Changelog:
-Fix editable install finder handling of nested packages, by only handling 1
 level of nesting and relying on importlib.machinery to find the remaining
 modules based on the parent package path.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopkgconf: upgrade 1.9.5 -> 2.0.2
Wang Mingyu [Thu, 31 Aug 2023 02:42:00 +0000 (10:42 +0800)] 
pkgconf: upgrade 1.9.5 -> 2.0.2

Changelog:
===========
* Fix long-standing bug where package identifiers for "uninstalled"
  packages incorrectly included the "-uninstalled" suffix.
* The behavior of --modversion was largely reverted back to the traditional
  pkg-config behavior, but still operates on a solved dependency graph.
* A new flag, --verbose, has been added.
* When flattening the dependency graph, retain the latest seen edges
  rather than the earliest.
* Fix a long-standing bug where the dependency resolution queue was
  evaluated in reverse.  This bug masked the aforementioned dependency
  flattening bug in many cases.
* Fix handling of --with-path, which was appending paths to the search
  list rather than prepending them as intended.
* Error when --modversion is requested with more than one package, as
  the output is ambiguous.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopigz: upgrade 2.7 -> 2.8
Wang Mingyu [Thu, 31 Aug 2023 02:40:00 +0000 (10:40 +0800)] 
pigz: upgrade 2.7 -> 2.8

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopango: upgrade 1.50.14 -> 1.51.0
Wang Mingyu [Thu, 31 Aug 2023 02:38:46 +0000 (10:38 +0800)] 
pango: upgrade 1.50.14 -> 1.51.0

Changelog:
===========
- itemize: Improve script itemization
- build: Check for cairo DWrite dependency
- win32: Fix various issues and crashes
- layout: Add a missing switch case

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3: upgrade 3.11.4 -> 3.11.5
Wang Mingyu [Thu, 31 Aug 2023 02:38:13 +0000 (10:38 +0800)] 
python3: upgrade 3.11.4 -> 3.11.5

Changelog:
============
-gh-104432: Fix potential unaligned memory access on C APIs involving returned
 sequences of char * pointers within the grp and socket modules. These were
 revealed using a -fsaniziter=alignment build on ARM macOS.
-gh-77377: Ensure that multiprocessing synchronization objects created in a fork
 context are not sent to a different process created in a spawn context.
 This changes a segfault into an actionable RuntimeError in the parent process.
-gh-106092: Fix a segmentation fault caused by a use-after-free bug in frame_dealloc when the trashcan delays the deallocation of a PyFrameObject.
-gh-106719: No longer suppress arbitrary errors in the __annotations__ getter and setter in the type and module types.
-gh-106723: Propagate frozen_modules to multiprocessing spawned process interpreters.
-gh-105979: Fix crash in _imp.get_frozen_object() due to improper exception handling.
-gh-105840: Fix possible crashes when specializing function calls with too many __defaults__.
-gh-105588: Fix an issue that could result in crashes when compiling malformed ast nodes.
-gh-105375: Fix bugs in the builtins module where exceptions could end up being overwritten.
-gh-105375: Fix bug in the compiler where an exception could end up being overwritten.
-gh-105375: Improve error handling in PyUnicode_BuildEncodingMap() where an exception could end up being overwritten.
-gh-105235: Prevent out-of-bounds memory access during mmap.find() calls.
--gh-101006: Improve error handling when read marshal data.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoneard: upgrade 0.18 -> 0.19
Wang Mingyu [Thu, 31 Aug 2023 02:37:36 +0000 (10:37 +0800)] 
neard: upgrade 0.18 -> 0.19

Changelog:
===========
  Fixed missing DBus org.neard.se.conf.
  Sync Linux kernel UAPI nfc.h header with newer kernel.
  NFC tag: Implement readout of tag UID via DBus interface.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agompfr: upgrade 4.2.0 -> 4.2.1
Wang Mingyu [Thu, 31 Aug 2023 02:37:03 +0000 (10:37 +0800)] 
mpfr: upgrade 4.2.0 -> 4.2.1

Changelog:
===========
- Bug fixes (see <https://www.mpfr.org/mpfr-4.2.0/#fixed> and/or the
  ChangeLog file).
- Improved MPFR manual.
- Configure tests: replaced the test of the link with GMP, in order to
  avoid the use of a function without a prototype (Autoconf issue), as
  this is obsolescent in ISO C. The new test should be more robust.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agomc: upgrade 4.8.29 -> 4.8.30
Wang Mingyu [Thu, 31 Aug 2023 02:36:52 +0000 (10:36 +0800)] 
mc: upgrade 4.8.29 -> 4.8.30

0001-mc-replace-perl-w-with-use-warnings.patch
removed since it's included in 4.8.30

Changelog:
==========
- Core
--------
    * Support PCRE2 as search engine (via ----with-search-engine=pcre2) (#4450)
    * Implement panelization buffers for both file panels (#4370)

- VFS
-------
    * tar: support extended headers (including long file names and sparse files) (#1952, #2201)
    * extfs helpers: replace "perl -w" with "use warnings" (MidnightCommander/mc#174)
    * extfs/patchfs: be more specific in error message (#4485)

- Editor
---------
    * Add syntax highlighting:
        - Jenkinsfiles (#4469)
        - B language (#4470)
    * Improve syntax highlighting:
        - ECMAScript (MidnightCommander/mc#172)
        - ECMAScript in TypeScript (MidnightCommander/mc#172)
        - use diff syntax highlighting for git commit messages (COMMIT_EDITMSG) (MidnightCommander/mc#85)

- Misc
--------
    * Code cleanup (#4426, #4438)
    * Filehighlight:
        - recognize vsix files as zip files (MidnightCommander/mc#171)
    * Skin updates:
        - julia256 (#4441, #4445)

- Fixes
----------
    * Usage of 'sed' in build system/makefiles is not portable (#4459, #4466)
    * Unportable '$<' in Makefiles (#4460)
    * FTBFS if ncurses used without --with-ncurses-includes= configure parameter (#4462)
    * Ncurses library is duplicated in MCLIBS (#4463, #4465)
    * FTBFS without ext2fs attributes support (#4464)
    * Wrong sort order after swapping panels (#4432)
    * Incorrect time delimiter in the copy/move progress window (#4437)
    * Incorrect redraw of overlapped file panels (#4408)
    * Subshell/Command line prompt is empty/missing (#3121)
    * Find file: relative ignore directory is applied to the start search directory (#4235)
    * Diff viewer: options are not applied on second run (#4486)
    * mc.ext.ini: 'Edit' command from 'Default' section is ignored (#4434)
    * mc.ext.ini: .md files are not recognized as Markdown ones by extension (#4444)
    * mcedit: off-by-one error in paragraph formatting (#4446)
    * ftp: incomplete file listing: block and character devices, pipes, sockets are missed (#4472)
    * Various typos in the source code (MidnightCommander/mc#177, MidnightCommander/mc#178)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibxml2: upgrade 2.11.4 -> 2.11.5
Wang Mingyu [Thu, 31 Aug 2023 02:35:34 +0000 (10:35 +0800)] 
libxml2: upgrade 2.11.4 -> 2.11.5

Changelog:
==========
### Regressions
---------------
- parser: Make xmlSwitchEncoding always skip the BOM
- autotools: Improve iconv check

### Bug fixes
--------------
- valid: Fix c1->parent pointer in xmlCopyDocElementContent
- encoding: Always call ucnv_convertEx with flush set to false

### Portability
---------------
- autotools: fix Python module file ext for cygwin/msys2

### Tests
----------
- runtest: Fix compilation without LIBXML_HTML_ENABLED

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibsndfile1: upgrade 1.2.0 -> 1.2.2
Wang Mingyu [Thu, 31 Aug 2023 02:34:50 +0000 (10:34 +0800)] 
libsndfile1: upgrade 1.2.0 -> 1.2.2

Changelog:
=========
* Fixed invalid regex in src/create_symbols_file.py
* Fixed passing null pointer to printf %s in tests

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibsecret: upgrade 0.20.5 -> 0.21.0
Wang Mingyu [Thu, 31 Aug 2023 02:34:18 +0000 (10:34 +0800)] 
libsecret: upgrade 0.20.5 -> 0.21.0

Changelog:
===========
 * Unlock the keyring before getting secret attributes [!105]
 * file-backend: avoid deadlock when portal op is canceled [!118, !120]
 * Properly chain-up GTasks around GDBusProxy::init_async [!106]
 * Fix nullable in secret_collection_for_alias_* [!110]
 * Fix finish function for searchv [!112]
 * secret-paths: Fix a little memory leak [!109]
 * Stop using GSlice [!116]
 * docs: port to gi-docgen [!101]
 * docs: fix example in usage docs [!117]
 * Several CI fixes [!111, !114]
 * Updated translations

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibrepo: upgrade 1.15.1 -> 1.15.2
Wang Mingyu [Thu, 31 Aug 2023 02:33:48 +0000 (10:33 +0800)] 
librepo: upgrade 1.15.1 -> 1.15.2

Changelog:
=============
    Fixes and optimizations in header files
    Fix lr_gpg_list_keys function when keys are empty
    Update PGP test vectors
    Fix CMake warnings
    Bump glib version

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibgit2: upgrade 1.7.0 -> 1.7.1
Wang Mingyu [Thu, 31 Aug 2023 02:33:18 +0000 (10:33 +0800)] 
libgit2: upgrade 1.7.0 -> 1.7.1

Changelog:
===========
Bug fixes
-----------
    proxy: Return an error for invalid proxy URLs instead of crashing.
    ssh: fix known_hosts leak in _git_ssh_setup_conn
    repository: make cleanup safe for re-use with grafts
    fix: Add missing include for oidarray.
    Revert "CMake: Search for ssh2 instead of libssh2."

Compatibility improvements
--------------------------
    stransport: macOS: replace errSSLNetworkTimeout, with hard-coded value

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibedit: upgrade 20221030-3.1 -> 20230828-3.1
Wang Mingyu [Thu, 31 Aug 2023 02:33:02 +0000 (10:33 +0800)] 
libedit: upgrade 20221030-3.1 -> 20230828-3.1

Changelog:
============
   * src/chartype.c: Add missing stdint.h
   * all: sync with upstream source

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibdrm: upgrade 2.4.115 -> 2.4.116
Wang Mingyu [Thu, 31 Aug 2023 02:32:42 +0000 (10:32 +0800)] 
libdrm: upgrade 2.4.115 -> 2.4.116

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibconvert-asn1-perl: upgrade 0.33 -> 0.34
Wang Mingyu [Thu, 31 Aug 2023 02:32:25 +0000 (10:32 +0800)] 
libconvert-asn1-perl: upgrade 0.33 -> 0.34

Changelog:
===========
  * Fixes: #47 2nd - Debug output using print instead of printf
  * Fixes #47 Debug output using print instead of printf
  * ASN1.pod: fix minor typo

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agokbd: upgrade 2.6.1 -> 2.6.2
Wang Mingyu [Thu, 31 Aug 2023 02:32:11 +0000 (10:32 +0800)] 
kbd: upgrade 2.6.1 -> 2.6.2

Changelog:
==========
loadkeys:
    Don't look for keymap in the current directory.

keymaps:
    Add colemak mod-dh keymaps.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogit: upgrade 2.41.0 -> 2.42.0
Wang Mingyu [Thu, 31 Aug 2023 02:30:38 +0000 (10:30 +0800)] 
git: upgrade 2.41.0 -> 2.42.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoell: upgrade 0.57 -> 0.58
Wang Mingyu [Thu, 31 Aug 2023 02:30:05 +0000 (10:30 +0800)] 
ell: upgrade 0.57 -> 0.58

Changelog:
 Add support for handling sysctl settings.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobluez5: upgrade 5.68 -> 5.69
Wang Mingyu [Thu, 31 Aug 2023 02:28:09 +0000 (10:28 +0800)] 
bluez5: upgrade 5.68 -> 5.69

fix-check-ell-path.patch
removed since it's included in 5.69

Changelog:
=========
 Fix issue with BAP enabling state correctly when resuming.
 Fix issue with detaching source ASEs only after Stop Ready.
 Fix issue with handling VCP audio location and descriptor.
 Fix issue with generating IRK for adapter with privacy enabled.
 Add support for BAP broadcast sink.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobind: upgrade 9.18.17 -> 9.18.18
Wang Mingyu [Thu, 31 Aug 2023 02:28:00 +0000 (10:28 +0800)] 
bind: upgrade 9.18.17 -> 9.18.18

Changelog:
============
 Deprecate the 'dialup' and 'heartbeat-interval' options.
 Ignore 'max-zone-ttl' on 'dnssec-policy insecure'.
 Return REFUSED to GSS-API TKEY requests if GSS-API support is not configured.
 Mark a primary server as temporarily unreachable if the TCP connection attempt times out.
 Don't process detach and close netmgr events when the netmgr has been paused.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agooe-depends-dot: improve '-w' behavior
Chen Qi [Wed, 30 Aug 2023 08:21:58 +0000 (01:21 -0700)] 
oe-depends-dot: improve '-w' behavior

The '-w' option is not giving very helpful information. For example,
if we add 'spice' to IMAGE_INSTALL, bitbake -g core-image-minimal,
and then run `oe-depends-dot -k nspr -w task-depends.dot', the result is:

  $ oe-depends-dot -k nspr -w task-depends.dot
  Because: core-image-minimal nss
  core-image-minimal -> nss -> nspr

The result is not showing the full dependency chain which brings in nspr.
With this patch, the result is:

  $ oe-depends-dot -k nspr -w task-depends.dot
  Because: core-image-minimal nss libcacard spice
  core-image-minimal -> spice -> libcacard -> nss -> nspr

This patch also fixes a typo in help message: recipe-depends.dot -> task-depends.dot.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agostress-ng: disable DEBUG_BUILD
Chen Qi [Wed, 30 Aug 2023 04:48:00 +0000 (12:48 +0800)] 
stress-ng: disable DEBUG_BUILD

We get do_compile error when DEBUG_BUILD is enabled:

  error: inlining failed in call to 'always_inline' '_mm512_storeu_si512': target specific option mismatch

To reproduce the issue, set the following lines in local.conf
and then `bitbake stress-ng'.

  MACHINE = "qemux86-64"
  DEBUG_BUILD = "1"

A new issue is filed for stress-ng to track it:
https://github.com/ColinIanKing/stress-ng/issues/315

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agokernel.bbclass: Add force flag to rm calls
Ryan Eatmon [Thu, 31 Aug 2023 19:26:29 +0000 (14:26 -0500)] 
kernel.bbclass: Add force flag to rm calls

The latest 6.5 kernels do not appear to create the source file in
${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source so the
recipe errors out when trying to remove it.  Simple fix is to add the
-f (force) flag to the call.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogtk4: upgrade 4.12.0 -> 4.12.1
Markus Volk [Tue, 29 Aug 2023 05:46:15 +0000 (07:46 +0200)] 
gtk4: upgrade 4.12.0 -> 4.12.1

Overview of Changes in 4.12.1, 25-08-2023
=========================================

* GtkGridView:
* Wayland:
 - Fix a crash with compositors other than gnome-shell

* Translation updates:
 Polish
 Swedish

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosystemd-boot: remove old gummiboot TUNE_CCARGS
Jose Quaresma [Tue, 29 Aug 2023 14:34:58 +0000 (14:34 +0000)] 
systemd-boot: remove old gummiboot TUNE_CCARGS

Looks like this only is required when build with clang toolchain
and the fix is alredy merged [1] on meta-clang.

[1] https://github.com/kraj/meta-clang/commit/83c94b8690f0a2922d28d0db9907c722382263c2

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocml1: Fix KCONFIG_CONFIG_COMMAND not conveyed fully in do_menuconfig
Jaeyoon Jung [Wed, 30 Aug 2023 12:38:56 +0000 (21:38 +0900)] 
cml1: Fix KCONFIG_CONFIG_COMMAND not conveyed fully in do_menuconfig

Variable overrides in KCONFIG_CONFIG_COMMAND do not work as expected due
to double quote mismatches. The issue is reproducible in an environment
where gold is the default linker. Below is an example snippet of
run.do_terminal generated by do_menuconfig.

do_terminal() {
exec sh -c "make menuconfig   CC="aarch64-webos-linux-gcc ..."
LD="aarch64-webos-linux-ld.bfd ..."
...
}

Although LD override is set to bfd correctly, it is not passed to make
and make menuconfig ends up with messages like:
| gold linker is not supported as it is not capable of linking the kernel proper.
| scripts/Kconfig.include:56: Sorry, this linker is not supported.

Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agowic: Add gpt-hybrid partition layout
Joshua Watt [Wed, 30 Aug 2023 14:20:17 +0000 (08:20 -0600)] 
wic: Add gpt-hybrid partition layout

Add support for formatting a disk with a hybrid MBR & GPT partition
scheme. In this scheme, the primary partitioning method is GPT, but a
valid MBR header is also written than can point to a subset of the GPT
partitions on the disk (any partitions marked with the `--mbr` flag will
be included in this MBR). The primary purpose of this method is to allow
for SoCs that can only find a bootloader in an MBR partition to use GPT
once the bootloader is running. As an example, older versions of the
Raspberry Pi firmware can only parse MBR partitions to find a kernel (or
other bootloader like u-boot), but once those have booted GPT partitions
can be used.

In addition to the partitions annotated with the `--mbr`, a "protective"
GPT partition of type 0xEE is added, as the existence of such a
partition is the indication to tooling that this a hybrid MBR and that
the GPT partition table should be parsed instead.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoglib-networking: use gnutls backend for TLS sockets
Ross Burton [Thu, 31 Aug 2023 10:02:43 +0000 (11:02 +0100)] 
glib-networking: use gnutls backend for TLS sockets

As per upstream:

  There are hacks in half the tests where this backend doesn't return
  the expected error code or doesn't work as expected. I do hope to
  enable this backend by default in the future. For now, it's not there
  yet.

https://gitlab.gnome.org/GNOME/glib-networking/-/commit/8e1d80c1e0fc52d17d08a21946fa4a86ec30e1db

[RP: Add note to recipe about reasoning]
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoglib-networking: enable build with GnuTLS if PKCS#11 was disabled
Ross Burton [Thu, 31 Aug 2023 10:02:42 +0000 (11:02 +0100)] 
glib-networking: enable build with GnuTLS if PKCS#11 was disabled

If GnuTLS is built without PKCS#11 support then glib-networking will
fail to build the tests. Backport a patch to fix this issue.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoinetutils: remove obsolete cruft from do_configure
Ross Burton [Thu, 31 Aug 2023 11:22:50 +0000 (12:22 +0100)] 
inetutils: remove obsolete cruft from do_configure

glob/ doesn't exist and the other files are copied by autotools.bbclass

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoinetutils: remove obsolete patches
Ross Burton [Thu, 31 Aug 2023 11:22:49 +0000 (12:22 +0100)] 
inetutils: remove obsolete patches

fix-disable-ipv6.patch: we don't support uclibc, and most libcs don't
have optional support for IPv6.

inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch and
inetutils-1.8-0003-wchar.patch: these don't appear to be needed anymore.

inetutils-only-check-pam_appl.h-when-pam-enabled.patch: configure.ac
doesn't fail if PAM is disabled anymore.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoinetutils: don't guess target paths
Ross Burton [Thu, 31 Aug 2023 11:22:48 +0000 (12:22 +0100)] 
inetutils: don't guess target paths

inetutils guesses a lot of target paths in cross builds, and warns that
some of them are known to be wrong (for example, whether /proc/net/dev
exists is guessed as 'no').

Add a post-configure function to check for these warnings, and pass
--with-path-* as appropriate to set the paths explicitly.

This means we can remove the patch which was setting PATH_PROCNET_DEV,
and the autoconf cache value inetutils_cv_path_login.

The downside is that these --with-path-* options are not real autoconf
options, so the "unknown options" warning is emitted.  Losing those is
an acceptable compromise, so disable it.

Musl doesn't implement utmp and has stub defines for _PATH_UTMP but not
_PATH_UTMPX, so we need to set the X variants explicitly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoweston: fix comment
Ulrich Ölmann [Fri, 1 Sep 2023 07:24:58 +0000 (09:24 +0200)] 
weston: fix comment

Fixes: be7da75827b4 ("weston: update 11.0.1 -> 12.0.1")
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosite: remove at-spi2-core values
Ross Burton [Wed, 30 Aug 2023 09:36:52 +0000 (10:36 +0100)] 
site: remove at-spi2-core values

at-spi2-core is built with Meson now, so these values are not needed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoyocto-uninative: Update to 4.3
Michael Halstead [Fri, 1 Sep 2023 18:37:29 +0000 (11:37 -0700)] 
yocto-uninative: Update to 4.3

Add in stable updates to glibc 2.38 to fix malloc bugs

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoREADME: Update to point to new contributor guide
Richard Purdie [Wed, 30 Aug 2023 15:31:34 +0000 (16:31 +0100)] 
README: Update to point to new contributor guide

Now we have a contributor guide combining various wiki pages, point at
that.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoglibc: Add glibc 2.38 stable updates uninative-4.3
Richard Purdie [Fri, 1 Sep 2023 10:21:20 +0000 (11:21 +0100)] 
glibc: Add glibc 2.38 stable updates

Pull in the following stable branch updates:

1aed90c9c8f8be9f68b58e96b6e4cd0fc08eb2b1 sysdeps: tst-bz21269: fix -Wreturn-type
ad9b8399537670a990572c4b0c4da5411e3b68cf sysdeps: tst-bz21269: handle ENOSYS & skip appropriately
c8ecda6251dd4a0dfe074e0a6011211cadeef742 sysdeps: tst-bz21269: fix test parameter
2af141bda3cd407abd4bedf615f9e45fe79518e2 malloc: Remove bin scanning from memalign (bug 30723)
98c293c61f770b6b7a22f89a6ea81b711ecb1952 malloc: Enable merging of remainders in memalign (bug 30723)
7ac405a74c6069b0627dc2d8449a82a621f8ff06 i686: Fix build with --disable-multiarch
6135d50e44233d8c89ca788f78c669941ad09fb9 x86_64: Fix build with --disable-multiarch (BZ 30721)
5ea70cc02626d9b85f1570153873d8648a47bf95 x86: Fix incorrect scope of setting `shared_per_thread` [BZ# 30745]
6b99458d197ab779ebb6ff632c168e2cbfa4f543 nscd: Do not rebuild getaddrinfo (bug 30709)
ced101ed9d3b7cfd12d97ef24940cb00b8658c81 x86: Fix for cache computation on AMD legacy cpus.
d97cca1e5df812be0e4de1e38091f02bb1e7ec4e stdlib: Improve tst-realpath compatibility with source fortification

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodhcpcd: fix buffer overflow
Yi Zhao [Tue, 29 Aug 2023 11:06:35 +0000 (19:06 +0800)] 
dhcpcd: fix buffer overflow

Backport a patch to fix buffer overflow for strlcpy:

$ dhcpcd enp0s3
dhcpcd-10.0.2 starting
*** buffer overflow detected ***: terminated
dhcpcd_fork_cb: truncated read 0 (expected 4)

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>
2 years agodhcpcd: upgrade 10.0.1 -> 10.0.2
Yi Zhao [Tue, 29 Aug 2023 11:06:34 +0000 (19:06 +0800)] 
dhcpcd: upgrade 10.0.1 -> 10.0.2

Changelog:
https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.2

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>
2 years agouninative.bbclass: sync to use UNINATIVE_STAGING_DIR
Chen Qi [Tue, 29 Aug 2023 07:33:30 +0000 (15:33 +0800)] 
uninative.bbclass: sync to use UNINATIVE_STAGING_DIR

All other places in this bbclass are using ${UNINATIVE_STAGING_DIR}-uninative,
we should sync to use that too, although UNINATIVE_STAGING_DIR's default
value is STAGING_DIR.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosystemd-bootchart: musl fixes have been rejected upstream
Alexander Kanavin [Mon, 28 Aug 2023 12:03:40 +0000 (14:03 +0200)] 
systemd-bootchart: musl fixes have been rejected upstream

Systemd upstream has reiterated that the only supported libc
implementation is glibc.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agowebkitgtk: Add opengl to REQUIRED_DISTRO_FEATURES
Mingli Yu [Mon, 28 Aug 2023 08:07:33 +0000 (16:07 +0800)] 
webkitgtk: Add opengl to REQUIRED_DISTRO_FEATURES

webkitgtk depends on gtk4 which has the below logic, so add the
same logic for webkitgtk.
REQUIRED_DISTRO_FEATURES = "opengl"

Fixes:
  ERROR: Nothing PROVIDES 'gtk4' (but /build/layers/oe-core/meta/recipes-sato/webkit/webkitgtk_2.40.5.bb DEPENDS on or otherwise requires it)
  gtk4 was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
  ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
  Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'webkitgtk', 'gtk4']

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocore-image-ptest: Define a fallback for SUMMARY field
Khem Raj [Sun, 27 Aug 2023 21:10:06 +0000 (14:10 -0700)] 
core-image-ptest: Define a fallback for SUMMARY field

Fixes errors like below seen with bitbake core-image-ptest-fast

WARNING: core-image-ptest-apr-util-1.0-r0 do_recipe_qa: QA Issue: Recipe core-image-ptest-apr-util in /mnt/b/yoe/master/sources/poky/meta/recipes-core/images/core-image-ptest.bb does not contain a SUMMARY. Please a
dd an entry. [missing-metadata]

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>
2 years agoqemu: Fix CVE-2023-40360
Khem Raj [Sun, 27 Aug 2023 16:38:09 +0000 (09:38 -0700)] 
qemu: Fix CVE-2023-40360

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>
2 years agoinetutils: Apply devtool formatting suggestions
Khem Raj [Sun, 27 Aug 2023 16:29:23 +0000 (09:29 -0700)] 
inetutils: Apply devtool formatting suggestions

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>
2 years agoinetutils: Fix CVE-2023-40303
Khem Raj [Sun, 27 Aug 2023 16:29:22 +0000 (09:29 -0700)] 
inetutils: Fix CVE-2023-40303

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>
2 years agopython3: Increase default thread stack size on musl
Khem Raj [Sun, 27 Aug 2023 00:27:46 +0000 (17:27 -0700)] 
python3: Increase default thread stack size on musl

default stack size for threads is approx 140k on musl which is fine in
most cases but some of python apps e.g. python3-lz4 bindings run into
thread stack size overflow. Increase the default size to 2M on musl,
glibc defaults to 8M, so we are good there.

This default stack size change is limited to interpreter and stdlib
modules only, thats why CFLAGS_NODIST instead of CFLAGS

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>
2 years agonfs-utils: Add needed library to client
Stéphane Veyret [Sat, 26 Aug 2023 22:23:07 +0000 (00:23 +0200)] 
nfs-utils: Add needed library to client

The nfs-utils recipe creates a nfs-utils-client package, which can be
used if we need to install only the client side of nfs-utils.
Unfortunately, rpc.idmapd is part of this package, and requires the
dynamic library libnfsidmap.so, which is included in the main package
nfs-utils. Therefore, nfs-utils-client has a dependency on nfs-utils, so
the server is installed, and try to be started, even on system where the
appropriate modules are not present, which causes errors.

This patch adds the needed library to the nfs-utils-client package, so
that it is now complete and does not require nfs-utils anymore.

Signed-off-by: Stéphane Veyret <sveyret@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocmake: upgrade to v3.27.4
Sudip Mukherjee [Sat, 26 Aug 2023 17:14:12 +0000 (18:14 +0100)] 
cmake: upgrade to v3.27.4

Changes:
Update cmcurl license checksum: change in copyright year.
Update sha256sum for new version.
Use cmake provided cppdap.
Disable debugger.

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto: update CVE exclusions files
Ross Burton [Fri, 25 Aug 2023 16:08:30 +0000 (17:08 +0100)] 
linux-yocto: update CVE exclusions files

No changes to the data, but the version checks are added.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux/generate-cve-exclusions: add version check warning
Ross Burton [Fri, 25 Aug 2023 16:08:29 +0000 (17:08 +0100)] 
linux/generate-cve-exclusions: add version check warning

Embed the version that this file was generated for in the include, and
compare it to the version that is being checked.

This should act as a reminder to update the file when the kernel is
upgraded.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-sphinx: correct version check
Alexander Kanavin [Fri, 25 Aug 2023 10:41:58 +0000 (12:41 +0200)] 
python3-sphinx: correct version check

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolib/oe/recipeutils.py: accommodate SRCPV being optional and deprecated in version...
Alexander Kanavin [Fri, 25 Aug 2023 10:41:57 +0000 (12:41 +0200)] 
lib/oe/recipeutils.py: accommodate SRCPV being optional and deprecated in version check regex

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobitbake.conf: add bunzip2 in HOSTTOOLS
Alberto Planas [Fri, 18 Aug 2023 09:30:56 +0000 (11:30 +0200)] 
bitbake.conf: add bunzip2 in HOSTTOOLS

rpm2cpio.sh can make calls to bunzip2 to uncompress the RPM payload that
conform the cpio file.

bzip2 is already part of HOSTTOOLS, as a link to the system installed
bzip2.

This patch add bunzip2 in HOSTOOLS list as a non-optional binary, so is
available to rpm2cpio.sh when it is required.

The currect rpm2cpio.sh has other calls to gunzip (present in HOSTOOLS),
xzcat (missing), unlzma (missing) and unzstd (present in HOSTTOOLS since
bff58d337890e804d33d7decbaa46065a4d3bba4)

Adding the missing ones will not add any new host dependency as xz-utils
is already listed as a requirement.

Signed-off-by: Alberto Planas <aplanas@suse.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoclasses/image_types: Add vfat image type
Joshua Watt [Fri, 18 Aug 2023 16:32:44 +0000 (10:32 -0600)] 
classes/image_types: Add vfat image type

Adds support for creating FAT formatted file system images (useful for
boot partitions on some SoCs).

Note that FAT partitions are limited in what they can represent (no
symlinks or device files), so they can't really be used for general
purpose root file systems. As such, they are skipped when testing for
that purpose.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibtraceevent: build with Meson
Ross Burton [Sun, 27 Aug 2023 19:57:44 +0000 (20:57 +0100)] 
libtraceevent: build with Meson

After what I presume is the recent kernel upgrade, perf started to fail
to configure.  This was actually due to libtraceevent racing during its
build and failing to put one of the .o files into the .so (reminder:
Make is terrible). This doesn't cause the libtraceevent build to fail so
once the broken .so is in sstate, it causes all future perf builds to
fail.

Instead of rewriting the Makefile rules to fix this race it's easier to
switch to Meson which doesn't have this sort of problem. However the
Meson support is pretty new and has some rough edges, so we need a patch
to make it do the right thing.

I will submit the libtraceevent fixes upstream shortly.

[ YOCTO #15201 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobuildtools-tarball: Add libacl
Joshua Watt [Thu, 24 Aug 2023 14:14:30 +0000 (08:14 -0600)] 
buildtools-tarball: Add libacl

Hash equivalence need to include the ACLs in the output hash, and libacl
is used to do that so include the library in the buildtools-tarball.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemu: add packageconfigs for fuse and dbus-display
Markus Volk [Thu, 24 Aug 2023 10:23:17 +0000 (12:23 +0200)] 
qemu: add packageconfigs for fuse and dbus-display

glib-2.0-native is needed to provide gdbus-codegen

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemu: build pulseaudio support depending on distro_feature
Markus Volk [Thu, 24 Aug 2023 10:23:16 +0000 (12:23 +0200)] 
qemu: build pulseaudio support depending on distro_feature

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemu: fix libudev packageconfig for systemd images
Markus Volk [Thu, 24 Aug 2023 09:21:40 +0000 (11:21 +0200)] 
qemu: fix libudev packageconfig for systemd images

eudev is needed to provide libudev when not using systemd,
but including eudev breaks things for systemd. We can't
include eudev here since systemd provides libudev itself.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovulkan-samples: convert debugfix.patch to git format patch
Julien Stephan [Thu, 24 Aug 2023 07:34:58 +0000 (09:34 +0200)] 
vulkan-samples: convert debugfix.patch to git format patch

devtool modify on vulkan-samples fails to apply the debugfix.patch
because it is not in one of git's known formats.

Here is the error:
ERROR: Applying patch 'debugfix.patch' on target directory '<..>/build/tmp/work/core2-64-poky-linux/vulkan-samples/git/devtooltmp-38uz7jyq/workdir/git'
CmdError("sh -c 'git add -f -A .'", 0, 'stdout:
stderr: fatal: not a git repository (or any of the parent directories):
.git
')

Also, rename debugfix.patch to something more meaningfull

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopatch.py: use --absolute-git-dir instead of --show-toplevel to retrieve gitdir
Julien Stephan [Thu, 24 Aug 2023 07:34:57 +0000 (09:34 +0200)] 
patch.py: use --absolute-git-dir instead of --show-toplevel to retrieve gitdir

[YOCTO #14141]

Currently the gitdir is manually constructed using `git
rev-parse --show-toplevel` and appending `.git`. This is most of the time
correct but not always: `.git` can be a file with the following content:

gitdir: <some_folder>

This is the case for submodules, so when using devtool modify on a recipe
using submodules *and* patching files inside one of the submodules, do_patch
fails with the following error:

ERROR: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:patch_do_patch(d)
     0003:
File: '<..>/poky/meta/classes-global/patch.bbclass', lineno: 157, function: patch_do_patch
     0153:        except Exception as exc:
     0154:            bb.utils.remove(process_tmpdir, True)
     0155:            bb.fatal("Importing patch '%s' with striplevel '%s'\n%s" % (parm['patchname'], parm['striplevel'], repr(exc).replace("\\n", "\n")))
     0156:        try:
 *** 0157:            resolver.Resolve()
     0158:        except bb.BBHandledException as e:
     0159:            bb.utils.remove(process_tmpdir, True)
     0160:            bb.fatal("Applying patch '%s' on target directory '%s'\n%s" % (parm['patchname'], patchdir, repr(e).replace("\\n", "\n")))
     0161:
File: '<..>/poky/meta/lib/oe/patch.py', lineno: 769, function: Resolve
     0765:    def Resolve(self):
     0766:        olddir = os.path.abspath(os.curdir)
     0767:        os.chdir(self.patchset.dir)
     0768:        try:
 *** 0769:            self.patchset.Push()
     0770:        except Exception:
     0771:            import sys
     0772:            os.chdir(olddir)
     0773:            raise
File: '<..>/poky/meta/lib/oe/patch.py', lineno: 274, function: Push
     0270:            else:
     0271:                next = 0
     0272:
     0273:            bb.note("applying patch %s" % self.patches[next])
 *** 0274:            ret = self._applypatch(self.patches[next], force)
     0275:
     0276:            self._current = next
     0277:            return ret
     0278:
File: '<..>/poky/meta/lib/oe/patch.py', lineno: 556, function: _applypatch
     0552:        if os.path.lexists(hooks_dir_backup):
     0553:            raise Exception("Git hooks backup directory already exists: %s" % hooks_dir_backup)
     0554:        if os.path.lexists(hooks_dir):
     0555:            shutil.move(hooks_dir, hooks_dir_backup)
 *** 0556:        os.mkdir(hooks_dir)
     0557:        commithook = os.path.join(hooks_dir, 'commit-msg')
     0558:        applyhook = os.path.join(hooks_dir, 'applypatch-msg')
     0559:        with open(commithook, 'w') as f:
     0560:            # NOTE: the formatting here is significant; if you change it you'll also need to
Exception: NotADirectoryError: [Errno 20] Not a directory: '<..>/build/tmp/work/core2-64-poky-linux/vulkan-samples/git/devtooltmp-n87_zx1i/workdir/git/third_party/spdlog/.git/hooks'

Using `git rev-parse --absolute-git-dir` instead of `git rev-parse
--show-toplevel` ensure we get the correct gitdir

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-firmware: package Dragonboard 845c sensors DSP firmware
Dmitry Baryshkov [Wed, 23 Aug 2023 17:36:10 +0000 (20:36 +0300)] 
linux-firmware: package Dragonboard 845c sensors DSP firmware

Add package with sensors DSP firmware for Qualcomm RB3 aka Dragonboard
845c platform.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-firmware: package audio topology for Lenovo X13s
Dmitry Baryshkov [Wed, 23 Aug 2023 17:36:09 +0000 (20:36 +0300)] 
linux-firmware: package audio topology for Lenovo X13s

Add audio topology description to the qcom-sc8280xp-lenovo-x13s-audio
package. The file is licensed is copyright by Linaro and licensed under
BSD 3-clause license.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>