• Bug#1104711: qgis: Workaround for the mips FTBFS

    From Adrian Bunk@21:1/5 to All on Mon May 5 03:10:01 2025
    Source: qgis
    Version: 3.40.6+dfsg-1
    Severity: important
    Tags: ftbfs patch

    The following works around the mips FTBFS:

    --- debian/rules.old 2025-04-21 12:25:54.044517024 +0000
    +++ debian/rules 2025-04-21 12:31:32.700350315 +0000
    @@ -132,6 +132,11 @@
    CXXFLAGS += -DNDEBUG
    endif

    +ifneq (,$(findstring mips,$(DEB_HOST_ARCH)))
    + CFLAGS += -Os
    + CXXFLAGS += -Os
    +endif
    +
    ifeq ($(DEB_BUILD_ARCH),mips64el)
    CXXFLAGS += -mxgot
    endif

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adrian Bunk@21:1/5 to Sebastiaan Couwenberg on Mon May 5 09:10:02 2025
    Control: tags -1 - moreinfo

    On Mon, May 05, 2025 at 05:39:06AM +0200, Sebastiaan Couwenberg wrote:
    ...
    If you meant mips64el, do you really want a massive package like qgis back there?

    The patch covers mips64el, and also mipsel (untested).

    The MIPS buildds are much faster than the riscv64 buildds.

    Kind Regards,

    Bas

    cu
    Adrian

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adrian Bunk@21:1/5 to Sebastiaan Couwenberg on Mon May 5 10:20:01 2025
    On Mon, May 05, 2025 at 10:01:18AM +0200, Sebastiaan Couwenberg wrote:
    ...
    I'm considering using the unsupported-architecture build dependency for all architectures that take more two hours to build the package to stop wasting buildd time on qgis.

    qgis has over 6 hours build time on the slower ARM buildds: https://buildd.debian.org/status/logs.php?pkg=qgis&arch=arm64

    We had 4 gcc versions (gcc-12 to gcc-15) uploaded to unstable and
    experimental yesterday, compared to that qgis is not a big deal.

    Kind Regards,

    Bas

    cu
    Adrian

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