From owner-freebsd-stable Thu Jun 27 16:54:06 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA08320 for stable-outgoing; Thu, 27 Jun 1996 16:54:06 -0700 (PDT) Received: from netcomsv.netcom.com (uucp4.netcom.com [163.179.3.4]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id QAA08303 for ; Thu, 27 Jun 1996 16:54:01 -0700 (PDT) Received: from asic11.UUCP by netcomsv.netcom.com with UUCP (8.6.12/SMI-4.1) id QAA07309; Thu, 27 Jun 1996 16:40:32 -0700 Received: from madmax.iecorp.com by asic11.iecorp.com (4.1/SMI-4.1) id AA14092; Thu, 27 Jun 96 16:30:25 PDT Received: by madmax.iecorp.com (4.1/SMI-4.1) id AA03022; Thu, 27 Jun 96 16:30:23 PDT From: bartleym@iecorp.com (Matt Bartley) Message-Id: <9606272330.AA03022@madmax.iecorp.com> Subject: usr.bin/tn3270/mset fails if NOOBJDIR To: freebsd-stable@freebsd.org Date: Thu, 27 Jun 1996 16:30:23 -0700 (PDT) X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am running -stable on a machine at work. I don't have nearly enough disk space to store the source code tree on its local disk, let alone compile it, so I NFS mount the directory tree from a bigger system and use NOOBJDIR to keep everything in /usr/src. For a long time I've noticed "make depend" fails when it reaches usr.bin/tn3270/mset as follows: # pwd /usr/src/usr.bin/tn3270 # uname -a FreeBSD xilinx2.iecorp.com 2.1-STABLE FreeBSD 2.1-STABLE #0: Thu Jun 27 12:26:05 PDT 1996 bartleym@xilinx2.iecorp.com:/usr/src/sys/compile/ MYKERNEL i386 # cat /usr/src/.ctm_status src-2.1 129 # echo $NOPROFILE yes # echo $NOOBJDIR yes # make depend ===> tools ===> tools/mkhits [looks normal - deleted] ===> tools/mkastosc [looks normal - deleted] ===> tools/mkastods [looks normal - deleted] ===> tools/mkdstoas [looks normal - deleted] ===> tools/mkdctype [looks normal - deleted] ===> tn3270 [looks normal - deleted] ===> mset cd /usr/src/usr.bin/tn3270/mset/../tools/mkastosc; make /usr/src/usr.bin/tn3270/mset/../tools/mkastosc/obj/mkastosc /usr/src/ usr.bin/tn3270/mset/../ctlr/hostctlr.h /usr/src/usr.bin/tn3270/mset/../ctlr/ function.h < /usr/src/usr.bin/tn3270/mset/../ctlr/unix.kbd > astosc.OUT /usr/src/usr.bin/tn3270/mset/../tools/mkastosc/obj/mkastosc: not found *** Error code 2 Stop. *** Error code 1 Stop. # "Make all" also fails at tn3270/mset. If I first cd into /usr/src/usr.sbin/tn3270 and "make obj", the build will then work normally. Also, when I run "make world", with NOOBJDIR as usual, $(WORLD_CLEANDIST) creates the /usr/obj links anyway, as this clip from "make -n world" shows: xilinx2:/usr/src# make -n world | more echo "--------------------------------------------------------------" echo " Making hierarchy" echo "--------------------------------------------------------------" cd /usr/src/etc && make distrib-dirs echo "--------------------------------------------------------------" echo " Rebuilding /usr/share/mk" echo "--------------------------------------------------------------" cd /usr/src/share/mk && make install echo "--------------------------------------------------------------" echo " Cleaning up the source tree, and rebuilding the obj tree" echo "--------------------------------------------------------------" echo here=`pwd`; dest=/usr/obj`echo $here | sed 's,^/usr/src,,'`; if test -d /usr/ obj -a ! -d $dest; then mkdir -p $dest; else true; fi; cd $dest && rm -rf include lib bin gnu libexec sbin share sys usr.bin usr.sbin lkm find . -name obj | xargs rm -rf make cleandir make obj echo "--------------------------------------------------------------" echo " Rebuilding tools needed to build the includes" echo "--------------------------------------------------------------" [...] Can this fixed? Because of this, I can't simply type "make world" on my way out the door at the end of the day to let it run overnight, or my system will run out of disk space in /usr/obj. The closest I can get is to "make cleandir", then "make obj" in usr.bin/tn3270, then "make depend all install". (Yes, compiling /usr/src over NFS is hard on the ethernet and the NFS server; that's why I want to let it run overnight unattended)