Subject: pkg/23606: OpenSSL won't build on Sun Ultra1
To: None <gnats-bugs@gnats.netbsd.org>
From: None <billy@ccs.neu.edu>
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
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.1
>Organization:
	none
>Environment:
	
	
System: NetBSD randal 1.6.1 NetBSD 1.6.1 (GENERIC) #0: Mon Apr 7 10:27:16 UTC 2003 autobuild@cs20.apochromatic.org:/autobuilder/build/netbsd-1-6/sparc64/OBJ/autobuilder/build/netbsd-1-6/src/sys/arch/sparc64/compile/GENERIC sparc64
Architecture: sparc64
Machine: sparc64
>Description:
When trying to build OpenSSL from source, it dies when running the perl script 
located in work/openssl-0.9.6l/crypto/bn/bn_prime.pl.  Perl reports a division
by 0 on line 16 the very first time through the script.
>How-To-Repeat:
	Downloaded source from default location on 12/1/03 at approx 12AM, make.
>Fix:
line 14: for ($i=0; $primes[$i]<=$s; $i++)
new line 14: for ($i=0; $primes[$i]<=$s && $primes!=undef; $i++)
>Release-Note:
>Audit-Trail:
>Unformatted: