Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 816216 - app-emulation/vagrant-2.2.18 needs updated rdepend
Summary: app-emulation/vagrant-2.2.18 needs updated rdepend
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-04 08:38 UTC by Gianni Ceccarelli
Modified: 2021-10-20 03:02 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gianni Ceccarelli 2021-10-04 08:38:45 UTC
vagrant 2.2.18 requires childprocess 4.1.0 and rexml 3.2

the ebuild sets RDEPEND to >=dev-ruby/childprocess-4.0.0 and doesn't mention rexml

Reproducible: Always

Steps to Reproduce:
1. have vagrant 2.2.9-r1 installed, with all its dependencies
2. add =app-emulation/vagrant-2.2.18 to package.accept_keywords
3. emerge vagrant
4. change versions in package.accept_keywords until the ebuild works
5. run vagrant
Actual Results:  
Could not find 'childprocess' (>= 4.1.0) - did find: [childprocess-4.0.0]

and later

Could not find 'rexml' (>= 3.2) - did find: [rexml-3.1.9.1]

Expected Results:  
vagrant starts

once I keyworded and emerged the two packages (dev-ruby/childprocess 4.1.0 and dev-ruby/rexml 3.2.5) vagrant worked
Comment 1 Larry the Git Cow gentoo-dev 2021-10-20 03:02:43 UTC
The bug has been closed via the following commit(s):

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

commit 5e41813dc0345eee7f0b59aa50df17d2c88bdbd7
Author:     RockyBukake <35773324+RockyBukake@users.noreply.github.com>
AuthorDate: 2021-10-02 17:23:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-20 03:02:30 +0000

    app-emulation/vagrant: Add "rexml" dependency
    
    Current ebuild causes ruby to complain about missing "rexml" dependency:
    ```
    /usr/lib64/ruby/site_ruby/2.6.0/rubygems/dependency.rb:313:in `to_specs': Could not find 'rexml' (>= 3.2) - did find: [rexml-3.1.9.1] (Gem::MissingSpecVersionError)
    Checked in 'GEM_PATH=/home/*****/.local/share/gem/ruby/2.6.0:/usr/lib64/ruby/gems/2.6.0:/usr/local/lib64/ruby/gems/2.6.0' , execute `gem env` for more information
            from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/dependency.rb:323:in `to_spec'
            from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_gem.rb:62:in `gem'
            from /usr/lib64/ruby/gems/2.6.0/gems/vagrant-2.2.18/bin/vagrant:95:in `block (2 levels) in <main>'
            from /usr/lib64/ruby/gems/2.6.0/gems/vagrant-2.2.18/bin/vagrant:94:in `each'
            from /usr/lib64/ruby/gems/2.6.0/gems/vagrant-2.2.18/bin/vagrant:94:in `block in <main>'
            from /usr/lib64/ruby/gems/2.6.0/gems/vagrant-2.2.18/bin/vagrant:105:in `<main>'
    ```
    
    [sam: revbumped with git mv because it's broken at runtime and we're changing/
    fixing a runtime dependency.]
    
    Closes: https://bugs.gentoo.org/816216
    Closes: https://github.com/gentoo/gentoo/pull/22467
    Signed-off-by: Sam James <sam@gentoo.org>

 .../vagrant/{vagrant-2.2.18.ebuild => vagrant-2.2.18-r1.ebuild}          | 1 +
 1 file changed, 1 insertion(+)