[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#936002: shim-signed FTBFS with DEB_BUILD_OPTIONS=nocheck



Source: shim-signed
Version: 1.33
Tags: ftbfs patch

shim-signed fails to build from source when one supplies
DEB_BUILD_OPTIONS=nocheck. The code run by dh_auto_test is meaningful
and required for a proper build. Move it from the check target to the
all target to run it by dh_auto_build unconditionally. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru shim-signed-1.33/Makefile shim-signed-1.33+nmu1/Makefile
--- shim-signed-1.33/Makefile	2019-06-09 18:16:05.000000000 +0200
+++ shim-signed-1.33+nmu1/Makefile	2019-08-28 22:50:48.000000000 +0200
@@ -1,6 +1,4 @@
 all:
-
-check:
 	mkdir -p build
 	# Verifying that the image is signed with the correct key.
 	sbverify --cert MicCorUEFCA2011_2011-06-27.crt shim$(EFI_ARCH).efi.signed
diff --minimal -Nru shim-signed-1.33/debian/changelog shim-signed-1.33+nmu1/debian/changelog
--- shim-signed-1.33/debian/changelog	2019-06-09 18:32:54.000000000 +0200
+++ shim-signed-1.33+nmu1/debian/changelog	2019-08-28 22:50:51.000000000 +0200
@@ -1,3 +1,10 @@
+shim-signed (1.33+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Wed, 28 Aug 2019 22:50:51 +0200
+
 shim-signed (1.33) unstable; urgency=medium
 
   * Build against new signed binaries corresponding to

Reply to: