From gshapiro@monkeyboy.gshapiro.net Sun May 16 17:05:31 1999
Return-Path: <gshapiro@monkeyboy.gshapiro.net>
Received: from monkeyboy.gshapiro.net (monkeyboy.gshapiro.net [209.220.147.179])
	by hub.freebsd.org (Postfix) with ESMTP id B1F5E14BDB
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 16 May 1999 17:05:25 -0700 (PDT)
	(envelope-from gshapiro@monkeyboy.gshapiro.net)
Received: (from gshapiro@localhost)
	by monkeyboy.gshapiro.net (8.10.0.PreAlpha1/8.10.0.PreAlpha1) id RAA52215;
	Sun, 16 May 1999 17:04:53 -0700 (PDT)
Message-Id: <199905170004.RAA52215@monkeyboy.gshapiro.net>
Date: Sun, 16 May 1999 17:04:53 -0700 (PDT)
From: gshapiro+freebsd-gnats@sendmail.org
Sender: gshapiro@monkeyboy.gshapiro.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: 3.1-STABLE build failure (mkdep inetd fails -- missing tcpd.h)
X-Send-Pr-Version: 3.2

>Number:         11739
>Category:       bin
>Synopsis:       3.1-STABLE build failure (mkdep inetd fails -- missing tcpd.h)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    peter
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 16 17:10:01 PDT 1999
>Closed-Date:    Thu Jun 10 17:24:20 PDT 1999
>Last-Modified:  Thu Jun 10 17:24:59 PDT 1999
>Originator:     Gregory Neil Shapiro
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
>Environment:

3.1-STABLE source as of 5/15.

>Description:

When attempting to 'make buildworld' with the 3.1-STABLE source, mkdep fails
when it reads usr.sbin/inetd.  It can't locate tcpd.h for the new TCP
Wrappers support.

===> usr.sbin/inetd
rm -f .depend
mkdep -f .depend -a   -nostdinc -DLOGIN_CAP -DLIBWRAP -I/usr/obj/usr/src/tmp/usr/include  /usr/src/usr.sbin/inetd/inetd.c
/usr/src/usr.sbin/inetd/inetd.c:136: tcpd.h: No such file or directory
mkdep: compile failed
*** Error code 1

>How-To-Repeat:

Try a fresh compile.

>Fix:
	
The patch below is necessary to get ${DESTDIR}/usr/include/tcpd.h

*** Makefile.inc1~orig	Sat May  8 21:06:06 1999
--- Makefile.inc1	Sun May 16 16:02:38 1999
***************
*** 515,520 ****
--- 515,521 ----
  		-p ${DESTDIR}/usr/include
  .endif
  	cd ${.CURDIR}/include;			${MAKE} -B all install
+ 	cd ${.CURDIR}/contrib/tcp_wrappers;	${MAKE} beforeinstall
  	cd ${.CURDIR}/gnu/include;		${MAKE} install
  	cd ${.CURDIR}/gnu/lib/libmp;		${MAKE} beforeinstall
  	cd ${.CURDIR}/gnu/lib/libobjc;		${MAKE} beforeinstall
*** contrib/tcp_wrappers/Makefile~orig	Tue Apr 20 12:20:00 1999
--- contrib/tcp_wrappers/Makefile	Sun May 16 16:05:58 1999
***************
*** 809,814 ****
--- 809,818 ----
  	-DPARANOID $(TABLES) -DNETGROUP -DPROCESS_OPTIONS -DRFC931_TIMEOUT=10 \
  	-Dvsyslog=myvsyslog -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\"
  
+ beforeinstall:
+ 	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/tcpd.h \
+ 		${DESTDIR}/usr/include
+ 
  # Internal compilation dependencies.
  
  clean_exit.o: cflags


>Release-Note:
>Audit-Trail:

From: Ruslan Ermilov <ru@ucb.crimea.ua>
To: gshapiro+freebsd-gnats@sendmail.org
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/11739: 3.1-STABLE build failure (mkdep inetd fails -- missing tcpd.h)
Date: Mon, 17 May 1999 10:34:13 +0300

 On Sun, May 16, 1999 at 05:04:53PM -0700, gshapiro+freebsd-gnats@sendmail.org wrote:
 > 
 > >Number:         11739
 > >Category:       bin
 > >Synopsis:       3.1-STABLE build failure (mkdep inetd fails -- missing tcpd.h)
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    freebsd-bugs
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Sun May 16 17:10:01 PDT 1999
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Gregory Neil Shapiro
 > >Release:        FreeBSD 3.1-STABLE i386
 > >Organization:
 > >Environment:
 > 
 
 This only occurs when `buildworld' is attempted with -DNOCLEAN.
 
 
 -- 
 Ruslan Ermilov		Sysadmin and DBA of the
 ru@ucb.crimea.ua	United Commercial Bank
 +380.652.247.647	Simferopol, Ukraine
 
 http://www.FreeBSD.org	The Power To Serve
 http://www.oracle.com	Enabling The Information Age
 
Responsible-Changed-From-To: freebsd-bugs->peter 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Tue Jun 8 04:09:42 PDT 1999 
Responsible-Changed-Why:  
Peter, are you deliberately holding back on an MFC for Makefile.in 
rev 1.68 ? You fixed the broken build for CURRENT (missing tcpd.h) but  
it still appears to be a problem for RELENG_3. 
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Thu Jun 10 17:24:20 PDT 1999 
State-Changed-Why:  
Committed in rev 1.68 and 1.59.2.5 of src/Makefile.inc1. 
>Unformatted:
