Source: crystal-facet-uml Version: 1.25.1-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
crystal-facet-uml fails to cross build from source, because it does not pass cross flags to cmake. The easiest way of doing so - using dh_auto_configure - makes crystal-facet-uml cross buildable. Please consider applying the attached patch. Helmut
diff --minimal -Nru crystal-facet-uml-1.25.1/debian/changelog crystal-facet-uml-1.25.1/debian/changelog --- crystal-facet-uml-1.25.1/debian/changelog 2020-11-02 09:22:50.000000000 +0100 +++ crystal-facet-uml-1.25.1/debian/changelog 2020-11-07 12:33:00.000000000 +0100 @@ -1,3 +1,10 @@ +crystal-facet-uml (1.25.1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_configure pass cross flags to cmake. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 07 Nov 2020 12:33:00 +0100 + crystal-facet-uml (1.25.1-1) unstable; urgency=medium [ Andreas Warnke ] diff --minimal -Nru crystal-facet-uml-1.25.1/debian/rules crystal-facet-uml-1.25.1/debian/rules --- crystal-facet-uml-1.25.1/debian/rules 2020-11-02 09:02:03.000000000 +0100 +++ crystal-facet-uml-1.25.1/debian/rules 2020-11-07 12:32:59.000000000 +0100 @@ -15,12 +15,11 @@ dh $@ override_dh_auto_configure: - #dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) - cmake -G 'Unix Makefiles' \ - -DCMAKE_INSTALL_PREFIX=/usr \ + dh_auto_configure -- \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \ -DCMAKE_BUILD_TYPE=Release - DEB_BUILD_HARDENING=1 make VERBOSE=1 +override_dh_auto_build: + DEB_BUILD_HARDENING=1 dh_auto_build get-orig-source: uscan --noconf --force-download --rename --download-current-version --destdir=..