Source: perdition Version: 2.2-3 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
perdition fails to cross build from source, because it does not pass --host to ./configure. The easiest way of doing so - using dh_auto_configure - is not sufficient to make perdition cross buildable as it also fails finding vanessa-logger.pc. I'm filing a separate patch against libvanessa-logger-dev about that. Please consider applying the attached patch. Helmut
diff --minimal -Nru perdition-2.2/debian/changelog perdition-2.2/debian/changelog --- perdition-2.2/debian/changelog 2016-12-06 17:08:39.000000000 +0100 +++ perdition-2.2/debian/changelog 2019-06-04 18:14:01.000000000 +0200 @@ -1,3 +1,10 @@ +perdition (2.2-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Address FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Tue, 04 Jun 2019 18:14:01 +0200 + perdition (2.2-3) unstable; urgency=high * Correct syntax of ldconfig trigger diff --minimal -Nru perdition-2.2/debian/rules perdition-2.2/debian/rules --- perdition-2.2/debian/rules 2016-05-11 08:34:19.000000000 +0200 +++ perdition-2.2/debian/rules 2019-06-04 18:14:00.000000000 +0200 @@ -6,7 +6,7 @@ include /usr/share/dpkg/buildflags.mk pwd:=$(shell pwd) -cfg:=--prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-group=nogroup --mandir=/usr/share/man --with-ldap-schema-directory=no --disable-ldap-doc --enable-shared +cfg:= --with-group=nogroup --with-ldap-schema-directory=no --disable-ldap-doc --enable-shared build: build-arch build-indep @@ -17,7 +17,7 @@ build-stamp: dh_testdir dh_autoreconf - ./configure $(shell dpkg-buildflags --export=configure) $(cfg) + dh_auto_configure -- $(shell dpkg-buildflags --export=configure) $(cfg) # Lame libtool workaround that lintian seems keen on sed < libtool > libtool-2 \ -e 's/^hardcode_libdir_flag_spec.*$$/hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/' \