Source: pmccabe
Version: 2.7b-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

pmccabe still fails to cross build. It now uses dh_auto_build to pass a
cross compiler to make, but it also overrides the compiler passed by
dh_auto_build with the build architecture compiler as a make default of
debian/rules. A simple way to correctly initialize CC is including
dpkg's buildtools.mk. Please consider applying the attached patch.

Helmut
diff --minimal -Nru pmccabe-2.7b/debian/changelog pmccabe-2.7b/debian/changelog
--- pmccabe-2.7b/debian/changelog       2021-01-14 14:12:08.000000000 +0100
+++ pmccabe-2.7b/debian/changelog       2021-01-15 20:48:52.000000000 +0100
@@ -1,3 +1,10 @@
+pmccabe (2.7b-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk initialize CC. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 15 Jan 2021 20:48:52 +0100
+
 pmccabe (2.7b-1) unstable; urgency=low
 
   * New release from new upstream.
diff --minimal -Nru pmccabe-2.7b/debian/rules pmccabe-2.7b/debian/rules
--- pmccabe-2.7b/debian/rules   2020-12-25 19:43:11.000000000 +0100
+++ pmccabe-2.7b/debian/rules   2021-01-15 20:48:51.000000000 +0100
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+include /usr/share/dpkg/buildtools.mk
 
 %:
        dh $@

Reply via email to