On Thu, 2014-05-15 at 22:49 -0300, Antonio Terceiro wrote:
> On Thu, May 15, 2014 at 08:20:53PM +0100, Ian Campbell wrote:
> > On Thu, 2014-05-15 at 02:10 +0100, Wookey wrote:
> > > Also if anyone has expertise in language porting we'd like to hear
> > > from you. Below is the list of languages we believe still need porting to 
> > > arm64:
> > 
> > Ruby wasn't on the list, is that under control?
> > 
> > Ruby seems to be at the bottom of the build-dep chain for the kernel
> > (linux->patchutils->rpm->libsemanage->ruby).
> 
> The code is ported, but starting at 1.9 Ruby needs an existing Ruby
> interpreter to build. Ruby 1.8 needs only gcc-4.6 ... which needs
> patchutils. So we got ourselves a loop there.

FWIW I managed to build ruby1.8 with gcc-4.9 using the patch below. I
don't know if it works though.

> I have just committed a change to ruby that AFAICT will actually allow
> it to be built against ruby1.8 ( http://deb.li/nZlv ), any ideas on how
> to break the loop?
> 
diff -Nru ruby1.8-1.8.7.358/debian/control ruby1.8-1.8.7.358/debian/control
--- ruby1.8-1.8.7.358/debian/control    2014-04-07 23:06:10.000000000 +0100
+++ ruby1.8-1.8.7.358/debian/control    2014-04-29 19:32:33.000000000 +0100
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: akira yamada <ak...@debian.org>
 Uploaders: Daigo Moriwaki <da...@debian.org>, Lucas Nussbaum 
<lu...@debian.org>, Antonio Terceiro <terce...@debian.org>
-Build-Depends: cdbs (>= 0.4.106), debhelper (>= 5), autotools-dev, autoconf, 
m4, quilt (>= 0.40), patch, bison, binutils (>= 2.14.90.0.7), libgdbm-dev, 
libncurses5-dev, libreadline-gplv2-dev, zlib1g-dev, libssl-dev (>= 0.9.6b), 
file, coreutils (>= 7.5), gcc-4.6
+Build-Depends: cdbs (>= 0.4.106), debhelper (>= 5), autotools-dev, autoconf, 
m4, quilt (>= 0.40), patch, bison, binutils (>= 2.14.90.0.7), libgdbm-dev, 
libncurses5-dev, libreadline-gplv2-dev, zlib1g-dev, libssl-dev (>= 0.9.6b), 
file, coreutils (>= 7.5), gcc-4.9
 Standards-Version: 3.9.2
 Homepage: http://www.ruby-lang.org/
 Vcs-Git: git://git.debian.org/collab-maint/ruby1.8.git
@@ -58,7 +58,7 @@
 
 Package: ruby1.8-dev
 Architecture: any
-Depends: libruby1.8 (= ${binary:Version}), libc6-dev, ${misc:Depends}, gcc-4.6
+Depends: libruby1.8 (= ${binary:Version}), libc6-dev, ${misc:Depends}, gcc-4.9
 Recommends: ruby1.8 (= ${binary:Version})
 Description: Header files for compiling extension modules for the Ruby 1.8
  Ruby is the interpreted scripting language for quick and easy
diff -Nru ruby1.8-1.8.7.358/debian/rules ruby1.8-1.8.7.358/debian/rules
--- ruby1.8-1.8.7.358/debian/rules      2014-04-07 23:06:10.000000000 +0100
+++ ruby1.8-1.8.7.358/debian/rules      2014-04-29 19:47:01.000000000 +0100
@@ -18,7 +18,7 @@
 
 DEB_AUTO_UPDATE_AUTOCONF = YES
 
-CC = gcc-4.6 # see #674541; same version must be in Depends of ruby1.8-dev
+CC = gcc-4.9 # see #674541; same version must be in Depends of ruby1.8-dev
 CFLAGS += -fno-strict-aliasing -g
 CXXFLAGS += -fno-strict-aliasing -g
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))



-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1400222598.15871.34.ca...@hastur.hellion.org.uk

Reply via email to