Your message dated Thu, 11 Jul 2024 10:33:59 +0000
with message-id <e1srr7f-0021id...@fasolo.debian.org>
and subject line Bug#1073989: fixed in debugedit 1:5.0-6
has caused the Debian Bug report #1073989,
regarding debugedit: FTBFS: Add support for LoongArch
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 ow...@bugs.debian.org
immediately.)


-- 
1073989: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1073989
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: debugedit
Version: 1:5.0-5
Severity: normal
Tags: FTBFS patch
User: debian-loonga...@lists.debian.org
Usertags: loong64

Dear maintainers,

Compiling the debugedit failed for loong64 in the Debian Package Auto-Building environment.
The build error log is as follows,
```
ERROR: All 26 tests were run,
14 failed unexpectedly.
......
```
The full log can be found at https://buildd.debian.org/status/logs.php?pkg=debugedit&ver=1%3A5.0-5%2Bb1&arch=loong64.
Build failed 4 times.

Please consider the patch I attached.
I have built debugedit successfully in my local ENV.
```
......
dpkg-deb: building package 'debugedit-dbgsym' in '../debugedit-dbgsym_5.0-5+loong64_loong64.deb'.
 dpkg-genbuildinfo -O../debugedit_5.0-5+loong64_loong64.buildinfo
 dpkg-genchanges -O../debugedit_5.0-5+loong64_loong64.changes
```
Your opinions are welcome.

Thanks,
Dandan Zhang

diff -Nru debugedit-5.0/debian/changelog debugedit-5.0/debian/changelog
--- debugedit-5.0/debian/changelog      2022-07-19 15:28:07.000000000 +0000
+++ debugedit-5.0/debian/changelog      2024-06-21 06:37:35.000000000 +0000
@@ -1,3 +1,9 @@
+debugedit (1:5.0-5+loong64) unreleased; urgency=medium
+
+  * Add support for LoongArch.
+
+ -- Dandan Zhang <zhangdan...@loongson.cn>  Fri, 21 Jun 2024 14:37:35 +0800
+
 debugedit (1:5.0-5) unstable; urgency=medium
 
   * Update from the trunk 20220421.
diff -Nru debugedit-5.0/debian/patches/debugedit-add-loongarch-support.patch 
debugedit-5.0/debian/patches/debugedit-add-loongarch-support.patch
--- debugedit-5.0/debian/patches/debugedit-add-loongarch-support.patch  
1970-01-01 00:00:00.000000000 +0000
+++ debugedit-5.0/debian/patches/debugedit-add-loongarch-support.patch  
2024-06-21 06:37:35.000000000 +0000
@@ -0,0 +1,25 @@
+Description: Add support for LoongArch. 
+ .
+ debugedit (1:5.0-5+loong64) unreleased; urgency=medium
+ .
+   * Add support for LoongArch.
+Author: Dandan Zhang <zhangdan...@loongson.cn>
+
+---
+Last-Update: 2024-06-20
+
+--- debugedit-5.0.orig/tools/debugedit.c
++++ debugedit-5.0/tools/debugedit.c
+@@ -607,6 +607,12 @@ setup_relbuf (DSO *dso, debug_section *s
+           goto fail;
+         break;
+ #endif
++#if defined(EM_LOONGARCH) && defined(R_LARCH_32)
++      case EM_LOONGARCH:
++        if (rtype != R_LARCH_32)
++          goto fail;
++        break;
++#endif
+ #if defined(EM_MCST_ELBRUS) && defined(R_E2K_32_ABS)
+       case EM_MCST_ELBRUS:
+         if (rtype != R_E2K_32_ABS)
diff -Nru debugedit-5.0/debian/patches/series 
debugedit-5.0/debian/patches/series
--- debugedit-5.0/debian/patches/series 2022-07-19 15:28:07.000000000 +0000
+++ debugedit-5.0/debian/patches/series 2024-06-21 06:37:35.000000000 +0000
@@ -1,2 +1,3 @@
 git-updates.diff
 gcc-driver.diff
+debugedit-add-loongarch-support.patch

--- End Message ---
--- Begin Message ---
Source: debugedit
Source-Version: 1:5.0-6
Done: Matthias Klose <d...@debian.org>

We believe that the bug you reported is fixed in the latest version of
debugedit, 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 1073...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <d...@debian.org> (supplier of updated debugedit 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Thu, 11 Jul 2024 12:12:10 +0200
Source: debugedit
Architecture: source
Version: 1:5.0-6
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers <debian-...@lists.debian.org>
Changed-By: Matthias Klose <d...@debian.org>
Closes: 1073989
Changes:
 debugedit (1:5.0-6) unstable; urgency=medium
 .
   * Add support for LoongArch. Closes: #1073989.
   * Bump standards version.
Checksums-Sha1:
 50ce3f891f2591e7b86e28676fc20b3cf2e9aa10 1897 debugedit_5.0-6.dsc
 20c9761203349a107d687fb574e9c5f9330769c0 6544 debugedit_5.0-6.debian.tar.xz
 47e4712560a1928794b723396e0386fcc8f8330b 6159 debugedit_5.0-6_source.buildinfo
Checksums-Sha256:
 a2b359aa78b4dba12701dd3d12a13e082f8d75e5625c53240c5b945d6b20337d 1897 
debugedit_5.0-6.dsc
 837bbb4f5e2df63f820e07a462637e0a99e91a02e4d159077ec098bb559ef203 6544 
debugedit_5.0-6.debian.tar.xz
 2ac15296af2fb5399db86c7be51f986dd6e2943ad5cffae58fe7bc524a0b2539 6159 
debugedit_5.0-6_source.buildinfo
Files:
 816e25e14f3812ab411148f39c789344 1897 devel optional debugedit_5.0-6.dsc
 b385f84ee49347ad13c416fe74013fb2 6544 devel optional 
debugedit_5.0-6.debian.tar.xz
 965fe0ba74b1e07247fd2568dd8c1616 6159 devel optional 
debugedit_5.0-6_source.buildinfo

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

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmaPsLUQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9TmFD/9fkoaLY+k6Shec7JkE769nO6+KfRYCrmrr
S+H8XCNV6N7o77HSBL+ztJA5pBCpXoYQA/z7YPHFtLGzcZz7+3VUoIRH6vXqQ+NB
SdnfZdSHLyB8cuFJTHAJPQuJDihfEhmzocSkWE5/BalUiWWCU6vaslI9Fiz6hV/G
UjNovOKbpH9M3GQbI0wnAWu6LreVmYFqEIh4uzQKpFYXg844XlmcK4g6TDp3pBKg
GaOPipy7tjYZuTxTQAQf0/Kq9MoYyq2MQiCvaGGxYjfgv6ls0kMKFgVZy+3L9wFl
SaWIAyWHxIxco4Qyr1SSCDSEqHqEe5nhmRCrqT4PTZAwUb/9BBUpBNmBP3ddPlMO
5jtSiuxGQlr3GqDoUuwc7kuSJ0OyZFgicMc1QRY/sg/vJlr5S6aNtPQ4XHsQEpNK
p1aPQ1OgFtGnnW6HBuqOEt6LSighMPKmtfC56LGQxQ3X3Kchk9wZRsEUdbsz+8I2
7/AXUUypL6FBz/+udre+I3oQUYt0HH8N28G1XMnwQiyBMg+10RaxdySEjxNUcw13
Xe7F5NxeqlIhSmy/dDhBYgM45gCz3ozPLLbwoUM5Siwtht0Z3DFcxjD8IEht0iui
hbndVIuGZGeKOr7EEtwP3IfVhNp+IUPbz9Ls5fGdDV/DX/DvK3PdgogfL9LsR8f8
z9xuHtATTQ==
=HNWa
-----END PGP SIGNATURE-----

Attachment: pgpPA2zVlm2cd.pgp
Description: PGP signature


--- End Message ---

Reply via email to