Summary: | dev-lang/ruby-2.5.7: bootstraptest.tmp.rb:3:in `once': stack level too deep (SystemStackError) on HPPA (stack direction?) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rolf Eike Beer <eike> |
Component: | Current packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hppa, sam |
Priority: | Normal | Keywords: | PATCH, TESTFAILURE |
Version: | unspecified | ||
Hardware: | HPPA | ||
OS: | Linux | ||
See Also: |
https://github.com/rack/rack/issues/1640 https://bugs.debian.org/881773 https://bugs.debian.org/881772 https://github.com/ruby/ruby/pull/7676 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
0001-thread_pthread-Grow-main_stack-if-required-fixes-tes.patch |
Description
Rolf Eike Beer
2019-11-29 18:09:23 UTC
Same in 2.5.8. The stack on hppa grows upwards, I bet it's that. Also happens in 2.6.8 and 2.7.4. Debian have a patch: https://bugs.debian.org/cgi-bin/bugreport.cgi?att=0;bug=881773;msg=35 (see the message after though) One of us HPPA fans should fix it up for newer versions I guess. Created attachment 859676 [details, diff]
0001-thread_pthread-Grow-main_stack-if-required-fixes-tes.patch
Attached a rebased + cleaned up version of Dave's patch. Testing it now and I'll send it upstream if it works.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb9cc405d80a17e2b5329672c871e24d82cfb61e commit cb9cc405d80a17e2b5329672c871e24d82cfb61e Author: Sam James <sam@gentoo.org> AuthorDate: 2023-04-10 04:51:12 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-04-10 04:52:35 +0000 dev-lang/ruby: don't use baseruby; add HPPA-only fix 1. Disable use of baseruby. This causes breakage if a previous Ruby is installed without rubygems like in bug #883097. We've had issues like this in the past in bug #787137 too. 2. Add a fix which is ifdef'd for HPPA (upstream variant isn't, but let's be more conservative until it's merged there) to fix stack size allocation. This fixes tests for both Ruby and a bunch of Ruby packages. Bug: https://bugs.gentoo.org/787137 Closes: https://bugs.gentoo.org/701494 Closes: https://bugs.gentoo.org/883097 Signed-off-by: Sam James <sam@gentoo.org> .../files/2.7/902-hppa-pthread-stack-size.patch | 54 ++++ .../files/3.0/902-hppa-pthread-stack-size.patch | 54 ++++ .../files/3.1/902-hppa-pthread-stack-size.patch | 54 ++++ .../files/3.2/902-hppa-pthread-stack-size.patch | 54 ++++ dev-lang/ruby/ruby-2.7.8-r1.ebuild | 274 +++++++++++++++++++++ dev-lang/ruby/ruby-3.0.6-r1.ebuild | 269 ++++++++++++++++++++ dev-lang/ruby/ruby-3.1.4-r1.ebuild | 253 +++++++++++++++++++ dev-lang/ruby/ruby-3.2.2-r1.ebuild | 272 ++++++++++++++++++++ 8 files changed, 1284 insertions(+) |