Bug#983308: vim: Please disable Ruby interpretor support on alpha and ia64

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.ia64
Message-ID <161398808996.1290546.9452732902967029476.reportbug__41404.4903403678$1613988217$gmane$org@epyc.physik.fu-berlin.de>
Source: vim
Severity: normal
Tags: patch
User: [email protected]
Usertags: alpha ia64
X-Debbugs-Cc: [email protected],[email protected]

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 - [email protected]
`. `'   Freie Universitaet Berlin - [email protected]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
vim_alpha_ia64_disable_ruby.diff (text/plain, 542 B)
--- 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.