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

Bug#1005138: delta FTBFS with DEB_BUILD_OPTIONS=nocheck



Source: delta
Version: 2006.08.03-10
Severity: important
Tags: ftbfs patch
X-Debbugs-Cc: Joao Eriberto Mota Filho <eriberto@debian.org>
User: debian-cross@lists.debian.org
Usertags: ftcbfs

delta fails to build from source when DEB_BUILD_OPTIONS contains
nocheck. In that case, the execute_before_dh_auto_test is skipped and it
makes dh_install fail finding singledelta. Given that m68k and sh4 add
nocheck by default, it explains why they ftbfs on buillds. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru delta-2006.08.03/debian/changelog delta-2006.08.03/debian/changelog
--- delta-2006.08.03/debian/changelog	2022-02-03 02:01:34.000000000 +0100
+++ delta-2006.08.03/debian/changelog	2022-02-07 20:22:26.000000000 +0100
@@ -1,3 +1,10 @@
+delta (2006.08.03-11) UNRELEASED; urgency=medium
+
+  * QA upload.
+  * Fix FTBFS with DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Mon, 07 Feb 2022 20:22:26 +0100
+
 delta (2006.08.03-10) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru delta-2006.08.03/debian/rules delta-2006.08.03/debian/rules
--- delta-2006.08.03/debian/rules	2022-02-03 02:01:34.000000000 +0100
+++ delta-2006.08.03/debian/rules	2022-02-07 20:22:25.000000000 +0100
@@ -11,6 +11,4 @@
 	for i in $$(ls debian/manpage/*.pod | cut -d'.' -f1); do \
 	    pod2man -c '' -r 'Delta 2006.08.03' $$i.pod > $$i.1; \
 	done
-
-execute_before_dh_auto_test:
 	cp delta singledelta

Reply to: