Solved make installworld DESTDIR=... failing with 'crt1.o: No such file or directory'

I'm trying to learn about jails. Specifically, I'm trying to create a jail template, as per "15.5 Updating Multiple Jails".

I've made my location in ZFS, run make installworld DESTDIR=/zfs/jails/.template and it bails with the output below.

For what it is worth:
  • I've tried make clean, which spooled a lot of stuff, but did not make a difference.
  • uname -a returns
    Code:
    FreeBSD host.local 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014  root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
  • I ran freebsd-update fetch install this morning.
  • My /tmp path is mounted with exec, specifically zfs set exec=on tank/system/tmp -- I already had to do this to resolve an earlier error.
What might be the problem?
How do I start trying to debug this?

Apologies that I am particularly vague -- I'm somewhat new to FreeBSD (if it wasn't blindingly obvious).

Code:
--------------------------------------------------------------
>>> Installing everything
--------------------------------------------------------------
cd /usr/src; make -f Makefile.inc1 install
cc: not found
make[3]: "/usr/src/share/mk/bsd.own.mk" line 426: warning: "cc --version" returned non-zero status
cc: not found
make[4]: "/usr/src/share/mk/bsd.own.mk" line 426: warning: "cc --version" returned non-zero status
cc: not found
make[4]: "/usr/src/share/mk/bsd.own.mk" line 426: warning: "cc --version" returned non-zero status
===> share/info (install)
cc: not found
make[4]: "/usr/src/share/mk/bsd.own.mk" line 426: warning: "cc --version" returned non-zero status
===> lib (install)
cc: not found
make[4]: "/usr/src/share/mk/bsd.own.mk" line 426: warning: "cc --version" returned non-zero status
===> lib/csu/amd64 (install)
cc: not found
make[5]: "/usr/src/share/mk/bsd.own.mk" line 426: warning: "cc --version" returned non-zero status
install -o root -g wheel -m 444  crt1.o crti.o crtn.o Scrt1.o gcrt1.o /zfs/jails/.template/usr/lib
install: crt1.o: No such file or directory
*** Error code 71

Stop.
make[5]: stopped in /usr/src/lib/csu/amd64
*** Error code 1

Stop.
make[4]: stopped in /usr/src/lib
*** Error code 1

Stop.
make[3]: stopped in /usr/src
*** Error code 1

Stop.
make[2]: stopped in /usr/src
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src
 
HAH!!

Thanks so much for your post on this, jimbob! Your deep insights and, what is obviously a total mastery of FreeBSD humbles me, when I too, was faced with the *_exact_* same perplexity. I was awash with the same feeling that I had as before, when hunting for my pencil for decaminutes only to find it later behind my ear.

I'll rationalize it as having too many dumbugers for lunch.

Geesh, thanks for taking me down a notch - I was getting too arrogant, it seems.

I hope that I'm not coming across as sarcastic, but it's like you said: "Who knew?"


...


Apparently,.............not I :)





.eot
 
Back
Top