Package: release.debian.org Severity: normal User: [email protected] Usertags: unblock
Please unblock package sbsigntool This fixes FTBFS with recent versions of binutils. diff -Nru sbsigntool-0.6/debian/changelog sbsigntool-0.6/debian/changelog --- sbsigntool-0.6/debian/changelog 2016-06-26 22:39:15.000000000 +0100 +++ sbsigntool-0.6/debian/changelog 2017-01-29 01:00:17.000000000 +0000 @@ -1,3 +1,10 @@ +sbsigntool (0.6-3.2) unstable; urgency=medium + + * Non-maintainer upload. + * Fix linker flags for test cases (Closes: #842446) + + -- Ben Hutchings <[email protected]> Sun, 29 Jan 2017 01:00:17 +0000 + sbsigntool (0.6-3.1) unstable; urgency=medium * Non-maintainer upload with approval of maintainer diff -Nru sbsigntool-0.6/debian/patches/fix-linker-flags-for-test-cases.patch sbsigntool-0.6/debian/patches/fix-linker-flags-for-test-cases.patch --- sbsigntool-0.6/debian/patches/fix-linker-flags-for-test-cases.patch 1970-01-01 01:00:00.000000000 +0100 +++ sbsigntool-0.6/debian/patches/fix-linker-flags-for-test-cases.patch 2017-01-29 01:00:17.000000000 +0000 @@ -0,0 +1,21 @@ +Author: Ben Hutchings <[email protected]> +Date: Sun, 29 Jan 2017 00:25:50 +0000 +Description: Fix linker flags for test cases + We need to explicitly disable use of a dynamic linker. When using + Debian's binutils 2.27-9, ld succeeds but appears to generate broken + headers that cause the tests to fail. When using binutils 2.28, ld + fails, reporting "Not enough room for program headers, try linking + with -N". +Bug-Debian: https://bugs.debian.org/842446 + +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -29,7 +29,7 @@ test-i386.pecoff: test_lds = $(srcdir)/t + test-i386.pecoff: ASFLAGS += -m32 + test-i386.pecoff: LDFLAGS += -m32 + +-test-%.elf: LDFLAGS = -nostdlib -T $(test_lds) ++test-%.elf: LDFLAGS = -nostdlib -T $(test_lds) -Wl,--no-dynamic-linker + test-%.elf: test-%.$(OBJEXT) $(test_lds) + $(LINK) $< + diff -Nru sbsigntool-0.6/debian/patches/series sbsigntool-0.6/debian/patches/series --- sbsigntool-0.6/debian/patches/series 2016-06-26 21:55:38.000000000 +0100 +++ sbsigntool-0.6/debian/patches/series 2017-01-29 01:00:17.000000000 +0000 @@ -13,3 +13,4 @@ sbsign_check_write_return.patch update-openssl-api-usage-to-support-openssl-1.1.patch fix-efi-arch-detection.patch +fix-linker-flags-for-test-cases.patch --- END --- unblock sbsigntool/0.6-3.2 -- System Information: Debian Release: 9.0 APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)

