Skip site navigation (1)Skip section navigation (2)
Date:      29 Apr 2002 20:14:43 -0700
From:      Seth Kingsley <sethk@meowfishies.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/37583: [PATCH] make installworld fails on missing utilities.
Message-ID:  <20020430031443.90716.qmail@magnesium.net>

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

>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




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