From owner-freebsd-bugs Mon Apr 29 20:20:15 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AB9E537B41C for ; Mon, 29 Apr 2002 20:20:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3U3K1480222; Mon, 29 Apr 2002 20:20:01 -0700 (PDT) (envelope-from gnats) Received: from magnesium.net (toxic.magnesium.net [207.154.84.15]) by hub.freebsd.org (Postfix) with SMTP id 2CD4F37B41B for ; Mon, 29 Apr 2002 20:14:44 -0700 (PDT) Received: (qmail 90717 invoked by uid 1165); 30 Apr 2002 03:14:43 -0000 Message-Id: <20020430031443.90716.qmail@magnesium.net> Date: 29 Apr 2002 20:14:43 -0700 From: Seth Kingsley Reply-To: Seth Kingsley To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/37583: [PATCH] make installworld fails on missing utilities. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 37583 >Category: misc >Synopsis: [PATCH] make installworld fails on missing utilities. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 29 20:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Seth Kingsley >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: FreeBSD neko.home.meowfishies.com 5.0-CURRENT FreeBSD 5.0-CURRENT #8: Sun Apr 28 08:06:04 PDT 2002 sethk@neko.home.meowfishies.com:/usr/src/sys/i386/compile/NEKO i386 /etc/make.conf: CPUTYPE= k7 NOMANCOMPRESS= true NO_BIND= true NO_FORTRAN= true NO_MAILWRAPPER= true NO_MODULES= true NO_SENDMAIL= true NOUUCP= true MAKE_RSAINTL= yes NO_MAKEDEV= true XFREE86_VERSION= 4 HAVE_MOTIF= yes MOTIFLIB= -L${X11BASE}/lib -lXm -lXp USA_RESIDENT= yes TOP_TABLE_SIZE= 63 KERNCONF?= NEKO INSTKERNNAME?= vmunix GENERIC_KERNCONF= GENERIC GENERIC_INSTKERNNAME= ${INSTKERNNAME}.GENERIC KERNEL?= ${INSTKERNNAME} CVS_UPDATE= yes CVSROOT= PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile CVSROOT= :pserver:anoncvs@anoncvs.freebsd.org:/home/ncvs DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile # Ports stuff WITH_CSS= yes WITH_MOTIF= yes # /usr/share/doc stuff: #FORMATS= html html-split txt ps pdb DOC_LANG= en_US.ISO8859-1 ja_JP.eucJP NICE_HEADERS= yes #NO_TIDY= yes MIN_SECT_LABELS= yes INSTALL_COMPRESSED= CTAGS= ctags CTFLAGS= -dt .NOTMAIN: generic-kernel new-kernel generic-kernel: (cd /usr/src; ${MAKE} ${.MAKEFLAGS} kernel \ KERNCONF=${GENERIC_KERNCONF} \ INSTKERNNAME=${GENERIC_INSTKERNNAME}) >Description: When make(1)ing installworld while booted single user, make fails in several places due to missing programs. I have seen these types of problems for a long time, and believe that they are somehow connected to my make.conf options. >How-To-Repeat: Buildworld with the above make.conf and reboot single-user for the installworld. >Fix: The workaround is to install each utility that "make installworld" fails on manually using "make install". It must be repeated until make no longer fails. Patch: + Add cp, ls, m4, and pod2man to the list of utilities copied into ${INSTALLTMP} before installworld. Index: Makefile.inc1 =================================================================== RCS file: /home/ncvs/src/Makefile.inc1,v retrieving revision 1.260 diff -u -p -r1.260 Makefile.inc1 --- Makefile.inc1 2002/04/20 19:04:59 1.260 +++ Makefile.inc1 2002/04/30 02:10:01 @@ -336,9 +336,9 @@ installcheck: # installworld: installcheck mkdir -p ${INSTALLTMP} - for prog in [ awk cat chflags chmod chown date echo egrep find grep \ - ln make makewhatis mkdir mtree mv perl rm sed sh sysctl \ - test true uname wc zic; do \ + for prog in [ awk cat chflags chmod chown cp date echo egrep find \ + grep ln ls m4 make makewhatis mkdir mtree mv perl pod2man rm \ + sed sh sysctl test true uname wc zic; do \ cp `which $$prog` ${INSTALLTMP}; \ done cd ${.CURDIR}; ${IMAKE} reinstall >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message