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

Bug#776846: unblock: sigscheme/0.8.5-4.2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package sigscheme

This fix bug #758710.

It is FTBFS on arm64. Update symbols file for arm64 support,
and add new patch file to update header file for arm64 building support.

diff -Nru sigscheme-0.8.5/debian/changelog sigscheme-0.8.5/debian/changelog
--- sigscheme-0.8.5/debian/changelog	2014-04-17 16:44:10.000000000 +0900
+++ sigscheme-0.8.5/debian/changelog	2015-01-27 19:00:22.000000000 +0900
@@ -1,3 +1,15 @@
+sigscheme (0.8.5-4.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * fix FTBFS on arm64 (Closes: #758710).
+    thanks to Artur Rona <ari-tczew@tlen.pl> for picking from Ubuntu.
+    - debian/libgcroots0.symbols: add arm64 support.
+    - debian/patches/aarch64.diff: new patch to add arm64 support.
+      thanks to Matthias Klose <doko@ubuntu.com>.
+    - debian/patches/series: update.
+
+ -- HIGUCHI Daisuke (VDR dai) <dai@debian.org>  Tue, 27 Jan 2015 18:57:38 +0900
+
 sigscheme (0.8.5-4.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru sigscheme-0.8.5/debian/libgcroots0.symbols sigscheme-0.8.5/debian/libgcroots0.symbols
--- sigscheme-0.8.5/debian/libgcroots0.symbols	2014-04-16 21:42:14.000000000 +0900
+++ sigscheme-0.8.5/debian/libgcroots0.symbols	2015-01-27 18:57:30.000000000 +0900
@@ -5,7 +5,7 @@
  GCROOTS_init@Base 0.8.5
  GCROOTS_is_protected@Base 0.8.5
  GCROOTS_is_protected_context@Base 0.8.5
- (arch=!mips !mipsel !mipsn32 !mipsn32el !mips64 !mips64el !s390 !s390x)GCROOTS_jmp_buf@Base 0.8.5
+ (arch=!mips !mipsel !mipsn32 !mipsn32el !mips64 !mips64el !s390 !s390x !arm64)GCROOTS_jmp_buf@Base 0.8.5
  GCROOTS_mark@Base 0.8.5
  GCROOTS_noop1@Base 0.8.5
  GCROOTS_push_current_stack@Base 0.8.5
diff -Nru sigscheme-0.8.5/debian/patches/aarch64.diff sigscheme-0.8.5/debian/patches/aarch64.diff
--- sigscheme-0.8.5/debian/patches/aarch64.diff	1970-01-01 09:00:00.000000000 +0900
+++ sigscheme-0.8.5/debian/patches/aarch64.diff	2015-01-27 18:57:30.000000000 +0900
@@ -0,0 +1,76 @@
+From: Matthias Klose <doko@ubuntu.com>
+Description: Added AARCH64 support to gcconfig.h (libgcroots). It needs to get symbols file updated, as well.
+Bug: https://groups.google.com/forum/#!topic/uim-en/fxixLmHXcq0
+Bug-Debian: http://bugs.debian.org/758710
+Origin: upstream, https://github.com/ctyler/libgcroots/commit/da6e6884a1119e2cf6be88b4cf5eb9091c52beeb
+
+Index: b/libgcroots/include/private/gcconfig.h
+===================================================================
+--- a/libgcroots/include/private/gcconfig.h
++++ b/libgcroots/include/private/gcconfig.h
+@@ -62,6 +62,13 @@
+ # endif
+ 
+ /* Determine the machine type: */
++# if defined(__aarch64__)
++#    define AARCH64
++#    if !defined(LINUX)
++#      define NOSYS
++#      define mach_type_known
++#    endif
++# endif
+ # if defined(__arm__) || defined(__thumb__)
+ #    define ARM32
+ #    if !defined(LINUX) && !defined(NETBSD)
+@@ -231,6 +238,10 @@
+ #    define IA64
+ #    define mach_type_known
+ # endif
++# if defined(LINUX) && defined(__aarch64__)
++#    define AARCH64
++#    define mach_type_known
++# endif
+ # if defined(LINUX) && defined(__arm__)
+ #    define ARM32
+ #    define mach_type_known
+@@ -504,6 +515,7 @@
+ 		    /* 			running Amdahl UTS4		*/
+                     /*             S390       ==> 390-like machine      */
+ 		    /*                  running LINUX                   */
++		    /*             AARCH64    ==> ARM AArch64           */
+ 		    /* 		   ARM32      ==> Intel StrongARM	*/
+ 		    /* 		   IA64	      ==> Intel IPF		*/
+ 		    /*				  (e.g. Itanium)	*/
+@@ -1724,6 +1736,32 @@
+ #   endif
+ # endif
+ 
++# ifdef AARCH64
++#   define CPP_WORDSZ 64
++#   define MACH_TYPE "AARCH64"
++#   define ALIGNMENT 8
++#   ifndef HBLKSIZE
++#     define HBLKSIZE 4096
++#   endif
++#   ifdef LINUX
++#     define OS_TYPE "LINUX"
++#     define LINUX_STACKBOTTOM
++#     define USE_GENERIC_PUSH_REGS
++#     define DYNAMIC_LOADING
++      extern int __data_start[];
++#     define DATASTART ((ptr_t)__data_start)
++      extern char _end[];
++#     define DATAEND ((ptr_t)(&_end))
++#   endif
++#   ifdef NOSYS
++      /* __data_start is usually defined in the target linker script.   */
++      extern int __data_start[];
++#     define DATASTART ((ptr_t)__data_start)
++      extern void *__stack_base__;
++#     define STACKBOTTOM ((ptr_t)__stack_base__)
++#   endif
++# endif
++
+ # ifdef ARM32
+ #   define CPP_WORDSZ 32
+ #   define MACH_TYPE "ARM32"
diff -Nru sigscheme-0.8.5/debian/patches/series sigscheme-0.8.5/debian/patches/series
--- sigscheme-0.8.5/debian/patches/series	2014-04-16 21:36:19.000000000 +0900
+++ sigscheme-0.8.5/debian/patches/series	2015-01-27 18:57:30.000000000 +0900
@@ -7,3 +7,4 @@
 test-gc-protect-0.8.5
 add-ac-config-macro-dir-m4-0.8.5
 support-automake-test-log-driver-0.8.5
+aarch64.diff

unblock sigscheme/0.8.5-4.2

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to ja_JP.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 
Regards,
	dai

GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E

Attachment: signature.asc
Description: Digital signature


Reply to: