[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#982989: codonw FTCBFS: Multiple reasons



Source: codonw
Version: 1.4.4-5
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
X-Debbugs-CC: debian-cross@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


Reply to: