source: commons-daemon
Version: 1.0.15-10
Severity: wishlist
Tags: patch ftbfs
User: debian-de...@lists.debian.org
Usertags: loongarch64
Dear maintainers,
When compiling the package commons-daemon for loong64 in the Debian
Package Auto-Building environment [1], the error message is as follows:
......omit
checking C flags dependant on host system type... failed
configure: error: Unsupported CPU architecture "loongarch64"
cd src/native/unix && tail -v -n \+0 config.log
......omit
The full compilation log can be found at [2].
I have added support for loongarch64. Please consider the patch I have
attached.
Would it be possible to include the support for LoongArch in the next
upload?
If you have any questions, you can contact me at any time.
[1]:https://buildd.debian.org/status/package.php?p=commons-daemon&suite=sid
[2]:https://buildd.debian.org/status/fetch.php?pkg=commons-daemon&arch=loong64&ver=1.0.15-10&stamp=1693581308&raw=0
thanks,
Dandan Zhang
Description: Add support for loongarch64
Last-Update: 2023-09-14
--- commons-daemon-1.0.15.orig/src/native/unix/support/apsupport.m4
+++ commons-daemon-1.0.15/src/native/unix/support/apsupport.m4
@@ -191,6 +191,10 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
supported_os="riscv64"
HOST_CPU=riscv64
;;
+ loongarch64)
+ CFLAGS="$CFLAGS -DCPU=\\\"loong64\\\""
+ HOST_CPU=loong64
+ ;;
*)
AC_MSG_RESULT([failed])
AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
debian-j...@lists.debian.org for discussions and questions.