From owner-freebsd-toolchain@freebsd.org Wed Aug 16 00:15:52 2017 Return-Path: Delivered-To: freebsd-toolchain@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 EC0F9DD788D for ; Wed, 16 Aug 2017 00:15:52 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AEA61661A6; Wed, 16 Aug 2017 00:15:52 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id C73281579E; Wed, 16 Aug 2017 00:15:51 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 061C97987; Wed, 16 Aug 2017 00:15:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id 2wWsSqT2Dtnb; Wed, 16 Aug 2017 00:15:46 +0000 (UTC) Subject: Re: poudriere jail -m null -v head vs. at least one port: the "-v head" is not just for "display" DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 2CE387981 To: Mark Millard , FreeBSD Toolchain References: From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: Date: Tue, 15 Aug 2017 17:15:47 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Uqq2hM6xAmQCaMrXstdf5wq8IqBARJalj" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Aug 2017 00:15:53 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Uqq2hM6xAmQCaMrXstdf5wq8IqBARJalj Content-Type: multipart/mixed; boundary="oa99xVc2WpQJrjTbN92TxQJ4Pi0Jn0hpX"; protected-headers="v1" From: Bryan Drewery To: Mark Millard , FreeBSD Toolchain Message-ID: Subject: Re: poudriere jail -m null -v head vs. at least one port: the "-v head" is not just for "display" References: In-Reply-To: --oa99xVc2WpQJrjTbN92TxQJ4Pi0Jn0hpX Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 8/15/2017 12:16 AM, Mark Millard wrote: > From man poudriere : >=20 > jail > These subcommands are mutually exclusive. > . . . > -v version Specifies which version of FreeBSD to use in the jail= =2E If > you are using method ftp then the version should in t= he form > of: 9.0-RELEASE. If you are using method of svn then= the > version should be in the form of git or svn branches:= > stable/9 or head for CURRENT. Other methods only use= the > value for display. >=20 > Note the last sentence. >=20 > (Side note: despite that sentence poudriere fails if no -v version > is supplied in the poudriere jail command: the version file ends up > missing.) >=20 > Based on the description I tried: >=20 > poudriere jail -c -j zrFBSDx64Cjail -m null -M /usr/obj/DESTDIRs/clang-= amd64-installworld-dist -S /usr/src -v head > poudriere ports -c -m null -M /usr/ports > /usr/bin/nohup poudriere bulk -j zrFBSDx64Cjail -f /root/amd64-prelim-o= rigins.txt -w & 'poudriere jail -c' tries to use SRCDIR/sys/conf/newvers.sh to determine the revision/RELEASE of the checkout. In this case since you specified -S of /usr/src then it should try to use that for getting the revision information. I do need to fix a few bugs here. Documenting that null/tar have a specific format requirement (same as ftp). And it needs to be better about using the provided /usr/src or erroring if none if found or if the format is not correct. Thanks, will fix it all. --=20 Regards, Bryan Drewery --oa99xVc2WpQJrjTbN92TxQJ4Pi0Jn0hpX-- --Uqq2hM6xAmQCaMrXstdf5wq8IqBARJalj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJZk46zAAoJEDXXcbtuRpfPoTgH/1tZH/0rl7w2yjRh44o2tE4O ++QJKBSsbqiEXyNgoDIRBzdMDhgkVG7w6AKHqVhJlFVUEXxYDNFiTiARyvdVA8pP pU/nr6p9GqPtNQnXNdRWWQESPTd6aRDGPyAshDbNgtfc5KKfmMlyXfiS37Xq6PT9 MaT8/fLCAITfs7zyQB0Aivgv3G8JG0HLCDq1yh5XBHBXtpcL/PAuYmeu4DfyR0aN CF2z9geErZ5S6Bg58kWzCA1FXKtUTmsaqZJsvjbMDGtrSIoVgpmRQY/dqGtVnLUt E7PGSfRbPpwV35MDaPzXK8e8HQN6CruP1Ycf5jM+Iwox9jAjgbEVUerKB+TVYRQ= =9K5R -----END PGP SIGNATURE----- --Uqq2hM6xAmQCaMrXstdf5wq8IqBARJalj--