Date: Sat, 11 Jul 2015 16:01:07 -0400 From: Rick Miller <vmiller@hostileadmin.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: buildworld failing with freebsd-update server Message-ID: <CAHzLAVGPUDZXk3kopfzFdTTwwvJQNJL5FvyN85KVAKaX3f%2B7Vg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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? [1] https://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/index.html -- Take care Rick Miller
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHzLAVGPUDZXk3kopfzFdTTwwvJQNJL5FvyN85KVAKaX3f%2B7Vg>