Source: zopfli Version: 1.0.1+git160527-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
zopfli fails to cross build from source, because it uses the build architecture compiler. The first part of the build succeeds, because dh_auto_build passes cross compilers, but the direct $(MAKE) invocation fails. Indirecting those through dh_auto_build as well makes the full build succeed. Please consider applying the attached patch. Helmut
diff --minimal -Nru zopfli-1.0.1+git160527/debian/changelog zopfli-1.0.1+git160527/debian/changelog --- zopfli-1.0.1+git160527/debian/changelog 2017-05-11 21:21:09.000000000 +0200 +++ zopfli-1.0.1+git160527/debian/changelog 2017-07-02 17:59:07.000000000 +0200 @@ -1,3 +1,10 @@ +zopfli (1.0.1+git160527-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_build pass cross compilers (closes: #-1). + + -- Helmut Grohne <hel...@subdivi.de> Sun, 02 Jul 2017 17:59:07 +0200 + zopfli (1.0.1+git160527-1) unstable; urgency=low * Use newest git snapshot for latest lodepng and fixed png related bugs, diff --minimal -Nru zopfli-1.0.1+git160527/debian/rules zopfli-1.0.1+git160527/debian/rules --- zopfli-1.0.1+git160527/debian/rules 2017-05-05 17:21:03.000000000 +0200 +++ zopfli-1.0.1+git160527/debian/rules 2017-07-02 17:06:50.000000000 +0200 @@ -8,9 +8,9 @@ override_dh_auto_build: dh_auto_build - $(MAKE) zopflipng - $(MAKE) libzopfli - $(MAKE) libzopflipng + dh_auto_build -- zopflipng + dh_auto_build -- libzopfli + dh_auto_build -- libzopflipng %: dh $@ --parallel