Bug#578552: libmath-random-mt-perl: FTBFS with perl 5.12.0-1: long doubles

Niko Tyni ntyni at debian.org
Tue Apr 20 18:22:43 UTC 2010


Package: libmath-random-mt-perl
Version: 1.10-1
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.12-transition

This package fails to build on amd64 with perl 5.12.0-1 from experimental:

  PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
  # Test 3 got: "0.814723691903055" (t/1.t at line 13)
  #   Expected: "0.814723691903054714"
  #  t/1.t line 13 is: ok(0.814723691903055, $gen->rand());
  # Test 4 got: "0.135477004107088" (t/1.t at line 14)
  #   Expected: "0.135477004107087851"
  #  t/1.t line 14 is: ok(0.135477004107088, $gen->rand());
  t/1.t .. 
  Failed 2/4 subtests 
  t/2.t .. ok
  t/3.t .. ok
  # Test 2 got: "0.814723691903055" (t/4.t at line 16)
  #   Expected: "0.814723691903054714"
  #  t/4.t line 16 is: ok(0.814723691903055, rand());
  # Test 3 got: "0.135477004107088" (t/4.t at line 17)
  #   Expected: "0.135477004107087851"
  #  t/4.t line 17 is: ok(0.135477004107088, rand());
  t/4.t .. 
  Failed 2/3 subtests 
  # Test 3 got: "0.678865759167820215" (t/5.t at line 17)
  #   Expected: "0.67886575916782"
  #  t/5.t line 17 is: ok( $gen->rand(1), 0.67886575916782 );
  t/5.t .. 
  Failed 1/3 subtests 
  
This almost certainly happens because 5.12.0-1 is configured to use
long doubles (-Duselongdouble). CPAN test reports support this.
-- 
Niko Tyni   ntyni at debian.org





More information about the pkg-perl-maintainers mailing list