[DRE-maint] Bug#952077: ruby-rgen: FTBFS: ERROR: Test "ruby2.7" failed: Error: test_float(MetamodelFromEcoreTest): NoMethodError: undefined method `new' for BigDecimal:Class
Lucas Nussbaum
lucas at debian.org
Sun Feb 23 07:46:28 GMT 2020
Source: ruby-rgen
Version: 0.8.0-1.1
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> Error: test_float(MetamodelFromEcoreTest): NoMethodError: undefined method `new' for BigDecimal:Class
> /<<PKGBUILDDIR>>/test/metamodel_builder_test.rb:257:in `test_float'
> 254: assert_equal "123456789012345680.0", sprintf("%.1f", sc.floatWithDefault)
> 255: end
> 256: sc.floatWithDefault = nil
> => 257: sc.floatWithDefault = BigDecimal.new("123456789012345678.0")
> 258: assert sc.floatWithDefault.is_a?(BigDecimal)
> 259: assert_equal "123456789012345678.0", sc.floatWithDefault.to_s("F")
> 260:
> (eval):2:in `test_float'
> ===============================================================================
> ............./<<PKGBUILDDIR>>/test/metamodel_builder_test.rb:273: warning: constant ::Bignum is deprecated
> ..................................................................
> ..............................
> Finished in 0.727819173 seconds.
> -------------------------------------------------------------------------------
> 259 tests, 1731 assertions, 0 failures, 2 errors, 0 pendings, 0 omissions, 0 notifications
> 99.2278% passed
> -------------------------------------------------------------------------------
> 355.86 tests/s, 2378.34 assertions/s
> ERROR: Test "ruby2.7" failed:
The full build log is available from:
http://qa-logs.debian.net/2020/02/22/ruby-rgen_0.8.0-1.1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Pkg-ruby-extras-maintainers
mailing list