From owner-freebsd-ports@freebsd.org Wed Dec 30 07:17:04 2015 Return-Path: Delivered-To: freebsd-ports@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 51709A541B4 for ; Wed, 30 Dec 2015 07:17:04 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 198831538 for ; Wed, 30 Dec 2015 07:17:03 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.15.238.143] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1aEB0A-00052G-A0 for freebsd-ports@freebsd.org; Wed, 30 Dec 2015 08:16:54 +0100 Received: from localhost.my.domain (c720-r285885-amd64 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id tBU7GoFp002262 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 30 Dec 2015 08:16:50 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id tBU7GmQS002261 for freebsd-ports@freebsd.org; Wed, 30 Dec 2015 08:16:48 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Wed, 30 Dec 2015 08:16:48 +0100 From: Matthias Apitz To: freebsd-ports@freebsd.org Subject: running poudriere jail -c ... and poudriere ports -c ... in parallel Message-ID: <20151230071648.GA2191@c720-r285885-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 11.0-CURRENT r285885 (amd64) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.15.238.143 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2015 07:17:04 -0000 Hello, Last night I was creating a new jail and ports with poudriere this way: # poudriere jail -c -j freebsd-r292778 -m svn+http -v head@r292778 # poudriere ports -c -p ports-20151229 -m svn+http -B head the latter in parallel from another session because the creation of the jail took some hours (4:28h on my Dell M4400); when I wanted to start the jail this morning the usual way, it says: # poudriere bulk -f /usr/local/etc/poudriere-list -J 4 -j freebsd-r292778 -p ports-20151229 [00:00:00] ====>> Creating the reference jail... done [00:00:19] ====>> Mounting system devices for freebsd-r292778-ports-20151229 [00:00:19] ====>> Mounting ports/packages/distfiles [00:00:19] ====>> Using packages from previously failed build [00:00:19] ====>> Mounting packages from: /usr/local/poudriere/data/packages/freebsd-r292778-ports-20151229 /etc/resolv.conf -> /usr/local/poudriere/data/.m/freebsd-r292778-ports-20151229/ref/etc/resolv.conf [00:00:19] ====>> Starting jail freebsd-r292778-ports-20151229 make: cannot open /usr/ports/Mk/bsd.port.mk. [00:00:19] ====>> Cleaning up [00:00:19] ====>> Umounting file systems I looked into this and it turned out that the dir /usr/local/poudriere/ports/ports-20151229 does not contain a checked out ports tree, but something which looks a the base system (I forgot to make a 'svnlite info' there). What does this mean? Is it somehow not allowed to run the both commands in parallel? I could not see any hint about this in the man page. matthias -- Matthias Apitz, ✉ guru@unixarea.de, 🌐 http://www.unixarea.de/ ☎ +49-176-38902045