Package: tightvnc
Version: 1.3.9-6.4
Severity: important

Tightvnc FTBFS on arm64, the cause is some missing logic in the build system to deal with it. (the build system in question seems to need to know about each architecture explicitly). Ubuntu has had a fix for some time* and I just took their fix, cleaned it up for debian (changelog tweaks, removing their maintainer changes) and checked it was buildable on debian arm64. A debdiff is attatched.

We are desperately trying to get arm64 up to release status and the lack of this package is making stuff uninstallable in arm64 testing, so a prompt upload would be appreciated. If there is no maintainer response a NMU will most likely follow. If you have any objections to this patch please raise them now.

* They also have a new upstream release but uploading new upstream releases is not appropriate at this point in the release cycle.
diff -Nru tightvnc-1.3.9/debian/changelog tightvnc-1.3.9/debian/changelog
--- tightvnc-1.3.9/debian/changelog     2012-06-07 09:59:04.000000000 +0000
+++ tightvnc-1.3.9/debian/changelog     2014-10-30 00:33:16.000000000 +0000
@@ -1,3 +1,10 @@
+tightvnc (1.3.9-6.5) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch from 1.3.9-6.4ubuntu1 by Colin Watson for arm64 support.
+
+ -- Peter Michael Green <[email protected]>  Wed, 29 Oct 2014 21:47:46 +0000
+
 tightvnc (1.3.9-6.4) unstable; urgency=high
 
   * Non-maintainer upload.
diff -Nru tightvnc-1.3.9/debian/patches/aarch64.patch 
tightvnc-1.3.9/debian/patches/aarch64.patch
--- tightvnc-1.3.9/debian/patches/aarch64.patch 1970-01-01 00:00:00.000000000 
+0000
+++ tightvnc-1.3.9/debian/patches/aarch64.patch 2014-10-29 21:46:09.000000000 
+0000
@@ -0,0 +1,39 @@
+Description: Add aarch64 (arm64) support
+Author: Colin Watson <[email protected]>
+Forwarded: no
+Last-Update: 2014-03-18
+
+Index: b/Xvnc/config/cf/Imake.cf
+===================================================================
+--- a/Xvnc/config/cf/Imake.cf
++++ b/Xvnc/config/cf/Imake.cf
+@@ -700,6 +700,10 @@
+ #   define s390Architecture
+ #  undef __s390__
+ # endif /* s390 */
++# ifdef __aarch64__
++#  define AArch64Architecture
++#  undef __aarch64__
++# endif /* __arch64__ */
+ # ifdef __alpha
+ #  define AlphaArchitecture
+ #  undef __alpha
+Index: b/Xvnc/config/cf/linux.cf
+===================================================================
+--- a/Xvnc/config/cf/linux.cf
++++ b/Xvnc/config/cf/linux.cf
+@@ -305,6 +305,14 @@
+ #define ServerExtraDefines    -DGCCUSESGAS XFree86ServerDefines
+ #endif /* PowerPCArchitecture */
+ 
++#ifdef AArch64Architecture
++#define DefaultCCOptions      -fsigned-char
++#define OptimizedCDebugFlags  -O2
++#define LinuxMachineDefines   -D__aarch64__
++#define ServerOSDefines               XFree86ServerOSDefines -DDDXTIME 
-DPART_NET
++#define ServerExtraDefines    -DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
++#endif /* AArch64Architecture */
++
+ #ifdef ArmArchitecture
+ #define DefaultCCOptions      -fsigned-char
+ #define OptimizedCDebugFlags  -O2
diff -Nru tightvnc-1.3.9/debian/patches/series 
tightvnc-1.3.9/debian/patches/series
--- tightvnc-1.3.9/debian/patches/series        2012-06-07 09:54:59.000000000 
+0000
+++ tightvnc-1.3.9/debian/patches/series        2014-10-29 21:46:09.000000000 
+0000
@@ -2,3 +2,4 @@
 20-vncviewer--vncviewer.man.patch
 30-ftbfs-mips.patch
 debian-changes-1.3.9-6.1
+aarch64.patch

Reply via email to