From owner-freebsd-questions@freebsd.org Sat Jul 11 20:01:09 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08F71999B06 for ; Sat, 11 Jul 2015 20:01:09 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-oi0-x22c.google.com (mail-oi0-x22c.google.com [IPv6:2607:f8b0:4003:c06::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C4C1F103A for ; Sat, 11 Jul 2015 20:01:08 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: by oiyy130 with SMTP id y130so231369291oiy.0 for ; Sat, 11 Jul 2015 13:01:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=nCYPCjjYMKuBHioONbwguosqueoaXJwxEh/d8gnjMfU=; b=fJQPvWMsL8D7jEYAOxr20KBpfy3nOGRUI8tZ9bYuMQSInxCZSDpyKB+gmNE4BuJb7T 6QjnG4ibyazWkz66IwIY++8vraQuF9oSJFsvkkTprFPW7/lx3rc/SBb4AIvuC9/qfGQO vIEk0BCfb59OrmCxMN5IkInCRWc38Ao8Ah+u/9jYjImDz4P6yYSpjR2u0Wkfo4eOKKZv fs5OW68rIGEkvBkrVGfGxhbZeSz6SZfXDCpzCPxL0xYKD+kJXTTBwLmBl/eZcg5IETt/ 7wRjOgeYdb0aozLsEvSGvKMeazgnI+dEi86HKOSrJroa6EJ4ItLHKWgDfDB9Lb48WhKf DVJg== MIME-Version: 1.0 X-Received: by 10.202.185.133 with SMTP id j127mr23397172oif.9.1436644867951; Sat, 11 Jul 2015 13:01:07 -0700 (PDT) Sender: vrwmiller@gmail.com Received: by 10.202.8.142 with HTTP; Sat, 11 Jul 2015 13:01:07 -0700 (PDT) Date: Sat, 11 Jul 2015 16:01:07 -0400 X-Google-Sender-Auth: IQzs_LcWydOttJVVOfn5zRnRMg4 Message-ID: Subject: buildworld failing with freebsd-update server From: Rick Miller To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jul 2015 20:01:09 -0000 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