Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2015 14:45:33 -0400
From:      Rick Miller <vmiller@hostileadmin.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: buildworld failing with freebsd-update server
Message-ID:  <CAHzLAVFR3a8JijaRZwWE76xocjnnZAWgMk679C9vyGk97AkgWA@mail.gmail.com>
In-Reply-To: <CAHzLAVGPUDZXk3kopfzFdTTwwvJQNJL5FvyN85KVAKaX3f%2B7Vg@mail.gmail.com>
References:  <CAHzLAVGPUDZXk3kopfzFdTTwwvJQNJL5FvyN85KVAKaX3f%2B7Vg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 11, 2015 at 4:01 PM, Rick Miller <vmiller@hostileadmin.com>
wrote:

> 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 init.sh'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
> RELP=10.0-RELEASE BRANCH_OVERRIDE= TARGET=amd64 TARGET_ARCH=amd64 /bin/sh
> -e: failed"
>
> Both buildworld errors are hyperlinked below:
>
> world0: http://hostileadmin.com/logs/buildworld_world0_error.txt
> world1: http://hostileadmin.com/logs/buildworld_world1_error.txt
>
> 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=http://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/10.0/
>
> # 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
ISO?


-- 
Take care
Rick Miller



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHzLAVFR3a8JijaRZwWE76xocjnnZAWgMk679C9vyGk97AkgWA>