Subject: bin/22553: TOOL_M4 doesn't exists in installed tree
To: None <gnats-bugs@gnats.netbsd.org>
From: None <lha@stacken.kth.se>
List: netbsd-bugs
Date: 08/20/2003 11:59:00
>Number: 22553
>Category: bin
>Synopsis: TOOL_M4 doesn't exist in installed tree
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 20 16:12:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Love
>Release: NetBSD 1.6W
>Organization:
EIM
>Environment:
System: NetBSD nutcracker.stacken.kth.se 1.6W NetBSD 1.6W (NUTCRACKER) #32: Thu Aug 7 00:14:40 CEST 2003 lha@nutcracker.stacken.kth.se:/usr/src/sys/arch/i386/compile/NUTCRACKER i386
Architecture: i386
Machine: i386
>Description:
TOOL_M4 doesn't exist in installed tree
>How-To-Repeat:
# pwd
/usr/share/sendmail/cf
# make netbsd-proto.cf
rm -f netbsd-proto.cf
(cd /usr/share/sendmail/cf/../cf && /usr/share/sendmail/cf/../m4/cf.m4 /usr/share/sendmail/cf/netbsd-proto.mc > /usr/share/sendmail/cf/netbsd-proto.cf)
/usr/share/sendmail/cf/../m4/cf.m4: permission denied
*** Error code 126
Stop.
make: stopped in /usr/share/sendmail/cf
# make netbsd-proto.cf
# rm netbsd-proto.cf
# make netbsd-proto.cf TOOL_M4=m4
rm -f netbsd-proto.cf
(cd /usr/share/sendmail/cf/../cf && m4 /usr/share/sendmail/cf/../m4/cf.m4 /usr/share/sendmail/cf/netbsd-proto.mc > /usr/share/sendmail/cf/netbsd-proto.cf)
chmod 444 netbsd-proto.cf
>Fix:
# diff -uw Makefile~ Makefile
--- Makefile~ 2003-08-20 11:56:58.000000000 +0200
+++ Makefile 2003-08-20 11:57:13.000000000 +0200
@@ -4,6 +4,7 @@
CHMOD= chmod
ROMODE= 444
RM= rm -f
+TOOL_M4?= m4
.if !defined(FILES)
.SUFFIXES: .cf .mc
?
>Release-Note:
>Audit-Trail:
>Unformatted: