• Bug#1069211: clutter-1.0: please add support for loong64

    From wuruilong@21:1/5 to All on Thu Apr 18 04:40:01 2024
    This is a multi-part MIME message sent by reportbug.


    Source: clutter-1.0
    Severity: normal
    Tags: patch
    User: debian-loongarch@lists.debian.org
    Usertags: loong64
    X-Debbugs-Cc: wuruilong@loongson.cn

    Dear Maintainer,

    The clutter software fails to compile on loongarch architecture,
    please refer to the attached patch to fix it.

    wuruilong

    -- System Information:
    Debian Release: trixie/sid
    APT prefers unreleased
    APT policy: (500, 'unreleased'), (500, 'unstable')
    Architecture: loong64 (loongarch64)

    Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: unable to detect

    --- clutter-1.0-1.26.4+git2779b932+dfsg/debian/rules 2024-04-18 02:21:40.887373645 +0000
    +++ clutter-1.0-1.26.4+git2779b932+dfsg/debian/rules 2024-04-18 02:04:49.027955647 +0000
    @@ -53,7 +53,7 @@
    # https://buildd.debian.org/status/logs.php?pkg=clutter-1.0&ver=1.26.2%2Bdfsg-5
    ifneq (,$(filter armel s390x,$(DEB_HOST_ARCH)))
    # Ignore test failures on architectures where they fail
    -else ifneq (,$(filter hppa hurd-i386 kfreebsd-i386 kfreebsd-amd64 mips mipsel mips64el powerpc ppc64 sparc64,$(DEB_HOST_ARCH)))
    +else ifneq (,$(filter hppa hurd-i386 kfreebsd-i386 kfreebsd-amd64 loong64 mips mipsel mips64el powerpc ppc64 sparc64,$(DEB_HOST_ARCH)))
    -dbus-run-session -- xvfb-run -a dh_auto_test -- --timeout-multiplier 3
    else
    dbus-run-session -- xvfb-run -a dh_auto_test -- --timeout-multiplier 3

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon McVittie@21:1/5 to wuruilong on Thu Apr 18 10:30:02 2024
    Control: retitle -1 clutter-1.0: build-time tests fail on loong64
    Control: tags -1 + moreinfo

    On Thu, 18 Apr 2024 at 02:26:08 +0000, wuruilong wrote:
    The clutter software fails to compile on loongarch architecture,
    please refer to the attached patch to fix it.

    This is not a fix, this is a workaround: it's adding loong64 to the list of architectures where the tests are expected to fail. Why are the tests failing on loong64?

    If our first reaction to tests failing is to disable the tests completely instead of investigating what is failing and why, then the tests have
    no value.

    One possible reason is that Mesa's llvmpipe might be broken on loong64,
    similar to #1002690 on mips64el, src:mutter bug #1059000 on loong64, src:gnome-shell bug #1058687 on riscv64, and various src:gtk4 bugs on
    all of those architectures.

    loong64, mips64el and riscv64 seem to all have similar issues when using llvmpipe, so a fix for one might well help the others.

    Note that unlike mutter and gtk4, clutter-1.0 is dead upstream (#996690),
    so if loong64 users do not have a specific need for packages that depend
    on clutter-1.0, it might be better for clutter-1.0 and the packages that
    depend on it to be permanently missing from new architectures.

    The only important package that would be missing if clutter-1.0 is not
    present seems to be evolution, although I see that in #1018120 I thought
    that disabling one optional feature ("contact maps") would avoid that dependency.

    smcv

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