Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 1996 09:49:56 +0300 (EET DST)
From:      Heikki Suonsivu <hsu@clinet.fi>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/1803: make reinstall rule broken, tries to do depend and all
Message-ID:  <199610140649.JAA24880@katiska.clinet.fi>
Resent-Message-ID: <199610140700.AAA04287@freefall.freebsd.org>

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

>Number:         1803
>Category:       bin
>Synopsis:       make reinstall rule broken, tries to do depend and all
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 14 00:00:01 PDT 1996
>Last-Modified:
>Originator:     Heikki Suonsivu
>Organization:
Clinet, Espoo, Finland
>Release:        FreeBSD 2.2-CURRENT i386
>Environment:

-Current

>Description:

make reinstall no more works, someone added all and depend to reinstall
rule, which does not work, as tools on the machine to be upgraded may not
be up-to-date.

Instead of reinstalling the target the ready-compiled obj/src tree probably
gets munged.

>How-To-Repeat:

reinstall machine couple of months old.  May botch your src/obj tree, so be
prepared to make world again.

>Fix:
	
make reinstall should not rebuild anything; it should be possible
to do make reinstall from read-only mount of obj/src.

Partial fix is to remove depend and all from reinstall rule, to
return the reinstall rule to what it was before.

Real fix would involve making reinstall install tools needed for install
first, but I don't know how this should be done.  Depending on target age
more and more things need to be done, make, mk and install often need to be
installed again.  I have been doing most of this by hand when necessary.

*** Makefile.broken     Mon Oct 14 08:09:50 1996
--- Makefile    Mon Oct 14 08:10:44 1996
***************
*** 246,261 ****
        cd ${.CURDIR} && ${MAKE} includes
        @echo
        @echo "--------------------------------------------------------------"
-       @echo " Rebuilding dependencies"
-       @echo "--------------------------------------------------------------"
-       cd ${.CURDIR} && ${MAKE} depend
-       @echo
-       @echo "--------------------------------------------------------------"
-       @echo " Building everything.."
-       @echo "--------------------------------------------------------------"
-       cd ${.CURDIR} && ${MAKE} all
-       @echo
-       @echo "--------------------------------------------------------------"
        @echo " Installing everything.."
        @echo "--------------------------------------------------------------"
        cd ${.CURDIR} && ${MAKE} install
--- 246,251 ----


-- 
Heikki Suonsivu, T{ysikuu 10 C 83/02210 Espoo/FINLAND, hsu@clinet.fi
mobile +358-40-5519679 work +358-0-43542270 fax -4555276 home -8031121


>Audit-Trail:
>Unformatted:



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