On 2018-07-29 4:53 PM, Lisandro Damián Nicanor Pérez Meyer wrote:
Looking again the call to llvm-config seems to not be fatal, so it should be
as simple as doing something like it's already done in the dh_install override
for archs without qt webview.

Yes.  I had a successful build on hppa with the attached patch:
https://buildd.debian.org/status/fetch.php?pkg=qttools-opensource-src&arch=hppa&ver=5.11.1-3&stamp=1532903616&raw=0

The no webview hunk needs a different regexp which I didn't work out.

It remains to be seen what the impact of losing qdoc will be.  The hard part will be generating
the documentation packages.

Dave

--
John David Anglin  dave.ang...@bell.net

--- rules.save  2018-07-29 21:35:07.393423169 -0400
+++ rules       2018-07-29 15:38:51.476671623 -0400
@@ -32,6 +32,7 @@
        dh_auto_build -- docs
 
 ifeq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH))
+ifeq (,$(filter alpha hppa ia64 m68k powerpcspe riscv64 sh4 x32, 
$(DEB_HOST_ARCH)))
 override_dh_auto_build-arch: build-doc-tools
        # Rebuild the internal assistant.qch which is used as a resource
        cd src/assistant/assistant/doc/internal; qmake
@@ -39,6 +40,7 @@
        mv doc/assistant.qch src/assistant/assistant/assistant.qch
        dh_auto_build
 endif
+endif
 
 override_dh_auto_install-arch:
        dh_auto_install
@@ -56,7 +58,11 @@
 ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(no_qwebview_archs)))
        grep -v qwebview debian/qttools5-dev-tools.install.in >> 
debian/qttools5-dev-tools.install
 else
+ifeq (,$(filter alpha hppa ia64 m68k powerpcspe riscv64 sh4 x32, 
$(DEB_HOST_ARCH)))
        cp debian/qttools5-dev-tools.install.in 
debian/qttools5-dev-tools.install
+else
+       grep -v qdoc debian/qttools5-dev-tools.install.in >> 
debian/qttools5-dev-tools.install
+endif
 endif
        dh_install --fail-missing
 

Reply via email to