Subject: | bigint.t failing on x86_64 with perl >= 5.10 |
I'm seeing failures like this on x86_64 builds with perl >= 5.10 on Red
Hat/Fedora Linux. Builds with older perls and on i386 succeed.
make[1]: Entering directory `/builddir/build/BUILD/NetAddr-IP-4.050/Lite'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, '../blib/lib', '../blib/arch')" t/*.t
t/addr.t .............. ok
t/aton.t .............. ok
# Failed test at t/bigint.t line 625.
# got: '429004967294'
# expected: '4294967294'
# Failed test at t/bigint.t line 627.
# got: '0:0:0:0:0:63:E2B0:4D7E/128'
# expected: '255.255.255.254/32'
# Failed test at t/bigint.t line 625.
# got: '42900004967295'
# expected: '4294967295'
# Failed test at t/bigint.t line 627.
# got: '0:0:0:0:0:2704:6F8E:937F/128'
# expected: '255.255.255.255/32'
# Failed test at t/bigint.t line 625.
# got: '4290000004967296'
# expected: '4294967296'
# Failed test at t/bigint.t line 627.
# got: '0:0:0:0:F:3DBB:7661:EB80/128'
# expected: '0:0:0:0:0:1:0:0/128'
# Failed test at t/bigint.t line 625.
# got: '42009000000004967297'
# expected: '4294967297'
# Failed test at t/bigint.t line 627.
# got: '0:0:0:2:46FD:F2ED:41AE:4B81/128'
# expected: '0:0:0:0:0:1:0:1/128'
# Failed test at t/bigint.t line 625.
# got: '420090000000000004967298'
# expected: '4294967298'
# Failed test at t/bigint.t line 627.
# got: '0:0:0:58F5:1FE1:53CA:17F3:CB82/128'
# expected: '0:0:0:0:0:1:0:2/128'
# Failed test at t/bigint.t line 625.
# got: '3402008236692000938463004633746000743176008211454'
# expected: '340282366920938463463374607431768211454'
Bad arg length for NetAddr::IP::Util::bcd2bin, length is 49, should be
40 digits or less at
/builddir/build/BUILD/NetAddr-IP-4.050/Lite/../blib/lib/NetAddr/IP/Lite.pm
line 744.
# Looks like you planned 146 tests but ran 11.
# Looks like you failed 11 tests of 11 run.
# Looks like your test exited with 255 just after 11.
t/bigint.t ............
Dubious, test returned 255 (wstat 65280, 0xff00)
I'm not alone it would seem:
http://static.cpantesters.org/distro/N/NetAddr-IP.html
Haven't been able to narrow it down to anything more specific I'm afraid.