From nobody@FreeBSD.org  Wed Mar 21 11:32:21 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 5E6C337B746
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Mar 2001 11:32:11 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f2LIMjG98342;
	Wed, 21 Mar 2001 10:22:45 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200103211822.f2LIMjG98342@freefall.freebsd.org>
Date: Wed, 21 Mar 2001 10:22:45 -0800 (PST)
From: phusnikn@cynikal.net
To: freebsd-gnats-submit@FreeBSD.org
Subject: /usr/src/lib/libcrypt/../libutil/property.c Doesnt compile cleanly unable to get PROPERTY_MAX_NAME from <libutil.h>
X-Send-Pr-Version: www-1.0

>Number:         25968
>Category:       i386
>Synopsis:       /usr/src/lib/libcrypt/../libutil/property.c Doesnt compile cleanly unable to get PROPERTY_MAX_NAME from <libutil.h>
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 21 11:40:02 PST 2001
>Closed-Date:    Thu Jan 17 12:06:30 PST 2002
>Last-Modified:  Thu Jan 17 12:07:28 PST 2002
>Originator:     Rodrick Brown
>Release:        4.2
>Organization:
New York Life Insurance Company
>Environment:
FreeBSD phusathlon.nexus 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000     jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC  i386
>Description:


 diff /usr/include/libutil.h /usr/src/lib/libutil/libutil.h
26c26
<  * $FreeBSD: src/lib/libutil/libutil.h,v 1.26.2.2 2000/09/20 09:53:23 jkh Exp $
---
>  * $FreeBSD: src/lib/libutil/libutil.h,v 1.31 2001/03/19 05:04:30 rwatson Exp $
33a34,36
> #define PROPERTY_MAX_NAME     64
> #define PROPERTY_MAX_VALUE    512
> 
47a51,53
> int   extattr_namespace_to_string __P((int attrnamespace, char **string));
> int   extattr_string_to_namespace __P((const char *string,
>                                        int *attrnamespace));

>How-To-Repeat:
cd /usr/src/lib/libcrypt 
make 
:) 
>Fix:
have /usr/src/lib/libcrypt/../libutil/property.c include /usr/src/lib/libutil/libutil.h instead of <libutil.h> 
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: ashp 
State-Changed-When: Wed Jan 16 16:27:40 PST 2002 
State-Changed-Why:  
Appears to compile fine on 4.5-RC.  Is this still a problem for you with 
FreeBSD -STABLE? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25968 
State-Changed-From-To: feedback->closed 
State-Changed-By: ashp 
State-Changed-When: Thu Jan 17 12:06:30 PST 2002 
State-Changed-Why:  
We don't (generally) support compiling fresh sources in a stale host 
environment, other than via 'make buildworld', as pointed out by Ruslan. 

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