Bug#881772: ruby2.5: FTBFS on ppc64(el): stack level too deep

2017-12-05 Thread Breno Leitao
This is a debdiff that fixes the problem. This is basically a cherry pick of the patch that I got accepted upstream. diff --git a/debian/changelog b/debian/changelog index e8cc49ce..8af9b584 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ruby2.5 (2.5.0~preview1-1.1)

Bug#881772: Re: Bug#881772: ruby2.5: FTBFS on ppc64(el): stack level too deep

2017-12-05 Thread Breno Leitao
Good new on this bug. Yesterday I fixed this problem and created an PR[1] for the Ruby project. Today the PR was finally accepted by the Ruby maintainer and now we have this problem finally fixed uptream. The fix on upstream branch is commit-id f79cce41695b3a3f84d88afd1b586680f29 [2] I will

Bug#881772: Re: Bug#881772: ruby2.5: FTBFS on ppc64(el): stack level too deep

2017-12-01 Thread Breno Leitao
Some additional info to this bug. I found that Ruby was not finding the proper top of the stack to do the math and check how big the stack is. I just fixed it and create the following Pull request: https://github.com/ruby/ruby/pull/1767/commits/ff74937bcd50127e1e6b4879fa3c76d83efa5e65 This

Bug#881772: ruby2.5: FTBFS on ppc64(el): stack level too deep

2017-11-28 Thread Breno Leitao
This is the minimum testcase that reproduces the problem: -- lambda.rb -- max = 20 rec = lambda{|n| if n > 0 rec[n-1] end } #rec[max] Fiber.new{ rec[max] }.resume That you should call with: # ./miniruby tool/runruby.rb lambda.rb Some further findings: * The

Bug#881772: ruby2.5: FTBFS on ppc64(el): stack level too deep

2017-11-27 Thread Breno Leitao
Hello, On 11/15/2017 02:32 PM, Antonio Terceiro wrote: >> Could you please take a look? I had a chance to take a look at this issue and I found that this regression was caused by the following commit id, and reverting it would allow the test to pass again. commit

Bug#881772: ruby2.5: FTBFS on ppc64(el): stack level too deep

2017-11-22 Thread Breno Leitao
Hi Terceiro, On 11/15/2017 02:32 PM, Antonio Terceiro wrote: > Hi, > > On Tue, Nov 14, 2017 at 06:16:22PM -0500, Aaron M. Ucko wrote: >> Source: ruby2.5 >> Version: 2.5.0~preview1-1 >> Severity: important >> Tags: upstream >> Justification: fails to build from source >> User:

Bug#881772: ruby2.5: FTBFS on ppc64(el): stack level too deep

2017-11-15 Thread Antonio Terceiro
Hi, On Tue, Nov 14, 2017 at 06:16:22PM -0500, Aaron M. Ucko wrote: > Source: ruby2.5 > Version: 2.5.0~preview1-1 > Severity: important > Tags: upstream > Justification: fails to build from source > User: debian-powe...@lists.debian.org > Usertags: ppc64 ppc64el > > Builds of ruby2.5 for ppc64el

Bug#881772: ruby2.5: FTBFS on ppc64(el): stack level too deep

2017-11-14 Thread Aaron M. Ucko
Source: ruby2.5 Version: 2.5.0~preview1-1 Severity: important Tags: upstream Justification: fails to build from source User: debian-powe...@lists.debian.org Usertags: ppc64 ppc64el Builds of ruby2.5 for ppc64el and the non-release architecture ppc64 have been failing per the below excerpt from