Subject: bin/9942: sendmail cf directory build failure
To: None <gnats-bugs@gnats.netbsd.org>
From: Gary Duzan <gary@gduzan.static.shore.net>
List: netbsd-bugs
Date: 04/20/2000 12:22:17
>Number:         9942
>Category:       bin
>Synopsis:       sendmail cf directory build failure
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 20 12:23:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Gary Duzan
>Release:        April 20, 2000
>Organization:
	Not a lot
>Environment:
System: NetBSD wheel 1.4X NetBSD 1.4X (WHEEL) #0: Thu Apr 20 12:45:01 EDT 2000 gary@wheel:/usr/tmp/src/sys/arch/i386/compile/WHEEL i386


>Description:
	A scratch build of sendmail fails to build in the cf/cf directory.

>How-To-Repeat:
	wheel { ~/src/gnu/usr.sbin/sendmail/cf/cf } # make
	rm -f netbsd-proto.cf
	(cd /root/src/gnu/usr.sbin/sendmail/cf/cf/../../../../dist/sendmail/cf/cf && m4 /root/src/gnu/usr.sbin/sendmail/cf/cf/../../../../dist/sendmail/cf/m4/cf.m4 /root/src/gnu/usr.sbin/sendmail/cf/cf/netbsd-proto.mc > /root/src/gnu/usr.sbin/sendmail/cf/cf/netbsd-proto.cf)
	m4: ../ostype/.m4: No such file or directory
	*** Error code 1

	Stop.
	wheel { ~/src/gnu/usr.sbin/sendmail/cf/cf } # 

>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/gnusrc/gnu/usr.sbin/sendmail/cf/cf/Makefile,v
retrieving revision 1.3
diff -c -r1.3 Makefile
*** Makefile	2000/04/19 21:48:41	1.3
--- Makefile	2000/04/20 19:13:14
***************
*** 28,34 ****
  
  .mc.cf:
  	${RM} $@
! 	(cd ${CFDIR}/cf && ${M4} ${CFDIR}/m4/cf.m4 ${.CURDIR}/${@:R}.mc > ${.OBJDIR}/$@)
  	${CHMOD} ${ROMODE} $@
  
  realall: ${ALL}
--- 28,34 ----
  
  .mc.cf:
  	${RM} $@
! 	(cd ${CFDIR}/cf && ${M4} ${.CURDIR}/${@:R}.mc > ${.OBJDIR}/$@)
  	${CHMOD} ${ROMODE} $@
  
  realall: ${ALL}
>Release-Note:
>Audit-Trail:
>Unformatted: