Source: c-ares
Version: 1.19.1-2
Tags: patch
Severity: important
User: debian-cr...@lists.debian.org
Usertags: ftcbfs
User: helm...@debian.org
Usertags: rebootstrap

Hi,

your c-ares upload breaks cross building, because --enable-testing hard
fails cross builds at configure time. This should be disabled as cross
builds pass DEB_BUILD_OPTIONS=nocheck. I'm attaching a patch for your
convenience. Please allow me to bump the severity of this cross build
failure to important, because it breaks architecture cross bootstrap for
all architectures.

Helmut
diff --minimal -Nru c-ares-1.19.1/debian/changelog 
c-ares-1.19.1/debian/changelog
--- c-ares-1.19.1/debian/changelog      2023-06-14 20:11:59.000000000 +0200
+++ c-ares-1.19.1/debian/changelog      2023-06-16 06:40:54.000000000 +0200
@@ -1,3 +1,10 @@
+c-ares (1.19.1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Honour DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 16 Jun 2023 06:40:54 +0200
+
 c-ares (1.19.1-2) unstable; urgency=medium
 
   * upload to unstable
diff --minimal -Nru c-ares-1.19.1/debian/rules c-ares-1.19.1/debian/rules
--- c-ares-1.19.1/debian/rules  2023-06-14 20:04:09.000000000 +0200
+++ c-ares-1.19.1/debian/rules  2023-06-16 06:40:53.000000000 +0200
@@ -7,4 +7,4 @@
        dh $@
 
 override_dh_auto_configure:
-       dh_auto_configure -- --enable-shared --enable-symbol-hiding 
--enable-tests
+       dh_auto_configure -- --enable-shared --enable-symbol-hiding --$(if 
$(filter nocheck,$(DEB_BUILD_OPTIONS)),dis,en)able-tests

Reply via email to