Hello Nobuhiro and Akira, At Imagination Technologies (http://imgtec.com) Dejan Latinovic have found a solution to Debian bug #741548.
https://bugs.debian.org/741548 My NMU patch for mruby_1.0.0-1.1 is below, at the end of this message. With the changes in the NMU patch mruby builds successfully on mips, mipsel and amd64. Please let me know if I should not go ahead with this NMU. Regards, Aníbal -- Aníbal Monsalve Salazar <anibal.monsalvesala...@imgtec.com> debdiff mruby_1.0.0-1.dsc mruby_1.0.0-1.1.dsc diff -Nru mruby-1.0.0/debian/changelog mruby-1.0.0/debian/changelog --- mruby-1.0.0/debian/changelog 2014-03-21 16:33:35.000000000 +0000 +++ mruby-1.0.0/debian/changelog 2014-04-10 07:48:08.000000000 +0100 @@ -1,3 +1,13 @@ +mruby (1.0.0-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Define log of zero. + Add define-log-of-zero.patch. + Patch by Dejan Latinovic. + Closes: #741548 + + -- Anibal Monsalve Salazar <ani...@debian.org> Thu, 10 Apr 2014 07:47:33 +0100 + mruby (1.0.0-1) unstable; urgency=low * New upstream release(1.0.0). diff -Nru mruby-1.0.0/debian/patches/define-log-of-zero.patch mruby-1.0.0/debian/patches/define-log-of-zero.patch --- mruby-1.0.0/debian/patches/define-log-of-zero.patch 1970-01-01 01:00:00.000000000 +0100 +++ mruby-1.0.0/debian/patches/define-log-of-zero.patch 2014-04-10 07:47:23.000000000 +0100 @@ -0,0 +1,27 @@ +From: Dejan Latinovic <dejan.latino...@imgtec.com> +Subject: mruby FTBFS: build failed on post-compile-test on mips/mipsel +Date: Wed, 9 Apr 2014 15:09:35 +0000 + +https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741548 + +I have backported changes related to this issue from the newest +version from github, and created a patch that solves it for +mips/mipsel. + +diff -uNr a/src/numeric.c b/src/numeric.c +--- a/src/numeric.c 2014-01-10 12:49:57.000000000 +0000 ++++ b/src/numeric.c 2014-04-09 15:38:07.000000000 +0000 +@@ -141,7 +141,12 @@ + *(c++) = '-'; + } + +- exp = (int)log10(n); ++ if (n != 0.0) { ++ exp = (int)log10(n); ++ } ++ else { ++ exp = 0; ++ } + + if ((exp < 0 ? -exp : exp) > max_digit) { + /* exponent representation */ diff -Nru mruby-1.0.0/debian/patches/series mruby-1.0.0/debian/patches/series --- mruby-1.0.0/debian/patches/series 2013-12-19 00:46:40.000000000 +0000 +++ mruby-1.0.0/debian/patches/series 2014-04-09 07:30:34.000000000 +0100 @@ -1 +1,2 @@ enable_verbose_build.patch +define-log-of-zero.patch
signature.asc
Description: Digital signature