Source: wily Version: 0.13.41-7.3 Tags: patch User: helm...@debian.org Usertags: rebootstrap
wily fails to cross build from source, because it uses the build architecture compiler and strip. Passing a triplet-prefixed CC to ./configure fixes the first part and letting dh_strip perform the stripping fixes cross builds, -dbgsym packages and #438263. Please consider applying the attached patch. Helmut
diff -u wily-0.13.41/debian/changelog wily-0.13.41/debian/changelog --- wily-0.13.41/debian/changelog +++ wily-0.13.41/debian/changelog @@ -1,3 +1,12 @@ +wily (0.13.41-7.4) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) + + Pass a cross compiler to ./configure. + + Defer stripping to dh_strip. + + -- Helmut Grohne <hel...@subdivi.de> Thu, 23 Nov 2017 20:29:57 +0100 + wily (0.13.41-7.3) unstable; urgency=medium * Non-maintainer upload. diff -u wily-0.13.41/debian/rules wily-0.13.41/debian/rules --- wily-0.13.41/debian/rules +++ wily-0.13.41/debian/rules @@ -1,6 +1,9 @@ #!/usr/bin/make -f # Derived from dh_make example. +-include /usr/share/dpkg/buildtools.mk +export CC + #export DH_VERBOSE=1 build: build-stamp @@ -32,10 +35,10 @@ dh_clean -k dh_installdirs usr/bin usr/X11R6/lib/X11/wily usr/share/man/man1 /etc/X11/app-defaults \ usr/share/doc/wily/html - install -m755 -s wily/wily debian/wily/usr/bin - install -m755 -s tools/win/win debian/wily/usr/bin - install -m755 -s tools/win/wgoto debian/wily/usr/bin - install -m755 -s tools/win/wreplace debian/wily/usr/bin + install -m755 wily/wily debian/wily/usr/bin + install -m755 tools/win/win debian/wily/usr/bin + install -m755 tools/win/wgoto debian/wily/usr/bin + install -m755 tools/win/wreplace debian/wily/usr/bin install -m644 debian/wily.1x debian/wily/usr/share/man/man1 gzip -9n debian/wily/usr/share/man/man1/wily.1x install -m644 tools/win/w*.1 debian/wily/usr/share/man/man1