Subject: bin/22282: -current build failure in libdes
To: None <gnats-bugs@gnats.netbsd.org>
From: None <cjep@fawlty.net>
List: netbsd-bugs
Date: 07/27/2003 11:00:15
>Number:         22282
>Category:       bin
>Synopsis:       -current build failure in libdes
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 27 10:01:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Chris Pinnock
>Release:        NetBSD 1.6U
>Organization:
	Fawlty.net
>Environment:
System: NetBSD tubbs.local 1.6U NetBSD 1.6U (TUBBS) #33: Sat Jul 26 16:36:42 BST 2003 root@tubbs.local:/usr/src/sys/arch/i386/compile/TUBBS i386
Architecture: i386
Machine: i386
>Description:
	Changing DES_LONG from OPENSSL_EXTERN to extern seems to break
	the build of some files in libdes.

CC=/usr/src/tooldir.NetBSD-1.6U-i386/bin/i386--netbsdelf-gcc /usr/src/tooldir.NetBSD-1.6U-i386/bin/i386--netbsdelf-lint -chapbxzF -d /usr/DESTDIR/usr/include -DOPENSSL_VERSION_PTEXT="\" based on OpenSSL 0.9.6j 10 Apr 2003\"" -DOPENSSL_cleanse=bzero -DOPENSSL_malloc=malloc  -i /usr/src/lib/libdes/ocbc_cksm.c
/usr/src/lib/libdes/des_locl.h(379): syntax error [249]
/usr/src/lib/libdes/ocbc_cksm.c(61): syntax error [249]
/usr/src/lib/libdes/ocbc_cksm.c(66): length undefined [99]
/usr/src/lib/libdes/ocbc_cksm.c(68): output undefined [99]
/usr/src/lib/libdes/ocbc_cksm.c(68): cannot dereference non-pointer type [96]
/usr/src/lib/libdes/ocbc_cksm.c(69): ivec undefined [99]
/usr/src/lib/libdes/ocbc_cksm.c(69): cannot dereference non-pointer type [96]
/usr/src/lib/libdes/ocbc_cksm.c(81): warning: fallthrough on case statement [220]
/usr/src/lib/libdes/ocbc_cksm.c(81): warning: fallthrough on case statement [220]
/usr/src/lib/libdes/ocbc_cksm.c(81): warning: fallthrough on case statement [220]
/usr/src/lib/libdes/ocbc_cksm.c(81): warning: fallthrough on case statement [220]
/usr/src/lib/libdes/ocbc_cksm.c(81): warning: fallthrough on case statement [220]
/usr/src/lib/libdes/ocbc_cksm.c(81): warning: fallthrough on case statement [220]
/usr/src/lib/libdes/ocbc_cksm.c(81): warning: fallthrough on case statement [220]
/usr/src/lib/libdes/ocbc_cksm.c(85): schedule undefined [99]
/usr/src/lib/libdes/ocbc_cksm.c(92): warning: expression has null effect [129]
/usr/src/lib/libdes/ocbc_cksm.c(93): warning: expression has null effect [129]
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/libdes


>How-To-Repeat:
	Use ./build.sh

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
 	Current source as of yesterday (Jul 26).