Jail make installworld errors: "Cannot write [...] world not backed up"

qab smith qabulin at gmail.com
Thu Aug 13 05:14:37 PDT 2020


I'm struggling getting started creating jails in a fresh install of 5.8, where make installworld to my jail DESTDIR is throwing a "Cannot write [...] world not backed up" error.  Any clues or tips where to dive into this?  I've never had this issue before with my jails in 5.6.  Perhaps I missed a step?  I'm also not understanding the write location details in the error.
~qab

```
# uname -v DragonFly v5.8.1-RELEASE #8: Tue May  5 22:45:55 EDT 2020 root at www.shiningsilence.com:/usr/obj/home/justin/release/5_8/sys/X86_64_GENERIC
#
# setenv D /var/jails/ajail
# mkdir -p $D
# cd /usr/src/
# make installworld DESTDIR=$D
--------------------------------------------------------------
>>> starting installworld target
--------------------------------------------------------------
/bin/sh: make: not found
Cannot write to /usr/obj/world_backup//var/jails/ajail - world not backed up
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/world_x86_64  OBJTREE=/usr/obj  MACHINE_ARCH=x86_64  MACHINE=x86_64  MACHINE_PLATFORM=pc64  LC_ALL=C  OBJFORMAT_PATH=/usr/obj/usr/src/ctools_x86_64_x86_64  HOST_CCVER=gcc80  CCVER=gcc80  LDVER=ld.gold  BINUTILSVER=binutils227  PATH=/usr/obj/usr/src/ctools_x86_64_x86_64/usr/sbin:/usr/obj/usr/src/ctools_x86_64_x86_64/usr/bin:/usr/obj/usr/src/ctools_x86_64_x86_64/sbin:/usr/obj/usr/src/ctools_x86_64_x86_64/bin:/usr/obj/usr/src/btools_x86_64/usr/sbin:/usr/obj/usr/src/btools_x86_64/usr/bin:/usr/obj/usr/src/btools_x86_64/sbin:/usr/obj/usr/src/btools_x86_64/bin:/usr/local/bin:/usr/pkg/bin make -f Makefile.inc1 -DSYSBUILD reinstall
/bin/sh: make: not found
*** Error code 127

Stop.
make[1]: stopped in /usr/src
.CURDIR='/usr/src'
.OBJDIR='/usr/src'
.TARGETS='installworld'
.ERROR_TARGET='installworld'
.MAKE.LEVEL='1'
.MAKE.MODE=''
PATH='/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/pkg/bin'
LD_LIBRARY_PATH=''
MACHINE_ARCH='x86_64'
MACHINE='x86_64'
MAKEFILE=''
MAKESYSPATH=''
MAKEOBJDIRPREFIX='/usr/obj'
WORLD_ALTCOMPILER='gcc47'
DESTDIR='/var/jails/ajail'
SHELL='/bin/csh'
.SHELL=''
.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /etc/defaults/make.conf /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.cpu.gcc80.mk Makefile.inc1 /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/bsd.own.mk'
.PATH='. /usr/src'
*** Error code 1

Stop.
make: stopped in /usr/src

# touch $D/test.file
# file $D/some.file
/var/jails/ajail/some.file: empty
#
# apropos world_backup
apropos: nothing appropriate
```



More information about the Users mailing list