[DRE-maint] Bug#970470: gem2deb: annotate interpreter dependencies with :any
Helmut Grohne
helmut at subdivi.de
Wed Sep 16 21:12:47 BST 2020
Package: gem2deb
Version: 1.3
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
Control: affects -1 + src:ruby-json
Failing build log of ruby-json:
http://crossqa.debian.net/build/ruby-json_2.3.0+dfsg-1_ppc64el_20200915142320.log
We can see that it fails dh_ruby, which is a ruby script and it seems to
be interpreted as a shell script as the foreign ruby execuatble cannot
be executed.
gem2deb was turned arch:any a while ago, because it needs to transfer an
architecture constraint to ruby-all-dev. However, in that process it
also now pulls the host's ruby interpreter. We need a runnable ruby
interpreter from the build architecture.
The patch is kinda incomplete, as we should also tell ruby to use the
hosts rbconfig.rb. I haven't figured how we can do so yet. Please
consider applying it as an incremental improvement and close this bug
when doing so.
Helmut
-------------- next part --------------
diff --minimal -Nru gem2deb-1.3/debian/changelog gem2deb-1.3+nmu1/debian/changelog
--- gem2deb-1.3/debian/changelog 2020-09-14 15:41:39.000000000 +0200
+++ gem2deb-1.3+nmu1/debian/changelog 2020-09-16 21:13:17.000000000 +0200
@@ -1,3 +1,10 @@
+gem2deb (1.3+nmu1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Annotate ruby interpreter dependencies with :any. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Wed, 16 Sep 2020 21:13:17 +0200
+
gem2deb (1.3) unstable; urgency=medium
[ Chris Hofstaedtler ]
diff --minimal -Nru gem2deb-1.3/debian/control gem2deb-1.3+nmu1/debian/control
--- gem2deb-1.3/debian/control 2020-09-14 15:41:39.000000000 +0200
+++ gem2deb-1.3+nmu1/debian/control 2020-09-16 21:13:17.000000000 +0200
@@ -31,7 +31,7 @@
devscripts,
gem2deb-test-runner (= ${binary:Version}),
rake,
- ruby,
+ ruby:any,
ruby-all-dev (>= 1:2.5),
${misc:Depends},
${perl:Depends},
@@ -51,7 +51,7 @@
Package: gem2deb-test-runner
Architecture: any
Depends: rake,
- ruby | ruby-interpreter,
+ ruby:any | ruby-interpreter,
ruby-minitest,
ruby-test-unit,
${misc:Depends},
More information about the Pkg-ruby-extras-maintainers
mailing list