[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#995805: marked as done (nx-libs: Add riscv64 support)



Your message dated Sat, 30 Oct 2021 12:03:56 +0000
with message-id <E1mgn5Y-000AVW-Ju@fasolo.debian.org>
and subject line Bug#995805: fixed in nx-libs 2:3.5.99.26-5
has caused the Debian Bug report #995805,
regarding nx-libs: Add riscv64 support
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
995805: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995805
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: nx-libs
Version: 3.5.99.26-4
Severity: normal

Dear Maintainer,

   * What led up to the situation?

nx-libs does not support riscv64 at the moment.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Support for riscv64 was added and a PR was issued here (https://github.com/ArcticaProject/nx-libs/pull/1023): it has been a month, I think we can move on and apply directly the proposed patch that is attached.

-- System Information:
Debian Release: bullseye/sid
  APT prefers hirsute-updates
  APT policy: (500, 'hirsute-updates'), (500, 'hirsute-security'), (500, 'hirsute'), (100, 'hirsute-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.11.0-37-generic (SMP w/16 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru nx-libs-3.5.99.26/debian/changelog nx-libs-3.5.99.26/debian/changelog
--- nx-libs-3.5.99.26/debian/changelog	2021-09-12 13:06:17.000000000 +0200
+++ nx-libs-3.5.99.26/debian/changelog	2021-10-06 06:41:29.000000000 +0200
@@ -1,3 +1,10 @@
+nx-libs (2:3.5.99.26-5) unstable; urgency=medium
+
+  * debian/patches:
+    + Add support for riscv64 (LP: #1943129).
+
+ -- Alexandre Ghiti <alexandre.ghiti@canonical.com>  Wed, 06 Oct 2021 06:41:29 +0200
+
 nx-libs (2:3.5.99.26-4) unstable; urgency=medium
 
   * debian/patches:
diff -Nru nx-libs-3.5.99.26/debian/patches/riscv64_port.patch nx-libs-3.5.99.26/debian/patches/riscv64_port.patch
--- nx-libs-3.5.99.26/debian/patches/riscv64_port.patch	1970-01-01 01:00:00.000000000 +0100
+++ nx-libs-3.5.99.26/debian/patches/riscv64_port.patch	2021-10-06 06:40:49.000000000 +0200
@@ -0,0 +1,50 @@
+Description: Add riscv64 support 
+Author: Alexandre Ghiti <alexandre.ghiti@canonical.com>
+Origin: other, https://github.com/ArcticaProject/nx-libs/pull/1023 
+Bug: https://github.com/ArcticaProject/nx-libs/pull/1023 
+Last-Update: 2021-10-06
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/nx-X11/config/cf/Imake.cf
++++ b/nx-X11/config/cf/Imake.cf
+@@ -843,6 +843,11 @@
+ # ifdef __aarch64__
+ #  define Arm64Architecture
+ # endif
++# ifdef __riscv
++#  if __riscv_xlen == 64
++#   define Riscv64Architecture
++#  endif
++# endif
+ # ifdef mc68000
+ #  define Mc68020Architecture
+ #  undef mc68000
+--- a/nx-X11/config/cf/Imake.tmpl
++++ b/nx-X11/config/cf/Imake.tmpl
+@@ -509,6 +509,8 @@
+ #define ByteOrder		X_BIG_ENDIAN
+ #elif defined(Ppc64LeArchitecture)
+ #define ByteOrder		X_LITTLE_ENDIAN
++#elif defined(Riscv64Architecture)
++#define ByteOrder		X_LITTLE_ENDIAN
+ #elif defined(HPArchitecture)
+ #define ByteOrder		X_BIG_ENDIAN
+ #elif defined(SuperHArchitecture)
+--- a/nx-X11/config/cf/linux.cf
++++ b/nx-X11/config/cf/linux.cf
+@@ -783,6 +783,15 @@
+ # define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines
+ #endif /* PpcArchitecture */
+ 
++#ifdef Riscv64Architecture
++# ifndef OptimizedCDebugFlags
++#  define OptimizedCDebugFlags	-O3
++# endif
++# define LinuxMachineDefines	-D__riscv64__
++# define ServerOSDefines	XFree86ServerOSDefines
++# define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
++#endif /* Riscv64Achitecture */
++
+ #ifdef s390Architecture
+ # ifndef OptimizedCDebugFlags
+ #  define OptimizedCDebugFlags	-O2 -fomit-frame-pointer GccAliasingArgs
diff -Nru nx-libs-3.5.99.26/debian/patches/series nx-libs-3.5.99.26/debian/patches/series
--- nx-libs-3.5.99.26/debian/patches/series	2021-09-12 13:05:14.000000000 +0200
+++ nx-libs-3.5.99.26/debian/patches/series	2021-10-06 06:36:17.000000000 +0200
@@ -5,3 +5,4 @@
 0003_randr-Do-not-update-ConnectionInfo-if-NULL.patch
 0004_document-additional-options-only-nxagent-knows-about.patch
 0005_fix-building-with-binutils-2.36.patch
+riscv64_port.patch

--- End Message ---
--- Begin Message ---
Source: nx-libs
Source-Version: 2:3.5.99.26-5
Done: Mike Gabriel <sunweaver@debian.org>

We believe that the bug you reported is fixed in the latest version of
nx-libs, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 995805@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mike Gabriel <sunweaver@debian.org> (supplier of updated nx-libs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 30 Oct 2021 13:38:02 +0200
Source: nx-libs
Architecture: source
Version: 2:3.5.99.26-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Remote Maintainers <debian-remote@lists.debian.org>
Changed-By: Mike Gabriel <sunweaver@debian.org>
Closes: 995805
Changes:
 nx-libs (2:3.5.99.26-5) unstable; urgency=medium
 .
   * debian/patches:
     + Add 0006_nx-X11-Add-support-for-riscv64-architecture.patch. Fix FTBFS on
       riscv64. (Closes: #995805).
Checksums-Sha1:
 5997f1db3162252da211c32442e6cd2c3f7c1030 3972 nx-libs_3.5.99.26-5.dsc
 7cc0c3461aeeb2b01af0ee3c5c15cbf3e032c03e 56920 nx-libs_3.5.99.26-5.debian.tar.xz
 f99b99e245a7602d2016f832157d7922e0c46981 8257 nx-libs_3.5.99.26-5_source.buildinfo
Checksums-Sha256:
 1b3ab2ee0dccae4a5ceb3a35c31eec35051bb7bf7864cc9e91ee71c1cd4653ff 3972 nx-libs_3.5.99.26-5.dsc
 61f8a214bf7293644eb5521dd7c1f1a12fcd67424ef368e52fefbb7fe5f27ab3 56920 nx-libs_3.5.99.26-5.debian.tar.xz
 62aecdce150853563c8cf9011bf5de225b9cbb943226477417f5d08952535659 8257 nx-libs_3.5.99.26-5_source.buildinfo
Files:
 0bc0b3e54b924da02f51e0169acb444d 3972 x11 optional nx-libs_3.5.99.26-5.dsc
 b8e2936ef3367c699877b8de8126eb84 56920 x11 optional nx-libs_3.5.99.26-5.debian.tar.xz
 06329624da479e61addf2e2444c11137 8257 x11 optional nx-libs_3.5.99.26-5_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmF9LysVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxD5cP/2kYOMKt0YSck4z6s60L1ZmQKoTR
BVb1zaiOWFAFJnugYFMhjZy8xyoATg/zqF90djBt871ZZj2hxH/JczTS404nvggG
5WJwl/HGDb3iNXN2hZocBKQeahqL2UPO5Zu5fVxnY/tw2B2lXGw+6lAbFOmBpSug
j/rcumUdasyAzqmzCc7E+vVHvnbQWCMmVCBAGCTkgINvoOHI+vP9eHzXgm6ita5G
lRIvBTDQkITI3g2okX6ZqAeumN7C+uRNO1S6nyry9LzYbo+G6Wc8YWtlmqq5b85I
RpuxVfo0aJHWIgCGmd8PuQg6eLIeRXtsUHKuDev3NdU6m5J1NW/ozwxAklEQL9JU
uiyRxO+QsYpnlnOISMFyS1EmPVRwetkSd7iXT6PnAONLeBsZ920zyiclgAkgthsy
ArY+vPWnQaVQLLnNxzlCsW80W54fP13BrrDDFsVfI6+RtObNmc8EWb6PhtWwHxZf
c/UyTrm0NB5wT5ZMmZ0WbexG65+IVJ57Z+CuZKQZa9tUhPcsf8t+gYCIsCU/TF/V
+u1LP/73asq0ueQPsWQ2lczUNRT33WUrQ5Ja5J+yLGiFXnnyxXZjIqKOaAQol64E
hx84fUHSi5q1JAb5FZPbRiurpJ93780X/pXgx5GZlRjb1Lrd4yrpjKox5OL+N3la
EbGBEMWPpRcABX6c
=H2LU
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: