Source: pgmodeler Version: 0.9.1-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap
pgmodeler fails to cross build from source, because debian/rules runs plain qmake with no cross options. The easiest way of fixing that is using qtmake's cross wrapper through dh_auto_configure. After doing so, pgmodeler cross builds successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru pgmodeler-0.9.1/debian/changelog pgmodeler-0.9.1/debian/changelog --- pgmodeler-0.9.1/debian/changelog 2019-02-11 09:39:59.000000000 +0100 +++ pgmodeler-0.9.1/debian/changelog 2019-03-16 05:58:45.000000000 +0100 @@ -1,3 +1,10 @@ +pgmodeler (0.9.1-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_configure select a cross qmake. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 16 Mar 2019 05:58:45 +0100 + pgmodeler (0.9.1-2) unstable; urgency=medium * Move maintainer address to team+postgre...@tracker.debian.org. diff --minimal -Nru pgmodeler-0.9.1/debian/rules pgmodeler-0.9.1/debian/rules --- pgmodeler-0.9.1/debian/rules 2018-01-31 08:56:22.000000000 +0100 +++ pgmodeler-0.9.1/debian/rules 2019-03-16 05:58:45.000000000 +0100 @@ -15,7 +15,7 @@ dh $@ --parallel override_dh_auto_configure: - qmake PREFIX=/usr CONFIG+=debug pgmodeler.pro + dh_auto_configure -- CONFIG+=debug pgmodeler.pro override_dh_auto_install: dh_auto_install