Bug#1023337: nqp: Please add support for "riscv64" arch

2022-11-02 Thread Paul Wise
On Wed, 2022-11-02 at 15:47 +0100, Manuel A. Fernandez Montecelo wrote:

> Please enable this architecture, with the patch attached or an equivalent.

Since the Architecture field contains a lot of arches already, it might
be better to let nqp attempt to build on all arches instead. 

Presumably the tests are good enough to check if it works on an arch.

Please read this thread on debian-devel/debian-wb-team for more info
on this type of approach to Debian package architecture lists.

https://lists.debian.org/msgid-search/20220911150857.xedt2an2vye3qrc7@begin

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part


Bug#1023337: nqp: Please add support for "riscv64" arch

2022-11-02 Thread Manuel A. Fernandez Montecelo
Source: nqp
Version: 2022.07+dfsg-1
Severity: wishlist
Tags: ftbfs patch
User: debian-ri...@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: m...@debian.org, debian-ri...@lists.debian.org

Hi,

Please enable this architecture, with the patch attached or an equivalent.

I built it locally on hardware, it built fine and passed tests just by enabling
the architecture in debian/control, no other changes needed.


Thanks and cheers.
--
Manuel A. Fernandez Montecelo 
diff -Nru nqp-2022.07+dfsg/debian/changelog nqp-2022.07+dfsg/debian/changelog
--- nqp-2022.07+dfsg/debian/changelog   2022-09-26 01:03:49.0 +0200
+++ nqp-2022.07+dfsg/debian/changelog   2022-11-02 11:55:14.0 +0100
@@ -1,3 +1,10 @@
+nqp (2022.07+dfsg-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add riscv64 support
+
+ -- Manuel A. Fernandez Montecelo   Wed, 02 Nov 2022 10:55:14 
+
+
 nqp (2022.07+dfsg-1) unstable; urgency=medium
 
   * Upload to unstable.
diff -Nru nqp-2022.07+dfsg/debian/control nqp-2022.07+dfsg/debian/control
--- nqp-2022.07+dfsg/debian/control 2022-08-18 01:31:59.0 +0200
+++ nqp-2022.07+dfsg/debian/control 2022-11-02 11:55:14.0 +0100
@@ -19,7 +19,7 @@
 Rules-Requires-Root: no
 
 Package: nqp
-Architecture: amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mips 
mips64el mipsel powerpc ppc64 ppc64el s390x x32
+Architecture: amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mips 
mips64el mipsel powerpc ppc64 ppc64el riscv64 s390x x32
 Depends: ${misc:Depends},
  ${moarvm:Depends},
  ${shlibs:Depends},