Source: libserial
Version: 1.0.0-6
Tags: ftbfs patch
Severity: important

libserial fails to build from source when built with the nocheck
profile, because it has a duplicate override_dh_auto_configure and thus
the earlier one adding the --disable-tests flag is ignored. Please
consider applying the attached patch to fix it.

Helmut
diff --minimal -Nru libserial-1.0.0/debian/changelog 
libserial-1.0.0/debian/changelog
--- libserial-1.0.0/debian/changelog    2021-03-18 14:38:41.000000000 +0100
+++ libserial-1.0.0/debian/changelog    2021-03-19 18:37:14.000000000 +0100
@@ -1,3 +1,10 @@
+libserial (1.0.0-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix duplicate override_dh_auto_configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 19 Mar 2021 18:37:14 +0100
+
 libserial (1.0.0-6) unstable; urgency=medium
 
   [ Helmut Grohne ]
diff --minimal -Nru libserial-1.0.0/debian/rules libserial-1.0.0/debian/rules
--- libserial-1.0.0/debian/rules        2021-03-18 14:38:28.000000000 +0100
+++ libserial-1.0.0/debian/rules        2021-03-19 18:37:12.000000000 +0100
@@ -3,16 +3,13 @@
 %:
        dh $@
 
-override_dh_auto_configure:
-       dh_auto_configure -- --$(if $(filter 
nocheck,$(DEB_BUILD_OPTIONS)),dis,en)able-tests
-
 override_dh_auto_clean:
        dh_auto_clean
        rm -rf debian/doctrees
        rm -rf docs/build/html docs/build/man
 
 override_dh_auto_configure:
-       dh_auto_configure -- --without-python3
+       dh_auto_configure -- --without-python3 --$(if $(filter 
nocheck,$(DEB_BUILD_OPTIONS)),dis,en)able-tests
 
 override_dh_auto_build-indep:
        PYTHONPATH=. sphinx-build -bman docs/user_manual/ -d debian/doctrees 
docs/build/man

Reply via email to