Skip Menu |
 

This queue is for tickets about the NetAddr-IP CPAN distribution.

Report information
The Basics
Id: 71869
Status: resolved
Priority: 0/
Queue: NetAddr-IP

People
Owner: Nobody in particular
Requestors: paul [...] city-fan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 4.050
Fixed in: (no value)



Subject: bigint.t failing on x86_64 with perl >= 5.10
Download (untitled) / with headers
text/plain 2.2k
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.
Download (untitled) / with headers
text/plain 2.3k
Fixed in release 4.051 On Sun Oct 23 06:22:50 2011, paul@city-fan.org wrote: Show quoted text
> 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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.