Source: net-acct
Version: 0.71-10
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

net-acct fails to cross build from source, because it builds for the
build architecture using a bare $(MAKE) invocation. Subsequently,
dh_auto_build is used, but it skips all runes (using the correct
compiler) as the outputs are all there already. Eventually, dh_strip
fails. I suggest removing the duplicate build instruction relying solely
on dh_auto_build.

Helmut
diff --minimal -Nru net-acct-0.71/debian/changelog 
net-acct-0.71/debian/changelog
--- net-acct-0.71/debian/changelog      2024-09-22 21:07:08.000000000 +0200
+++ net-acct-0.71/debian/changelog      2024-10-19 20:50:36.000000000 +0200
@@ -1,3 +1,10 @@
+net-acct (0.71-10.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Build only once. Closes: #-1.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 19 Oct 2024 20:50:36 +0200
+
 net-acct (0.71-10) unstable; urgency=medium
 
   * Team upload of Debian team
diff --minimal -Nru net-acct-0.71/debian/rules net-acct-0.71/debian/rules
--- net-acct-0.71/debian/rules  2024-09-22 21:07:08.000000000 +0200
+++ net-acct-0.71/debian/rules  2024-10-19 20:50:33.000000000 +0200
@@ -8,7 +8,6 @@
        dh $@
 
 override_dh_auto_build:
-       $(MAKE) -C src MASQ=-DREMAP_MASQUERADE
        dh_auto_build --sourcedirectory=src -- MASQ=-DREMAP_MASQUERADE
        cp src/naccttab.sample debian/naccttab
 

Reply via email to