Subject: Re: pkg/28498: perl 5.8.5 Failed test (../lib/integer.t at line 49)
To: None <hhako@seagreen.ocn.ne.jp>
From: Johnny C. Lam <jlam@NetBSD.org>
List: pkgsrc-bugs
Date: 12/01/2004 21:06:28
> 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

Do you think you could provide copies of ${WRKSRC}/lib/Config.pm from
both builds on your NetBSD/alpha box?  Configuring with configure.gnu
is clearly using different compilation flags than the ones specified
by pkgsrc, and we need to see which flags in particular are causing
the failure in the pkgsrc case.

	Thanks,

	-- Johnny Lam <jlam@NetBSD.org>