Package: mruby
Version: 0.0.0~20131214+git882afdea-1
Tags: sid fixed-upstream
Severity: important
Justification: FTBFS
User: debian-mips-dev-disc...@lists.alioth.debian.org
Usertags: mips-patch


In an attempt to rebuild the package on mips/mipsel, build failed on testing:


> Error: Float#% [15.2.9.3.5] => Too large expornent.
> Error: String#to_f [15.2.10.5.38] => Too large expornent.
> Error: NilClass#to_f => Too large expornent. (mrbgems: mruby-object-ext)
> Total: 629
>    OK: 629
>    KO: 0
> Crash: 4
>  Time: 0.420954 seconds
> rake aborted!
> Command Failed: ["build/host/test/mrbtest" -v]
> Rakefile:103:in `block (2 levels) in <top (required)>'
> make[1]: *** [test] Error 1
> make[1]: Leaving directory `/«BUILDDIR»/mruby-0.0.0~20131214+git882afdea'
> dh_auto_test: make -j1 test returned exit code 2
> make: *** [build-arch] Error 2


The reason for this is different behavior of log10() function on MIPS in 
comparison with amd64,
if n is equal to zero. 
>     int exp;
>     exp = (int)log10(n);
from file: src/numeric.c


This issue is fixed upstream in latest version from git:
https://github.com/mruby/mruby.git


Release 1.0.0 doesn't work correctly for MIPS architectures.


Could you please consider updating package mruby to the
latest git version?
I was able to successfully build it for mips/mipsel.


Thanks,
Dejan


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to