Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936157 - dev-lang/ruby-3.1.5 fails tests on sparc: Process::Constants has the correct constant values on Linux FAILED: Expected 7 == 6 to be truthy but was false
Summary: dev-lang/ruby-3.1.5 fails tests on sparc: Process::Constants has the correct ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc64 Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL: https://github.com/ruby/spec/issues/1150
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-07-16 14:58 UTC by matoro
Modified: 2024-08-12 09:33 UTC (History)
2 users (show)

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


Attachments
build.log and emerge --info (file_936157.txt,384.85 KB, text/plain)
2024-07-16 14:58 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-07-16 14:58:14 UTC
Created attachment 897804 [details]
build.log and emerge --info

1)
Process::Constants has the correct constant values on Linux FAILED
Expected 7 == 6
to be truthy but was false
/var/tmp/portage/dev-lang/ruby-3.1.5/work/ruby-3.1.5/spec/ruby/core/process/constants_spec.rb:44:in `block (3 levels) in <top (required)>'
/var/tmp/portage/dev-lang/ruby-3.1.5/work/ruby-3.1.5/spec/ruby/core/process/constants_spec.rb:2:in `<top (required)>'
 
Finished in 35.788761 seconds
 
3815 files, 30874 examples, 118920 expectations, 1 failure, 0 errors, 0 tagged
make: *** [uncommon.mk:874: yes-test-spec] Error 1
Comment 1 Larry the Git Cow gentoo-dev 2024-08-12 09:33:39 UTC
The bug has been closed via the following commit(s):

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

commit 986366bb094939c4e2d8cf0067f1bd1ba24ca18e
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2024-08-12 09:29:52 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2024-08-12 09:33:22 +0000

    dev-lang/ruby: backport RLIMIT spec fixes
    
    Thanks to matoro for working with upstream to make this spec
    work on all arches.
    
    Closes: https://bugs.gentoo.org/936157
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 .../ruby/files/3.1/013-test-rlimit-constants.patch | 147 +++++++++++++++++++
 .../ruby/files/3.2/013-test-rlimit-constants.patch | 147 +++++++++++++++++++
 .../ruby/files/3.3/013-test-rlimit-constants.patch | 159 +++++++++++++++++++++
 dev-lang/ruby/ruby-3.1.6-r1.ebuild                 |   1 +
 dev-lang/ruby/ruby-3.2.5.ebuild                    |   1 +
 dev-lang/ruby/ruby-3.3.4-r1.ebuild                 |   1 +
 6 files changed, 456 insertions(+)