From nobody@FreeBSD.org  Mon Jun 11 07:36:58 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 5592737B403
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 11 Jun 2001 07:36:58 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.3/8.11.3) id f5BEaw463720;
	Mon, 11 Jun 2001 07:36:58 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200106111436.f5BEaw463720@freefall.freebsd.org>
Date: Mon, 11 Jun 2001 07:36:58 -0700 (PDT)
From: pmarquis@pobox.com
To: freebsd-gnats-submit@FreeBSD.org
Subject: make buildworld fails on 4.2-RELEASE -> RELENG_4
X-Send-Pr-Version: www-1.0

>Number:         28035
>Category:       misc
>Synopsis:       make buildworld fails on 4.2-RELEASE -> RELENG_4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 11 07:40:03 PDT 2001
>Closed-Date:    Mon Jun 11 09:15:27 PDT 2001
>Last-Modified:  Mon Jun 11 09:16:57 PDT 2001
>Originator:     Paul Marquis
>Release:        4.2-RELEASE
>Organization:
>Environment:
FreeBSD sboy.pmarquis.com 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Jun  4 17:30:36 EDT 2001     pmarquis@sboy.pmarquis.com:/usr/src/sys/compile/SBOY  i386
>Description:
After upgrading my sources from 4.2-RELEASE to STABLE (as 6/11/2001), make buildworld fails building src/lib/libcrypt/property.o with a undefined symbols (PROPERTY_MAX_NAME, PROPERTY_MAX_VALUE).

>How-To-Repeat:
- Install 4.2-RELEASE
- CVSup or AnonCVS to STABLE
- run "make buildworld"

>Fix:
Patch src/lib/libcrypt/Makefile as follows:

cvs diff src/lib/libcrypt/Makefile
Index: src/lib/libcrypt/Makefile
===================================================================
RCS file: /home/ncvs/src/lib/libcrypt/Makefile,v
retrieving revision 1.24.2.3
diff -u -r1.24.2.3 Makefile
--- src/lib/libcrypt/Makefile   2001/05/24 12:20:02     1.24.2.3
+++ src/lib/libcrypt/Makefile   2001/06/11 14:33:12
@@ -26,6 +26,7 @@
 # And the auth_getval() code and support.
 .PATH:         ${.CURDIR}/../libutil
 SRCS+=         auth.c property.c
+CFLAGS+=       -I${.CURDIR}/../libutil
 .for sym in MD5Init MD5Final MD5Update MD5Pad auth_getval \
                property_find properties_read properties_free
 CFLAGS+=       -D${sym}=__${sym}

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Mon Jun 11 09:15:27 PDT 2001 
State-Changed-Why:  
Proper set of header files is installed during `buildworld' 
into ${WORLDTMP} (/usr/obj/usr/src/i386/usr/include). 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=28035 
>Unformatted:
