[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1065467: marked as done (marisa: FTBFS on loongarch64 as the test case fails)



Your message dated Tue, 12 Mar 2024 03:32:49 +0000
with message-id <E1rjssj-0000bH-HO@fasolo.debian.org>
and subject line Bug#1065467: fixed in marisa 0.2.6-16
has caused the Debian Bug report #1065467,
regarding marisa: FTBFS on loongarch64 as the test case fails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1065467: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065467
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: marisa
Version: 0.2.6-15
Severity: wishlist
Tags: ftbfs
User: debian-loongarch@lists.debian.org
Usertags: loong64

Dear maintainers,

Compiling the marisa failed for loong64 in the Debian Package Auto-Building environment.
The error messages is as follows,
```
========================================
   marisa 0.2.6: tests/test-suite.log
========================================

# TOTAL: 5
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: base-test
===============
```

The full build log can be found at https://buildd.debian.org/status/logs.php?pkg=marisa&ver=0.2.6-15&arch=loong64.

After analyzing the test case failures, I have fixed wordsize detection for loongarch64 architecture.
Please consider the patch (my local patch) I have attached.
If you have any questions, you can contact me at any time.

BTW, the tests results and build results in my local loong64 ENV are as follows,
```
PASS: io-test
PASS: trie-test
PASS: vector-test
PASS: base-test
PASS: marisa-test
============================================================================
Testsuite summary for marisa 0.2.6
============================================================================
# TOTAL: 5
# PASS:  5
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
......
make[1]: Leaving directory '/home/zdd/marisa/marisa-0.2.6'
   dh_md5sums
   dh_builddeb
dpkg-deb: building package 'libmarisa-perl' in '../libmarisa-perl_0.2.6-15_loong64.deb'. dpkg-deb: building package 'libmarisa-perl-dbgsym' in '../libmarisa-perl-dbgsym_0.2.6-15_loong64.deb'. dpkg-deb: building package 'libmarisa-dev' in '../libmarisa-dev_0.2.6-15_loong64.deb'. dpkg-deb: building package 'python3-marisa' in '../python3-marisa_0.2.6-15_loong64.deb'. dpkg-deb: building package 'python3-marisa-dbgsym' in '../python3-marisa-dbgsym_0.2.6-15_loong64.deb'. dpkg-deb: building package 'ruby-marisa-dbgsym' in '../ruby-marisa-dbgsym_0.2.6-15_loong64.deb'.
dpkg-deb: building package 'marisa' in '../marisa_0.2.6-15_loong64.deb'.
dpkg-deb: building package 'libmarisa0' in '../libmarisa0_0.2.6-15_loong64.deb'. dpkg-deb: building package 'libmarisa0-dbgsym' in '../libmarisa0-dbgsym_0.2.6-15_loong64.deb'. dpkg-deb: building package 'ruby-marisa' in '../ruby-marisa_0.2.6-15_loong64.deb'. dpkg-deb: building package 'marisa-dbgsym' in '../marisa-dbgsym_0.2.6-15_loong64.deb'.
 dpkg-genbuildinfo -O../marisa_0.2.6-15_loong64.buildinfo
 dpkg-genchanges -O../marisa_0.2.6-15_loong64.changes
```

thanks,
Dandan Zhang

Description: Fix wordsize detection for loongarch64 architecture 
Last-Update: 2024-03-05

--- marisa-0.2.6.orig/include/marisa/base.h
+++ marisa-0.2.6/include/marisa/base.h
@@ -34,7 +34,7 @@ typedef uint64_t marisa_uint64;
     ( defined(__sparc__) && defined(__arch64__) ) || \
     ( defined(__riscv) && (__riscv_xlen == 64) ) || \
     defined(__mips64) || defined(__aarch64__) || defined(__s390x__) || \
-    defined(__alpha__)
+    defined(__alpha__) || defined(__loongarch64)
  #define MARISA_WORD_SIZE 64
 #else  // defined(_WIN64), etc.
  #define MARISA_WORD_SIZE 32

--- End Message ---
--- Begin Message ---
Source: marisa
Source-Version: 0.2.6-16
Done: Boyuan Yang <byang@debian.org>

We believe that the bug you reported is fixed in the latest version of
marisa, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1065467@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Boyuan Yang <byang@debian.org> (supplier of updated marisa package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 11 Mar 2024 20:18:03 -0400
Source: marisa
Architecture: source
Version: 0.2.6-16
Distribution: unstable
Urgency: medium
Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 1065467
Changes:
 marisa (0.2.6-16) unstable; urgency=medium
 .
   * debian/patches/0005-Add-wordsize-detection-for-LoongArch64.patch:
     Add proposed patch to fix FTBFS on LoongArch64. (Closes: #1065467)
Checksums-Sha1:
 60636b56b26de9bd57bbf3b6beb96be56ce9d479 2393 marisa_0.2.6-16.dsc
 16d3b28051c2446af7d6ec9a5c6f0b61ab6ba3f6 168332 marisa_0.2.6.orig.tar.gz
 023c3306697b786aa19fccff1bf95a4e31fa4379 12516 marisa_0.2.6-16.debian.tar.xz
 508b46191b9e67a1cc354cd72161102b58416294 10697 marisa_0.2.6-16_amd64.buildinfo
Checksums-Sha256:
 001003c130a4a47a311d89df1bf4062cfe33429d9f881b24cf5c7b391979046a 2393 marisa_0.2.6-16.dsc
 1063a27c789e75afa2ee6f1716cc6a5486631dcfcb7f4d56d6485d2462e566de 168332 marisa_0.2.6.orig.tar.gz
 81fbca81d001ced95001a832e2d665bc7da47660ef41b6eee79e337e242afb69 12516 marisa_0.2.6-16.debian.tar.xz
 95bad8edd7309b70c5cd313617e0f84a06c4c13efc85a02f5f533c479964e54f 10697 marisa_0.2.6-16_amd64.buildinfo
Files:
 a797fe9132f983e16cc4e3ebc0e98404 2393 libs optional marisa_0.2.6-16.dsc
 695cecf504ced27ac13aa33d97d69dd0 168332 libs optional marisa_0.2.6.orig.tar.gz
 4ef1e3f46f69ae739620ea9dc02fac89 12516 libs optional marisa_0.2.6-16.debian.tar.xz
 fe33e812b5a726c05e9aa38ed81cf260 10697 libs optional marisa_0.2.6-16_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmXvoB4ACgkQwpPntGGC
Ws5vDg//WPr+vF4A7Xh3OqzYl53xOpTqhp/GmPZRhtXWT+0kUJTBi+RGOSww671U
GVlNYtOVUleJcyiuBrReV6L9keqOL6a8+7HSG4mY2JmsGBpQrbmlk0hs9nAKHH8/
6ZYXMzl+LJJFAzXn7k4zDx5Bz7ayN156xpwyF7TEFF03+KOig8YJGVPWgS7SHnA7
GxKiQErCkYgj99WpBrbUGFqqXxMAM+NkVNDoAhPY/PVNfn/c3QcZbaMtZDFJ6jML
hMErkh59f791qnRo9NrX47vEax9JO9FoBvZZMi8tMAOLqwqE8pZ4e/7Kj24OnYm4
ofFmRTzhpJHGDYmVhesdSHKy2vYGFipTfqLJijnfdVF5LES/oiM/m2C9MGQnW0P1
c/PusswUc0tSf0cJVJsUEAAe3rYRkxLzJjcNU6zcarv/vfGHEI+TQI8BzRXHN6b4
Wz9CGAw3duAp9CzVV5idf+jBQDUabgSPp63L3AOCoUnwxDDIuLqPfsv8GiwDIsVR
SPB3iXgT8IX/HU/FbpkwqSku8VVMe58VQ9Vigc4TI6nMXAKOz3wpb52l7Z6YTBMT
I2FA5bPmfXUITd15VY62/VJ85416fZFzq+1vSzckBzYTtDWOiVEYxnz1hQ3Y0NF6
ecYCGoT/Ej1L09TcDZw9v4BAFDX4Z4daM7T0WMaeR6jZXiyeu/A=
=RP5E
-----END PGP SIGNATURE-----

Attachment: pgpMsgFpzqN5N.pgp
Description: PGP signature


--- End Message ---

Reply to: