Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935259 - dev-ruby/rbs-3.4.4 fails tests if rspec-support has broken dependencies
Summary: dev-ruby/rbs-3.4.4 fails tests if rspec-support has broken dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-01 01:23 UTC by Jonathan Lovelace
Modified: 2024-07-11 06:41 UTC (History)
1 user (show)

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


Attachments
dev-ruby:rbs-3.4.4:20240701-005115.log (dev-ruby:rbs-3.4.4:20240701-005115.log,27.97 KB, text/plain; charset=utf-8)
2024-07-01 01:23 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,12.30 KB, text/plain; charset=utf-8)
2024-07-01 01:24 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2024-07-01 01:23:58 UTC
Created attachment 896683 [details]
dev-ruby:rbs-3.4.4:20240701-005115.log

While doing the Ruby 3.2 update on this machine (along with Python 3.12 and other much-postponed updates), I just hit a test failure in =dev-ruby/rbs-3.4.4. 

My first thought was that this was a case where the dependency, undeclared by the ebuild, is scheduled to be updated later, but in this build log the failure is actually while running the tests with Ruby 3.1 ... And while the failure message talks about missing rspec-support (which has been updated to version 3.13.1 and for Ruby 3.2), the test-code snippet provided references rspec-mocks (which is at version 3.12.6, and only installed for Ruby 3.1).
Comment 1 Jonathan Lovelace 2024-07-01 01:24:28 UTC
Created attachment 896684 [details]
emerge-info.txt
Comment 2 Hans de Graaff gentoo-dev Security 2024-07-03 19:46:26 UTC
I think we'll need to patch out that test. Pulling in rspec as a test dependency for rbs is nog going to work because it would lead to a huge dependency tree for dev-lang/ruby.
Comment 3 Larry the Git Cow gentoo-dev 2024-07-11 06:41:19 UTC
The bug has been closed via the following commit(s):

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

commit 6500b67577ffb25625005e4da7b14bf341d5e022
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2024-07-11 06:40:27 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2024-07-11 06:41:10 +0000

    dev-ruby/rbs: add 3.5.2
    
    Also avoid an automagic dependency on rspec in tests.
    
    Closes: https://bugs.gentoo.org/935259
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/rbs/Manifest         |  1 +
 dev-ruby/rbs/rbs-3.5.2.ebuild | 59 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)