Source: vim
Severity: normal
Tags: patch
User: debian-al...@lists.debian.org
Usertags: alpha ia64
X-Debbugs-Cc: debian-al...@lists.debian.org,debian-ia64@lists.debian.org

Hi!

The Ruby interpretor is not fully working on alpha and ia64 and regularly causes
the vim testsuite to fail on these architectures.

Since vim is a key package that must always be up to date for debootstrap to 
work
properly (and hence every FTBFS causes debootstrap to fail on these targets), I
would like to disable Ruby interpreter support on alpha and ia64 to make sure 
that
debootstrap will always succeed on these targets.

Could you make the following change to debian/rules to disable Ruby on alpha and
ia64?

--- debian/rules.orig   2021-02-20 19:46:51.000000000 +0100
+++ debian/rules        2021-02-22 10:56:44.629286099 +0100
@@ -94,7 +94,10 @@
 ALLINTERPFLAGS += --enable-perlinterp
 ALLINTERPFLAGS += --enable-python3interp --with-python3-config-dir=$(shell 
python3-config --configdir)
 ALLINTERPFLAGS += --disable-pythoninterp
+# Disable Ruby support where it's unreliable
+ifeq (,$(filter alpha ia64, $(DEB_HOST_ARCH)))
 ALLINTERPFLAGS += --enable-rubyinterp
+endif
 ALLINTERPFLAGS += --enable-tclinterp
 ALLINTERPFLAGS += --with-tclsh=/usr/bin/tclsh
 
I'm also attaching a patch.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
--- debian/rules.orig   2021-02-20 19:46:51.000000000 +0100
+++ debian/rules        2021-02-22 10:56:44.629286099 +0100
@@ -94,7 +94,10 @@
 ALLINTERPFLAGS += --enable-perlinterp
 ALLINTERPFLAGS += --enable-python3interp --with-python3-config-dir=$(shell 
python3-config --configdir)
 ALLINTERPFLAGS += --disable-pythoninterp
+# Disable Ruby support where it's unreliable
+ifeq (,$(filter alpha ia64, $(DEB_HOST_ARCH)))
 ALLINTERPFLAGS += --enable-rubyinterp
+endif
 ALLINTERPFLAGS += --enable-tclinterp
 ALLINTERPFLAGS += --with-tclsh=/usr/bin/tclsh
 

Reply via email to