From owner-freebsd-questions Mon Jun 9 06:48:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA22962 for questions-outgoing; Mon, 9 Jun 1997 06:48:18 -0700 (PDT) Received: from live-oak.cycon.com (live-oak.CYCON.COM [198.202.237.69]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA22929; Mon, 9 Jun 1997 06:48:14 -0700 (PDT) Received: from localhost (ardoin@localhost) by live-oak.cycon.com (8.8.5/8.7.3) with SMTP id JAA00251; Mon, 9 Jun 1997 09:48:06 -0400 (EDT) X-Authentication-Warning: live-oak.cycon.com: ardoin owned process doing -bs Date: Mon, 9 Jun 1997 09:48:04 -0400 (EDT) From: Cy Ardoin To: Mike Tancsa cc: questions@FreeBSD.ORG, stable@FreeBSD.ORG Subject: Re: /usr/include/ufs/ffs missing?...Make world failure on 2.2-RELENG In-Reply-To: <3.0.1.32.19970608094308.02470d10@sentex.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I found that the Makefile in /usr/include has an error for ufs. There are two lines LUDIR= ufs UDIRS= ufs/ffs ufs/lfs.... down later in the Makefile there are "for" loops. The loop that creates the directories is backwards. It references UDIRS before LUDIR. So the directory doesn't exist. Switching the order on that loop works. .for i in ${LDIRS} ${LUDIR} ${UDIRS} machine if [ ! -d ${DESTDIR}/usr/include/$i ]; then \ mkdir ${DESTDIR}/usr/include/$i; \ chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$i; \ chmod 755 ${DESTDIR}/usr/include/$i; \ fi .endfor On Sun, 8 Jun 1997, Mike Tancsa wrote: > > I have been tracking the RELENG-2.2 for a while now and doing a make world > without incident. However, yesterday, I ran into all sorts of problems. > > I tried a make -DCLOBBER world to get by the ufs/ffs missing problem, but > it only seemed to cause other errors. (see below) > > I blew away the src try and cvsup'd the whole thing again, but still the > same errors. > > Any suggestions ? > > -------------------------------------------------------------- > Rebuilding bootstrap tools > -------------------------------------------------------------- > cd /usr/src && make bootstrap > cd /usr/src/usr.bin/make && make depend && make -DNOINFO -DNOMAN > -DNOPROFILE all install cleandir obj > rm -f .depend > mkdep -f .depend -a -I/usr/src/usr.bin/make /usr/src/usr.bin/make/arch.c > /usr/src/usr.bin/make/buf.c /usr/src/usr.b > in/make/compat.c /usr/src/usr.bin/make/cond.c /usr/src/usr.bin/make/dir.c > /usr/src/usr.bin/make/for.c /usr/src/usr.bi > n/make/hash.c /usr/src/usr.bin/make/job.c /usr/src/usr.bin/make/main.c > /usr/src/usr.bin/make/make.c /usr/src/usr.bin/ > make/parse.c /usr/src/usr.bin/make/str.c /usr/src/usr.bin/make/suff.c > /usr/src/usr.bin/make/targ.c /usr/src/usr.bin/m > ake/var.c /usr/src/usr.bin/make/util.c > /usr/src/usr.bin/make/lst.lib/lstAppend.c /usr/src/usr.bin/make/lst.lib/lstAtE > nd.c /usr/src/usr.bin/make/lst.lib/lstAtFront.c > /usr/src/usr.bin/make/lst.lib/lstClose.c /usr/src/usr.bin/make/lst.li > b/lstConcat.c /usr/src/usr.bin/make/lst.lib/lstDatum.c > /usr/src/usr.bin/make/lst.lib/lstDeQueue.c /usr/src/usr.bin/ma > ke/lst.lib/lstDestroy.c /usr/src/usr.bin/make/lst.lib/lstDupl.c > /usr/src/usr.bin/make/lst.lib/lstEnQueue.c /usr/src/u > sr.bin/make/lst.lib/lstFind.c /usr/src/usr.bin/make/lst.lib/lstFindFrom.c > /usr/src/usr.bin/make/lst.lib/lstFirst.c /u > sr/src/usr.bin/make/lst.lib/lstForEach.c > /usr/src/usr.bin/make/lst.lib/lstForEachFrom.c /usr/src/usr.bin/make/lst.lib > /lstInit.c /usr/src/usr.bin/make/lst.lib/lstInsert.c > /usr/src/usr.bin/make/lst.lib/lstIsAtEnd.c /usr/src/usr.bin/make > /lst.lib/lstIsEmpty.c /usr/src/usr.bin/make/lst.lib/lstLast.c > /usr/src/usr.bin/make/lst.lib/lstMember.c /usr/src/usr. > bin/make/lst.lib/lstNext.c /usr/src/usr.bin/make/lst.lib/lstOpen.c > /usr/src/usr.bin/make/lst.lib/lstRemove.c /usr/src > /usr.bin/make/lst.lib/lstReplace.c /usr/src/usr.bin/make/lst.lib/lstSucc.c > /usr/src/usr.bin/make/arch.c:93: sys/types.h: No such file or directory > /usr/src/usr.bin/make/arch.c:94: sys/stat.h: No such file or directory > /usr/src/usr.bin/make/arch.c:95: sys/time.h: No such file or directory > /usr/src/usr.bin/make/arch.c:96: sys/param.h: No such file or directory > /usr/src/usr.bin/make/arch.c:97: ctype.h: No such file or directory > /usr/src/usr.bin/make/arch.c:98: ar.h: No such file or directory > /usr/src/usr.bin/make/arch.c:99: utime.h: No such file or directory > /usr/src/usr.bin/make/arch.c:100: stdio.h: No such file or directory > /usr/src/usr.bin/make/arch.c:101: stdlib.h: No such file or directory > In file included from /usr/src/usr.bin/make/arch.c:102: > In file included from /usr/src/usr.bin/make/lst.lib/lstInt.h:47, > from /usr/src/usr.bin/make/lst.lib/lstSucc.c:48: > /usr/src/usr.bin/make/make.h:50: sys/types.h: No such file or directory > /usr/src/usr.bin/make/make.h:51: stdio.h: No such file or directory > /usr/src/usr.bin/make/make.h:52: string.h: No such file or directory > /usr/src/usr.bin/make/make.h:53: ctype.h: No such file or directory > /usr/src/usr.bin/make/make.h:66: stdlib.h: No such file or directory > /usr/src/usr.bin/make/make.h:67: unistd.h: No such file or directory > In file included from /usr/src/usr.bin/make/make.h:70, > from /usr/src/usr.bin/make/lst.lib/lstInt.h:47, > from /usr/src/usr.bin/make/lst.lib/lstSucc.c:48: > /usr/src/usr.bin/make/lst.h:50: sys/param.h: No such file or directory > /usr/src/usr.bin/make/lst.h:52: stdlib.h: No such file or directory > mkdep: compile failed. > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > ********************************************************************** > Mike Tancsa (mike@sentex.net) * To do is to be -- Nietzsche > Sentex Communications Corp, * To be is to do -- Sartre > Cambridge, Ontario * Do be do be do -- Sinatra > (http://www.sentex.net/~mdtancsa) * > -- Cy Ardoin ardoin@cycon.com -------------------------------------------------------------------- -- Cypress Consulting, Inc. | Voice: 703/383-0247 --- -- 4101 Olympic Way, Alexandria VA | Fax: 703/383-0320 ---- -- and | ---- -- 11240 Waples Mill Road, Suite 403, | http://www.cycon.com/ --- -- Fairfax, VA 22030 | -- --------------------------------------------------------------------