buildworld failing with freebsd-update server

Rick Miller vmiller at
Sat Jul 11 20:01:09 UTC 2015

Hi all,

I'm attempting to build a freebsd-update distribution based on the
instructions for building a FreeBSD Update Server[1], but buildworld is
failing during buildworld world0 and world1.  The distribution being built
is amd64 10.0-RELEASE on an amd64 10.0-RELEASE-p18 node.

Signs of trouble first appears in's STDOUT while executing
buildworld() world0.  It errors citing the following error with no further
detail.  If the command is executed manually substituting valid values for
the variables, it outputs the jail command usage implying incorrect syntax.

"jail: /usr/bin/env -i
-e: failed"

Both buildworld errors are hyperlinked below:


The amd64 10.0-RELEASE build.conf is:

/*** begin build.conf ***/
# cat build.conf
# SHA256 hash of disc1.iso image.
export RELH=9c377b4a4e63443c0b210080694de26133e6a276eddb07c7e00e1c9aebd84109
export FTP=

# Components of the world, source, and kernels
export WORLDPARTS="base doc"
export SOURCEPARTS="src"
export KERNELPARTS="kernel"

# EOL date
export EOL=1484870400
/*** end build.conf ***/

It's unclear if the fatal error is the jail error or the buildworld errors
or a combination of the two, but the jail error seemingly implies
buildworld is occurring in /usr/src outside of the jail and may be the main
cause of the failures.  Does this sound reasonable?  Does anyone have any
guidance to debug this scenario?


Take care
Rick Miller

More information about the freebsd-questions mailing list