Source: mutter
Version: 48~rc-4
Severity: normal
Tags: patch
User: debian-loonga...@lists.debian.org
Usertags: loong64

Dear maintainers,

Compiling the mutter failed for loong64 since version 48~rc-1 (experimental) in the Debian Package Auto-Building environment.
The error log is as follows,
```
......
Summary of Failures:

128/157 mutter:core+mutter/backend / monitor-dbus FAIL             5.69s   (exit status 245 or signal 117 SIGinvalid) 152/157 mutter:core+mutter/wayland / wayland-unit FAIL             8.10s   exit status 1

Ok:                 150
Expected Fail:      5
Fail:               2
Unexpected Pass:    0
Skipped:            0
Timeout:            0
......
```
The full build log can be found at https://buildd.debian.org/status/logs.php?pkg=mutter&arch=loong64.

I checked that some architectures' build status is 'Installed', due to ignore test failures, do not block later build.

Refer to other architectures, please ignore test failures on loong64.
Sometimes the test cases succeed, sometimes 2 test cases fail.
Hopefully the failed test cases don't block later build.

Please consider the patch I attached.
I also ran gnome-shell on loong64 with independent graphics card and sent pictures to maintainer. I installed gnome-shell and run command "gnome-shell --version" and "gnome-shell --replace", the basic functions and displays are normal.

Based on attached patch, I have built mutter_48~rc-4+loong64 successfully on locally.
```
......
   dh_builddeb
dpkg-deb: building package 'mutter' in '../mutter_48~rc-4+loong64_loong64.deb'. dpkg-deb: building package 'mutter-16-tests' in '../mutter-16-tests_48~rc-4+loong64_loong64.deb'. dpkg-deb: building package 'gir1.2-mutter-16' in '../gir1.2-mutter-16_48~rc-4+loong64_loong64.deb'. dpkg-deb: building package 'libmutter-16-0-dbgsym' in '../libmutter-16-0-dbgsym_48~rc-4+loong64_loong64.deb'. dpkg-deb: building package 'libmutter-test-16' in '../libmutter-test-16_48~rc-4+loong64_loong64.deb'. dpkg-deb: building package 'mutter-common' in '../mutter-common_48~rc-4+loong64_all.deb'. dpkg-deb: building package 'mutter-common-bin-dbgsym' in '../mutter-common-bin-dbgsym_48~rc-4+loong64_loong64.deb'. dpkg-deb: building package 'libmutter-test-16-dbgsym' in '../libmutter-test-16-dbgsym_48~rc-4+loong64_loong64.deb'. dpkg-deb: building package 'mutter-dbgsym' in '../mutter-dbgsym_48~rc-4+loong64_loong64.deb'. dpkg-deb: building package 'libmutter-16-0' in '../libmutter-16-0_48~rc-4+loong64_loong64.deb'. dpkg-deb: building package 'mutter-common-bin' in '../mutter-common-bin_48~rc-4+loong64_loong64.deb'. dpkg-deb: building package 'libmutter-16-dev' in '../libmutter-16-dev_48~rc-4+loong64_loong64.deb'. dpkg-deb: building package 'mutter-16-tests-dbgsym' in '../mutter-16-tests-dbgsym_48~rc-4+loong64_loong64.deb'.
 dpkg-genbuildinfo -O../mutter_48~rc-4+loong64_loong64.buildinfo
 dpkg-genchanges -O../mutter_48~rc-4+loong64_loong64.changes

```

Your opinions are welcome.

Best regards,
Dandan Zhang

diff -Nru mutter-48~rc/debian/changelog mutter-48~rc/debian/changelog
--- mutter-48~rc/debian/changelog       2025-03-11 09:44:32.000000000 +0000
+++ mutter-48~rc/debian/changelog       2025-03-13 11:50:11.000000000 +0000
@@ -1,3 +1,11 @@
+mutter (48~rc-4+loong64) unstable; urgency=medium
+
+  * Refer to other architectures, please ignore test failures on loong64.
+    - Sometimes the test cases succeed, sometimes 2 test cases fail.
+    - Hopefully the failed test cases don't block later build.
+
+ -- Dandan Zhang <zhangdan...@longson.cn>  Thu, 13 Mar 2025 19:50:11 +0800
+
 mutter (48~rc-4) unstable; urgency=medium
 
   * Team upload
diff -Nru mutter-48~rc/debian/rules mutter-48~rc/debian/rules
--- mutter-48~rc/debian/rules   2025-03-11 09:44:32.000000000 +0000
+++ mutter-48~rc/debian/rules   2025-03-13 11:50:11.000000000 +0000
@@ -67,7 +67,7 @@
 # Please keep this list in sync with debian/tests/installed-tests
 override_dh_auto_test-arch:
        debian/tests/ensure-x11-dir
-ifeq (,$(filter mips64el riscv64 s390x,$(DEB_HOST_ARCH)))
+ifeq (,$(filter mips64el riscv64 s390x loong64,$(DEB_HOST_ARCH)))
        $(TEST_COMMAND)
        -$(TEST_COMMAND_FLAKY) --logbase flaky-tests
 else

Reply via email to