Date: Thu, 27 Jun 1996 16:30:23 -0700 (PDT) From: bartleym@iecorp.com (Matt Bartley) To: freebsd-stable@freebsd.org Subject: usr.bin/tn3270/mset fails if NOOBJDIR Message-ID: <9606272330.AA03022@madmax.iecorp.com>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9606272330.AA03022>