From owner-freebsd-pkg@FreeBSD.ORG Mon May 19 21:48:28 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 36DB613E; Mon, 19 May 2014 21:48:28 +0000 (UTC) Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5DE162B82; Mon, 19 May 2014 21:48:27 +0000 (UTC) Received: by mail-lb0-f177.google.com with SMTP id s7so4453021lbd.8 for ; Mon, 19 May 2014 14:48:25 -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:cc:content-type; bh=Mf2Z18RkdBXn03Ko8EFArArPYjM7FJeZURmeekz7fG0=; b=yq/3SNdTw0z81hLKaVppC4hohkGWQugQ9/cpSZzxBdzf+Vf5/uXHZLPb2rbt13m3kF 5Xkg3KLEuEe7x3QKPRqg0jPzBuQJkyVQmlrTu36lV3tN2HsrMBcVcBxz259AKTQIGpq7 0HHMVHbilOJJWMFX2n8WMZ6hupSWWySIogI0+zUE3ArKkCtQ3gXT/uk4K9VjlxXCKK40 sV0bPS2qb0vAuRu42VzpqKEd+L4VnsZd4J70DblrpLC18puIqG/YfmLNqy4QwHgVFk7J 66H2fMQrTbK0boyzxx6ZCe8oKpcwyutRNpLAc5lHxqo8i+9gh3XY8t1BMiI8duRjvkP5 o3zA== MIME-Version: 1.0 X-Received: by 10.112.35.202 with SMTP id k10mr27149684lbj.14.1400536105290; Mon, 19 May 2014 14:48:25 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.67.73 with HTTP; Mon, 19 May 2014 14:48:25 -0700 (PDT) In-Reply-To: <537A700D.8080907@freebsd.org> References: <537A700D.8080907@freebsd.org> Date: Mon, 19 May 2014 14:48:25 -0700 X-Google-Sender-Auth: KSENFn8IHfipnylwtx3QL-ig-yI Message-ID: Subject: Re: RFC: poudriere in FreeNAS build From: Craig Rodrigues To: Alfred Perlstein Content-Type: text/plain; charset=ISO-8859-1 Cc: Brooks Davis , Warner Losh , freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2014 21:48:28 -0000 On Mon, May 19, 2014 at 1:56 PM, Alfred Perlstein wrote: > Craig, this looks really great. > > Just wondering, does this preserve the these aspects of the build: > > 1) done in a chroot? Poudriere builds things in a jail, which for our purposes is mostly similar to a chroot. The FreeNAS build system builds the jail first, before invoking poudriere to build the ports inside the jail. > 2) provides an override for local mirror of source tarballs? Yes, we have a variable PORTS_DISTFILES_CACHE which can be overridden to point to a directory which contains a local mirror of source tarballs. At iXsystems, that directory is an NFS mount which is accessible on all build servers. > 3) provides comprehensive logs when a package build fails? Poudriere has very extensive and easy to understand logging for each package which is built. -- Craig