Subject: install/30813: build.sh release doesn't work if MKIPFILTER=no
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <carton@Ivy.NET>
List: netbsd-bugs
Date: 07/23/2005 04:33:00
>Number:         30813
>Category:       install
>Synopsis:       build.sh release doesn't work if MKIPFILTER=no
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 23 04:33:00 +0000 2005
>Originator:     Miles Nordin
>Release:        NetBSD 3.0_BETA 2005-07-17
>Organization:
Ivy Ministries
>Environment:
System: NetBSD castrovalva 2.0.2_STABLE NetBSD 2.0.2_STABLE (CASTROVALVA-$Revision: 1.10 $) #0: Wed Apr 27 23:41:50 EDT 2005 carton@castrovalva:/scratch/src/sys/arch/alpha/compile/CASTROVALVA alpha
Architecture: alpha
Machine: alpha
>Description:
if MKIPFILTER=no, 'build.sh release' fails with something like:

============  1 extra files  ===============
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
------------------------------------------
./usr/include/netinet/ipl.h
=========  end of 1 extra files  ===========

>How-To-Repeat:
MKIPFILTER=no in /etc/mk.conf
./build.sh -U -R /export/release -D /export/destdir/sparc64 -m sparc64 -O /export/obj/sparc64 -T /export/tooldir/sparc64 -u release

>Fix:

Index: Makefile
===================================================================
RCS file: /scratch/cvsroot/netbsd/src/sys/netinet/Makefile,v
retrieving revision 1.1.1.6
diff -u -r1.1.1.6 Makefile
--- Makefile	18 Jul 2005 14:10:18 -0000	1.1.1.6
+++ Makefile	23 Jul 2005 02:38:40 -0000
@@ -5,7 +5,7 @@
 INCS=	icmp6.h icmp_var.h if_atm.h if_ether.h if_inarp.h igmp.h \
 	igmp_var.h in.h in_gif.h in_pcb.h in_pcb_hdr.h in_systm.h \
 	in_var.h ip.h ip6.h ip_ecn.h ip_encap.h ip_gre.h \
-	ip_icmp.h ip_mroute.h ip_var.h ipl.h pim.h pim_var.h \
+	ip_icmp.h ip_mroute.h ip_var.h pim.h pim_var.h \
 	tcp.h tcp_debug.h tcp_fsm.h tcp_seq.h tcp_timer.h tcp_var.h \
 	tcpip.h udp.h udp_var.h
 
@@ -17,7 +17,7 @@
 
 .if (${MKIPFILTER} != "no")
 INCS+=	ip_auth.h ip_fil.h ip_frag.h ip_htable.h ip_nat.h \
-	ip_lookup.h ip_pool.h ip_proxy.h ip_scan.h ip_state.h ip_sync.h
+	ip_lookup.h ip_pool.h ip_proxy.h ip_scan.h ip_state.h ip_sync.h ipl.h
 .endif
 
 .include <bsd.kinc.mk>