Subject: pkg/23606: OpenSSL won't build on Sun Ultra1
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/01/2003 00:34:47
>Number:         23606
>Category:       pkg
>Synopsis:       OpenSSL won't build on Sun Ultra1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 01 05:36:01 UTC 2003
>Release:        NetBSD 1.6.1
System: NetBSD randal 1.6.1 NetBSD 1.6.1 (GENERIC) #0: Mon Apr 7 10:27:16 UTC 2003 sparc64
Architecture: sparc64
Machine: sparc64
When trying to build OpenSSL from source, it dies when running the perl script 
located in work/openssl-0.9.6l/crypto/bn/  Perl reports a division
by 0 on line 16 the very first time through the script.
	Downloaded source from default location on 12/1/03 at approx 12AM, make.
line 14: for ($i=0; $primes[$i]<=$s; $i++)
new line 14: for ($i=0; $primes[$i]<=$s && $primes!=undef; $i++)