Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 1997 18:39:13 -0500 (EST)
From:      sjr1@flash.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/3111: make bootstrap relies on /bin/sh but does not (re)build it
Message-ID:  <199703262339.SAA15821@istari.flash.net>
Resent-Message-ID: <199703262340.PAA11876@freefall.freebsd.org>

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

>Number:         3111
>Category:       misc
>Synopsis:       make bootstrap relies on /bin/sh but does not (re)build it
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 26 15:40:03 PST 1997
>Last-Modified:
>Originator:     Stephen J. Roznowski
>Organization:
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	N/A

>Description:

	When doing a make world, make bootstrap rebuilds some of the
	tools necessary (make,install,lex) to complete the build.
	Since make relies upon a working shell, it should be (re)built
	during the bootstrap phase.

	I remember this being a problem when a new feature was added
	to the shell and the build failed until the shell was rebuilt
	and reinstalled....

>How-To-Repeat:

	

>Fix:
	
*** Makefile.orig	Wed Mar 26 18:28:50 1997
--- Makefile	Wed Mar 26 18:29:39 1997
***************
*** 364,369 ****
--- 364,371 ----
  bootstrap:
  	cd ${.CURDIR}/usr.bin/make && ${MAKE} depend && \
  		${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
+ 	cd ${.CURDIR}/bin/sh && ${MAKE} depend && \
+ 		${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
  	cd ${.CURDIR}/usr.bin/xinstall && ${MAKE} depend && \
  		${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
  	cd ${.CURDIR}/usr.bin/lex && ${MAKE} bootstrap && ${MAKE} depend && \
>Audit-Trail:
>Unformatted:



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