From owner-freebsd-current@FreeBSD.ORG Sat Aug 9 18:50:14 2014 Return-Path: Delivered-To: freebsd-current@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 E3C9B153; Sat, 9 Aug 2014 18:50:14 +0000 (UTC) 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 A0D102A94; Sat, 9 Aug 2014 18:50:14 +0000 (UTC) Received: from [89.204.153.246] (helo=localhost.my.domain) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1XGBiU-000868-M6; Sat, 09 Aug 2014 20:50:10 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.7/8.14.3) with ESMTP id s79Io9M5001381; Sat, 9 Aug 2014 20:50:09 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.7/8.14.3/Submit) id s79Io8pg001380; Sat, 9 Aug 2014 20:50:09 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 9 Aug 2014 20:50:08 +0200 From: Matthias Apitz To: Bryan Drewery Subject: Re: poudriere: setting up jail failes Message-ID: <20140809185008.GA1337@La-Habana> Reply-To: Matthias Apitz References: <20140808164640.GA14611@sh4-5.1blu.de> <20140808171215.GQ2644@home.opsec.eu> <20140808185713.GA1304@La-Habana> <53E524AC.6040402@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <53E524AC.6040402@FreeBSD.org> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.153.246 Cc: freebsd-current@freebsd.org, 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: Sat, 09 Aug 2014 18:50:15 -0000 El día Friday, August 08, 2014 a las 02:27:40PM -0500, Bryan Drewery escribió: > On 8/8/2014 1:57 PM, Matthias Apitz wrote: > > And, btw., why is poudriere removing all the jail when an error occures? > > Wouldn't it be better to let it there to have a look into and remove it > > on the next run? > > Yes I agree this should probably change. I'll evaluate it after the 3.1 > release which is the major focus right now. The jail command has a lot > of issues with building and error handling. I have updated last night the host to 'head' and poudriere itself to poudriere-devel-3.0.99.20140801. Compiling the ports in the jail makes progress, as always with some hick-ups in the ports itself. I have one fundamental question, maybe a missunderstanding of poudriere: When I run 'poudriere options ...' it is not using the toolchain in the jail: # uname -a FreeBSD vm-tiny-r269739 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r269739: Sat Aug 9 07:07:40 CEST 2014 guru@vm-tiny-r269739:/usr/obj/usr/src/sys/GENERIC i386 $ # poudriere version 3.1-pre # poudriere options -c -j freebsd-head -p ports-head x11/kde4 brings up the Options menu of x11/kde4 and when you look with ps, it uses /usr/local/bin/dialog4ports for this: # ps ax | fgrep dialog 92303 3 I+ 0:00,00 /usr/local/bin/dialog4ports when I terminate the dialog, it seems that the pkg-* tools are used (which ofc are not installed on the host): ===> Setting user-specified options for kde-4.12.5 and dependencies /usr/local/sbin/pkg-static: not found make[1]: "/usr/local/poudriere/ports/ports-head/Mk/bsd.openssl.mk" line 99: warning: Couldn't read shell's output for "/usr/local/sbin/pkg-static which -qo /usr/local/lib/libcrypto.so || :" /usr/local/sbin/pkg-static: not found What I'm doing wrong or have understand wrong? Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign