buildworld failing with freebsd-update server

Rick Miller vmiller at
Mon Jul 13 18:45:34 UTC 2015

On Sat, Jul 11, 2015 at 4:01 PM, Rick Miller <vmiller at>

> 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
> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
> -e: failed"
> Both buildworld errors are hyperlinked below:
> world0:
> world1:
> 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?

The jail error in STDOUT has been confirmed to be a result of make's stop
error hyperlinked to in the above thread.  This error is occurring with the
stock FreeBSD-10.0-RELEASE-amd64-disc1.iso.  Is there a problem with the

Take care
Rick Miller

More information about the freebsd-questions mailing list