Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721068 (musl-ruby) - dev-lang/ruby: Add musl-libc support/patch to main repository
Summary: dev-lang/ruby: Add musl-libc support/patch to main repository
Status: CONFIRMED
Alias: musl-ruby
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-05 10:11 UTC by Michael 'veremitz' Everitt
Modified: 2021-05-22 17:50 UTC (History)
2 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 Michael 'veremitz' Everitt 2020-05-05 10:11:42 UTC
The ebuilds in ::musl overlay are significantly out-of-date with regards to current versions of dev-lang/ruby. Rather than update a separate copy of the relevant versions in the overlay, it would instead make more sense to port over the needed [small] configure settings[0] to the main Gentoo ebuild repository, in order to keep it in-sync.

If needed, the hardened project/musl team can provide additional musl-related support, but usually all that is required is patching around non-standard code/includes/glibc-isms.

This improves overall maintainability of musl support in Gentoo Linux, and reduces reliance on the ::musl overlay as the staging area for patches that should be upstreamed. Fortunately, this process is going well as musl-libc gains momentum and recognition.

[0] https://gitweb.gentoo.org/proj/musl.git/tree/dev-lang/ruby/ruby-2.4.4.ebuild#n139
Comment 1 Fabian Groffen gentoo-dev 2021-05-22 17:50:48 UTC
that path disappeared

Is it known what changes were necessary?

I'm looking into https://bugs.ruby-lang.org/issues/14387#note-10, in short the stack size of musl makes ruby quickly useless, running things like puppet bomb out.  Looking at 2.6.6-r2 here (current stable) to see if I can get puppet to run.