From nobody@FreeBSD.org  Thu Feb 17 17:30:36 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BC62116A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 17 Feb 2005 17:30:36 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9452643D48
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 17 Feb 2005 17:30:36 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j1HHUZoN080119
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 17 Feb 2005 17:30:35 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j1HHUZio080118;
	Thu, 17 Feb 2005 17:30:35 GMT
	(envelope-from nobody)
Message-Id: <200502171730.j1HHUZio080118@www.freebsd.org>
Date: Thu, 17 Feb 2005 17:30:35 GMT
From: Tuure Laurinolli <tuure@laurinolli.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: compiling syslog.c fails on 5-STABLE
X-Send-Pr-Version: www-2.3

>Number:         77648
>Category:       bin
>Synopsis:       compiling syslog.c fails on 5-STABLE
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 17 17:40:21 GMT 2005
>Closed-Date:    Tue Jun 07 19:46:55 GMT 2005
>Last-Modified:  Tue Jun 07 19:46:55 GMT 2005
>Originator:     Tuure Laurinolli
>Release:        RELENG_5_3
>Organization:
>Environment:
FreeBSD vortex.home.lan 5.3-RELEASE-p4 FreeBSD 5.3-RELEASE-p4 #12: Wed Jan 12 03:50:31 EET 2005     root@vortex.home.lan:/usr/obj/usr/src/sys/VORTEX  i386
>Description:
When doing buildworld of RELENG_5, compiling fails in the following way:

cc -g -O -pipe -march=pentium3 -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/lib/libc/gen/syslog.c
/usr/src/lib/libc/gen/syslog.c: In function `connectlog':
/usr/src/lib/libc/gen/syslog.c:365: error: `_PATH_LOG_PRIV' undeclared (first use in this function)
/usr/src/lib/libc/gen/syslog.c:365: error: (Each undeclared identifier is reported only once
/usr/src/lib/libc/gen/syslog.c:365: error: for each function it appears in.)
*** Error code 1

Stop in /usr/src/lib/libc.

_PATH_LOG_PRIV is actually defined in /usr/src/sys/sys/syslog.h, but the file installed on the system (v 1.24) is used instead of the file to-be-installed in RELENG_5 (v 1.24.2.2). The old version does nto define _PATH_LOG_PRIV
>How-To-Repeat:
make buildworld on RELENG_5 sources on RELENG_5_3
>Fix:
I could upgrade the header file in /usr/include/sys by hand, but that isn't a nice solution. Adding /usr/src/sys/sys to libc Makefile did not help, I guess it gets added to the search path after the include paths defined in environment.
>Release-Note:
>Audit-Trail:

From: Tuure Laurinolli <tuure@laurinolli.net>
To: freebsd-gnats-submit@FreeBSD.org, tuure@laurinolli.net
Cc:  
Subject: Re: bin/77648: compiling syslog.c fails on 5-STABLE
Date: Sat, 19 Feb 2005 06:46:31 +0200

 Apparently libugidfw exhibits same problems, including system version on 
 mac_bsdextended.h instead of the new version with some new #defines. I 
 really must wonder what's going on here.

From: Matteo Riondato <rionda@gufi.org>
To: bug-followup@FreeBSD.org, tuure@laurinolli.net
Cc:  
Subject: Re: bin/77648: compiling syslog.c fails on 5-STABLE
Date: Tue, 7 Jun 2005 21:22:34 +0200

 Is this still an issue or can this PR be closed?
 Best Regards
 -- 
 Rionda aka Matteo Riondato
 G.U.F.I. Staff Member (http://www.gufi.org)
 FreeSBIE Developer (http://www.freesbie.org)
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Tue Jun 7 19:46:30 GMT 2005 
State-Changed-Why:  
Submitter notes that this problem was local. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=77648 
>Unformatted:
