Source: herculesstudio Version: 1.5.0-2 Tags: patch User: [email protected] Usertags: rebootstrap
herculesstudio fails to cross build from source, because it runs the build architecture qmake. Running qmake through dh_auto_configure fixes that and makes herculesstudio cross buildable. Please consider applying the attached patch. You can find failing build logs at http://crossqa.debian.net/src/herculesstudio. Helmut
diff --minimal -Nru herculesstudio-1.5.0/debian/changelog herculesstudio-1.5.0/debian/changelog --- herculesstudio-1.5.0/debian/changelog 2014-07-14 00:19:45.000000000 +0200 +++ herculesstudio-1.5.0/debian/changelog 2019-05-11 12:12:14.000000000 +0200 @@ -1,3 +1,10 @@ +herculesstudio (1.5.0-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_configure call the right qmake. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Sat, 11 May 2019 12:12:14 +0200 + herculesstudio (1.5.0-2) unstable; urgency=medium * Use qtchooser to find qt5 qmake binary diff --minimal -Nru herculesstudio-1.5.0/debian/rules herculesstudio-1.5.0/debian/rules --- herculesstudio-1.5.0/debian/rules 2014-07-14 00:20:38.000000000 +0200 +++ herculesstudio-1.5.0/debian/rules 2019-05-11 12:12:14.000000000 +0200 @@ -6,6 +6,7 @@ QMAKE_CFLAGS_RELEASE="$(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)" QMAKE_CXXFLAGS_RELEASE="$(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)" QMAKE_LFLAGS_RELEASE="$(shell dpkg-buildflags --get LDFLAGS)" +export QT_SELECT=5 build-arch: build build-indep: build @@ -13,14 +14,14 @@ build-stamp: dh_testdir dh_quilt_patch - qmake -qt=qt5 'QMAKE_CFLAGS_RELEASE = $(QMAKE_CFLAGS_RELEASE)' 'QMAKE_CXXFLAGS_RELEASE = $(QMAKE_CXXFLAGS_RELEASE)' 'QMAKE_LFLAGS_RELEASE = $(QMAKE_LFLAGS_RELEASE)' HerculesStudio.pro -o Makefile2 + dh_auto_configure -- 'QMAKE_CFLAGS_RELEASE = $(QMAKE_CFLAGS_RELEASE)' 'QMAKE_CXXFLAGS_RELEASE = $(QMAKE_CXXFLAGS_RELEASE)' 'QMAKE_LFLAGS_RELEASE = $(QMAKE_LFLAGS_RELEASE)' HerculesStudio.pro -o Makefile2 $(MAKE) -f Makefile2 touch build-stamp clean: dh_testdir dh_testroot - qmake -qt=qt5 HerculesStudio.pro -o Makefile2 + dh_auto_configure -- HerculesStudio.pro -o Makefile2 $(MAKE) -f Makefile2 distclean dh_quilt_unpatch dh_clean

