• lrelease on the ports

    From Peter Blackman@21:1/5 to All on Mon Sep 18 13:50:01 2023
    In one of my packages, binary .qm files were not being rebuilt from source.
    I fixed that, by adding a call to lrelease against the .pro file in debian/rules.
    It worked fine locally, but the build has now failed on 3 ports, loong64, sh4 & sparc64.

    Typical end of build log is

    Project MESSAGE: Config using pkg-config version 1.8.1
    Project MESSAGE: Generating Makefile for Qosmic 1.6.0+git20210807.9f63288-6 3.1.1+ds2-2
    Project MESSAGE: Qt version : 5.15.10
       debian/rules execute_before_dh_auto_build
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    lrelease qosmic.pro
    WARNING: Could not find qmake spec 'default'.
    make[1]: *** [debian/rules:14: execute_before_dh_auto_build] Error 1
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:17: binary-arch] Error 2
    dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
    --------------------------------------------------------------------------------
    https://buildd.debian.org/status/package.php?p=qosmic https://sources.debian.org/src/qosmic/1.6.0%2Bgit20210807.9f63288-6/debian/rules/

    Can anyone think of a quick fix that might work here?

    Regards,
    Peter

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)