Subject: pkg/28498: perl 5.8.5 Failed test (../lib/integer.t at line 49)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <hhako@seagreen.ocn.ne.jp>
List: pkgsrc-bugs
Date: 12/01/2004 12:33:01
>Number:         28498
>Category:       pkg
>Synopsis:       perl 5.8.5 Failed test (../lib/integer.t at line 49)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 01 12:33:00 +0000 2004
>Originator:     Hiroshi Hakoyama
>Release:        NetBSD 2.0-RELEASE
>Organization:
NRIFS
>Environment:
NetBSD eco-math20.nrifs.affrc.go.jp 2.0 NetBSD 2.0 (GENERIC_PIO) #0: Wed Dec  1 10:37:42 JST 2004  hako@eco-math20.nrifs.affrc.go.jp:/usr/src/sys/arch/alpha/compile/GENERIC_PIO alpha
>Description:
# cd /usr/pkgsrc/lang/perl58
# make;make test
...

t/op/pack.................................# Failed at op/pack.t line 484
# Failed at op/pack.t line 484
FAILED at test 196

lib/integer...............................#     Failed test (../lib/integer.t at line 49)
#          got: '9223372036854775807'
#     expected: '-9223372036854775808'
FAILED at test 10

However, if you make perl 5.8.5 using configure.gnu, the errors disappear.

# tar zxvf perl-5.8.5.tar.bz2
# cd perl-5.8.5
# ./configure.gnu
# make; make test
...
t/op/pack.................................ok
lib/integer...............................ok
...
All tests successful.
u=7.03418  s=1.93945  cu=398.732  cs=73.8945  scripts=826  tests=85531

>How-To-Repeat:
# cd /usr/pkgsrc/lang/perl58;make;make test
>Fix:
unknown