[DRE-maint] Bug#959393: Bug#959393: ruby2.7 breaks diaspora-installer autopkgtest: sh: 1: bundle: not found

Daniel Leidert dleidert at debian.org
Sat May 2 13:59:36 BST 2020


Am Freitag, den 01.05.2020, 21:20 -0300 schrieb Antonio Terceiro:
> Control: reassign -1 libruby2.7
> Control: found -1 2.7.0-6
> 
> On Fri, May 01, 2020 at 09:12:57PM -0300, Antonio Terceiro wrote:
> > Control: reassign -1 ruby2.7
> > Control: found -1 2.7.0-6
> > 
> > On Fri, May 01, 2020 at 10:23:56PM +0200, Paul Gevers wrote:
> > > Using system bundler...
> > > Installing gems with rubygems ...
> > > sh: 1: bundle: not found
> > 
> > libruby2.7 now has some Provides: for libraries builtin to the standard
> > library, including ruby-bundler. But since ruby-bundler also provides a
> > `bundle` binary, which libruby2.7 does not, then this Provides: is not
> > really correct.
> > 
> > Instead, libruby2.7 should depend on ruby-bundler, like it already does on
> > rake, ruby-test-unit and others, and not provide it.
> 
> It's on libruby2.7, not ruby2.7

The binary is in ruby2.7. IMHO our approach should be:

- ship a symlink /usr/bin/bundle -> /usr/bin/bundle2.7 with ruby(-defaults),
- handle the symlink via dpkg-divert if ruby-bundler gets installed, and
- keep the provides in libruby2.7.

Regards, Daniel

_______________________________________________
> Pkg-ruby-extras-maintainers mailing list
> Pkg-ruby-extras-maintainers at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers
-- 
Regards,
Daniel Leidert <dleidert at debian.org> | https://www.wgdd.de/
GPG-Key RSA4096 / BEED4DED5544A4C03E283DC74BCD0567C296D05D
GPG-Key ED25519 / BD3C132D8B3805D1808123AB7ACE00941E338C78

If you like my work consider sponsoring me via
https://www.patreon.com/join/dleidert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20200502/52d82a7d/attachment.sig>


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