Source: qt6-base
Version: 6.7.2+dfsg-5
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

qt6-base fails to cross build from source in unstable.

|    dh_missing -a -O--buildsystem=cmake\+ninja
| dh_missing: warning: usr/lib/qt6/bin/host-qmake6 exists in debian/tmp but is 
not installed to anywhere 
| dh_missing: warning: usr/lib/qt6/bin/host-qtpaths6 exists in debian/tmp but 
is not installed to anywhere 
| dh_missing: error: missing files, aborting
|         The following debhelper tools have reported what they installed (with 
files per package)
|          * dh_install: libqt6concurrent6 (2), libqt6core6t64 (2), libqt6dbus6 
(2), libqt6gui6 (22), libqt6network6 (6), libqt6opengl6 (14), 
libqt6openglwidgets6 (2), libqt6printsupport6 (3), libqt6sql6 (2), 
libqt6sql6-ibase (1), libqt6sql6-mysql (1), libqt6sql6-odbc (1), 
libqt6sql6-psql (1), libqt6sql6-sqlite (1), libqt6test6 (2), libqt6widgets6 
(2), libqt6xml6 (2), qmake6 (429), qmake6-bin (1), qt6-base-dev (2690), 
qt6-base-dev-tools (24), qt6-base-doc (0), qt6-base-doc-dev (0), 
qt6-base-doc-html (0), qt6-base-examples (102), qt6-base-private-dev (17), 
qt6-gtk-platformtheme (1), qt6-qpa-plugins (2), 
qt6-xdgdesktopportal-platformtheme (1)
|          * dh_installdocs: libqt6concurrent6 (0), libqt6core6t64 (0), 
libqt6dbus6 (0), libqt6gui6 (0), libqt6network6 (0), libqt6opengl6 (0), 
libqt6openglwidgets6 (0), libqt6printsupport6 (0), libqt6sql6 (0), 
libqt6sql6-ibase (0), libqt6sql6-mysql (0), libqt6sql6-odbc (0), 
libqt6sql6-psql (0), libqt6sql6-sqlite (0), libqt6test6 (0), libqt6widgets6 
(0), libqt6xml6 (0), qmake6 (0), qmake6-bin (0), qt6-base-dev (0), 
qt6-base-dev-tools (0), qt6-base-doc (0), qt6-base-doc-dev (0), 
qt6-base-doc-html (0), qt6-base-examples (0), qt6-base-private-dev (0), 
qt6-gtk-platformtheme (0), qt6-qpa-plugins (0), 
qt6-xdgdesktopportal-platformtheme (0)
|         If the missing files are installed by another tool, please file a bug 
against it.
|         When filing the report, if the tool is not part of debhelper itself, 
please reference the
|         "Logging helpers and dh_missing" section from the "PROGRAMMING" guide 
for debhelper (10.6.3+).
|           (in the debhelper package: 
/usr/share/doc/debhelper/PROGRAMMING.md.gz)
|         Be sure to test with dpkg-buildpackage -A/-B as the results may vary 
when only a subset is built
|         If the omission is intentional or no other helper can take care of 
this consider adding the
|         paths to debian/not-installed.
| make: *** [debian/rules:31: binary-arch] Error 255
| dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2

I don't think we want to install these files, so I propose adding them
to debian/not-installed alongside the unversioned ones already there.
Please find a patch attached for your convenience.

Helmut
diff --minimal -Nru qt6-base-6.7.2+dfsg/debian/changelog 
qt6-base-6.7.2+dfsg/debian/changelog
--- qt6-base-6.7.2+dfsg/debian/changelog        2024-12-08 22:49:21.000000000 
+0100
+++ qt6-base-6.7.2+dfsg/debian/changelog        2024-12-09 13:27:31.000000000 
+0100
@@ -1,3 +1,10 @@
+qt6-base (6.7.2+dfsg-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Update debian/not-installed. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 09 Dec 2024 13:27:31 +0100
+
 qt6-base (6.7.2+dfsg-5) unstable; urgency=medium
 
   [ Patrick Franz ]
diff --minimal -Nru qt6-base-6.7.2+dfsg/debian/not-installed 
qt6-base-6.7.2+dfsg/debian/not-installed
--- qt6-base-6.7.2+dfsg/debian/not-installed    2024-10-19 13:10:50.000000000 
+0200
+++ qt6-base-6.7.2+dfsg/debian/not-installed    2024-12-09 13:27:31.000000000 
+0100
@@ -11,7 +11,9 @@
 usr/lib/qt6/bin/qtpaths
 # cross build specific:
 usr/lib/qt6/bin/host-qmake
+usr/lib/qt6/bin/host-qmake6
 usr/lib/qt6/bin/host-qtpaths
+usr/lib/qt6/bin/host-qtpaths6
 usr/lib/qt6/bin/target_qt.conf
 usr/lib/${DEB_HOST_MULTIARCH}/qt6/mkspecs/qdevice.pri
 
usr/lib/${DEB_HOST_MULTIARCH}/objects-None/ExampleIconsPrivate_resources_1/.rcc/qrc_example_icons.cpp.o

Reply via email to