From nobody@FreeBSD.org  Sun Jun 10 11:40:00 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 E5CFE37B40C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Jun 2001 11:39:59 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.3/8.11.3) id f5AIdxo11158;
	Sun, 10 Jun 2001 11:39:59 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200106101839.f5AIdxo11158@freefall.freebsd.org>
Date: Sun, 10 Jun 2001 11:39:59 -0700 (PDT)
From: ebd@oau.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: 4.3-STABLE build fails after cvs update
X-Send-Pr-Version: www-1.0

>Number:         28017
>Category:       misc
>Synopsis:       4.3-STABLE build fails after cvs update
>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:   Sun Jun 10 11:40:01 PDT 2001
>Closed-Date:    Mon Jun 11 02:22:12 PDT 2001
>Last-Modified:  Mon Jun 11 02:23:53 PDT 2001
>Originator:     Elliot Dierksen
>Release:        4-3-STABLE
>Organization:
>Environment:
>Description:
After a CVS update, make buildworld fails as follows:

===> libpam/modules/pam_wheel
cc -O -pipe  -Wall -I/usr/src/lib/libpam/modules/pam_wheel/../../../../contrib/libpam/libpam/include -I/usr/src/lib/libpam/modules/pam_wheel/../../libpam -I/usr/obj/usr/src/i386/usr/include -c /usr/src/lib/libpam/modules/pam_wheel/../../../../contrib/libpam/modules/pam_wheel/pam_wheel.c -o pam_wheel.o
building standard pam_wheel library
ranlib libpam_wheel.a
cc -fpic -DPIC -O -pipe  -Wall -I/usr/src/lib/libpam/modules/pam_wheel/../../../../contrib/libpam/libpam/include -I/usr/src/lib/libpam/modules/pam_wheel/../../libpam -I/usr/obj/usr/src/i386/usr/include -c /usr/src/lib/libpam/modules/pam_wheel/../../../../contrib/libpam/modules/pam_wheel/pam_wheel.c -o pam_wheel.So
building shared library pam_wheel.so
===> libpam/libpam
cc -O -pipe  -I/usr/src/lib/libpam/libpam/../../../contrib/libpam/libpam/include -I/usr/src/lib/libpam/libpam/../../../contrib/libpam/libpam_misc/include  -I/usr/src/lib/libpam/libpam/../../../contrib/libpam/libpamc/include -I. -I/usr/src/lib/libpam/libpam -DDEFAULT_MODULE_PATH=\"/usr/lib/\"  -DLIBPAM_VERSION_MAJOR=0  -DLIBPAM_VERSION_MINOR=75 -I/usr/obj/usr/src/i386/usr/include -c /usr/src/lib/libpam/libpam/../../../contrib/libpam/libpam/pam_account.c -o pam_account.o
In file included from /usr/src/lib/libpam/libpam/../../../contrib/libpam/libpam/pam_account.c:5:
/usr/src/lib/libpam/libpam/../../../contrib/libpam/libpam/pam_private.h:137: field `pam_default_log' has incomplete type
*** Error code 1

Stop in /usr/src/lib/libpam/libpam.
*** Error code 1

I have done numerous make buildworld's on this machine without incident
until now.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Mon Jun 11 02:22:12 PDT 2001 
State-Changed-Why:  
Transient error. 
The latest pam_private.h doesn't have `pam_default_log' field. 

@@ -134,7 +138,6 @@ struct pam_handle { 
char *rhost; 
char *ruser; 
char *tty; 
-    struct pam_log_state pam_default_log;      /* for ident etc., log state */ 
struct pam_data *data; 
struct pam_environ *env;      /* structure to maintain environment list */ 
struct _pam_fail_delay fail_delay;   /* helper function for easy delays */ 

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