Bug#1059000: mutter : Please add support for loong64

zhangdandan zhangdandan at loongson.cn
Fri Sep 6 13:20:24 BST 2024


Hi Jeremy Bícha,

Thanks for your patient.

On Thu, 5 Sep 2024 08:04:06 -0400 =?UTF-8?Q?Jeremy_B=C3=ADcha?= wrote:

 > On Mon, Sep 2, 2024 at 5:12 AM zhangdandan wrote:
 > > Now, there are still 2 failing tests.
 > > ```
 > > 182/185 mutter:core+mutter/x11 / x11 FAIL 10.27s (exit status 133 
or signal 5 SIGTRAP)
 > > 183/185 mutter:core+mutter/x11 / x11-sync FAIL 10.27s (exit status 
133 or signal 5 SIGTRAP)
 > >
 > > Ok: 178
 > > Expected Fail: 5
 > > Fail: 2
 > > Unexpected Pass: 0
 > > Skipped: 0
 > > Timeout: 0
 > >
 > > ```
 > >
 > > Could you add loong64 to the override_dh_auto_test lists in d/rules?
 >
 > Well that is progress. The Debian GNOME team requests that we have
 > some proof that mutter actually works on a non-release architecture
 > before disabling test failures. The goal here from our perspective is
 > not trying to get loong64 to build 99% of Debian packages, but whether
 > those built packages actually are usable.
 >
 > The strongest evidence is if you can show that GNOME Shell works on
 > that architecture.
 >
 > Alternatively, gnome-settings-daemon has build tests that use mutter.
 > Those currently aren't run on several architectures because mutter is
 > so broken that the tests fail. If you can remove the !loong64
 > overrides from its debian/control so that the mutter tests run and all
 > pass, I think that could be enough evidence too.
 >
 > Thank you,
 > Jeremy Bícha
 >
 >

Please consider add loong64 in mutter source package's d/rules.
```
# Please keep this list in sync with debian/tests/installed-tests
override_dh_auto_test:
-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

```
There are also 2 tests fail with independent graphics card.

But based on the above patch, I built mutter 46.4-1 in local ENV (Due to 
mutter blocks many gnome-* packages).
Please check 
https://buildd.debian.org/status/package.php?p=gnome-shell&suite=sid.
Please check 
https://buildd.debian.org/status/package.php?p=gnome-remote-desktop&suite=sid.

I built gnome-shell and gnome-remote-desktop in local ENV with 
independent graphics card(Radeon HD 8570).
gnome-shell and gnome-remote-desktop's test cases are all passed.

I installed gnome-shell(depend gnome-remote-desktop) and run command 
"gnome-shell --version" and "gnome-shell --replace",
the gnome-shell window is displayed normally.
Since bugs can't display images, I'm purposely emailing you the 
interface(3 images) of gnome-shell after running it.
So sorry to bother you on IRC, thanks for your advise.

BTW, without independent graphics card, build gnome-shell and 
gnome-remote-desktop have test cases failure.
After the maintainer merged mutter's patch, maybe I need to add 
patch(add loong64 in d/rules) for gnome-shell and gnome-remote-desktop.

Thanks,
Dandan Zhang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20240906/674f5292/attachment.htm>


More information about the pkg-gnome-maintainers mailing list