Source: dtkcore Version: 2.0.9.17-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
Dear Maintainer, When one cross-builds dtkcore package the contents of built libdtkcore-dev are wrong: some files are installed into /usr/lib/${DEB_BUILD_MULTIARCH} instead of the expected /usr/lib/${DEB_HOST_MULTIARCH} path. E.g. in this example, it should be /usr/lib/arm-linux-gnueabihf instead of /usr/lib/x86_64-linux-gnu: $ dpkg-deb -c libdtkcore-dev_2.0.9.17-1_armhf.deb | grep mkspecs drwxr-xr-x root/root 0 2019-02-28 21:00 ./usr/lib/x86_64-linux-gnu/qt5/mkspecs/ drwxr-xr-x root/root 0 2019-02-28 21:00 ./usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/ -rw-r--r-- root/root 2378 2019-02-26 02:56 ./usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/dtk_build.prf -rw-r--r-- root/root 1578 2019-02-26 02:56 ./usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/dtk_cmake.prf -rw-r--r-- root/root 376 2019-02-26 02:56 ./usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/dtk_lib.prf -rw-r--r-- root/root 4459 2019-02-26 02:56 ./usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/dtk_module.prf -rw-r--r-- root/root 3940 2019-02-26 02:56 ./usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/dtk_qmake.prf -rw-r--r-- root/root 1580 2019-02-26 02:56 ./usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/dtk_translation.prf drwxr-xr-x root/root 0 2019-02-28 21:00 ./usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/ -rw-r--r-- root/root 471 2019-02-28 21:00 ./usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_dtkcore.pri This happens because src/dtk_module.prf has "qmake -query" call, and qmake is the build architecture qmake by default. That subprocess call can be avoided at all, as the QT_HOST_DATA variable is built-in in qmake. A patch to fix that is attached. -- Dmitry Shachnev
signature.asc
Description: PGP signature