Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 891127 - app-emulation/vagrant should support ruby 3.0
Summary: app-emulation/vagrant should support ruby 3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Guillaume Seren
URL: https://github.com/hashicorp/vagrant/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-16 15:03 UTC by Mike Limansky
Modified: 2023-02-05 08:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
vagrant ebuild patch (ebuild.patch,391 bytes, patch)
2023-01-17 09:45 UTC, Mike Limansky
Details | Diff
vagrant.in.patch (vagrant.in.patch,550 bytes, patch)
2023-01-17 09:46 UTC, Mike Limansky
Details | Diff
hashicorp-checkpoint.ebuild patch (hashicorp-checkpoint.ebuild.patch,427 bytes, patch)
2023-01-17 09:47 UTC, Mike Limansky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Limansky 2023-01-16 15:03:14 UTC
According to changelog vagrant supports Ruby 3.0 since 2.2.17, however current ebuild supports only ruby 2.6 and 2.7.

Reproducible: Always
Comment 1 Mike Limansky 2023-01-17 09:45:48 UTC
Created attachment 848719 [details, diff]
vagrant ebuild patch
Comment 2 Mike Limansky 2023-01-17 09:46:24 UTC
Created attachment 848721 [details, diff]
vagrant.in.patch
Comment 3 Mike Limansky 2023-01-17 09:47:04 UTC
Created attachment 848723 [details, diff]
hashicorp-checkpoint.ebuild patch
Comment 4 Mike Limansky 2023-01-17 09:48:26 UTC
I've successfully installed vagrant 2.2.19 with patches I've uploaded. If it would be better, I can make a pull request to gentoo-portage github.
Comment 5 Joonas Niilola gentoo-dev 2023-01-20 20:49:10 UTC
Yes please, these kind of patches are hard to test, hard to merge and you need to adhere to our copyright rules which is more apparent in github:
https://www.gentoo.org/glep/glep-0076.html

Let us know if you need help.
Comment 6 Mike Limansky 2023-01-20 22:14:11 UTC
https://github.com/gentoo/gentoo/pull/29193
Comment 7 Larry the Git Cow gentoo-dev 2023-02-05 08:30:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b544c7f4a33076eff75f39029bb56b0bfbe1f5c3

commit b544c7f4a33076eff75f39029bb56b0bfbe1f5c3
Author:     Mikhail Limansky <mike.limansky@gmail.com>
AuthorDate: 2023-01-20 22:11:53 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-02-05 08:30:36 +0000

    app-emulation/vagrant: Support ruby30
    
    Closes: https://bugs.gentoo.org/891127
    Signed-off-by: Mikhail Limansky <mike.limansky@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/29193
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-emulation/vagrant/files/vagrant.in                             | 2 +-
 app-emulation/vagrant/vagrant-2.2.18-r1.ebuild                     | 4 ++--
 app-emulation/vagrant/vagrant-2.2.19-r1.ebuild                     | 4 ++--
 app-emulation/vagrant/vagrant-2.2.19.ebuild                        | 4 ++--
 dev-ruby/hashicorp-checkpoint/hashicorp-checkpoint-0.1.5-r1.ebuild | 4 ++--
 5 files changed, 9 insertions(+), 9 deletions(-)