From owner-freebsd-current@FreeBSD.ORG Mon Aug 11 16:22:07 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1E7386DC; Mon, 11 Aug 2014 16:22:07 +0000 (UTC) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E4FEA2052; Mon, 11 Aug 2014 16:22:06 +0000 (UTC) Received: from julian-mbp3.pixel8networks.com (50-196-156-133-static.hfc.comcastbusiness.net [50.196.156.133]) (authenticated bits=0) by vps1.elischer.org (8.14.9/8.14.9) with ESMTP id s7BGLwft028146 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 11 Aug 2014 09:21:59 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <53E8EDA1.2020108@freebsd.org> Date: Tue, 12 Aug 2014 00:21:53 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Bryan Drewery , Matthias Apitz , freebsd-current@freebsd.org Subject: Re: poudriere: setting up jail failes References: <20140808164640.GA14611@sh4-5.1blu.de> <53E51A67.1020904@FreeBSD.org> In-Reply-To: <53E51A67.1020904@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2014 16:22:07 -0000 On 8/9/14, 2:43 AM, Bryan Drewery wrote: > On 8/8/2014 11:46 AM, Matthias Apitz wrote: >> Hello, >> >> I'm setting up a jail with poudriere(8) to compile my ports; after some >> hours it is crashing with: >> >> # poudriere jail -c -j freebsd-head -m svn+http -v head ; date > [...] >> mtree: illegal option -- N >> usage: mtree [-LPUcdeinqruxw] [-f spec] [-f spec] [-K key] [-k key] [-p >> path] [-s seed] >> [-X excludes] >> *** Error code 1 > [...] > >> The host where poudriere is running is: >> >> # uname -a >> FreeBSD vm-tiny-r255948 10.0-ALPHA4 FreeBSD 10.0-ALPHA4 #1: Fri Oct 18 >> 12:10:57 CEST 2013 guru@aurora.Sisis.de:/usr/obj/usr/src/sys/GENERIC >> i386 >> >> i.e. a CURRENT from Oct 2013 (r255948). Does this mean I should update >> the host where poudriere is running before? > Yes. For you it is fixed in stable/10 r257460 (which was in before 10.0 > release) which added -N to mtree. There was a lot of polish at the end > of 10.0 so you should probably upgrade to at least 10.0 either way. > > It could be that older releases building 10 and head for Poudriere may > be an issue still. I'll have to test more. Specifically the call of > 'make distrib-dirs DB_FROM_SRC=1' seemingly not using the itools version > of mtree. > > Also note that running a head jail on a 10.0 system is not really > supported. You may run into many weird issues building packages. It's > supported to have your host be newer than the jails but not the other > way around. > > Regards, > Bryan Drewery I had to do cd /usr/src/{mumble}/mtree; make ; make install before I could upgrade from where I was in the current branch to where I wanted to get the 10 branch. similar for install.