Bug#1023619: libx86emu: Add riscv64 support

2022-11-07 Thread Paul Wise
On Tue, 2022-11-08 at 01:58 +0800, Yifan Xu wrote:

> I tried to build on Hifive Unmatched and qemu, build succeed with only 
> enabling
> the architecture in debian/control, no other changes needed.

I note that the current debian/rules disables running the tests, so
libx86emu may not work on riscv64 even if it builds, so please try to
re-enable the tests in debian/rules by dropping override_dh_auto_test
and then building again so that the tests are run.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


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


Bug#1023619: libx86emu: Add riscv64 support

2022-11-07 Thread Yifan Xu
Source: libx86emu
Version: 3.5-1
Severity: wishlist
Tags: ftbfs patch
User: debian-ri...@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-ri...@lists.debian.org

Dear Maintainer,

Please enable riscv64 architecture, patch file is attached.

I tried to build on Hifive Unmatched and qemu, build succeed with only enabling
the architecture in debian/control, no other changes needed.

Thank you.

Yifan Xu
--- control 2022-11-08 01:05:15.714709311 +0800
+++ libx86emu-3.5/debian/control2022-11-08 01:06:05.547714145 +0800
@@ -11,7 +11,7 @@
 Rules-Requires-Root: no
 
 Package: libx86emu3
-Architecture: any-amd64 any-i386 alpha armel armhf ia64
+Architecture: any-amd64 any-i386 alpha armel armhf ia64 riscv64
 Multi-Arch: same
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Pre-Depends: ${misc:Pre-Depends}
@@ -23,7 +23,7 @@
  This package contains the library.
 
 Package: libx86emu-dev
-Architecture: any-amd64 any-i386 alpha armel armhf ia64
+Architecture: any-amd64 any-i386 alpha armel armhf ia64 riscv64
 Multi-Arch: same
 Section: libdevel
 Depends: libx86emu3 (= ${binary:Version}), ${misc:Depends}