Bug#1057359: qmake: use qmake6 when QT_SELECT=qt6

Alexandre Detiste <[email protected]>
Newsgroups gmane.linux.debian.devel.games
Message-ID <170164472969.12203.4438449851020664320.reportbug__32797.0025756926$1701644979$gmane$org@localhost>
Package: debhelper
Version: 13.11.8
Severity: normal
X-Debbugs-Cc: [email protected]

Hi,

While packaging "xaos" I found out Qt6 integration in debhelper
is not yet quite ready.

The debian/rules is absolute barebones:

> export DEB_BUILD_MAINT_OPTIONS = hardening=+all
> export QT_SELECT=qt6
> 
> %:
>        dh $@

Yet it fails, when patching qmake.pm by adding a single "6",
it justs works.

Could qmake.pm be made to use "qmake6" when QT_SELECT=qt6 ?

Greetings,


    --- /tmp/qmake.pm       2023-12-03 23:45:47.649530519 +0100
    +++ /usr/share/perl5/Debian/Debhelper/Buildsystem/qmake.pm      2023-12-03 23:44:10.180965057 +0100
    @@ -97,7 +97,7 @@
            if (is_cross_compiling()) {
                    return dpkg_architecture_value("DEB_HOST_GNU_TYPE") . "-qmake";
            }
    -       return 'qmake';
    +       return 'qmake6';
     }

     1

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (501, 'testing'), (450, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-4-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debhelper depends on:
ii  autotools-dev            20220109.1
ii  dh-autoreconf            20
ii  dh-strip-nondeterminism  1.13.1-1
ii  dpkg                     1.22.1
ii  dpkg-dev                 1.22.1
ii  dwz                      0.15-1
ii  file                     1:5.45-2
ii  libdebhelper-perl        13.11.8
ii  libdpkg-perl             1.22.1
ii  man-db                   2.12.0-1
ii  perl                     5.36.0-10
ii  po-debconf               1.0.21+nmu1

debhelper recommends no packages.

Versions of packages debhelper suggests:
pn  dh-make  <none>

-- no debconf information
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.