Commit Graph

14480 Commits

Author SHA1 Message Date
Khem Raj f9b58e2eae libtoml11: Upgrade to 4.4.0
Fix build with clang-20 while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-08 15:06:11 -08:00
Etienne Cordonnier 1d43511321 uutils-coreutils: disable stdbuf compilation
There is a bug in uutils-coreutils causing stdbuf to include the HOST version of libstdbuf.so, even when cross-compiled.
As a side-effect, the uutils-coreutils binary was containing the buildpath, because RPATH was set on libstdbuf.so.
Thus the buildpath error can be re-enabled.

This is tracked upstream by https://github.com/uutils/coreutils/issues/6591

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Co-authored-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-08 15:04:57 -08:00
Markus Volk 6cf4cf8b1b fastfloat: remove recipe
fastfloat was moved to oe-core

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-07 08:37:00 -08:00
Martin Jansa 458934221f thin-provisioning-tools: use STAGING_LIBDIR_NATIVE variable for LIBCLANG_PATH
* hardcoding:
  ${WORKDIR}/recipe-sysroot-native${libdir}
  is just wrong when there is a better variable

* This path won't be correct for multilib builds where target ${libdir}
  might be e.g. /usr/lib32 while native libdir is /usr/lib.

* use STAGING_LIBDIR_NATIVE variable which uses correct ${libdir_native}

* fixes:
  error: failed to run custom build command for `devicemapper-sys v0.3.0`

  Caused by:
    process didn't exit successfully: `lib32-thin-provisioning-tools/1.1.0/build/target/release/build/devicemapper-sys-88de590bc55acb43/build-script-build` (exit status: 101)
    --- stderr
    thread 'main' panicked at lib32-thin-provisioning-tools/1.1.0/sources-unpack/cargo_home/bitbake/bindgen-0.69.4/lib.rs:622:31:
    Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang-*.so', 'libclang.so.*', 'libclang-*.so.*'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-07 08:37:00 -08:00
Lei Maohui 2f7b184cda dialogp: By default, dialog_1.3-20250116 renames /usr/bin/dialog to /usr/bin/${HOST_SYS}-dialog.
mkdir -p /build-dir/202503/build-poky/tmp/work/core2-64-poky-linux/dialog/1.3-20250116/image/usr/share/man/man1
/build-dir/202503/build-poky/tmp/hosttools/install -c dialog /build-dir/202503/build-poky/tmp/work/core2-64-poky-linux/dialog/1.3-20250116/image/usr/bin/`echo dialog |sed s,^,x86_64-poky-linux-,`

This change goes against established user habits. So, create a symbolic link named /usr/bin/dialog.

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-06 06:58:00 -08:00
Peter Marko ffc61c3b93 libmodbus: upgrade 3.1.10 -> 3.1.11
Resolves CVE-2024-10918

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-06 06:58:00 -08:00
Martin Jansa 9b4dfdb14f uutils-coreutils: remove LIBCLANG_PATH, SELINUX_LIB_DIR, SELINUX_INCLUDE_DIR variables
* don't seem to be needed, I don't see any failures or changes after removing them

* they were needed before in older version as explained by Etienne in:
  https://lists.openembedded.org/g/openembedded-devel/message/115756

regarding SELINUX_INCLUDE_DIR, it was definitely needed as I implemented the recipe. During implementation I submitted this patch to selinux-sys ( https://github.com/koutheir/selinux-sys/commit/a6667c404ecc33266f66e9516bb8e30150c41ec2 ) to correctly use this variable, and was getting a build error without this fix because the rust crate selinux-sys was not finding the selinux header-file (specifically, the bindgen tool).

However, this was in 2022, and since then there has been this patch in selinux-sys: https://github.com/koutheir/selinux-sys/commit/d3ea4674e18c5240918348bea4ec6248e50516e5 , and it seems that the variable is not needed any more.
At least I'm not able to reproduce the build error which I was getting, even with commenting out SELINUX_LIB_DIR and SELINUX_INCLUDE_DIR.

The header-file is used for generating rust code from the C header-file using bindgen, so I don't think it makes a difference whether the native version or the target version is used.

This is the old build error I was getting:
  process didn't exit successfully: `/workdir/build/tmp-glibc/work/armv8a-linux/uutils-coreutils/0.0.14.AUTOINC+43a5b8c7d7-r0/build/target/release/build/selinux-sys-0849198bc1fef4a4/build-script-build` (exit status: 101)
  --- stdout
  cargo:root=/workdir/build/tmp-glibc/work/armv8a-linux/uutils-coreutils/0.0.14.AUTOINC+43a5b8c7d7-r0/build/target/aarch64-snap-linux/release/build/selinux-sys-d96748d49908959f/out
  cargo:rerun-if-env-changed=SELINUX_STATIC_aarch64-snap-linux
  cargo:rerun-if-env-changed=SELINUX_STATIC_aarch64_snap_linux
  cargo:rerun-if-env-changed=TARGET_SELINUX_STATIC

|   --- stderr
|   src/selinux-sys.h:1:10: fatal error: 'selinux/selinux.h' file not found
|   src/selinux-sys.h:1:10: fatal error: 'selinux/selinux.h' file not found, err: true

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-06 06:58:00 -08:00
Martin Jansa e35b6e146b uutils-coreutils: use correct variables
* use STAGING_LIBDIR_NATIVE variable for LIBCLANG_PATH and SELINUX_LIB_DIR
  and STAGING_INCDIR_NATIVE variable for SELINUX_INCLUDE_DIR
  not sure why it uses native version and not target, but at least use
  correct variable

* hardcoding:
  ${WORKDIR}/recipe-sysroot-native${libdir}
  is just wrong when there is a better variable

* This path won't be correct for multilib builds where target ${libdir}
  might be e.g. /usr/lib32 while native libdir is /usr/lib.

* even with meta-selinux added to my builds I don't see any failure
  maybe these variables aren't really used?

* use STAGING_LIBDIR_NATIVE variable which uses correct ${libdir_native}

OE qemuarm64-multilib@ /OE/build/oe-core $ bitbake-getvar LIBCLANG_PATH -r uutils-coreutils
  #
  # $LIBCLANG_PATH [2 operations]
  #   exported /OE/build/oe-core/meta-openembedded/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.29.bb:33
  #     [export] "1"
  #   set /OE/build/oe-core/meta-openembedded/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.29.bb:33
  #     "${WORKDIR}/recipe-sysroot-native${libdir}"
  # pre-expansion value:
  #   "${WORKDIR}/recipe-sysroot-native${libdir}"
export LIBCLANG_PATH="/OE/build/oe-core/tmp/work/cortexa57-oe-linux/uutils-coreutils/0.0.29/recipe-sysroot-native/usr/lib64"

OE qemuarm64-multilib@ /OE/build/oe-core $ bitbake-getvar STAGING_LIBDIR_NATIVE -r uutils-coreutils
  #
  # $STAGING_LIBDIR_NATIVE
  #   set /OE/build/oe-core/openembedded-core/meta/conf/bitbake.conf:425
  #     "${STAGING_DIR_NATIVE}${libdir_native}"
STAGING_LIBDIR_NATIVE="/OE/build/oe-core/tmp/work/cortexa57-oe-linux/uutils-coreutils/0.0.29/recipe-sysroot-native/usr/lib"

OE qemuarm64-multilib@ /OE/build/oe-core $ bitbake-getvar LIBCLANG_PATH -r lib32-uutils-coreutils
  #
  # $LIBCLANG_PATH [2 operations]
  #   exported /OE/build/oe-core/meta-openembedded/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.29.bb:33
  #     [export] "1"
  #   set /OE/build/oe-core/meta-openembedded/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.29.bb:33
  #     "${WORKDIR}/recipe-sysroot-native${libdir}"
  # pre-expansion value:
  #   "${WORKDIR}/recipe-sysroot-native${libdir}"
export LIBCLANG_PATH="/OE/build/oe-core/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-uutils-coreutils/0.0.29/recipe-sysroot-native/usr/lib32"

OE qemuarm64-multilib@ /OE/build/oe-core $ bitbake-getvar STAGING_LIBDIR_NATIVE -r lib32-uutils-coreutils
  #
  # $STAGING_LIBDIR_NATIVE
  #   set /OE/build/oe-core/openembedded-core/meta/conf/bitbake.conf:425
  #     "${STAGING_DIR_NATIVE}${libdir_native}"
STAGING_LIBDIR_NATIVE="/OE/build/oe-core/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-uutils-coreutils/0.0.29/recipe-sysroot-native/usr/lib"

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-06 06:58:00 -08:00
Etienne Cordonnier d54e2671e6 fsverity-utils: fix SRC_URI
This URL does not exist any more, and do_fetch works only because a mirrored
file is available at
http://downloads.yoctoproject.org/mirror/sources/git2_git.kernel.org.pub.scm.linux.kernel.git.ebiggers.fsverity-utils.git.tar.gz

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-06 06:58:00 -08:00
Martin Jansa c35f135049 spdm-utils: use STAGING_DIR_HOST/STAGING_INCDIR variables
* there is no need to hardcode 'recipe-sysroot' path which is wrong in multilib builds
  where it will be 'lib32-recipe-sysroot' use standard variables
  STAGING_DIR_HOST and STAGING_INCDIR

* it is still failing in some builds (with or without multilib enabled) with:

error: linking with `spdm-utils/0.7.2/wrapper/target-rust-ccld` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="spdm-utils/0.7.2/recipe-sysroot-native/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:spdm-utils/0.7.2/recipe-sysroot-native/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:spdm-utils/0.7.2/recipe-sysroot-native/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:TOPDIR/BUILD/sysroots-uninative/x86_64-linux/usr/bin:spdm-utils/0.7.2/recipe-sysroot-native/usr/bin/python3-native:TOPDIR/oe-core/scripts:spdm-utils/0.7.2/recipe-sysroot-native/usr/bin/aarch64-oe-linux:spdm-utils/0.7.2/recipe-sysroot/usr/bin/crossscripts:spdm-utils/0.7.2/recipe-sysroot-native/usr/sbin:spdm-utils/0.7.2/recipe-sysroot-native/usr/bin:spdm-utils/0.7.2/recipe-sysroot-native/sbin:spdm-utils/0.7.2/recipe-sysroot-native/bin:TOPDIR/bitbake/bin:TOPDIR/BUILD/hosttools" VSLANG="1033" "spdm-utils/0.7.2/wrapper/target-rust-ccld" "/tmp/rustcwOPmo4/symbols.o" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/spdm_utils-bde42d4d198f7a3b.spdm_utils.10963d2e3c9526dc-cgu.00.rcgu.o" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/spdm_utils-bde42d4d198f7a3b.spdm_utils.10963d2e3c9526dc-cgu.01.rcgu.o" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/spdm_utils-bde42d4d198f7a3b.spdm_utils.10963d2e3c9526dc-cgu.02.rcgu.o" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/spdm_utils-bde42d4d198f7a3b.spdm_utils.10963d2e3c9526dc-cgu.03.rcgu.o" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/spdm_utils-bde42d4d198f7a3b.spdm_utils.10963d2e3c9526dc-cgu.04.rcgu.o" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/spdm_utils-bde42d4d198f7a3b.spdm_utils.10963d2e3c9526dc-cgu.05.rcgu.o" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/spdm_utils-bde42d4d198f7a3b.spdm_utils.10963d2e3c9526dc-cgu.06.rcgu.o" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/spdm_utils-bde42d4d198f7a3b.spdm_utils.10963d2e3c9526dc-cgu.07.rcgu.o" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/spdm_utils-bde42d4d198f7a3b.spdm_utils.10963d2e3c9526dc-cgu.08.rcgu.o" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/spdm_utils-bde42d4d198f7a3b.spdm_utils.10963d2e3c9526dc-cgu.09.rcgu.o" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/spdm_utils-bde42d4d198f7a3b.spdm_utils.10963d2e3c9526dc-cgu.10.rcgu.o" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/spdm_utils-bde42d4d198f7a3b.spdm_utils.10963d2e3c9526dc-cgu.11.rcgu.o" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/spdm_utils-bde42d4d198f7a3b.spdm_utils.10963d2e3c9526dc-cgu.12.rcgu.o" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/spdm_utils-bde42d4d198f7a3b.spdm_utils.10963d2e3c9526dc-cgu.13.rcgu.o" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/spdm_utils-bde42d4d198f7a3b.spdm_utils.10963d2e3c9526dc-cgu.14.rcgu.o" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/spdm_utils-bde42d4d198f7a3b.spdm_utils.10963d2e3c9526dc-cgu.15.rcgu.o" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/spdm_utils-bde42d4d198f7a3b.a5lxpbrgiyije3w5cbqbylhb7.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libserialport-6eeca887df603c96.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libunescaper-cea3830d0f2d8e36.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libnix-dac1a1693ab17db3.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libbitflags-d74b49e427459ea6.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/liblibudev-c60e422d317a6d2a.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/liblibudev_sys-c703eeb5c735a38c.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/liblibmctp-fead11c09f728867.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libsmbus_pec-3bd54e240597f305.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libembedded_crc_macros-a6fe57f0f48ef874.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libbitfield-d004b2e82a12be5c.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libx509_parser-362699415348d972.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libdata_encoding-bb06fc446846a769.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/liboid_registry-02fd472405fe8fe9.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libder_parser-d1f98822897a57b2.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libnum_bigint-688b27e66bf0b68f.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libnum_integer-7f827874f05600ee.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libasn1_rs-e74a43291d44175f.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libtime-017b51bb919318e7.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libitoa-8ab99d3828099a8e.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libtime_core-a0a3e07ea9d65e2b.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libnum_conv-06fec1ec684a87e1.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libderanged-ffd9c21dd9532c1a.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libpowerfmt-c282310c9539410f.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libasn1_rs-086351c4156f8c45.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libthiserror-250ffbb3eb5075a0.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/librusticata_macros-b29e91a256e7f339.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libnom-14d1f6f55899cc7f.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libnum_traits-ff021baaff61b6dd.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libenv_logger-4d971d97d3d2728a.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libtermcolor-5f5920ebd06dd4f0.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libis_terminal-cf7edf7fdc93135c.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libhumantime-0544f8a004168f5a.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libregex-9e2dcd075c834f8f.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libregex_automata-5467380482e473a6.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libaho_corasick-2fff436f7eb72e62.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libregex_syntax-5235f377a0d736ba.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libsha2-70c395dc600e20f3.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libdigest-b291496809a77a8f.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libblock_buffer-9693dc4f01c47a6a.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libcrypto_common-a0e27511fe62f6c0.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libgeneric_array-038d5582acbd4525.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libtypenum-e53790c6af30a73c.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libnix-1bf3ed0ea4e2e7fd.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/liblibc-948e68f25c1ea920.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/liblibspdm-cd3bb7cf97ef1ede.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libcolored-4b424f8b8a8a8f3a.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/liblazy_static-e4af7fc9cda932b7.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libwhich-ed452b9a8575f9c2.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libhome-025b3253d2c9a761.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libeither-a74c6c4f425b42e6.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libminicbor-6dd2ce82a1c6ab80.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libhalf-60173e3c67bb51d7.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libfutures-a895171bccbbf729.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libfutures_executor-08de71c30d20f215.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libfutures_util-80b02b35afdeac60.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libfutures_channel-130545631c2db438.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnurelease/deps/libfutures_sink-7de21ab1b2977f12.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libfutures_task-8f358783b3a90d2e.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libpin_utils-725b87fa7f052d76.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libclap-9f603ab24f4e6ac8.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libclap_builder-b02ec4f395c2d49a.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libstrsim-6c18ac20b99f1e62.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libanstream-be4ed5ec629d6cf6.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libanstyle_query-a6d9f9bb2f22fde2.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libis_terminal_polyfill-cd48d67605f06b34.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libcolorchoice-1daf6f02b9c525b9.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libanstyle_parse-bc9ba3dd88b60c4d.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libutf8parse-123ec8d013c1be9c.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libclap_lex-d099f14881092c47.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libanstyle-134885157f6b20ae.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libasync_std-276f6efc8eb7aa08.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libmemchr-4bada5f9ce95ee71.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libasync_global_executor-3d81cc78f05bb9b7.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libblocking-a150ec06774df238.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libpiper-122e031690ac2eee.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libatomic_waker-d518cd5948259228.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libasync_channel-43c9dc6a1c77de5b.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libasync_executor-6b9f64980735686f.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libasync_task-d172452ce8e6e7c2.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libonce_cell-d237059d66b9fe37.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libasync_io-b7f857a36a0f6858.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libslab-f4bedd7227c6bf84.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libpolling-2541f97ca1b9ab98.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libtracing-27d8bd1a07ee47ac.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libtracing_core-1b1f84d2a95f3932.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libcfg_if-fdb0d11c6dd44f87.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/librustix-a2f9a72310cd063a.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libbitflags-9ca1a1f0de518834.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/liblinux_raw_sys-99651370baf8c855.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libfutures_lite-3bb954336e1d8cfb.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libfastrand-4612045bc9988b72.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libfutures_io-cf70903f61e9b6cf.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libasync_channel-3a4688c43a4bbab6.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libevent_listener-34ab001d39450d29.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libconcurrent_queue-0f9cfddcdb7c1ab5.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libcrossbeam_utils-224ded61ddaf0891.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libasync_lock-da4cb138055e51a7.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libevent_listener_strategy-43c86a853439156a.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libevent_listener-844e677a0da51119.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libparking-3dffb30da11a1f47.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libpin_project_lite-5503e04d7a85db18.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libfutures_core-7153e7ad780e0572.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libkv_log_macro-91253cf35f2bf00b.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/liblog-ca2be10f58adc31a.rlib" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libvalue_bag-e7a2a4594b6dbc84.rlib" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib/libstd.rlib" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib/libpanic_unwind-2af724e74f58518c.rlib" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib/libobject-a0d3363d4c06b170.rlib" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib/libmemchr-d448e3cd48ffb56d.rlib" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib/libaddr2line-be185de14bda170a.rlib" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib/libgimli-4f87816ac4c3936c.rlib" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib/librustc_demangle-fb519111ad364b3c.rlib" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib/libstd_detect-4a789f348ecae68d.rlib" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib/libhashbrown-53fc84a5893e74d4.rlib" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib/librustc_std_workspace_alloc-863b1a9dcca1e102.rlib" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib/libminiz_oxide-99398dbf0d70cd1a.rlib" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib/libadler-819f47a85e2a506f.rlib" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib/libunwind-8a40409cdcc36a8f.rlib" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib/libcfg_if-dd2ea6c27f046e56.rlib" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib/liblibc-a298ccd8ac6da714.rlib" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib/liballoc-056aaf2e033bde1c.rlib" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib/librustc_std_workspace_core-285c3174480c42d6.rlib" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib/libcore-df89ffd20f73d501.rlib" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib/libcompiler_builtins-f7db086d3d9fb6b3.rlib" "-Wl,-Bdynamic" "-ludev" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib" "-L" "spdm-utils/0.7.2/recipe-sysroot/usr/lib" "-L" "spdm-utils/0.7.2/recipe-sysroot-native/usr/lib/rustlib/aarch64-oe-linux-gnu/lib" "-o" "spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/spdm_utils-bde42d4d198f7a3b" "-Wl,--gc-sections" "-pie" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs" "-Wl,--start-group" "-lpci" "-lmemlib" "-lmalloclib" "-ldebuglib" "-lplatform_lib" "-lssl" "-lcrypto" "-lcryptlib_openssl" "-lrnglib" "-lspdm_common_lib" "-lspdm_requester_lib" "-lspdm_responder_lib" "-lspdm_secured_message_lib" "-lspdm_secured_message_lib" "-lspdm_crypt_lib" "-lspdm_crypt_ext_lib" "-lspdm_transport_pcidoe_lib" "-lspdm_transport_mctp_lib" "-Wl,--end-group"
  = note: spdm-utils/0.7.2/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/14.2.0/ld: spdm-utils/0.7.2/recipe-sysroot/usr/lib/libmemlib.a(zero_mem.c.o): undefined reference to symbol '__stack_chk_guard@@GLIBC_2.17'
          spdm-utils/0.7.2/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/14.2.0/ld: spdm-utils/0.7.2/recipe-sysroot/usr/lib/ld-linux-aarch64.so.1: error adding symbols: DSO missing from command line
          collect2: error: ld returned 1 exit status

  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)

error: could not compile `SPDM-Utils` (bin "spdm_utils") due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name spdm_utils --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="asn1-rs"' --cfg 'feature="async-std"' --cfg 'feature="clap"' --cfg 'feature="colored"' --cfg 'feature="default"' --cfg 'feature="env_logger"' --cfg 'feature="futures"' --cfg 'feature="lazy_static"' --cfg 'feature="memmap2"' --cfg 'feature="minicbor"' --cfg 'feature="minicbor-derive"' --cfg 'feature="nix"' --cfg 'feature="once_cell"' --cfg 'feature="serialport"' --cfg 'feature="sha2"' --cfg 'feature="std"' --cfg 'feature="which"' --cfg 'feature="x509-parser"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("asn1-rs", "async-std", "clap", "colored", "default", "env_logger", "futures", "lazy_static", "libspdm_tests", "memmap2", "minicbor", "minicbor-derive", "nix", "no_std", "once_cell", "serialport", "sha2", "std", "which", "x509-parser"))' -C metadata=bde42d4d198f7a3b -C extra-filename=-bde42d4d198f7a3b --out-dir spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps --target aarch64-oe-linux-gnu -C linker=spdm-utils/0.7.2/wrapper/target-rust-ccld -C strip=debuginfo -L dependency=spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps -L dependency=spdm-utils/0.7.2/build/target/release/deps --extern libspdm=spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/liblibspdm-cd3bb7cf97ef1ede.rlib --extern asn1_rs=spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libasn1_rs-086351c4156f8c45.rlib --extern async_std=spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libasync_std-276f6efc8eb7aa08.rlib --extern clap=spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libclap-9f603ab24f4e6ac8.rlib --extern colored=spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libcolored-4b424f8b8a8a8f3a.rlib --extern env_logger=spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libenv_logger-4d971d97d3d2728a.rlib --extern futures=spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libfutures-a895171bccbbf729.rlib --extern lazy_static=spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/liblazy_static-e4af7fc9cda932b7.rlib --extern libmctp=spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/liblibmctp-fead11c09f728867.rlib --extern log=spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/liblog-ca2be10f58adc31a.rlib --extern memmap2=spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libmemmap2-1e722f3ca1cb9a40.rlib --extern minicbor=spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libminicbor-6dd2ce82a1c6ab80.rlib --extern minicbor_derive=spdm-utils/0.7.2/build/target/release/deps/libminicbor_derive-1ac8504d13b7a0c4.so --extern nix=spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libnix-1bf3ed0ea4e2e7fd.rlib --extern once_cell=spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libonce_cell-d237059d66b9fe37.rlib --extern serialport=spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libserialport-6eeca887df603c96.rlib --extern sha2=spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libsha2-70c395dc600e20f3.rlib --extern which=spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libwhich-ed452b9a8575f9c2.rlib --extern x509_parser=spdm-utils/0.7.2/build/target/aarch64-oe-linux-gnu/release/deps/libx509_parser-362699415348d972.rlib -L spdm-utils/0.7.2/recipe-sysroot/usr/lib/rustlib/aarch64-oe-linux-gnu/lib --remap-path-prefix=spdm-utils/0.7.2=/usr/src/debug/spdm-utils/0.7.2 -C link-arg=-Wl,--start-group -C link-arg=-lpci -C link-arg=-lmemlib -C link-arg=-lmalloclib -C link-arg=-ldebuglib -C link-arg=-lplatform_lib -C link-arg=-lssl -C link-arg=-lcrypto -C link-arg=-lcryptlib_openssl -C link-arg=-lrnglib -C link-arg=-lspdm_common_lib -C link-arg=-lspdm_requester_lib -C link-arg=-lspdm_responder_lib -C link-arg=-lspdm_secured_message_lib -C link-arg=-lspdm_secured_message_lib -C link-arg=-lspdm_crypt_lib -C link-arg=-lspdm_crypt_ext_lib -C link-arg=-lspdm_transport_pcidoe_lib -C link-arg=-lspdm_transport_mctp_lib -C link-arg=-Wl,--end-group -L native=spdm-utils/0.7.2/recipe-sysroot/usr/lib` (exit status: 1)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-06 06:57:59 -08:00
Yi Zhao 74110869a8 lvm2: upgrade 2.03.30 -> 2.03.31
ChangeLog:
Version 2.03.31 - 27th February 2025
====================================
  Reduce 'mandoc -T lint' reported issues for man pages.
  Restore support for LVM_SUPPRESS_FD_WARNINGS (2.03.24).
  Fix uncache and split cache restoring original state of volume.
  Extend use of lockopt skip to more scenarios.
  Enhance error path resolving in polling code.
  Disallow shared activation of LV with CoW snapshot.
  Fix lvmlockd use in lvremove of CoW snapshot, VDO pool, and uncache.
  Improve mirror split with opened temporary volumes.
  Improve pvmove finish with opened temporary volumes.
  Fix backup limit for devices file, handle over 10,000 files.
  Ignore reported optimal_io_size not divisible by 4096.
  Fix busy-loop in config reading when read returned 0.
  Fix DM cache preserving logic (2.03.28).
  Improve use of lvmlockd for usecases involving thin volumes and pools.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-02 08:48:12 -08:00
Alex Kiernan cd57f730d6 abseil-cpp: Backport xpaclri asm fix
Native build on aarch64 breaks with:

| {standard input}: Assembler messages:
| {standard input}:169: Error: selected processor does not support `xpaclri'
| {standard input}:411: Error: selected processor does not support `xpaclri'
| {standard input}:859: Error: selected processor does not support `xpaclri'
| {standard input}:1140: Error: selected processor does not support `xpaclri'

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alex Kiernan <alexk@a-squared-projects.uk>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-01 08:33:22 -08:00
Paul Le Guen de Kerneizon 7d46922407 gnuplot: add x11 PACKAGECONFIG
Currently, gnuplot recipe requires the x11 distro feature to be built.
However, X11 is not needed for running gnuplot as long as we don't use
a gnuplot X11 terminal.
This commit adds the x11 package config used to make the need of x11
distro feature optional to build gnuplot. `features_check` inherit is removed as
any of the functionalities of this class is now used.

Signed-off-by: Paul Le Guen de Kerneizon <paul.leguendekerneizon@savoirfairelinux.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-28 18:48:27 -08:00
Paul Le Guen de Kerneizon 641e11b0eb phoronix-test-suite: add missing font
The `ttf-dejavu-sans` font is needed by SVG charts rendered in
phoronix-test-suite PDF reports.

Signed-off-by: Paul Le Guen de Kerneizon <paul.leguendekerneizon@savoirfairelinux.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-28 18:48:27 -08:00
Chen Qi 59dacb6d4d gperftools: upgrade from 2.15 to 2.16
disable_libunwind_aarch64.patch is dropped because from my runtime
testing, this patch is no longer needed.

0001-disbale-heap-checkers-and-debug-allocator-on-musl.patch is
dropped because I don't see it necessary now. Things still build
without it.

0001-src-mmap_hook.cc-Fix-build-for-32bit-machine.patch is dropped
because this oe specific patch is no longer needed because of the
following two commits:
02adc8c also disable _TIME_BITS in mmap_hook.cc
198b3dd disable _FILE_OFFSET_BITS in mmap_hook.cc

ppc-musl.patch is rebased.

0002-src-base-elf_mem_image.cc-fix-build-for-musl.patch is added
to fix build failure for musl + ppc64.

0003-Makefile.am-disable-building-noinst-tests-for-musl.patch is
added as a workaround to fix build failure on musl + ppc64.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-28 10:22:01 -08:00
Khem Raj 59f822ceb7 tk8: Exclude aclocal so existing macros are used
Adjustments for autoconf changes in oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-28 10:22:01 -08:00
Randolph Sapp 3ff6af6720 clpeak: add version 1.1.4
As of right now there are no applications available for benchmarking
OpenCL. Clpeak is a simple synthetic benchmark for OpenCL that is
designed to determine the peak capabilities of OpenCL devices.

It's currently one of the more popular CL benchmarks supported by
OpenBenchmarking.org and licensed Apache-2.0.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-27 19:53:37 -08:00
Trevor Woerner 09c22e8b0d iperf3: throughput fix
This is a backport of a fix to iperf3. The author saw a 40% improvement in
their network throughput, we've seen around a 55% improvement in our tests.

Link: https://github.com/esnet/iperf/pull/1708/commits/ac6b9f7fd335ddebc5212eed40083ef4cd3cb86d
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-27 19:53:36 -08:00
Thomas Schlien 1365e7bcb4 ttf-liberation: Upgrade 0.2 -> 2.1.5
The liberation font release 0.2 is not available for download
anymore and was released in 2007, so let's do an update.

Since 2007 also the license has changed to a better suited
SIL Open Font License. In addition, the ttf is now build from
source like, e.g., in ttf-lohit.

Signed-off-by: Thomas Schlien <ts@ferncast.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-27 13:10:01 -08:00
Gyorgy Sarvari 8dad29ad58 thin-provisioning-tools: add target and sysroot to bindgen flags
BUILD_CFLAGS doesn't contain information about the recipe sysroot nor about the target
system - and in case these are not specified for bindgen, then it builds against
the build system's headers, using the build system's arch.

Instead of BUILD_CFLAGS pass HOST_CC_ARCH and TOOLCHAIN_OPTIONS, which contain the sysroot
and the requred cross-compiling flags, beside passing the target flag also.

Fixes the following do_compile error:

|   /usr/include/linux/types.h:5:10: fatal error: 'asm/types.h' file not found
|   thread 'main' panicked at /yocto/sandbox/build/tmp/work/cortexa72-poky-linux/thin-provisioning-tools/1.1.0/sources-unpack/cargo_home/bitbake/devicemapper-sys-0.3.0/build.rs:24:10:
|   Could not generate dm.h bindings: ClangDiagnostic("/usr/include/linux/types.h:5:10: fatal error: 'asm/types.h' file not found\n")

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-27 13:10:00 -08:00
Khem Raj a271d827af thin-provisioning-tools: Upgrade to 1.1.0
Specify BINDGEN_EXTRA_CLANG_ARGS to pass correct cflags to bindgen during
cross compile

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-27 13:10:00 -08:00
Ross Burton 01f0ee673f postgresql: fix autoreconf
autoreconf needs to be told where to find macros as the Makefile.am does
not do this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton 8f00c1d4a7 cgdb: fix autoreconf
autoreconf needs to be told where to find macros as the Makefile.am does
not do this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton 1b9570533e log4cpp: fix autoreconf
autoreconf needs to be told where to find macros as the Makefile.am does
not do this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton b3ac051874 tk: exclude aclocal so existing macros are used
This package has hand-coded aclocal.m4 so ensure that we don't run
aclocal.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton 3083eb9f27 monit: fix autoreconf
autoreconf needs to be told where to find macros as the Makefile.am does
not do this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton b3cb662fe3 xmlrpc-c: use autoreconf
Add a patch to not use AM_INIT_AUTOMAKE as automake isn't actually used,
and just let autotools.bbclass run autoreconf.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton e989546d7d neon: remove obsolete class-native override
This prefix override for native builds is no longer needed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton 8d6af9005f neon: use gettext class
Just use the gettext class to simplify the enable/disabling of NLS
support.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton d2ce1dc6ba neon: fix autoreconf
autoreconf needs to be told where to find macros as the Makefile.am does
not do this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton 787cbb248c tigervnc: small cleanups
Add some implicit dependencies which are explicitly checked for, a small
comment, and remove an obsolete FILES:PN-dbg.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton c6a91f32cc tigervnc: simplify xserver unpack and build
When unpacking, just use cp to hardlink the xserver source tree into the
tigervnc source tree.

When configuring, instead of replicating complicated logic, we can
simply set the variable AUTOTOOLS_SCRIPT_PATH and just call
autotools_do_configure.  Some of the options passed to the xserver
configure are obsolete so remove them.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton e5643c6ba5 tigervnc: fix systemd unit packaging
Pass the correct path so the unit is installed where it should be, and
use the systemd class to ensure the unit is enabled correctly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton 5fdfe5b2ff libgphoto2: remove redundant autoconfing
The configure scripts do the right thing now, so there's no need to
patch configure.ac or manually invoke the sub-configure.

Also remove obsolete FILES, -dbg is packaged automatically and we don't
install .la files.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton 77c1c65dcf poke: remove obsolete acpaths
As of "autotools: don't try and find in-tree macros" in core, acpaths is
no longer used.

Also switch to out-of-tree builds as this appear to work now.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton 3b5500a1a9 php: remove obsolete acpaths
As of "autotools: don't try and find in-tree macros" in core, acpaths is
no longer used.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton 4089a0c021 zsh: modernise autoconf use
No need to manually write do_configure, the config.h.in is generated
with autoheader so don't disable that, but disable aclocal as that file
is hand-maintained.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton a855313be0 zsh: enable out-of-tree builds
This appears to work, so use it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton 50d63dee36 iksemel: remove
Iksemel is a XML parser library that was designed for Jabber applications,
but it has no users and hasn't been maintained for 14 years.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton d5e5310990 zsh: add missing manpages PACKAGECONFIG
If zsh is built with the api-documentation enabled, the manpages.bbclass
adds the 'manpages' PACKAGECONFIG but this isn't defined:

ERROR: zsh-5.9-r0 do_configure: QA Issue: zsh: invalid PACKAGECONFIG: manpages [invalid-packageconfig]

zsh doesn't have an option to disable the manpages, so add a stub
PACKAGECONFIG to silence this error.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton 26061b4318 libsdl2-image: upgrade to 2.8.5
Upstream rebuilt the 2.8.4 tarball[1] so builds without an existing
download fail.

License-Update: copyright years updated.

[1] https://github.com/libsdl-org/SDL_image/issues/515

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton 0708e38dd1 poke: enable out of tree builds 2025-02-27 20:28:16 +00:00
Ross Burton a2cc6294c5 cpuid: fix stripping
cpuid's Makefile passes -s to install to strip the binaries, but as this
uses the _host_ strip it can fail if that strip doesn't know about the
target (for example, building cpuid for x86 on aarch64):

  install -D -s -m 755 cpuid .../image/usr/bin/cpuid
  strip: Unable to recognise the format of the input file `.../image/usr/bin/cpuid'

Set INSTALL_STRIP='' so that the binaries are not stripped, and remove
the INSANE_SKIP for already-stripped.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:16 +00:00
Changqing Li 6d76dc0824 abseil-cpp: upgrade 20240722.0 -> 20250127.0
Upgrade to the latest new LTS release, release note:
https://github.com/abseil/abseil-cpp/releases?page=1

* drop 0005-Don-t-match-Wnon-virtual-dtor-in-the-flags-are-neede.patch,
already include in this LTS release
* Include security fix for CVE-2025-0838

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-27 09:55:50 -08:00
Changqing Li 03c947d8f0 postgresql: upgrade 16.8 -> 17.4
This is a major version upgrade, see release note:
https://www.postgresql.org/docs/release/

* Refresh patches:
0003-configure.ac-bypass-autoconf-2.69-version-check.patch
0005-postgresql-fix-ptest-failure-of-sysviews.patch
* Removed dropped option --enable-thread-safety
* Add depends for bison-native
* Fix do_packge_qa error:
  *.c *.h generated by bison or flex leave full paths in comment,
rewrite those before *-src packaging

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-26 17:27:32 -08:00
Yi Zhao 5ce6310250 mariadb: specify pkgconfig directory
Set correct pkgconfig directory via INSTALL_PCDIR, otherwise on 64-bit
targets, the .pc file will be installed to /usr/lib64/pkgconfig by
default.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-26 08:31:43 -08:00
Yi Zhao ba64200fd6 mariadb: set pam module path to ${base_libdir}/security
Set pam module path to ${base_libdir}/security via INSTALL_PAMDIR. Then
we can get rid of the workaround in do_install.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-26 08:31:43 -08:00
Wang Mingyu 76025e2744 pmdk: upgrade 2.1.0 -> 2.1.1
License-Update:
 change LICENSE to LICENSE.txt
 Copyright year updated to 2025.
 fix license to follow SPDX format

Changelog:
===========
- remove non-Linux support from all compilation paths (OS_KERNEL_NAME)
- add an aarch64 cross-compilation (requested by DAOS)
- mute error messages when transactions are intentionally aborted
- mute error message "Cannot find any matching device, no bad blocks found" when PMDK is used without PMem

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-26 08:30:56 -08:00
Wang Mingyu c93caf7c3f valijson: upgrade 1.0.3 -> 1.0.4
Changelog:
==========
- Prevent potential division by zero
- Fix stack overflow for unresolved references
- Fix buffer overflow in u8_strlen
- Fuzzing improvements
- Spelling corrections
- Detect circular references when parsing schemas
- Use statically allocated regexes for date/time pattern matching
- Allow permissive validation of date/time formats

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-26 08:30:56 -08:00
Wang Mingyu 1b2301f60c ser2net: upgrade 4.6.3 -> 4.6.4
Changelog:
===========
- tests: Fix some typos in the ipmisol basic test
- tests: Fix the modemstate and add linestate tests
- Fix modemstate and linestate handling
- Fix break sending to use the right function

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-26 08:30:56 -08:00