[Debian-med-packaging] Bug#982989: codonw FTCBFS: Multiple reasons

Nilesh Patra nilesh at debian.org
Wed Feb 17 19:33:18 GMT 2021


Source: codonw
Version: 1.4.4-5
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
X-Debbugs-CC: debian-cross at lists.debian.org

Hi,

codonw fails to cross build due to two reasons:

    * It hardcodes $(MAKE) in d/rules. This is virtually useless since after the hardening.patch applied, the only rules for "all" in "codonw" itself. So the override_dh_auto_build can simply be dropped
       Patch for the same is given below
    * It uses help2man for manpage, best way forward here would be to use maintainer manual page with the createmanpages script[1] that several debian-med packages use and not use help2man during build time.

[1]: https://salsa.debian.org/med-team/community/helper-scripts/-/blob/master/createmanpages

diff --git a/debian/rules b/debian/rules
index 59082e0..7a81398 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,9 +13,6 @@ override_dh_clean:
 override_dh_auto_clean:
     rm -rf *.o *.coa *.blk *.out *raw codonw codonW.log
 
-override_dh_auto_build:
-    $(MAKE) codonw
-
 override_dh_installdocs:
     mkdir -p debian/codonw/usr/share/doc/codonw
     cp *.txt debian/codonw/usr/share/doc/codonw



More information about the Debian-med-packaging mailing list