On Sat, Oct 29, 2011 at 04:07:03PM +0200, Martin Ueding wrote: > Hi Cédric,
> This bug is present on my machine as well. > It says: > /usr/lib/ruby/1.9.1/i486-linux/date_core.so: [BUG] Segmentation fault > ruby 1.8.7 (2011-06-30 patchlevel 352) [i486-linux] > So ruby 1.8 indeed tries to use binaries from the 1.9 which is bound to > fail. > I do not really understand how this version mix comes up, do you have an > idea how this could be fixed? The script bin/ronn.rb is called with the default ruby version, which is ruby1.8, whatever the version used to run the tests. the script test-runner.rb running the tests exports in the environment the name of the interpreter used to run the tests. I tried to change the calls to ronn from 'ronn' to 'ENV[RUBY_TEST_BIN] bindir/ronn' with the attached patch. I may have forgotten some instances of ronn, but it seems to allow to build the package correctly. Please try and comment. Best regards, Cédric
use-correct-interpreter.rb
Description: application/ruby
signature.asc
Description: Digital signature