Source: ruby2.3 Version: 2.3.5-1 Severity: serious Tags: patch https://buildd.debian.org/status/fetch.php?pkg=ruby2.3&arch=i386&ver=2.3.5-1&stamp=1510668050&raw=0
... Finished tests in 490.087998s, 32.5941 tests/s, 4569.4386 assertions/s. 1) Failure: TestFloat#test_round_with_precision [/<<PKGBUILDDIR>>/test/ruby/test_float.rb:448]: <5.02> expected but was <5.01>. 15974 tests, 2239427 assertions, 1 failures, 0 errors, 78 skips ruby -v: ruby 2.3.5p376 (2017-09-14) [i386-linux-gnu] uncommon.mk:612: recipe for target 'yes-test-almost' failed make[2]: *** [yes-test-almost] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:73: recipe for target 'override_dh_auto_test-arch' failed make[1]: *** [override_dh_auto_test-arch] Error 2 If the exact precision is required, the following fixes it: --- debian/rules.old 2017-11-15 09:51:45.000000000 +0000 +++ debian/rules 2017-11-15 10:10:18.000000000 +0000 @@ -11,6 +11,11 @@ export TESTOPTS DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) + +ifneq (,$(filter $(DEB_HOST_ARCH), i386)) + export DEB_CFLAGS_MAINT_APPEND=-ffloat-store +endif export SOURCE := $(shell dpkg-parsechangelog -SSource) export RUBY_VERSION := $(patsubst ruby%,%,$(SOURCE))