From owner-freebsd-questions@freebsd.org Mon Jul 13 18:45:34 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 4E3A999C15B for ; Mon, 13 Jul 2015 18:45:34 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-ob0-x231.google.com (mail-ob0-x231.google.com [IPv6:2607:f8b0:4003:c01::231]) (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 1523CE95 for ; Mon, 13 Jul 2015 18:45:34 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: by obbop1 with SMTP id op1so235040306obb.2 for ; Mon, 13 Jul 2015 11:45:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=1ELtoq3eQdYGvRnOnzJKc5gDWGAgbhjGO0aE5QQshB4=; b=jYn427hNv7OmY8joH1Binj6kDKnKRcEGLxNJyhNzT4e4dWEq7yzaMk04YP8QuhYS15 iinRMnLjkFQrEL+vDBXZMYoUFpD2HJk1a1wOTkR2XQnJ5sfiV7mE2WrPIwxoMIDoKY+0 jAQQgC4Uq9bqmYhJzOkek+7xFUNPFIQA6N6Nma4aVobch8rvwMmEuE+Kw3t7UxMhLVWn Zi/hVFWMoCTNMSNfy3JPMIjW04tPRscYolOdoGGWeUq+xLrdJQy+cGF6swZbOwnlffKY 7BX4IiG9jKpI58Qki/C38oEEtrh/v3oV7EtqGYOEoFoTlxuYxWyhkcxUgEa0tag+oiu3 ZEfQ== MIME-Version: 1.0 X-Received: by 10.60.69.7 with SMTP id a7mr19871060oeu.14.1436813133326; Mon, 13 Jul 2015 11:45:33 -0700 (PDT) Sender: vrwmiller@gmail.com Received: by 10.202.8.142 with HTTP; Mon, 13 Jul 2015 11:45:33 -0700 (PDT) In-Reply-To: References: Date: Mon, 13 Jul 2015 14:45:33 -0400 X-Google-Sender-Auth: B-zPPCfzX4zkcitfKvtmgn4IzV0 Message-ID: Subject: Re: 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: Mon, 13 Jul 2015 18:45:34 -0000 On Sat, Jul 11, 2015 at 4:01 PM, Rick Miller 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