Subject: pkg/19000: autoconf 213 bug
To: None <gnats-bugs@gnats.netbsd.org>
From: None <sdegler@degler.net>
List: netbsd-bugs
Date: 11/10/2002 02:00:16
>Number:         19000
>Category:       pkg
>Synopsis:       patch to autoconf213 to fix AC_CHECK_FILE macro
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 09 23:01:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Degler
>Release:        NetBSD 1.6H
>Organization:
Very Little, At Best
	
>Environment:
	
	
System: NetBSD host-unknown 1.6H NetBSD 1.6H (HOST-UNKNOWN) #1: Sun Sep 8 18:03:33 EDT 2002 sdegler@host-unknown:/vol1/NetBSD/kernels/HOST-UNKNOWN i386
Architecture: i386
Machine: i386
>Description:
	When configuring the cyrus-sasl2 package autoconf213 fails
	the test for /dev/urandom.  A spurious diagnostic regarding
	cross compiling is emitted as well.
>How-To-Repeat:
	build cyrus-sasl2.  Watch for spurious cross compiling diagnostic.
	See that /dev/urandom is not detected, and does not appear in
	config.h
>Fix:

diff -u -r1.1.1.1 distinfo
--- distinfo	2002/10/03 19:25:04	1.1.1.1
+++ distinfo	2002/11/10 06:58:05
@@ -6,3 +6,4 @@
 SHA1 (patch-ab) = eeb90d28fdd78b39426023110f56df0ab14acd73
 SHA1 (patch-ac) = 4351aecfbfe8f992144b1f6f536cbef3ac9d0e19
 SHA1 (patch-ad) = 640b838fed5e04586e940a5dad543903e4f8be9a
+SHA1 (patch-ae) = acd9992338ca26e2963e61a2ea154aae10e55b06

patches/patch-ae 
--- acgeneral.m4.orig	Sat Nov  9 14:37:04 2002
+++ acgeneral.m4	Sat Nov  9 14:37:30 2002
@@ -1881,8 +1881,6 @@
 AC_MSG_CHECKING([for $1])
 AC_CACHE_VAL(ac_cv_file_$ac_safe,
 [if test "$cross_compiling" = yes; then
-  errprint(__file__:__line__: warning: Cannot check for file existence when cross compiling
-)dnl
   AC_MSG_ERROR(Cannot check for file existence when cross compiling)
 else
   if test -r $1; then
>Release-Note:
>Audit-Trail:
>Unformatted: