Your message dated Fri, 01 Nov 2024 23:05:03 +0000
with message-id <[email protected]>
and subject line Bug#1078799: fixed in ltrace 0.7.3+git20240814-0.3
has caused the Debian Bug report #1078799,
regarding ltrace: fix ftbfs on riscv64
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 [email protected]
immediately.)
--
1078799: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078799
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ltrace
Version: 0.7.3-git20240814-0.2
Severity: important
Tags: ftbfs patch
User: [email protected]
Usertags: riscv64
X-Debbugs-Cc: [email protected]
Dear Maintainer,
ltrace has a ftbfs issue on riscv64:
```
regs.c:31:9: error: implicit declaration of function 'perror'
[-Wimplicit-function-declaration]
31 | perror("riscv64_read_gregs");
| ^~~~~~
make[5]: *** [Makefile:440: regs.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
plt.c: In function 'arch_elf_init':
plt.c:62:9: error: implicit declaration of function 'fprintf'
[-Wimplicit-function-declaration]
62 | fprintf(stderr, "failed: only LP64D ABI supported\n");
| ^~~~~~~
plt.c:30:1: note: include '<stdio.h>' or provide a declaration of 'fprintf'
29 | #include "trace.h"
+++ |+#include <stdio.h>
30 |
plt.c:62:9: warning: incompatible implicit declaration of built-in function
'fprintf' [-Wbuiltin-declaration-mismatch]
62 | fprintf(stderr, "failed: only LP64D ABI supported\n");
| ^~~~~~~
plt.c:62:9: note: include '<stdio.h>' or provide a declaration of 'fprintf'
plt.c:62:17: error: 'stderr' undeclared (first use in this function)
62 | fprintf(stderr, "failed: only LP64D ABI supported\n");
| ^~~~~~
plt.c:62:17: note: 'stderr' is defined in header '<stdio.h>'; this is probably
fixable by adding '#include <stdio.h>'
```
Full buildd log please to see:
https://buildd.debian.org/status/fetch.php?pkg=ltrace&arch=riscv64&ver=0.7.3%2Bgit20240814-0.2&stamp=1723680864&raw=0
This is very easy to fix it and I have prepared one patch to fix this,
could you apply it on next upload? thanks.
--
Regards,
--
Bo YU
diff -Nru ltrace-0.7.3+git20240814/debian/changelog
ltrace-0.7.3+git20240814/debian/changelog
--- ltrace-0.7.3+git20240814/debian/changelog 2024-08-15 05:38:24.000000000
+0800
+++ ltrace-0.7.3+git20240814/debian/changelog 2024-08-16 18:20:33.000000000
+0800
@@ -1,3 +1,10 @@
+ltrace (0.7.3+git20240814-0.3) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix ftbfs on riscv64. (Closes: #-1)
+
+ -- Bo YU <[email protected]> Fri, 16 Aug 2024 18:20:33 +0800
+
ltrace (0.7.3+git20240814-0.2) unstable; urgency=medium
* Non-maintainer upload.
diff -Nru ltrace-0.7.3+git20240814/debian/patches/fix-riscv64-ftbfs.patch
ltrace-0.7.3+git20240814/debian/patches/fix-riscv64-ftbfs.patch
--- ltrace-0.7.3+git20240814/debian/patches/fix-riscv64-ftbfs.patch
1970-01-01 08:00:00.000000000 +0800
+++ ltrace-0.7.3+git20240814/debian/patches/fix-riscv64-ftbfs.patch
2024-08-16 18:20:27.000000000 +0800
@@ -0,0 +1,27 @@
+Description: fix ftbfs on riscv64
+Author: Bo YU <[email protected]>
+Forwarded: https://gitlab.com/cespedes/ltrace/-/merge_requests/23
+Last-Update: 2024-08-16
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/sysdeps/linux-gnu/riscv64/plt.c
++++ b/sysdeps/linux-gnu/riscv64/plt.c
+@@ -18,6 +18,7 @@
+ * 02110-1301 USA
+ */
+
++#include <stdio.h>
+ #include <sys/uio.h>
+ #include <gelf.h>
+ #include "ltrace-elf.h"
+--- a/sysdeps/linux-gnu/riscv64/regs.c
++++ b/sysdeps/linux-gnu/riscv64/regs.c
+@@ -18,6 +18,8 @@
+ * 02110-1301 USA
+ */
+
++#include <errno.h>
++#include <stdio.h>
+ #include <sys/uio.h>
+ #include "proc.h"
+ #include "ptrace.h"
diff -Nru ltrace-0.7.3+git20240814/debian/patches/series
ltrace-0.7.3+git20240814/debian/patches/series
--- ltrace-0.7.3+git20240814/debian/patches/series 1970-01-01
08:00:00.000000000 +0800
+++ ltrace-0.7.3+git20240814/debian/patches/series 2024-08-16
17:31:39.000000000 +0800
@@ -0,0 +1 @@
+fix-riscv64-ftbfs.patch
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: ltrace
Source-Version: 0.7.3+git20240814-0.3
Done: Chris Hofstaedtler <[email protected]>
We believe that the bug you reported is fixed in the latest version of
ltrace, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Hofstaedtler <[email protected]> (supplier of updated ltrace 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 01 Nov 2024 23:32:48 +0100
Source: ltrace
Architecture: source
Version: 0.7.3+git20240814-0.3
Distribution: unstable
Urgency: medium
Maintainer: Juan Cespedes <[email protected]>
Changed-By: Chris Hofstaedtler <[email protected]>
Closes: 1078799 1082965
Changes:
ltrace (0.7.3+git20240814-0.3) unstable; urgency=medium
.
* Non-maintainer upload.
.
[ Bo YU ]
* Fix ftbfs on riscv64. (Closes: #1078799)
.
[ wuruilong ]
* Fix ftbfs on loong64. (Closes: #1082965)
Checksums-Sha1:
cef65b6c9687e52f1f8fcab209e14c69caf391d1 1990 ltrace_0.7.3+git20240814-0.3.dsc
95027bac51ae9fca9890748c449f6ba9af44b2df 10364
ltrace_0.7.3+git20240814-0.3.debian.tar.xz
Checksums-Sha256:
076a349ca8b3e8a55637767144b6935f6c898951c3b77f085fedb967bbb1a7ba 1990
ltrace_0.7.3+git20240814-0.3.dsc
6f71bad093d9bed50a87c97042faa9cd8d9e3e609e0496358d98beebfe8c026a 10364
ltrace_0.7.3+git20240814-0.3.debian.tar.xz
Files:
967ffa0138f4d4d74c2c663795632eac 1990 utils optional
ltrace_0.7.3+git20240814-0.3.dsc
68b82f8781e944dad7544c25feaef570 10364 utils optional
ltrace_0.7.3+git20240814-0.3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAmclWXkACgkQXBPW25MF
LgOFow/+InOCcDpDTWtUHWq29hvbhF/ClnkDbo/pZbdS7qzHIRYvGB7S2rKYnMOw
EyoKiBsMl48xYEFaOdq0HlO3enVWGoqND8/HaaRTnBIvYNu8pTMPt7JNURVidUiW
kVx6W1WuC/wCX/AdAgg3ikAM1d+mvPp3kWlBnG1AmX8v3tycEWaPFnTwkYewfvhR
uOW6xaE3EMSXsqMHvfo+muzVdOKct9KTKfAl7iG1NuchFdkvT0C4kuEWdkrUHp2x
W7d2deoIWRd/QrbnUX1qDvc2Og8Bfw9l6bfX+pU4oS/r1pA3D96ZPMW/pDktKK+N
c0i4lD+IZ1HyNYa23MQWVg/QoDldThFwPbAiT9es9iVthUWw4XkiwZvoNQvW1dJb
/pfOio+1FZhL0XYwXmLCMa+NzbCjiC/M3zbzwBQEIJ/wg71YhOvxDCfR2GwU81nR
tdjMlnYcX+JVUw6C49QoVpNG9d3uSFT3kHGxgcCKklrMc6aROJQdP6gWfk5P7p7q
tXXCJnT/TsKu70MP7YMFc5+ONuWK6ptlgxjJYFgi7cQWGP8MC7Vs7+6FQJ7EoZA+
uEJ4KJKahE+nRT5NiBNhzLmMZDJUbX0zA7r9G0iMzaBnykLO+Q9VUvmd9wjne645
nsLnSZTyd/TPGFSTgCmi68eSSyvISNZhAiEuNv7Gt8ne3qFLmHM=
=qjd/
-----END PGP SIGNATURE-----
pgpNChzSJJ5EQ.pgp
Description: PGP signature
--- End Message ---