• Bug#1104871: qqc2-suru-style FTCBFS: hard codes the build architecture

    From Helmut Grohne@21:1/5 to All on Wed May 7 18:00:01 2025
    Source: qqc2-suru-style
    Version: 0.20230630-1
    Tags: patch
    User: debian-cross@lists.debian.org
    Usertags: ftcbfs

    qqc2-suru-style fails to cross build from source, because debian/rules
    hard codes the build architecture qmake. I recommend using the qmake
    debhelper buildsystem as it gets this (and other aspects) right
    automatically. Once doing so, it readily cross builds. I'm attaching a
    patch for your convenience.

    Helmut

    diff --minimal -Nru qqc2-suru-style-0.20230630/debian/changelog qqc2-suru-style-0.20230630/debian/changelog
    --- qqc2-suru-style-0.20230630/debian/changelog 2024-10-11 16:39:21.000000000 +0200
    +++ qqc2-suru-style-0.20230630/debian/changelog 2025-05-07 10:04:14.000000000 +0200
    @@ -1,3 +1,10 @@
    +qqc2-suru-style (0.20230630-1.1) UNRELEASED; urgency=medium
    +
    + * Non-maintainer upload.
    + * Fix FTCBFS: Use the qmake buildsystem. (Closes: #-1)
    +
    + -- Helmut Grohne <helmut@subdivi.de> Wed, 07 May 2025 10:04:14 +0200
    +
    qqc2-suru-style (0.20230630-1) unstable; urgency=medium

    * New upstream release.
    diff --minimal -Nru qqc2-suru-style-0.20230630/debian/rules qqc2-suru-style-0.20230630/debian/rules
    --- qqc2-suru-style-0.20230630/debian/rules 2022-10-30 09:11:09.000000000 +0100
    +++ qqc2-suru-style-0.20230630/debian/rules 2025-05-07 10:04:12.000000000 +0200
    @@ -5,10 +5,7 @@
    export DEB_BUILD_MAINT_OPTIONS = hardening=+all

    %:
    - dh $@
    -
    -override_dh_auto_configure:
    - qmake
    + dh $@ --buildsystem=qmake

    get-orig-source:
    uscan --noconf --force-download --rename --download-current-version --destd