On 07/27/2018 12:55 PM, John Paul Adrian Glaubitz wrote: > This part of debian/rules is already written such qdoc is not build for > cross-builds, > so why shouldn't it be possible to disable it for some architectures either? I will test this patch later. Have to wait for the build dependencies for qttools to be built.
Patch: diff -Nru old/qttools-opensource-src-5.11.1/debian/control new/qttools-opensource-src-5.11.1/debian/control --- old/qttools-opensource-src-5.11.1/debian/control 2018-07-25 11:41:01.000000000 +0200 +++ new/qttools-opensource-src-5.11.1/debian/control 2018-07-27 12:58:15.968968584 +0200 @@ -10,11 +10,11 @@ Dmitry Shachnev <mity...@debian.org>, Simon Quigley <tsimo...@ubuntu.com> Build-Depends: debhelper (>= 11), - libclang-dev, + libclang-dev [!alpha !hppa !ia64 !m68k !powerpcspe !riscv64 !sh4 !x32], libqt5opengl5-dev (>= 5.11.1+dfsg~), libqt5sql5-sqlite (>= 5.11.1+dfsg~), libqt5webkit5-dev (>= 5.212.0~alpha2-11~) [!m68k !sparc64], - llvm-dev, + llvm-dev [!alpha !hppa !ia64 !m68k !powerpcspe !riscv64 !sh4 !x32], pkg-kde-tools, qtbase5-private-dev (>= 5.11.1+dfsg~), qtdeclarative5-private-dev (>= 5.11.1~), diff -Nru old/qttools-opensource-src-5.11.1/debian/rules new/qttools-opensource-src-5.11.1/debian/rules --- old/qttools-opensource-src-5.11.1/debian/rules 2018-07-25 11:41:01.000000000 +0200 +++ new/qttools-opensource-src-5.11.1/debian/rules 2018-07-27 13:00:34.712090723 +0200 @@ -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 -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913