Source: lftp Version: 4.7.2-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
lftp fails to cross build from source, because it configures for the build architecture as no --host flag is passed. Surprisingly, debian/rules computes $(confflags) that contain everything that's needed. It just fails to pass $(confflags) to ./configure. After doing so, the cross build succeeds. Please consider applying the attached patch. Helmut
diff --minimal -Nru lftp-4.7.2/debian/changelog lftp-4.7.2/debian/changelog --- lftp-4.7.2/debian/changelog 2016-07-02 13:54:47.000000000 +0200 +++ lftp-4.7.2/debian/changelog 2016-11-07 06:10:39.000000000 +0100 @@ -1,3 +1,10 @@ +lftp (4.7.2-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass $(confflags) to ./configure. closes: #-1 + + -- Helmut Grohne <hel...@subdivi.de> Mon, 07 Nov 2016 06:10:39 +0100 + lftp (4.7.2-1) unstable; urgency=medium * new upstream release from 2016-05-18 diff --minimal -Nru lftp-4.7.2/debian/rules lftp-4.7.2/debian/rules --- lftp-4.7.2/debian/rules 2016-07-02 13:47:42.000000000 +0200 +++ lftp-4.7.2/debian/rules 2016-11-07 06:10:36.000000000 +0100 @@ -26,7 +26,8 @@ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --sysconfdir=/etc \ - --with-pager=/etc/alternatives/pager + --with-pager=/etc/alternatives/pager \ + $(confflags) touch configure-stamp