2020-05-05 12:29:21 |
Lucas Kanashiro |
bug |
|
|
added bug |
2020-05-05 12:29:28 |
Lucas Kanashiro |
ruby2.7 (Ubuntu): assignee |
|
Lucas Kanashiro (lucaskanashiro) |
|
2020-05-05 12:29:42 |
Lucas Kanashiro |
ruby2.7 (Ubuntu): importance |
Undecided |
High |
|
2020-05-05 12:29:53 |
Lucas Kanashiro |
ruby2.7 (Ubuntu): status |
New |
In Progress |
|
2020-05-05 12:54:09 |
Lucas Kanashiro |
bug |
|
|
added subscriber Ubuntu Server |
2020-05-05 14:53:20 |
Lucas Kanashiro |
nominated for series |
|
Ubuntu Focal |
|
2020-05-05 14:53:20 |
Lucas Kanashiro |
bug task added |
|
ruby2.7 (Ubuntu Focal) |
|
2020-05-05 14:54:00 |
Lucas Kanashiro |
ruby2.7 (Ubuntu Focal): assignee |
|
Lucas Kanashiro (lucaskanashiro) |
|
2020-05-05 14:54:09 |
Lucas Kanashiro |
ruby2.7 (Ubuntu Focal): importance |
Undecided |
High |
|
2020-05-05 14:54:14 |
Lucas Kanashiro |
ruby2.7 (Ubuntu Focal): status |
New |
In Progress |
|
2020-05-05 15:00:36 |
Lucas Kanashiro |
merge proposal linked |
|
https://code.launchpad.net/~lucaskanashiro/ubuntu/+source/ruby2.7/+git/ruby2.7/+merge/383424 |
|
2020-05-05 19:02:00 |
Lucas Kanashiro |
description |
In version 2.7.0-5, libruby2.7 became a provider of a bunch of libraries builtin to the standard
library, including ruby-bundler. The issue here is that ruby-bundler binary package ships the library and binary (called 'bundle') and libruby2.7 does not ship the binary just the library files.
This bug was reported here in Debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959393
And it was already fixed in version 2.7.0-7:
https://tracker.debian.org/news/1141239/accepted-ruby27-270-7-source-into-unstable/
The solution is to make libruby2.7 stop providing ruby-bundler for now. This fix should be synced into Groovy and SRUed to Focal. |
[ Impact ]
Users who are used to call 'bundle' are not able to do it installing just libruby2.7. ruby-bundler was marked as provided by libruby2.7 in version 2.7.0-5.
ruby2.7 binary package provides 'bundle2.7' executable which could be symlinked to 'bundle', however, it would be conceptually wrong to mark ruby-bundler as provided by libruby2.7 and its binary be shipped in ruby2.7. Moreover, we would need to handle the case where ruby-bundler binary package is installed because it also provides 'bundle'.
The simplest solution here is make libruby2.7 does not provide ruby-bundler at all, and always force users to install ruby-bundler binary package.
[ Test Case ]
Try to install libruby2.7 in a Focal system and try to call 'bundle'.
$ lxc launch ubuntu-daily:focal ruby-does-not-provide-bundler
$ lxc shell ruby-does-not-provide-bundler
# apt install -y libruby2.7
# bundle
Command 'bundle' not found, but can be installed with:
apt install ruby-bundler
Since ruby-bundler is provided by libruby2.7 its binary must be already available to the user at this point.
[ Regression Potential ]
This change should not affect users heavily since it was introduced recently and most of them are not relying on it yet. However, there is a chance of someone preparing a ruby package/custom script and removing the dependency on ruby-bundler since it is now provided by libruby2.7, those packages/scripts will fail during build time or runtime.
[ Original description ]
In version 2.7.0-5, libruby2.7 became a provider of a bunch of libraries builtin to the standard
library, including ruby-bundler. The issue here is that ruby-bundler binary package ships the library and binary (called 'bundle') and libruby2.7 does not ship the binary just the library files.
This bug was reported here in Debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959393
And it was already fixed in version 2.7.0-7:
https://tracker.debian.org/news/1141239/accepted-ruby27-270-7-source-into-unstable/
The solution is to make libruby2.7 stop providing ruby-bundler for now. This fix should be synced into Groovy and SRUed to Focal. |
|
2020-05-05 19:09:14 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~lucaskanashiro/ubuntu/+source/ruby2.7/+git/ruby2.7/+merge/383457 |
|
2020-05-05 19:33:43 |
Lucas Kanashiro |
summary |
libruby2.7 provides ruby-bundler library but its binary is missing |
[SRU] libruby2.7 provides ruby-bundler library but its binary is missing |
|
2020-05-05 22:00:11 |
Lucas Kanashiro |
ruby2.7 (Ubuntu): status |
In Progress |
Fix Released |
|
2020-05-05 22:00:29 |
Lucas Kanashiro |
merge proposal unlinked |
https://code.launchpad.net/~lucaskanashiro/ubuntu/+source/ruby2.7/+git/ruby2.7/+merge/383424 |
|
|
2020-05-07 13:10:36 |
Lucas Kanashiro |
tags |
|
verification-done verification-done-focal |
|
2020-05-07 13:11:01 |
Lucas Kanashiro |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-05-12 21:35:39 |
Brian Murray |
ruby2.7 (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2020-05-12 21:35:42 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2020-05-12 21:35:45 |
Brian Murray |
tags |
verification-done verification-done-focal |
verification-needed verification-needed-focal |
|
2020-05-15 11:59:06 |
Lucas Kanashiro |
tags |
verification-needed verification-needed-focal |
verification-done verification-done-focal |
|
2020-05-21 07:51:42 |
Ćukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2020-05-21 07:51:52 |
Launchpad Janitor |
ruby2.7 (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|