Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 867652

Summary: dev-ruby/rake-13.0.6-r1 fails tests (MUSL)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal CC: kingjon3377, paolo.pedroni
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=436068
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-08-31 05:18:17 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-ruby/rake-13.0.6-r1 fails tests (MUSL).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-08-31 05:18:19 UTC
Created attachment 802111 [details]
build.log

build log and emerge --info
Comment 2 Jonathan Lovelace 2023-08-23 00:59:12 UTC
I'm now seeing this same test failure (which I've never seen before) in my glibc mostly-stable hardened amd64 box when trying to upgrade rake-13.0.6-r2 from ruby30 to ruby31.
Comment 3 Paolo Pedroni 2024-02-08 08:53:29 UTC
Same for me :/
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-08 09:03:28 UTC
It is mentioned in passing at least in bug 436068.
Comment 5 Hans de Graaff gentoo-dev Security 2024-02-09 09:10:05 UTC
This is a real head-scratcher. I can't pinpoint what causes this or which file installed by dev-ruby/rake makes a difference. Looking at the code in question nothing should, but I can also reproduce this.
Comment 6 Larry the Git Cow gentoo-dev 2024-02-09 09:13:58 UTC
The bug has been closed via the following commit(s):

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

commit 12d733dbb55780dd082174b43e2d4c13f6a912ab
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2024-02-09 09:10:15 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2024-02-09 09:13:50 +0000

    dev-ruby/rake: fix tests when rake is not installed
    
    Ensure that the test suite uses the local files only, otherwise
    one of the tests will mysteriously fail when rake is not already
    installed.
    
    Also avoid loading minitest plugins which may break when rake is not
    present.
    
    Closes: https://bugs.gentoo.org/867652
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/rake/rake-13.1.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)