[DRE-maint] Bug#949108: rake: Please depend on ruby:any, not ruby

Steve Langasek steve.langasek at canonical.com
Thu Jan 16 23:20:30 GMT 2020


Package: rake
Version: 12.3.3-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu focal ubuntu-patch

Dear maintainers,

rake declares itself to be Architecture: all, Multi-Arch: foreign, to allow
it to satisfy dependencies of packages from foreign architectures.  However,
it then also depends on ruby without an architecture qualifier, which makes
it impossible to ever install a foreign-architecture ruby interpreter
because e.g.  ruby:i386 Depends: ruby2.5:i386 Depends: libruby2.5:i386
Depends: rake:all Depends: ruby:amd64, and while libruby2.5 is
co-installable between architectures, ruby obviously is not.

Cross-installing ruby is currently of interest to us in Ubuntu, because we
in the process of moving the i386 architecture to a compatibility-only layer
on amd64, and therefore we are also moving our autopkgtest infrastructure to
test i386 binaries in a cross-environment.  This change should allow ruby to
be cross-installable, and therefore cross-testable.  Would you consider
applying this change to the Debian package?

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru rake-12.3.3/debian/control rake-12.3.3/debian/control
--- rake-12.3.3/debian/control	2019-09-14 22:59:53.000000000 -0700
+++ rake-12.3.3/debian/control	2020-01-16 15:10:19.000000000 -0800
@@ -21,7 +21,7 @@
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Multi-Arch: foreign
-Depends: ruby | ruby-interpreter,
+Depends: ruby:any | ruby-interpreter,
          ${misc:Depends},
          ${shlibs:Depends}
 Recommends: zip


More information about the Pkg-ruby-extras-maintainers mailing list