Your message dated Mon, 02 May 2022 04:33:50 +0000
with message-id <[email protected]>
and subject line Bug#1010381: fixed in commons-daemon 1.0.15-9
has caused the Debian Bug report #1010381,
regarding commons-daemon: FTBFS on riscv64: error: Unsupported CPU architecture 
"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.)


-- 
1010381: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010381
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: commons-daemon
Version: 1.0.15-8
Severity: normal
Tags: ftbfs patch
User: [email protected]
Usertags: riscv64
X-Debbugs-Cc: [email protected]

Dear Maintainer,

The commons-daemon has a ftbfs issue on riscv64:

```
...
configure:2916: result: none needed
configure:2979: checking for ranlib
configure:2995: found /usr/bin/ranlib
configure:3006: result: ranlib
configure:3071: checking for strip
configure:3087: found /usr/bin/strip
configure:3098: result: strip
configure:3126: checking C flags dependant on host system type
configure:3294: result: failed
configure:3296: error: Unsupported CPU architecture "riscv64"
...
```
The full buildd log is:
https://buildd.debian.org/status/fetch.php?pkg=commons-daemon&arch=riscv64&ver=1.0.15-8&stamp=1558276470&raw=0

The attach patch is for supporting build on riscv64. And I have tested it 
locally
that is ok. If you need me to do some extra tests please tell me.

BR,
Bo
add support for risv64 arch

Bo YU <[email protected]>
--- a/src/native/unix/configure
+++ b/src/native/unix/configure
@@ -2707,6 +2707,11 @@
     supported_os="ppc64le"
     HOST_CPU=ppc64le
     ;;
+  riscv64)
+    CFLAGS="$CFLAGS -DCPU=\\\"riscv64\\\""
+    supported_os="riscv64"
+    HOST_CPU=riscv64
+    ;;
   *)
     echo "$as_me:$LINENO: result: failed" >&5
 echo "${ECHO_T}failed" >&6
--- a/src/native/unix/support/apsupport.m4
+++ b/src/native/unix/support/apsupport.m4
@@ -186,6 +186,11 @@
     supported_os="ppc64le"
     HOST_CPU=ppc64le
     ;;
+  riscv64)
+    CFLAGS="$CFLAGS -DCPU=\\\"riscv64\\\""
+    supported_os="riscv64"
+    HOST_CPU=riscv64
+    ;;
   *)
     AC_MSG_RESULT([failed])
     AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;

--- End Message ---
--- Begin Message ---
Source: commons-daemon
Source-Version: 1.0.15-9
Done: tony mancill <[email protected]>

We believe that the bug you reported is fixed in the latest version of
commons-daemon, 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.
tony mancill <[email protected]> (supplier of updated commons-daemon 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: SHA512

Format: 1.8
Date: Sun, 01 May 2022 21:07:56 -0700
Source: commons-daemon
Architecture: source
Version: 1.0.15-9
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: tony mancill <[email protected]>
Closes: 889446 935336 1010381
Changes:
 commons-daemon (1.0.15-9) unstable; urgency=medium
 .
   * Team upload.
   * Add patch to build on riscv64 (Closes: #1010381)
   * Update Uploaders (Closes: #889446)
   * Add patch to locate recent JDKs (Closes: #935336)
   * Update Vcs URLs to point to Salsa
   * Remove get-orig-source target from debian/rules
   * Remove unnecessary "--with autotools_dev" from dh sequencer
   * Remove Build-Depends on autotools_dev
   * Set Rules-Requires-Root: no in debian/control
   * Use debhelper-compat 13
   * Bump Standards-Version to 4.6.0
Checksums-Sha1:
 7f712c61d7cfcb7aca393cea79506787fa3122eb 2256 commons-daemon_1.0.15-9.dsc
 af861c2c0eed2f97620c1fa4193b86c1235fba4a 8012 
commons-daemon_1.0.15-9.debian.tar.xz
 bd4f7962821a06872414a30f5f535907ad26d5a7 9053 
commons-daemon_1.0.15-9_amd64.buildinfo
Checksums-Sha256:
 5a4a74e166344ded024b28eae3b3992cd23fc749cc37c05953ff6da262bb05d7 2256 
commons-daemon_1.0.15-9.dsc
 b8de9cade08c549d42f8a88cab1a01c85d0383bd2711d0deba9fcfd4b849d87f 8012 
commons-daemon_1.0.15-9.debian.tar.xz
 274104ef0d104da571951a750635db29de2f6dd5f21ccddd741ca5db3cd8a8d9 9053 
commons-daemon_1.0.15-9_amd64.buildinfo
Files:
 1a329b6255cfbba0ea818e7450ab7854 2256 java optional commons-daemon_1.0.15-9.dsc
 cfdf1b3601934c8a281d4659cc2ec2bf 8012 java optional 
commons-daemon_1.0.15-9.debian.tar.xz
 52783490b5790f53c89308a4a7da4a35 9053 java optional 
commons-daemon_1.0.15-9_amd64.buildinfo

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

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmJvW14UHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpbXaRAAn8ykHyk/yY57MLKA49gU+q9jsOyK
0bTT8mPJVbbjBFpQ0QThAPnar1fcsPHAWmmuNXdDVvStbZL5723V75k/wiskwKow
PGPslVDxhFJewEXoh/23YaFsD/MjL8L+fzyX0sqQnQGPyAVZ2t/f5mFrFduhGmME
DNlojlABb3iMYMP3VPRte9EsgOaQRIJC/CivYqCYBr+ROnPV4LHlRk4X4xhXAdkl
AVTp2odnCzB8NdFHXpiSfCvGXaY1pPBNmDcSgV2kdOgjnlGu4M8J4/K8WKGae8H5
RfcoX5d67Cd9rY+MCYiAnxYzkf3og22lumLUvRmnRi0uSrMBDuUX+Tvu2HlaYWbj
Zi299WG9cqroG947bWBGPCVWjvlvZ1f0psIU9FFpWsJINgl+qH0kfBuUU2usHvBF
5RZUvtJg69Y/OCXv7zPCTc5Slnor+8BhYB+v89KMR7S6mQ8laqqpzJdvA9NQTgGp
FVruU4KrcJfcjR2GySLvW6IFnJuP/xjMz2FfARm1Vg112zeQXTytzhAhRowOEGpE
3J1llbyDwfbd0UjVt71x3NBOc60Qoc248nbCMo0NYGxpP9yBQNMf5No9MiBeO9k9
3fN0VPiPGGG/FpI845h4RitKSXACplzRJ9O/whoAl9K7G1y76UBIbF+kO6PjqIUD
whCmOxSYDAh8jjA=
=5fKO
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to