Source: efte Version: 1.1-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap
efte fails to cross build from source, because the cmake invocation lacks cross flags. The easiest way of fixing that is using dh_auto_configure. The attached patch implements that, but doesn't make efte cross buildable, because it fails running bin2c. Fixing that part is harder with cmake unfortunately and I don't have a solution at this time. Please consider applying the patch and close this bug when doing so. Helmut
diff -u efte-1.1/debian/changelog efte-1.1/debian/changelog --- efte-1.1/debian/changelog +++ efte-1.1/debian/changelog @@ -1,3 +1,9 @@ +efte (1.1-3) UNRELEASED; urgency=medium + + * Address FTCBFS: Let dh_autoconfigure call a cross cmake. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 12 May 2019 20:09:21 +0200 + efte (1.1-2) unstable; urgency=low * QA upload. diff -u efte-1.1/debian/rules efte-1.1/debian/rules --- efte-1.1/debian/rules +++ efte-1.1/debian/rules @@ -10,8 +10,7 @@ builddir/Makefile: dh_testdir - mkdir -p builddir - cd builddir && cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_FLAGS="$(CFLAGS)" -DCMAKE_LD_FLAGS="$(LDFLAGS),defs" -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" -DCMAKE_SKIP_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=ON + dh_auto_configure --builddirectory=builddir -- -DCMAKE_C_FLAGS="$(CFLAGS)" -DCMAKE_LD_FLAGS="$(LDFLAGS),defs" -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" -DCMAKE_SKIP_RPATH=ON build: build-arch build-indep