Package: ruby2.0
Version: 2.0.0.299-2
Severity: important
Tags: patch,upstream
Usertags: port-x32 ftbfs-x32
User: debian-...@lists.debian.org

ruby2.0 FTBFS on x32.  I marked this important because libsemanage depends on 
ruby and passwd depends on it.  It makes bootstrapping an x32 chroot impossible.

--- ruby2.0-2.0.0.299.orig/debian/patches/series        2013-10-18 
15:58:23.965714708 +0000
+++ ruby2.0-2.0.0.299/debian/patches/series     2013-10-18 16:07:58.401730603 
+0000
@@ -1 +1,2 @@
 debian-changes
+x32-gc_h-fix.diff
diff -uNr ruby2.0-2.0.0.299.orig/debian/patches/x32-gc_h-fix.diff 
ruby2.0-2.0.0.299/debian/patches/x32-gc_h-fix.diff
--- ruby2.0-2.0.0.299.orig/debian/patches/x32-gc_h-fix.diff     1970-01-01 
00:00:00.000000000 +0000
+++ ruby2.0-2.0.0.299/debian/patches/x32-gc_h-fix.diff  2013-10-18 
16:07:45.425730244 +0000
@@ -0,0 +1,14 @@
+--- ruby2.0-2.0.0.299.orig/gc.h        2011-02-11 02:45:34.000000000 -0800
++++ ruby2.0-2.0.0.299/gc.h     2013-02-28 15:32:12.000000000 -0800
+@@ -3,7 +3,11 @@
+ #define RUBY_GC_H 1
+ 
+ #if defined(__x86_64__) && defined(__GNUC__) && !defined(__native_client__)
++#ifdef __ILP32__
++#define SET_MACHINE_STACK_END(p) __asm__ volatile ("movl\t%%esp, %0" : "=r" 
(*(p)))
++#else
+ #define SET_MACHINE_STACK_END(p) __asm__ volatile ("movq\t%%rsp, %0" : "=r" 
(*(p)))
++#endif
+ #elif defined(__i386) && defined(__GNUC__) && !defined(__native_client__)
+ #define SET_MACHINE_STACK_END(p) __asm__ volatile ("movl\t%%esp, %0" : "=r" 
(*(p)))
+ #else


--
Guillaume Morin <guilla...@morinfr.org>


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to