[Pkg-dns-devel] Bug#892560: softhsm2: Please add support for new architecture "riscv64" (RISC-V 64 bits little-endian)

Manuel A. Fernandez Montecelo mafm at debian.org
Sat Mar 10 16:46:23 UTC 2018


Source: softhsm2
Version: 2.2.0-3.1
Severity: normal
Tags: patch
User: debian-riscv at lists.debian.org
Usertags: riscv64

Hello,

We need changes in this package to bootstrap the riscv64 architecture, in
particular we need to skip the (IMO harmful) "-m64" test in the compiler for
64-bit architectures.

I am attaching a minimal patch that makes possible to compile the package,
adding riscv64 to SKIP_64BIT_ON_CPU in debian/rules.

This change should not affect other architectures or have ill effects in
general.

Since this is a fundamental dependency (for gnupg2, openldap, and apt, among
others) we're interested in having it available in unstable as quickly as
possible, to avoid accumulating too much delta while bootstrapping.

Seeing that there is an unacknowledge NMU and bugs have not been addressed for a
few months, I will upload an NMU soon, unless you have any objection.


Thanks and cheers.
--
Manuel A. Fernandez Montecelo <mafm at debian.org>
-------------- next part --------------
diff --git a/debian/rules b/debian/rules
index f5512b3..7ee5969 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,7 @@ export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
 # package maintainers to append LDFLAGS
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
-SKIP_64BIT_ON_CPU="aarch64 alpha ia64 mips64 mips64el"
+SKIP_64BIT_ON_CPU="aarch64 alpha ia64 mips64 mips64el riscv64"
 
 export DPKG_GENSYMBOLS_CHECK_LEVEL=4
 


More information about the pkg-dns-devel mailing list