Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sbsigntools for openSUSE:Factory checked in at 2025-05-20 22:46:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sbsigntools (Old) and /work/SRC/openSUSE:Factory/.sbsigntools.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sbsigntools" Tue May 20 22:46:08 2025 rev:5 rq:1278848 version:0.9.5 Changes: -------- --- /work/SRC/openSUSE:Factory/sbsigntools/sbsigntools.changes 2023-04-04 21:26:38.619312683 +0200 +++ /work/SRC/openSUSE:Factory/.sbsigntools.new.30101/sbsigntools.changes 2025-05-20 22:46:11.845634136 +0200 @@ -1,0 +2,7 @@ +Thu Mar 27 16:16:26 UTC 2025 - Andreas Schwab <sch...@suse.de> + +- test-binary-format.patch: Use efi-app-$EFI_ARCH also for aarch64 and + riscv64 +- Use -ffat-lto-objects to fix testsuite on arm + +------------------------------------------------------------------- New: ---- test-binary-format.patch BETA DEBUG BEGIN: New: - test-binary-format.patch: Use efi-app-$EFI_ARCH also for aarch64 and riscv64 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sbsigntools.spec ++++++ --- /var/tmp/diff_new_pack.X1VeaI/_old 2025-05-20 22:46:12.905678624 +0200 +++ /var/tmp/diff_new_pack.X1VeaI/_new 2025-05-20 22:46:12.905678624 +0200 @@ -1,7 +1,7 @@ # # spec file for package sbsigntools # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,6 +23,7 @@ Release: 0 URL: http://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git Source: %{name}-%{version}.tar.gz +Patch0: test-binary-format.patch BuildRequires: binutils-devel BuildRequires: libuuid-devel BuildRequires: openssl-devel @@ -44,6 +45,9 @@ %prep %autosetup -p1 +# Needed for tests/test.elf which is linked by calling ld directly +%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects + %build NOCONFIGURE=1 ./autogen.sh CFLAGS="%optflags -Wno-error=maybe-uninitialized" ++++++ test-binary-format.patch ++++++ >From 9b72031f830f943e0e6695b5228a7068f5b4edee Mon Sep 17 00:00:00 2001 From: Andreas Schwab <sch...@suse.de> Date: Fri, 28 Mar 2025 21:45:03 +0100 Subject: [PATCH] Use efi-app for testing also on aarch64 and riscv64 Current binutils implement the efi-app target also for aarch64 and riscv64, and gnu-efi is using it by default as of version 4.0.0. This means that crt0-efi-$(EFI_ARCH) no longer contains the PE header, and linking as binary produces an unrecognizable object. Switch to using efi-app-$(EFI_ARCH) to ensure the PE header is included in the output. Signed-off-by: Andreas Schwab <sch...@suse.de> --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 8a5340a..00c15bb 100644 --- a/configure.ac +++ b/configure.ac @@ -68,7 +68,7 @@ PKG_CHECK_MODULES(uuid, uuid, dnl gnu-efi headers require extra include dirs EFI_ARCH=$(uname -m | sed 's/i.86/ia32/;s/arm.*/arm/') -AM_CONDITIONAL(TEST_BINARY_FORMAT, [ test "$EFI_ARCH" = "arm" -o "$EFI_ARCH" = "aarch64" -o "$EFI_ARCH" = riscv64 ]) +AM_CONDITIONAL(TEST_BINARY_FORMAT, [ test "$EFI_ARCH" = "arm" ]) ## # no consistent view of where gnu-efi should dump the efi stuff, so find it -- 2.49.0