Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 789410

Summary: ruby 1.9.3 is FTBFS on ARM platforms
Product: [Fedora] Fedora Reporter: Peter Robinson <pbrobinson>
Component: rubyAssignee: Jeroen van Meeuwen <vanmeeuwen+fedora>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jeremy, mmorsi, mtasaka, steve.mcintyre, tagoh, vanmeeuwen+fedora, vondruch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-15 08:00:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 245418    

Description Peter Robinson 2012-02-10 17:42:51 UTC
version: ruby-1.9.3.0-7.fc17

Looks like it's segfaulting in one of the tests.

http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=373723

./miniruby -I./lib -I. -I.ext/common  ./tool/runruby.rb --extout=.ext  -- --disable-gems "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common  ./tool/runruby.rb --extout=.ext  -- --disable-gems" 
/builddir/build/BUILD/ruby-1.9.3-p0/lib/rdoc/task.rb:322: warning: already initialized constant RDocTask
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common  ./tool/runruby.rb --extout=.ext  -- --disable-gems"
# Running tests:
..........................................................................................................................................................................................................F..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................zero and implicit precision is deprecated.
........................................................................................................................................................................................................................................................................................................................................................................................................................DB->del: attempt to modify a read-only database
.............................DB->put: attempt to modify a read-only database
..........................................................................................................................S.SSS.S.SSSSSSSSSSSSSSSSSSSS......................S....S.........................................................................................................................................................................................................................................................................................................................................................................................................................................................../builddir/build/BUILD/ruby-1.9.3-p0/lib/webrick/utils.rb:184: [BUG] Segmentation fault
ruby 1.9.3p0 (2011-10-30) [armv7hl-linux]
-- Control frame information -----------------------------------------------
c:0007 p:---- s:0017 b:0017 l:000016 d:000016 CFUNC  :resume
c:0006 p:0015 s:0014 b:0014 l:000bb0 d:0020b0 BLOCK  /builddir/build/BUILD/ruby-1.9.3-p0/test/ruby/test_fiber.rb:55
c:786428817 p:---- s:0011 b:-60909305 l:000100 d:000100 FINISH
c:0004 p:---- s:0009 b:0009 l:000008 d:000008 CFUNC  :times
c:0003 p:0011 s:0006 b:0006 l:000bb0 d:00164c BLOCK  /builddir/build/BUILD/ruby-1.9.3-p0/test/ruby/test_fiber.rb:54
c:0002 p:---- s:-60944928 b:0004 l:000003 d:000003 FINISH
c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP   
make: *** [yes-test-all] Segmentation fault

Comment 1 Vít Ondruch 2012-02-13 12:23:04 UTC
I can't help I am afraid. Would you be able to support upstream with analysis of this problem?

Comment 2 Peter Robinson 2012-02-13 13:03:39 UTC
(In reply to comment #1)
> I can't help I am afraid. Would you be able to support upstream with analysis
> of this problem?

Not really, I expect the package maintainer to analyse it and report anything necessary or liaise with upstream as they should have some form of relationship with upstream to be able to deal with this.

Comment 3 Peter Robinson 2012-02-24 15:10:07 UTC
Any update on this?

Comment 4 Vít Ondruch 2012-02-24 15:18:00 UTC
Unfortunately not much. This is upstream bug I opened: https://bugs.ruby-lang.org/issues/6011

Comment 5 Vít Ondruch 2012-04-20 12:35:16 UTC
There seems to be more issues on ARM, upstream is looking for ARM maintainer: http://bugs.ruby-lang.org/issues/5780

Comment 6 Steve McIntyre 2012-06-06 05:11:44 UTC
We've seen the exact same problem in Debian and found a solution: see 

http://bugs.debian.org/652674

for more details.

Comment 7 Vít Ondruch 2012-06-06 12:01:48 UTC
Thank you Steve!

You are right. It works it seems. At least for Rawhide [1] (although there is one test failed, it is not the segfault at least). Going to test F17 now [2].

[1] http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=886988
[2] http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=887796