Source: chkrootkit Version: 0.50-3.2 Tags: patch User: helm...@debian.org Usertags: rebootstrap
chkrootkit fails to cross build from source, because it uses the build architecture compiler. Replacing the explicit make invocation with an dh_auto_build indirection fixes the cross build, because dh_auto_build passes suitable CC and CXX variables. Please consider applying the attached patch. Helmut
diff --minimal -Nru chkrootkit-0.50/debian/changelog chkrootkit-0.50/debian/changelog --- chkrootkit-0.50/debian/changelog 2015-09-06 21:49:07.000000000 +0200 +++ chkrootkit-0.50/debian/changelog 2016-11-10 16:47:25.000000000 +0100 @@ -1,3 +1,10 @@ +chkrootkit (0.50-3.3) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_build pass cross compilers to make. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Thu, 10 Nov 2016 16:47:25 +0100 + chkrootkit (0.50-3.2) unstable; urgency=medium * Non-maintainer upload. diff --minimal -Nru chkrootkit-0.50/debian/rules chkrootkit-0.50/debian/rules --- chkrootkit-0.50/debian/rules 2015-07-07 17:55:13.000000000 +0200 +++ chkrootkit-0.50/debian/rules 2016-11-10 16:47:12.000000000 +0100 @@ -40,7 +40,7 @@ build-stamp: configure-stamp dh_testdir # Add here commands to compile the package. - $(MAKE) CFLAGS="$(CFLAGS) -DHAVE_LASTLOG_H -DLASTLOG_FILENAME='\"/var/log/lastlog\"' -DWTEMP_FILENAME='\"/var/log/wtmp\"'" + dh_auto_build -- CFLAGS="$(CFLAGS) -DHAVE_LASTLOG_H -DLASTLOG_FILENAME='\"/var/log/lastlog\"' -DWTEMP_FILENAME='\"/var/log/wtmp\"'" touch build-stamp clean: