Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 May 1999 17:04:53 -0700 (PDT)
From:      gshapiro+freebsd-gnats@sendmail.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/11739: 3.1-STABLE build failure (mkdep inetd fails -- missing tcpd.h)
Message-ID:  <199905170004.RAA52215@monkeyboy.gshapiro.net>

next in thread | raw e-mail | index | archive | help

>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:

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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905170004.RAA52215>