From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 17 17:40:22 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A19716A4CE for ; Thu, 17 Feb 2005 17:40:22 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2583F43D5E for ; Thu, 17 Feb 2005 17:40:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1HHeMkg073191 for ; Thu, 17 Feb 2005 17:40:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1HHeLQc073190; Thu, 17 Feb 2005 17:40:21 GMT (envelope-from gnats) Resent-Date: Thu, 17 Feb 2005 17:40:21 GMT Resent-Message-Id: <200502171740.j1HHeLQc073190@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tuure Laurinolli Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC62116A4CE for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: bin/77648: compiling syslog.c fails on 5-STABLE X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Feb 2005 17:40:22 -0000 >Number: 77648 >Category: bin >Synopsis: compiling syslog.c fails on 5-STABLE >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 17 17:40:21 GMT 2005 >Closed-Date: >Last-Modified: >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: >Unformatted: