[DRE-maint] Bug#1020927: ruby-all-dev: cross rbconfig is wrong package

Helmut Grohne helmut at subdivi.de
Wed Sep 28 19:49:43 BST 2022


Package: ruby-all-dev,ruby3.0-dev
Version: 1:3.0+3.1
User: debian-cross at lists.debian.org
Usertags: ftcbfs
Control: affects -1 + src:kross-interpreters

kross-interpreters fails to cross build for a number of reasons. Reason
one is that it depends on ruby rather than ruby:native and thus cannot
run ruby. This is not the problem I'm reporting here.

The next issue is that it needs the ruby-crossbuild's rbconfig.rb.
Unfortunately, that's not installed as it only depends on ruby,
ruby-dev. Thus I think that
/usr/lib/<multiarch>/ruby-crossbuild/3.0.0/rbconfig.rb resides in the
wrong package. It should reside in ruby3.0-dev rather than ruby-all-dev.

And finally, kross-interpreters needs to set up a suitable RUBYLIBDIR.

Of these issues, only the ownership of the cross rbconfig.rb is reported
here.

Antonio, can I ask you to perform the move?

I suppose we first need to upload a new ruby-defaults that drops these
files (thus breaking all cross builds). Then we need to upload rubyVER
adding it back together with suitable Breaks+Replaces. I don't think the
new ruby-defaults need versioned Depends to ensure the presence of these
files, because they are absent in stable. I'll have to deal with the
temporary breakage of cross builds.

Do you agree with this?

Helmut



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