Debian Bug report logs - #881804
ruby2.3 FTBFS on i386: TestFloat#test_round_with_precision failure

version graph

Package: src:ruby2.3; Maintainer for src:ruby2.3 is (unknown);

Reported by: Adrian Bunk <bunk@debian.org>

Date: Wed, 15 Nov 2017 11:03:02 UTC

Severity: serious

Tags: patch

Found in version ruby2.3/2.3.5-1

Fixed in version ruby2.3/2.3.6-1

Done: Antonio Terceiro <terceiro@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Antonio Terceiro <terceiro@debian.org>:
Bug#881804; Package src:ruby2.3. (Wed, 15 Nov 2017 11:03:05 GMT) (full text, mbox, link).


Acknowledgement sent to Adrian Bunk <bunk@debian.org>:
New Bug report received and forwarded. Copy sent to Antonio Terceiro <terceiro@debian.org>. (Wed, 15 Nov 2017 11:03:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Adrian Bunk <bunk@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: ruby2.3 FTBFS on i386: TestFloat#test_round_with_precision failure
Date: Wed, 15 Nov 2017 13:01:35 +0200
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))



Reply sent to Antonio Terceiro <terceiro@debian.org>:
You have taken responsibility. (Fri, 22 Dec 2017 15:00:04 GMT) (full text, mbox, link).


Notification sent to Adrian Bunk <bunk@debian.org>:
Bug acknowledged by developer. (Fri, 22 Dec 2017 15:00:04 GMT) (full text, mbox, link).


Message #10 received at 881804-close@bugs.debian.org (full text, mbox, reply):

From: Antonio Terceiro <terceiro@debian.org>
To: 881804-close@bugs.debian.org
Subject: Bug#881804: fixed in ruby2.3 2.3.6-1
Date: Fri, 22 Dec 2017 14:57:50 +0000
Source: ruby2.3
Source-Version: 2.3.6-1

We believe that the bug you reported is fixed in the latest version of
ruby2.3, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 881804@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Antonio Terceiro <terceiro@debian.org> (supplier of updated ruby2.3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 22 Dec 2017 11:19:41 -0200
Source: ruby2.3
Binary: ruby2.3 libruby2.3 ruby2.3-dev ruby2.3-doc ruby2.3-tcltk
Architecture: source
Version: 2.3.6-1
Distribution: unstable
Urgency: medium
Maintainer: Antonio Terceiro <terceiro@debian.org>
Changed-By: Antonio Terceiro <terceiro@debian.org>
Description:
 libruby2.3 - Libraries necessary to run Ruby 2.3
 ruby2.3    - Interpreter of object-oriented scripting language Ruby
 ruby2.3-dev - Header files for compiling extension modules for the Ruby 2.3
 ruby2.3-doc - Documentation for Ruby 2.3
 ruby2.3-tcltk - Ruby/Tk for Ruby 2.3
Closes: 881804 881848 882404
Changes:
 ruby2.3 (2.3.6-1) unstable; urgency=medium
 .
   [ Antonio Terceiro ]
   * New upstream version 2.3.6
   * Update symbols file
   * Refresh patches.
     0011-Whitelist-classes-and-symbols-that-are-in-Gem-spec-Y.patch:
     dropped, applied upstream
 .
   [ Adrian Bunk ]
   * Force exact precision on i386 (Closes: #881804)
 .
   [ James Cowgill ]
   * Increase timeout to avoid build failures on mips* (Closes: #882404)
 .
   [ Matthias Klose ]
   * Update symbols file (Closes: #881848)
   * Skip tests that fail on Launchpad builders
Checksums-Sha1:
 72f3f8b0b59847a78f34f687bf82c5ec58056220 2475 ruby2.3_2.3.6-1.dsc
 b5f4357018dce2c5dce5d01673d6a61fbae91ff6 12918804 ruby2.3_2.3.6.orig.tar.gz
 8ba910b64b72a5929278009d145f6be277b98d21 95716 ruby2.3_2.3.6-1.debian.tar.xz
 f4d10666dd0435a400e3a5098f5a1f17a82a699d 6614 ruby2.3_2.3.6-1_source.buildinfo
Checksums-Sha256:
 dc2ceda653c089d01dc3d0b207775ff8defd127a1483e8d4d085f92c94ccc024 2475 ruby2.3_2.3.6-1.dsc
 c8d0a5b24304c50f1bf5339991eff21203ecbaf062f83079d1e8082dd80d9294 12918804 ruby2.3_2.3.6.orig.tar.gz
 4852933db09d71a10b1d535a10d32c962cacc5e759da28109321fc36ad4dbddb 95716 ruby2.3_2.3.6-1.debian.tar.xz
 f041d5550c3063bf263c21e2e9e28836a2179530543cb54122e83d8201d72766 6614 ruby2.3_2.3.6-1_source.buildinfo
Files:
 ca6ea438efe58b1542a0926b69bb79a6 2475 ruby optional ruby2.3_2.3.6-1.dsc
 ed401975e191c9bca5c3468e7f2c9913 12918804 ruby optional ruby2.3_2.3.6.orig.tar.gz
 a9808df7fb4ae40b7cfc6b815822c6bf 95716 ruby optional ruby2.3_2.3.6-1.debian.tar.xz
 3f4527c36fb2a351d87aa7edd8231d06 6614 ruby optional ruby2.3_2.3.6-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAlo9DZYACgkQ/A2xu81G
C97qvw/+NCse+DCUhiVQCun4jvvIFjMgjc/Zkvcc8jkPd3Wsgq/daV95VXx32xNS
d3eLzDpfBJf7bH1CvmlomIzf18464EnEkeu+1k3DRifc9zhYJTK8aIQmdaIy2vVH
oS3V6f/E1f9mJLDGLTvHtPAxoxlKBGlfwFVF0DsG9BRpyk/k8UYKGZSe1OJoE5EA
9Y8t3wKYAC4tIrQ7zci6qp8izM6p/wvxwxQVSNEbwbcpwRPT+c+Rl+TpOgxjl0ZP
rxmNu60FPGvM8Hzh2ziVCiuLmZx/abiEwekiriLfbjKiKfttt8DpbDDX3ZH2mOgc
JOx+4LfNH9oY3F0rAmZZmTf0jQx55fFbibEfv1pWROpDbRxa9SCiBNu7JABur8or
QN+PeCUmpP2KHq04q/cSJ96EqgKkmGu6qb71e8M4JsK9sv/BCSptQnO13M+Igz+L
VwbNLzoFL+kcaq9eNzoZOsDxG+7dSZNxeYhzVKJ/2Um9Cw3k8Qt1tui+blGpwwO9
qEJvn8Um7Y+MLA2wBj6b2y8TKIzd34B4jyDd9KxqCRq0Ui1DBq3cN5Ks26Pso7uS
NVOs50MWxoP2Lw0Kgd7rADQx4hlcRTg5YoH7eDInPau/r7u+dL/Y/aqisi+FnUdc
IKUhViaFMXueEVl+qgLzsWiEuP4H2D2Z1ww11dnZ6vykk8ZjoXY=
=ePoS
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 20 Jan 2018 07:25:07 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 13:42:59 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.