Mingli Yu [Thu, 8 Aug 2024 09:23:50 +0000 (17:23 +0800)]
llvm: Enable libllvm for native build
The bpftrace recipe under meta-clang[1] needs llvm-objcopy [2] during
do_confgure phase otherwise there comes below error:
| CMake Error at tests/data/CMakeLists.txt:6 (find_program):
| Could not find LLVM_OBJCOPY using the following names: llvm-objcopy,
| llvm-objcopy-18, llvm18-objcopy
The commit ec22bfa67f llvm: allow building libllvm in native builds, subject to PACKAGECONFIG [3]
introduces libllvm to manage the llvm function for native build
maybe because there is only mesa-native to use llvm-native.
Considering there are other recipes such as bpftrace needs llvm-native,
so enable libllvm for native build.
Robert Joslyn [Thu, 8 Aug 2024 04:07:26 +0000 (21:07 -0700)]
curl: Update to 8.9.1
This update contains minor features, bugfixes, and addresses several CVEs:
* https://curl.se/docs/CVE-2024-6197.html
* https://curl.se/docs/CVE-2024-6874.html
* https://curl.se/docs/CVE-2024-7264.html
Full relese notes available at https://curl.se/ch/8.9.1.html
Backport a patch to fix a SIGPIPE issue found shortly after release:
https://curl.se/mail/distros-2024-08/0002.html
Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Peter Marko [Wed, 7 Aug 2024 21:45:16 +0000 (23:45 +0200)]
libyaml: ignore CVE-2024-35326
This is the same problem as already ignored CVE-2024-35328.
See laso this comment in addition:
https://github.com/yaml/libyaml/issues/298#issuecomment-2167684233
Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jaeyoon Jung [Tue, 6 Aug 2024 18:44:37 +0000 (03:44 +0900)]
makedevs: Fix issue when rootdir of / is given
Treating rootdir "/" as "" leads an error in parse_devtable(). Preserve
it as it is given and use a separate variable for path name prepending.
Another minor fix is to add a return statement at the end of
convert2guid() to avoid an error with -Werror=return-type.
Philip Lorenz [Mon, 5 Aug 2024 08:04:39 +0000 (10:04 +0200)]
curl: Reenable auth support for native and nativesdk
148de08220c0ad390ec533e452cbaad7a9338204 adapted the recipe to
accomodate the newly introduced configure options for the various
authentication schemes supported by curl. However, support for these was
not added for the -native and -nativesdk variants of the recipe.
Fix this and introduce a PACKAGECONFIG variable for the flags common to
all recipe variants to avoid such regressions in the future.
Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Trevor Gamblin [Wed, 7 Aug 2024 15:43:33 +0000 (11:43 -0400)]
libassuan: upgrade 2.5.7 -> 3.0.1
Patch 'libassuan-add-pkgconfig-support.patch' had to be adjusted to
apply on top of 3.0.1. While doing so, the format was updated so that
it'll work more easily with git.
c9e9027 (tag: libassuan-3.0.1) Release 3.0.1 9e90c79 Post release updates 0351ecf (tag: libassuan-3.0.0) Release 3.0.0 1fe7aa3 Add release targets 6bef35b Update copyright notices 87f92fe Add new socket flags "linger" and "reuseaddr". 24f05d6 Spell fix in gpg-error.m4 from GnuPG. 577c1cd m4: Update gpg-error.m4. db27c94 libassuan.m4: Fix setting/using GPG_ERROR_CONFIG. ee9167c Always append the process identification to hello line. d5e0aa3 Modify documentation for new release. c1bbbe8 Fix the previous commit. 1c27538 m4: Include _AM_PATH_GPGRT_CONFIG definition. 6756482 tests: Cleanup mention of removed variable a8c38df doc: Minor style fixes. 76816b1 build: Change the default for --with-libtool-modification. d63bf50 build: Update libtool-patch.sed from libgpg-error. 9bb7a2a build: New configure option --with-libtool-modification. ce35bd9 Add NEWS entries for 2.5.6 from libassuan 2.5 branch. b975f9a Fix for v2 support: ASSUAN_REALLY_REQUIRE_V2_NPTH_SYSTEM_HOOKS bb7aa0e New function: assuan_control. 9ce1b41 libassuan.m4: Allow use of libassuan 3 for API of version 2. c6ae222 Update NEWS. bf25d0e Add new pipe functions to control its server process. c14409b socket: Don't call pre/post_syscall for bind. dd7e0c5 build: Prepare release with API change. c4687db Update NEWS. 782d5f8 Expose assuan_sock_accept function. 703b410 Add _assuan_pre_syscall / _assuan_post_syscall to _assuan_sock_*. 5de5774 Support larger greeting message. 413b294 Next release will be 3.0 049b800 Flush data before clearing the confidential flag. 2f0232b w32: Fix closing for non-socket HANDLE. 592f6bb w32: Fix hello_line parsing for fd passing. c69578b w32: Always include process information in HELLO. efccdb3 w32: Fix error return for sending fd. 8d83aea Allow use of global system hooks with API version 2. af34d84 doc: Update documentation for the method spawn and waitpid. 316fae4 w32: File handle passing to server is now supported. 5d1cdaa Don't use ASSUAN_INVALID_PID for assuan_pid_t value. 6350f79 w32: Cleaner semantics for PID and Process handle. f3b3ddf Fix comments. 18edc4f Fix wrong return type for functions. 6957813 tests: Use -no-fast-install LDFLAGS for Windows. 9ecbd8e Deprecate ASSUAN_SYSTEM_NPTH. 1eb66ef Allow NULL for system_hooks. 620acf6 Fix the previous commit. 223cc95 Fix calling gpgrt_get_syscall_clamp. fb5d02d tests: Fix for POSIX machine. 7191c12 w32: Fix test header file for 64-bit Windows. f2d829e w32: Fix pipeconnect test program for Windows. 295e334 w32: Minor fixes for ifdef/endif for W32 and W64. 17055e1 w32: Fix the semantics of sending FD, it's Windows HANDLE. 9110945 Implement timeout in assuan_sock_connect_byname. 3d8195e build: Update gpg-error.m4. e4e54fb w32: Fix assuan_socket_connect. a720b6c Fix make dist target 523e3cb w32: Fix confusion between process ID and process HANDLE. 05eb70c doc: Update the description about pkg-config. ba84b78 w32: Have PROCESS_HANDLE in struct assuan_context_s. 7e6f3f0 tests: Use common code for Windows. 8962c1e tests: Add fdpassing-socket.sh script. 3297e45 w32: Support fd passing through socket. a1f4804 w32: Support fd passing through pipe. 07adf41 Show the pid of listening process in the hello line. 870fdcf w32: Support sendfd/recvfd through pipe connection. ce794a0 w32: Add SENDFD internal command. 27acee6 client: Only call _assuan_waitpid when it's not socket. d769ec2 build: Prefer gpgrt-config when available. 62547ec w32: Fix make dist 6d5a2b1 Fix an explanation for socket on Windows. 0c22952 build: Update gpg-error.m4. df6aec5 build: Remove WindowsCE support from mkheader. 6bc8a10 Silence compiler warnings. e3b1e38 Drop WindowsCE support. 6da6a3d build: Update config.guess, config.sub, and config.rpath. 3156f29 build: Update gpg-error.m4. 5277f24 Fix the previous commit. 97516d6 Don't access NULL by wipememory. 2e310bb tests: Remove dead code 850f404 config: Remove 18 years unused variable 70b465e tests: Avoid leaking file descriptors on errors 2a5550b client: Handle inquiry from server with CONFIDENTIAL. aafbde9 struct assuan_context_s: Move boolean fields to flags. fd1ac5c client: Wipe the inbound buffer when CONFIDENTIAL. 89e8f26 server,client: Wipe the outbound buffer when CONFIDENTIAL. d812e28 server: Wipe out the memory used by assuan_inquire if CONFIDENTIAL. 84ae2b1 Add assuan_sock_accept function. c93eb90 w32: Store a flag if it's socket or not in Assuan CTX. 5b77d39 Fix API break. 9260fb1 build: Remove unused putc_unlocked.c. 0fae582 Take advantage of gpgrt_get_syscall_clamp function. a43090e build: Fix listing m4 files. 28a40a2 w32: Fix assuan_socket_connect_fd to be usable. a054a0a build: Better cross build support. a8125eb Fix internal socket API to be consistent for SOCKET. 9de02ca build: When no gpg-error-config, not install libassuan-config. eeda9ac Remove GNU Pth support. 564e0d9 w32: Fix definition of type to be generated into assuan.h.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 8 Aug 2024 09:37:58 +0000 (10:37 +0100)]
coreutils: Fix intermittent ptest issue
The test writes to the disk and means the space used changes. If this
crosses a number boundary, the heading spacing can change causing a test
failure. This was triggered by a recent gcc upgrade.
Add a fix for this which has been shared with upstream.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 7 Aug 2024 16:22:59 +0000 (17:22 +0100)]
vim: Drop vim-tools INSANE_SKIP as not needed
The install function already removes the executable bit on these tools
so that perl, python, awk and csh don't become dependencies. The INSANE_SKIP
therefore isn't needed.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 7 Aug 2024 15:18:54 +0000 (16:18 +0100)]
glib-initial: Inherit nopackages
Since this is a bootstrap recipe with PACKAGES = "", inherit the nopackages
class to skip the various packaging functions which wouldn't do anything anyway.
This fixes errors from buildhistory changes where packages-split would be empty.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 2 Aug 2024 09:26:28 +0000 (10:26 +0100)]
sdpx: Avoid loading of SPDX_LICENSE_DATA into global config
Loading a load of json files into a memory structure and stashing in a bitbake
variable is relatively anti-social making bitbake -e output hard to read for
example as well as other potential performance issues.
Defer loading of that data until it is actually needed/used in a funciton
where it is now passed as a parameter.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pedro Ferreira [Tue, 6 Aug 2024 12:59:55 +0000 (13:59 +0100)]
buildhistory: Restoring files from preserve list
This fix will ensure that, when we activate feature
`BUILDHISTORY_RESET`, files marked to keep on feature
`BUILDHISTORY_PRESERVE` will indeed exist is buildhistory
final path since they are moved to buildhistory/old but
not restored at any point.
Signed-off-by: Pedro Ferreira <Pedro.Silva.Ferreira@criticaltechworks.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pedro Ferreira [Tue, 6 Aug 2024 12:59:54 +0000 (13:59 +0100)]
buildhistory: Fix intermittent package file list creation
The directory that buildhistory_list_pkg_files writes to during do_package
is created by do_packagedata so a clean buildhistory doesn't have
files-in-package written during the first build since packagedata happens
after do_package.
Ensure the output package folder is created to avoid missing
files-in-package.txt files.
Also it ensures that in case of `find` fails we leave with
a hard error instead of hiding the error on the for loop.
Signed-off-by: Pedro Silva Ferreira <Pedro.Silva.Ferreira@criticaltechworks.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
move cfs_bandwidth_slice sysctls to fair.c and use the
new register_sysctl_init() to register the sysctl interface.
Signed-off-by: Zhen Ni <nizhen@uniontech.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
The way that we have to configure our mips qemu platforms
results in an empty sysctl table registration and the following
harmless warnings:
"failed when register_sysctl_sz sched_fair_sysctls to kernel"
"failed when register_sysctl_sz sched_core_sysctls to kernel"
Adding them to our list of acceptable dmesg warnings.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the pci_resource_name() to get the name of the resource and use it
while printing log messages.
[bhelgaas: rename to match struct resource * names, also use names in other BAR messages] Link: https://lore.kernel.org/r/20211106112606.192563-3-puranjay12@gmail.com Signed-off-by: Puranjay Mohan <puranjay12@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Since it doesn't appear that we can do regex's in parselogs
and the bar number is now in the middle of the message, we
go with a slightly wider format of the message to ignore.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Tue, 6 Aug 2024 18:55:49 +0000 (14:55 -0400)]
linux-yocto/6.10: update to v6.10.2
Updating linux-yocto/6.10 to the latest korg -stable release that comprises
the following commits:
c4386c5293aa8 drivers: gpu: drm: msm: registers: improve reproducibility 2d002356c3bb6 Linux 6.10.2 e1a786b9bbb76 tap: add missing verification for short frame 8418f55302fa1 tun: add missing verification for short frame ed898f9ca3fa3 filelock: Fix fcntl/close race recovery compat path 0990c63c53b88 ALSA: seq: ump: Skip useless ports for static blocks 67b4307b200c0 ALSA: pcm_dmaengine: Don't synchronize DMA channel when DMA is paused cba936e34ba5c arm64: dts: qcom: sm6115: Disable SS instance in Parkmode for USB 3f0ec0bcd7945 arm64: dts: qcom: sdm845: Disable SS instance in Parkmode for USB a87398c426e1a arm64: dts: qcom: ipq8074: Disable SS instance in Parkmode for USB 86ef7fa0a3f81 arm64: dts: qcom: sdm630: Disable SS instance in Parkmode for USB 53bcd3e3955f2 arm64: dts: qcom: ipq6018: Disable SS instance in Parkmode for USB f6ca32f5d0ff3 arm64: dts: qcom: msm8998: Disable SS instance in Parkmode for USB aa38865e86565 arm64: dts: qcom: sm6350: Disable SS instance in Parkmode for USB a9426f558a45a arm64: dts: qcom: msm8996: Disable SS instance in Parkmode for USB 4c815a74d6ffb arm64: dts: qcom: x1e80100-crd: Fix USB PHYs regulators 12cfba78ac4e4 arm64: dts: qcom: x1e80100-qcp: Fix the PHY regulator for PCIe 6a e9e797f82040d arm64: dts: qcom: x1e80100-crd: Fix the PHY regulator for PCIe 6a 4f6838e716396 arm64: dts: qcom: qrb4210-rb2: switch I2C2 to i2c-gpio 6b9b370bab9c2 arm64: dts: qcom: qrb2210-rb1: switch I2C2 to i2c-gpio c5842959cdcb8 arm64: dts: qcom: x1e80100-qcp: Fix USB PHYs regulators 8446ce8ff62d2 arm64: dts: qcom: sc7280: Disable SuperSpeed instances in park mode 0dfc866395f09 arm64: dts: qcom: sc7180: Disable SuperSpeed instances in park mode 676f1898111c0 ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book Pro 360 90fb34305b8b9 ALSA: hda/realtek: Enable headset mic on Positivo SU C1400 f751555b73b8a ALSA: hda/tas2781: Add new quirk for Lenovo Hera2 Laptop 87efe5b76ec9f usb: gadget: midi2: Fix incorrect default MIDI2 protocol setup 617cf144c206f fs/ntfs3: Validate ff offset 9b71f820f7168 fs/ntfs3: Add a check for attr_names and oatbl dbde7bc91093f jfs: don't walk off the end of ealist edb2e67dd4626 ocfs2: add bounds checking to ocfs2_check_dir_entry() a3aefb871222a s390/mm: Fix VM_FAULT_HWPOISON handling in do_exception() 298e2ce222e71 drm/amdgpu: Fix signedness bug in sdma_v4_0_process_trap_irq() 0129910096573 Linux 6.10.1 5e052818fafac thermal: core: Allow thermal zones to tell the core to ignore them 68d19af95a353 io_uring: fix error pbuf checking d905723ee6578 ASoC: cs35l56: Limit Speaker Volume to +12dB maximum 890e1e6b2fd51 ASoC: cs35l56: Use header defines for Speaker Volume control definition b9afbb9a0c734 tpm: Use auth only after NULL check in tpm_buf_check_hmac_response() fafd1dcc84c59 cifs: Fix setting of zero_point after DIO write b1d0a566769b6 cifs: Fix server re-repick on subrequest retry b5347b051d3b2 cifs: fix noisy message on copy_file_range 5c0a6c40c2b94 cifs: Fix missing fscache invalidation 447c00d76e908 cifs: Fix missing error code set 4378be89ddb7d ext4: use memtostr_pad() for s_volume_name 915a386c7cffd qemux86: add configuration symbol to select values 62df91b21626f sched/isolation: really align nohz_full with rcu_nocbs afe643f5802b8 clear_warn_once: add a clear_warn_once= boot parameter 7b016793edbff clear_warn_once: bind a timer to written reset value 89a5c70f20001 clear_warn_once: expand debugfs to include read support 8014704c527d7 tools: Remove some options from CLANG_CROSS_FLAGS e9ca44556936c libbpf: Fix build warning on ref_ctr_off 32fe8c972c362 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel. a372ac2b798dc perf: x86-32: explicitly include <errno.h> a5cb41682777e perf: mips64: Convert __u64 to unsigned long long ed8ee9f3d1ae2 perf: fix bench numa compilation 6dbb2915e8a7c perf: add SLANG_INC for slang.h 57f78dddfd930 perf: add sgidefs.h to for mips builds 130f0306cfbac perf: change --root to --prefix for python install 2520efe953414 perf: add 'libperl not found' warning 45731b6ae676f perf: force include of <stdbool.h> ace10f8dec53e fat: Replace prandom_u32() with get_random_u32() 64797bdca14e2 fat: don't use obsolete random32 call in namei_vfat 2442bae1a6451 FAT: Added FAT_NO_83NAME 7561126bce00c FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option 5c51ab9598763 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option 5869720658c99 aufs6: match exports to functions e125467cf228f aufs: adjust for v6.9+ eebcdc6635bfa aufs6: correct do_splice_from prototype 4c5829036c457 aufs: update remove_page to remove_folio e8d889d0f4341 aufs: i_op: Add handling for au_pin_hdir_set_owner with RT kernel 3ecd9203de174 aufs: fix v6.7 kernel build compilation 5e8ee028dbe24 aufs6: adapt to v6.6 i_op->ctime changes 1132c330feed3 aufs6: adapt to v6.6 d3e4ede696034 aufs6: core 49ec9271f41d3 aufs6: standalone dcc0978da2dd9 aufs6: mmap 80e1609b37e77 aufs6: base 0dbb3f0624208 aufs6: kbuild ad51078c5ebfc yaffs: fix mtime/itime field access e5f1d35d6188c yaffs2: update VFS ctime operations to 6.6+ dd374461adc7c yaffs2: v6.5 fixups f5908785d88d7 yaffs2: Fix miscalculation of devname buffer length d1403f0acfdff yaffs2: convert user_namespace to mnt_idmap 7dae5463b54fa yaffs2: replace bdevname call with sprintf 92d30df4eb56c yaffs2: convert read_page -> readfolio 6c895bffdf725 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL 6801e7d90255b yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name aff012190046f yaffs2: v5.12+ build fixups (not runtime tested) fb474842c16ee yaffs: include blkdev.h fe7d745aac947 yaffs: fix misplaced variable declaration bee147b2e5336 yaffs2: v5.6 build fixups 22998f589ec26 yaffs2: fix memory leak when /proc/yaffs is read ce7d8084a9764 yaffs: add strict check when call yaffs_internal_read_super adb7202fda953 yaffs: repair yaffs_get_mtd_device 2852e5c15d4dc yaffs: Fix build failure by handling inode i_version with proper atomic API 1526802a81470 yaffs2: fix memory leak in mount/umount 6c7827a16aaaa yaffs: Avoid setting any ACL releated xattr fa34828155425 Yaffs:check oob size before auto selecting Yaffs1 aaa4843b73ce7 fs: yaffs2: replace CURRENT_TIME by other appropriate apis 48e992af6531c yaffs2: adjust to proper location of MS_RDONLY f3af7160d8a0c yaffs2: import git revision b4ce1bb (jan, 2020) 4add698ed6e8b initramfs: allow an optional wrapper script around initramfs generation b619a8d543360 vt/conmakehash: improve reproducibility c786186aeef39 tools: use basename to identify file in gen-mach-types aa3a8e7ceb6e7 iwlwifi: select MAC80211_LEDS conditionally 325db54c4be9f net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119) 23a87c6e13aad defconfigs: drop obselete options 946e5b78ab94d linux-yocto: Handle /bin/awk issues 9daee1dba5852 uvesafb: provide option to specify timeout for task completion f68b8683441a0 uvesafb: print error message when task timeout occurs a1595c6b60173 compiler.h: Undef before redefining __attribute_const__ 8086839613c68 vmware: include jiffies.h 32e79eb3c169c Resolve jiffies wrapping about arp f6fabf91b6f24 nfs: Allow default io size to be configured. ad2b29f801e9e check console device file on fs when booting 5194785d545b8 mount_root: clarify error messages for when no rootfs found 78b3498cb59a7 mconf: fix output of cflags and libraries 9cc6870708d54 menuconfig,mconf-cfg: Allow specification of ncurses location f34088ed9c938 modpost: mask trivial warnings 4784584582f50 kbuild: exclude meta directory from distclean processing 73072b5fe25a9 powerpc: serialize image targets a120eb2003200 arm: serialize build targets 51d5719ac05b4 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition 5155f0bb36f0c cpu/amd: inhibit SMP check for qemux86 e5a5996ee586f x86_64_defconfig: Fix warnings 1359db75df0c9 mips: make current_cpu_data preempt safe 385edf6090c30 mips: vdso: fix 'jalr $t9' crash in vdso code 968266397319f mips: Kconfig: add QEMUMIPS64 option 389ce854fde30 4kc cache tlb hazard: tlbp cache coherency 9cab61199fa85 malta uhci quirks: make allowance for slow 4k(e)c 80cae3bd9eea0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018 41c82709900f7 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var 59ef4f151a5e5 arm64: defconfig: cleanup config options c5fb425762ed8 vexpress: Pass LOADADDR to Makefile 07a8b544d4e96 arm: ARM EABI socketcall 574f3ae3d2ca7 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>
Richard Purdie [Wed, 8 Apr 2020 23:18:08 +0000 (00:18 +0100)]
musl: Show error when used with multilibs
As discussed in the bugzilla entry, musl doesn't work with multilibs.
I originally sent this patch in 2020 but was told that support was being
added. I recently revisited the bug and retested a basic config which still
fails the way it did in 2019. Since clearly nobody is using this, make it clear
we don't support it. If anyone does add support, we can remove this error very
easily.
[YOCTO #13122]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yi Zhao [Fri, 26 Jul 2024 11:00:10 +0000 (19:00 +0800)]
rpm: fix expansion of %_libdir in macros
There is a patch in oe-core[1] to avoid hardcoded paths in macros. It
tries to use libdir to expand %_libdir in macros.in. However, in
upstream commit[2], libdir for macros in CMakeLists.txt is set to
${prefix}/=LIB=, which causes %_libdir to expand to ${prefix}/=LIB=
instead of the correct path in the final macros.
This also causes %__pkgconfig_path in fileattrs/pkgconfig.attr to become
an invalid regular expression when building rpm packages. This results a
warning in log.do_package_write_rpm in all packages:
Peter Marko [Sun, 4 Aug 2024 21:42:18 +0000 (23:42 +0200)]
libmnl: explicitly disable doxygen
libmnl autoconf autodetects doxygen to generate manpages.
If doxygen is provided via hosttools, the build fails.
Also until now manpages were not needed.
So explicitly disable doxygen in configure step.
Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
icu: Backport patch to fix build issues with long paths (>512 chars)
There is a bug libicu that causes libicu to be installed incorrectly when
the build system uses long paths (more than 512 chars).
This condition is not very difficult to trigger on a OE build system
due to the long paths an the deep of the directories that are usually
generated by default.
Also the bug is very subtle and won't be detected by the QA post-install
processes because what this bug causes is that a different version of
libicudata.so.X.Y (one without data) is installed instead of the one
containing the data, but there won't be any file missed on the installation
(just that it installed the wrong one).
Jonas Munsin [Wed, 31 Jul 2024 09:53:09 +0000 (12:53 +0300)]
bzip2: set CVE_PRODUCT
Add CVE_PRODUCT to bzip2
Signed-off-by: Jonas Munsin <jonas.munsin@gehealthcare.com> Signed-off-by: Maxin John <maxin.john@gehealthcare.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yoann Congal [Fri, 2 Aug 2024 23:35:53 +0000 (01:35 +0200)]
spirv-tools: Fix git-describe related reproducibility
This reproducibility problem comes down to git-describe output. Fixes
this by using an environment variable to force the description and use
it to set this description to ${PV}
Fixes [YOCTO #15567].
Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 17 Jul 2024 21:28:41 +0000 (22:28 +0100)]
populate_sdk_base: Ensure nativesdk targets have do_package_qa run
We've realised that "bitbake XXXx -c populate_sdk" doesn't actually trigger
the package_qa tests to run. This means test coverage on the autobuilder was
poor. Fix this and run the tests for SDKs.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
git repo no longer has tags for recent versions which means
we had missed several of them, and wouldn't be able to get
notifications about any future releases.
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
'UPDATE' as a name is somewhat unfortunate as the variable is intended only for
the 'devtool upgrade' operation and devtool also has an 'update-recipe' operation.
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcc: unify cleanup of include-fixed, apply to cross-canadian
Since target and cross variants were already doing similar cleanup
of include-fixed headers, as those aren't used, unify the code and
also apply the same to cross-canadian variant.
Some of those header files get processed with a tool that leaves
absolute buildpaths inside the file's commented section, causing
QA errors. Since those aren't used, let's remove them.
This may be a temporary solution until the tool itself gets fixed
to not embed absolute buildpaths in the header files:
https://lists.openembedded.org/g/openembedded-core/topic/107268307
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcc: remove paths to sysroot from configargs.h and checksum-options for gcc-cross-canadian
Apply fixes from gcc-cross (84a78f46d594 and 0ead8cbdfb96) to gcc-cross-canadian.
This will improve (but not fix) reproducibility of gcc-cross-canadian.
Also move this code to functions to avoid code duplication.
[RP: Tweak patch to make the function parameters clear and fix quoting issues
ensuring the code exactly matches the original replacements with an additional
parameter.]
With commits 90bc1810 ("bitbake.conf: Add runtimedir") and 561e853e ("rpcbind: Specify state directory under /run") rpcbind
still can fail during startup with:
rpcbind: /var/run/rpcbind.lock: Read-only file system
The lockfile is hardcoded as "/var/run/rpcbind.lock".
While it should use the same internal define "RPCBIND_STATEDIR"
as the paths for rpcbind.xdr and portmap.xdr, it's not necessary
to be patched because of the default value of ${runtimedir} and
the presence of the /var/run -> /run symlink.
Using --with-statedir=/run/rpcbind adds the line
RequiresMountsFor=/run/rpcbind
to the service but it doesn't guarantee that /run is writable yet
when rpcbind.service starts. Add this guarantee by running
rpcbind.service with systemd-tmpfiles-setup.service and add the
tmpfiles.d entry for /run/rpcbind.
Paul Eggleton [Thu, 1 Aug 2024 04:10:22 +0000 (21:10 -0700)]
classes: add new retain class for retaining build results
If you are running your builds inside an environment where you don't
have access to the build tree (e.g. an autobuilder where you can only
download final artifacts such as images), then debugging build failures
can be difficult - you can't examine log files, the source tree or
output files. When enabled, by default this class will retain the work
directory for any recipe that has a task failure in the form of a
tarball, and can also be configured to save other directories on failure
or always.
It puts these tarballs in a configurable location (${TMPDIR}/retained by
default), where they can be picked up by a separate process and made
available as downloadable artifacts.
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Thomas Perrot [Fri, 2 Aug 2024 15:15:35 +0000 (17:15 +0200)]
opensbi: bump to 1.5.1
This intermediate release has following fixes:
- Save/restore menvcfg only when it exists
- Adjust Sscofpmf mhpmevent mask for upper 8 bits
- Fix potential NULL pointer dereferences in SBI DBTR
- Fix incorrect size passed to sbi_zalloc() in SBI FWFT
- Check result of pmp_get() in is_pmp_entry_mapped()
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This required a refresh of patch
'0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch'. Since
it didn't have a proper commit message or signoffs, I also added those
and renamed the patch in the process. The original title is now the
description.
Wasn't able to find a new changelog, so commit history will have to do:
ef5536cfe (tag: 1.22.10) Release 1.22.10 e4d8d44dd po: Regenerate .pot files and merge .po files with them 58146a371 Revert "scripts/mk: Reduce the number of subprocesses" 3618de586 Dpkg::Changelog: Remove useless escaping for - af10377e2 Dpkg::Changelog::Entry::Debian: Remove obsolete /o modifier from regex dd4d53d97 build: Simplify C standard check output adc3dd67b build: Fix dpkg_cv_c99 assignment in DPKG_C_C99 macro 1b562a0e9 build: Fix length for comment bar line after autoconf functions f320bc0f8 build: Use pre-defined macros to check C/C++ conformance requirements a2f7f85d5 build: Do not define macros for C/C++ standard level e2b256176 Bump version to 1.22.10 82ab77437 (tag: 1.22.9) Release 1.22.9 5dcf833c2 po: Regenerate .pot files and merge .po files with them b40d59472 scripts/mk: Fix typo in comment c05f82972 scripts/mk: Fix pkg-info.mk evaluation by adding new DEB_TIMESTAMP variable 05efe8360 test: Fix typos in Makefile comments 80bdfdfe5 s-s-d: Use a stop context to track the current state 78a970dba dpkg-deb: Track maintscript information in a new struct 514b761a1 dpkg-deb: Print pathname instead of filename and directory in error output f7978c885 dpkg-deb: Add long options for short-only compression ones 06dd1ad0f Bump version to 1.22.9 e9a8f699f (tag: 1.22.8) Release 1.22.8 ccaea43c6 po: Regenerate .pot files and merge .po files with them 017079b0c scripts/mk: Fix make variable expansions passed to dpkg-buildflags 574081691 scripts/mk: Ensure dpkg_datadir is computed once f2f447be4 po: Update Catalan translations 286fc7467 Dpkg::Archive::Ar: Rework _read_buf() error messages to make l10n easier ad717618e po: Update German programs translation 127d25ed1 libdpkg: Fix execname support on GNU/Hurd 94e577411 build: Update lcov usage for version 2.0 1aba90294 doc: Update Doxygen configuration from version 1.9.8 7c1ab6e31 Bump version to 1.22.8 7603b54e2 (tag: 1.22.7) Release 1.22.7 956bede10 po: Regenerate .pot files and merge .po files with them 3eca339cc dpkg-buildpackage: Reference the .dsc in .buildinfo if building from one 555f9fe3c dpkg-buildpackage: Add support for building from a specified .dsc or dir a0e40ff85 perl: Use new Dpkg::Source::Package->get_basedirname() method 5ca492db5 Dpkg::Source::Package: Add a new get_basedirname() method 98adc2ec5 Dpkg::Source::Package::V3::Bzr: Remove unused variables 044955f9b Dpkg::Source::Package: Document method additions with an object 00f0fb173 Dpkg::Substvars: Add support for required substvars assigned with != df60765ed Dpkg::Vendor::Debian: Guarantee UTF-8 locale codeset on sanitize-env 259debe76 build: Do not include VCS specific files in the distributed tarball 5a381b45a build: Include a .dist-vcs-url file in the distributed tarball 4c6e077bf libdpkg: Do not try to strdup() a NULL pointer in dpkg_get_pid_execname() 4ec4dcd01 libdpkg: Remove unused variable in dpkg_get_pid_execname() on GNU/Hurd 99bba12f0 libdpkg: Try to print the executable name of the lock contending process d6a9bb695 libdpkg: Add new execname module b7dc60447 dselect: Use enum values instead of literal integers e56be2165 libdpkg: Check for updateslength < 0 instead of == -1 in ulist_select() af5c8d99e libdpkg: Check for limit >= 0 instead of != -1 in buffer_copy() 1a7b7d52e dpkg: Check for < 0 instead of == -1 for conffderef() return values 4682652aa Check for >= 0 instead of != -1 for syscall return values 5601b4769 Check for < 0 instead of == -1 from syscall return values 040922cf0 dpkg-realpath: Guarantee varbufs have been allocated f724d5076 Revert "dpkg-realpath: Switch direct varbuf accesses to varbuf_str()" 0fee7b211 dpkg-realpath: Switch direct varbuf accesses to varbuf_str() 474db9879 dpkg-realpath: Do not allow an empty pathname argument 983fadb9e libdpkg: Do not accept len >= INT_MAX in fd_read() and fd_write() 9ff1f50b1 libcompat: Fix vasprintf() to error out if vsnprintf() returns >= INT_MAX 811651673 build: Check whether HAVE_* macros for headers are defined 83c6705c1 s-s-d: Fix typos in code comments 4993ac06a build: Add missing files and sort POTFILES.in 45317f873 test: Switch ar m4 macros to use internal dpkg-ar implementation 865322b2a dpkg-ar: New internal ar implementation script fbee9f6d4 Dpkg::Archive::Ar: New module 9b2f0100f test: Refactor ar handling into m4 macros 59ce405f3 test: Unify all ar invocations into create, extract and list 7e27cbae0 Dpkg::Shlibs::Cppfilt: Normalize demangled symbols with llvm or C++11 format 1c7f9f2be test: Only execute Dpkg::Shlibs checks on ELF platforms ef9d366fe test: Add new DPKG_CHECK_DIFF macro to abstract file comparisons 3533e05c2 Dpkg::Vendor::Debian: Set -Wno-error on qa=-bug-implicit-func 0dff3528b po: Update German scripts translation 0b7988833 po: Update German man pages translation 33e3074db Dpkg::OpenPGP::ErrorCodes: Update error codes from SOP draft version 10 0274e3d35 dpkg-buildpackage: Make newline injection during signing GnuPG specific 8389e7010 lib, src: Include missing <stdbool.h> c94e16d93 Dpkg::Vendor::Debian: On native builds map *_FOR_BUILD flags to * flags 17456a341 Merge conffile obsolete and remove-on-upgrade into a single flags member b11ffedca dpkg: Refactor conffile disappearing check into a new function 09ae88618 dpkg-shlibdeps: Add support for new --package option e16a155f5 dpkg-shlibdeps: Refactor executable CLI parsing 01505a922 libdpkg: Factor fsys_list_parse_buffer() out of ensure_packagefiles_available() 6410d905b test: Clarify the Makefile fragment variable being tested via comments 1e9c98a43 test: Parametrize all Makefile fragment functional tests 7e73ffda9 test: Set CC to gcc in make fragments functional tests d8ff5ef85 scripts/mk: Stop hard-coding dpkg_datadir a0b4da48c scripts/mk: Replace more GNU sed constructs with POSIX ones 57048fc8c build: Fix test verbose and parallel option propagation deb4cfe60 build: Workaround Tap::Harness verbose misbehavior on parallel mode f2407763c doc: Fix casing after admonition 153a7c8de doc: Fix grammar for fallback 86fe73a5a po: Update German man pages translation 17dd89881 libdpkg: Make varbuf_detach() always return a string 0e589d3fc libdpkg: Make prefix and suffix varbuf checks cope with unallocated varbufs 7f287adcd libdpkg: Compute string slice for varbuf_has_suffix() check on good values 61b221cf7 man: Update verify format example to also include M 6d6488a9e dpkg: Do not run hooks or loggers with --dry-run or unprivileged bc4dc7153 debian: Suppress s-s-d compat symlink if /sbin is missing 98e16e2eb dpkg-genbuildinfo: Parse Provides as virtual packages b126d9726 test: Refactor real and virtual package setup b33121e1f po: Update German man pages translation b33417497 libdpkg: Turn the warning on Provides version relation into a lax error 77cd6c000 libdpkg: Refactor lax problem reporting into parse_lax_problem() function 4ed783dc7 man: Document weak checksum algorithms e5fb453b3 man: Document missing Packages front-end fields in dpkg-query(1) 77f1ce33a po: Update Dutch man pages translations 9dff67290 libdpkg: Mark file_slurp_fd() NUL-terminate the varbuf e146a68a3 scripts/mk: Reduce the number of subprocesses 970350af0 test: Test override of a build tool 48a52db41 test: Add missing test for CPP build tool 0b4d3ad3d test: Test DEB_CXXFLAGS_MAINT_SET 0a3195357 test: Test variable override 4b04e760a test: Test exported variables in addition to Make variables bb01e59d8 test: Replace double quotes with single quote in shell recipes d583f4846 test: Use loops instead of repetitions in mk fragment tests 4c7702871 test: Simplify buildflags.mk test of _MAINT_APPEND when TEST_ is empty ce5c5af16 test: Unset DEB_BUILD_MAINT_OPTIONS in build flags tests f1175056f build: Rework subst handling for built or installed artifacts 84d82aaaf po: Update German programs translation f8d4dc399 po: Update German man pages translation 24a7aee46 Revert "test: Pass -T+1 to xz to workaround spurious warning with xz 5.6.0" 0f4000a29 test: Initialize varbuf before use 489c0f4b2 libdpkg: Add missing header includes 51b9b23c4 po: Update Swedish translations 0f503ee3a src: Check whether SOURCE_DATE_EPOCH is set before parsing it 2b771a88e src: Fix timestamp parse error reporting f6d747035 dpkg: Use a variable for each conffile pathname type 42158472a dpkg-realpath: Rewrite in C 9d410b391 libdpkg: Add new file_getcwd() function f382029ba libdpkg: Add new varbuf prefix and suffix handling functions e5c856f73 libdpkg: Add support for DPKG_NLS environment variable 24287281f man: Document DPKG_COLORS and DPKG_NLS for all perl scripts honoring them e309f8639 man: Add new libdpkg(7) manual page 46ca7d944 build: Pass abs_srcdir and abs_builddir to the TAP driver ae03bfd28 libdpkg: Remove varbuf_end_str() function cae07d61c libdpkg: Always NUL terminate varbufs fe1c99810 Use varbuf_str() instead of direct access 426997f83 libdpkg: Rename varbuf_get_str() to varbuf_str() aea0858f5 libdpkg: Change varbuf_get_str() to return "" instead of initializing it bfecc8f13 test: Pass --check-level=exhaustive to cppcheck 54a1a23d3 scripts/mk: Generate the _FOR_BUILD variant of each variable automatically 61f824cf1 scripts/mk: Search once for parrallel= in DEB_BUILD_OPTIONS d5835c587 scripts/mk: Use explicit test of $(origin) instead of ?= c0dde13fd scripts/mk: Use filter instead of findstring 8966616fa scripts/mk: Protect files against double inclusion f268c3733 po: Update German man pages translation 3e430c1f2 man: Document DEB_BUILD_ARCH and DEB_HOST_ARCH usage in commands 54a6ad9db build: Add support to track release VCS commit id 00707c50e build: Print the release version at the end of configure 4d9214444 po: Update German man pages translation 2c55113b6 build: Partially revert the sanitizer for some functional tests in CI 78a5e8e24 Dpkg::Vendor::Ubuntu: Use -fcf-protection=none instead of -fno-cf-protection 281c308ee libdpkg: Handle readlink() failures in file_readlink() 197fa86fc Dpkg::BuildDriver: Refactor build driver out of dpkg-buildpackage bab74e22a dpkg-buildpackage: Refactor build target hook execution c711bc865 dpkg-buildpackage: Fix the debian/rules executable check to respect -R f4a75f138 dpkg-buildpackage: Remove fallback handling for missing required targets 7b6e42a13 libcompat: Include missing <string.h> in strnlen module 6a22037c2 build: Do not check for functions used unconditionally 4c586e344 build: Do not check for memcpy() 2eb48ad0c build: Unconditionally include <stddef.h> 4921ef18c build: Add missing space before backslash ebd19171d build: Re-enable the sanitizer for functional tests in CI 7348ad792 doc: Add missing full stop to end of sentence 0d3527afd test: Do not fail the functional test suite due to memory leaks 5cdc783e5 libdpkg: Factor out filesystem database file loading into new function cedd58200 po: Update German man pages translation dfa1ac937 Bump version to 1.22.7
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Mon, 29 Jul 2024 01:10:02 +0000 (09:10 +0800)]
vulkan-headers: upgrade 1.3.283.0 -> 1.3.290.0
Changelog:
============
- cmake: Disable modules if clang-scan-deps is missing
- Disable VulkanHppModule support in clang-cl
- Add windows clang & clang-cl CI jobs
- Update for Vulkan-Docs 1.3.290
- build: Require MSVC 17.11 for module support
- build(deps): bump fsfe/reuse-action from 3 to 4
- Change name of update to Makefile.release
- Makefile to import generated scripts and headers when doing a spec update
- Update for Vulkan-Docs 1.3.289
- cmake: Workaround MSVC module support compiler bug
- ci: Add explicit build step
- cmake: Remove explicit install of Vulkan-Module
- ci: Add install step
- Add vulkan.cppm as a separate library: Vulkan::VulkanHppModule
- cmake: Allow external control of whether to test or install
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Mon, 29 Jul 2024 01:10:01 +0000 (09:10 +0800)]
sysklogd: upgrade 2.5.2 -> 2.6.0
Changelog:
============
### Changes
- Add reload command for systemd service
- Add global log rotation options to .conf file, issue #80. Introducing
two new settings: 'rotate_size SIZE' and 'rotate_count COUNT'
- Semantic change for per-file log rotation settings, no longer possible
to disable log rotation for a file by setting 'rotate=0:0'
- Possible to set only size or count rotation per file
- Add support for 'listen addr:port' to .conf file, issue #83
### Fixes
- Fix #72: loss of raw kernel log messages to console.
- Fix #81: blocking delay for unreachable remote log server.
- Fix #82: retry creating UNIX and network sockets on failure.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Mon, 29 Jul 2024 01:09:59 +0000 (09:09 +0800)]
spirv-tools: upgrade 1.3.283.0 -> 1.3.290.0
Changelog:
==========
- Do not fold mul and adds to generate fmas
- add OpExtInst forward ref fixup pass
- Separate Location check for tess patch
- Validate MemoryAccessMask of OpCooperativeMatrixStoreKHR
- OpSampledImage extra validation
- add support for OpExtInstWithForwardRefs
- add decorations to comments
- Add --nested-indent and --reorder-blocks
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>