Source: and Version: 1.2.2-4.1 Tags: patch User: [email protected] Usertags: rebootstrap
and fails to cross build from source, because its build system uses CC and LD unconventionally. It passes compiler flags in CC, which dh_auto_build overrides for cross building. LD does not have a standard value, so dh_auto_build passes none. The attached patch properly sets up the variables and makes and cross buildable. Please consider applying it. Helmut
diff --minimal -Nru and-1.2.2/debian/changelog and-1.2.2/debian/changelog --- and-1.2.2/debian/changelog 2010-05-13 16:03:42.000000000 +0200 +++ and-1.2.2/debian/changelog 2018-12-03 21:57:39.000000000 +0100 @@ -1,3 +1,10 @@ +and (1.2.2-4.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass LD and CC in the way upstream needs. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Mon, 03 Dec 2018 21:57:39 +0100 + and (1.2.2-4.1) unstable; urgency=low * Non-maintainer upload. diff --minimal -Nru and-1.2.2/debian/rules and-1.2.2/debian/rules --- and-1.2.2/debian/rules 2010-01-24 22:05:27.000000000 +0100 +++ and-1.2.2/debian/rules 2018-12-03 21:57:36.000000000 +0100 @@ -1,8 +1,13 @@ #!/usr/bin/make -f #export DH_VERBOSE=1 +-include /usr/share/dpkg/buildtools.mk + %: dh $@ +override_dh_auto_build: + dh_auto_build -- 'LD=$(CC)' 'CC=$(CC) -ansi -pedantic -Wall -g' + override_dh_installchangelogs: dh_installchangelogs CHANGELOG

