[3061] in Kerberos-V5-bugs
krb5-build/707: Makefiles call autoconf with sh, which loses on FreeBSD
daemon@ATHENA.MIT.EDU (gdt@ir.bbn.com)
Tue Mar 30 15:49:09 1999
Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: tlyu@MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, gdt@ir.bbn.com
Date: 30 Mar 1999 20:48:06 -0000
From: gdt@ir.bbn.com
Reply-To: gdt@ir.bbn.com
To: krb5-bugs@MIT.EDU
>Number: 707
>Category: krb5-build
>Synopsis: Makefiles call autoconf with sh, which loses on FreeBSD
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: tlyu
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Tue Mar 30 15:49:00 EST 1999
>Last-Modified:
>Originator: Greg Troxel
>Organization:
Greg Troxel <gdt@ir.bbn.com>
>Release: krb5-current-19990322
>Environment:
System: FreeBSD fnord.ir.bbn.com 2.2.6-RELEASE FreeBSD 2.2.6-RELEASE #0: Mon Mar 29 07:55:55 EST 1999 root@fnord.ir.bbn.com:FOO/FreeBSD/src/sys/compile/FNORD
i386
>Description:
When compiling this snapshot after it had been checked in to cvs and
checked out, the Makefile in appl/telnet/libtelnet tried to rebuild
Makefile, which caused it to try to run autoconf. The rule in post.in
does (after expansion) '/bin/sh autoconf', and FreeBSD sh does not
search the path for scripts given on the command line. It's wrong to
assume that autoconf is a sh script anyway; it should just be
executed.
>How-To-Repeat:
On a FreeBSD system, cd to src/appl/telnet/libtelnet, and 'touch
configure.in'. Run 'gmake'.
>Fix:
>Audit-Trail:
>Unformatted:
>How-To-Fix:
Index: src/config/post.in
===================================================================
RCS file: /IR-CVS/krb5/src/config/post.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 post.in
--- post.in 1999/03/22 14:38:12 1.1.1.1
+++ post.in 1999/03/30 20:43:58
@@ -49,7 +49,7 @@
$(srcdir)/$(thisconfigdir)/configure: $(srcdir)/$(thisconfigdir)/configure.in \
$(SRCTOP)/aclocal.m4
cd $(srcdir)/$(thisconfigdir) && \
- $(SHELL) $(AUTOCONF) --localdir=$(CONFIG_RELTOPDIR) \
+ $(AUTOCONF) --localdir=$(CONFIG_RELTOPDIR) \
--macrodir=$(CONFIG_RELTOPDIR)/util/autoconf
all-recurse clean-recurse distclean-recurse install-recurse check-recurse Makefiles-recurse: