Source: restinio
Version: 0.6.16-0.1
Severity: normal
Tags: ftbfs, patch
User: debian-ri...@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-ri...@lists.debian.org

Dear Maintainer,

The restinio packages has ftbfs on riscv64 arch due to missing -latomic
like existing arch.

The full buildd log is here:
https://buildd.debian.org/status/fetch.php?pkg=restinio&arch=riscv64&ver=0.6.16-0.1&stamp=1663081536&raw=0

The patch attached is to fix the issue and I have tested it on my
locally real riscv64 hardware. 

Could you apply it on the next upload time? thanks.

-- 
Regards,
--
  Bo YU

diff -Nru restinio-0.6.16/debian/rules restinio-0.6.16/debian/rules
--- restinio-0.6.16/debian/rules        2021-01-04 16:26:26.000000000 +0000
+++ restinio-0.6.16/debian/rules        2022-08-28 22:53:03.000000000 +0000
@@ -14,7 +14,7 @@
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
-ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mipsel powerpc sh4))
+ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mipsel powerpc riscv64 sh4))
        export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic 
-Wl,--as-needed
 endif
 

Attachment: signature.asc
Description: PGP signature

Reply via email to