From owner-freebsd-toolchain@freebsd.org Tue Aug 29 21:38: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 68F71DE6562 for ; Tue, 29 Aug 2017 21:38: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 3ABAC721A0; Tue, 29 Aug 2017 21:38: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 6DBD1155F3; Tue, 29 Aug 2017 21:38: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 408CD8258; Tue, 29 Aug 2017 21:38:50 +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 ShtCS_KKd27o; Tue, 29 Aug 2017 21:38:46 +0000 (UTC) Subject: Re: poudriere's -x (build_native_tools) vs. use of "-m null" : how to enable it DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 140CE8243 To: Mark Millard , FreeBSD Toolchain References: <9B2F4539-AAA9-45EB-AC92-F47E9CAA21FF@dsl-only.net> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: Date: Tue, 29 Aug 2017 14:38:29 -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: <9B2F4539-AAA9-45EB-AC92-F47E9CAA21FF@dsl-only.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IO4lchBjrFOB53hU0vRvDemFHwDOeM2k9" 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: Tue, 29 Aug 2017 21:38:52 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --IO4lchBjrFOB53hU0vRvDemFHwDOeM2k9 Content-Type: multipart/mixed; boundary="I2i0DfPD8jxO6Bn86WaXh7rnNTPlceh1a"; protected-headers="v1" From: Bryan Drewery To: Mark Millard , FreeBSD Toolchain Message-ID: Subject: Re: poudriere's -x (build_native_tools) vs. use of "-m null" : how to enable it References: <9B2F4539-AAA9-45EB-AC92-F47E9CAA21FF@dsl-only.net> In-Reply-To: <9B2F4539-AAA9-45EB-AC92-F47E9CAA21FF@dsl-only.net> --I2i0DfPD8jxO6Bn86WaXh7rnNTPlceh1a Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 8/29/2017 2:35 PM, Mark Millard wrote: > In a command command such as: >=20 > poudriere jail -c -j zrFBSDx64SLppc64 -a powerpc.powerpc64 -x -m null -= M /usr/obj/DESTDIRs/clang-powerpc64-altbinutils-installworld-dist-from-sr= c -S /usr/src/ -v 11.1-STABLE >=20 > the -x is silently ignored. I added the "build_native_xtools" into > the /usr/local/share/poudriere/jail.sh code to have it contain: I consider '-m null' to be a read-only operation on the provided path. Poudriere did not build it, so I would rather not force a build procedure on it for native-xtools either. On the otherhand, if we store the native-xtools files outside of the jail path then it will not be a problem. >=20 > null) > JAILFS=3Dnone > FCT=3Dbuild_native_xtools > ;; >=20 > in order to avoid this. >=20 > A similar "jail -c" for "-j zrFBSDx64SLarmv7 -a arm.armv6" (and > -M /usr/obj/DESTDIRs/clang-armv7-installworld-dist-from-src=20 > in my context) and the later bulk build for it seems to be > working fine for building lang/gcc7 (as a test). So far: >=20 > [00:00:16] [01] [00:00:00] Building ports-mgmt/pkg | pkg-1.10.1 > [00:01:02] [01] [00:00:46] Finished ports-mgmt/pkg | pkg-1.10.1: Succes= s > [00:01:03] [01] [00:00:00] Building print/indexinfo | indexinfo-0.2.6 > [00:01:03] [02] [00:00:00] Building lang/perl5.24 | perl5-5.24.2 > [00:01:06] [01] [00:00:03] Finished print/indexinfo | indexinfo-0.2.6: = Success > [00:01:06] [01] [00:00:00] Building devel/gettext-runtime | gettext-run= time-0.19.8.1_1 > [00:01:35] [01] [00:00:29] Finished devel/gettext-runtime | gettext-run= time-0.19.8.1_1: Success > [00:01:35] [01] [00:00:00] Building devel/gettext-tools | gettext-tools= -0.19.8.1 > ^C[00:03:18] Error: Signal SIGINT caught, cleaning up and exiting > [00:03:18] Cleaning up >=20 > [00:00:10] [01] [00:00:00] Building devel/gettext-tools | gettext-tools= -0.19.8.1 > [00:00:10] [02] [00:00:00] Building lang/perl5.24 | perl5-5.24.2 > [00:02:12] [01] [00:02:02] Finished devel/gettext-tools | gettext-tools= -0.19.8.1: Success > [00:02:13] [01] [00:00:00] Building devel/gmake | gmake-4.2.1_1 > [00:02:54] [01] [00:00:41] Finished devel/gmake | gmake-4.2.1_1: Succes= s > [00:12:44] [02] [00:12:34] Finished lang/perl5.24 | perl5-5.24.2: Succe= ss > [00:12:44] [01] [00:00:00] Building devel/p5-Locale-gettext | p5-Locale= -gettext-1.07 > [00:13:13] [01] [00:00:29] Finished devel/p5-Locale-gettext | p5-Locale= -gettext-1.07: Success > [00:13:14] [01] [00:00:00] Building misc/help2man | help2man-1.47.4 > [00:13:37] [01] [00:00:23] Finished misc/help2man | help2man-1.47.4: Su= ccess > [00:13:37] [01] [00:00:00] Building print/texinfo | texinfo-6.4_1,1 > ^C[00:14:43] Error: Signal SIGINT caught, cleaning up and exiting > [00:14:43] Cleaning up >=20 > [00:00:17] [01] [00:00:00] Building print/texinfo | texinfo-6.4_1,1 > [00:03:03] [01] [00:02:46] Finished print/texinfo | texinfo-6.4_1,1: Su= ccess > [00:03:03] [01] [00:00:00] Building math/gmp | gmp-6.1.2 > [00:03:03] [02] [00:00:00] Building devel/m4 | m4-1.4.18,1 > [00:04:02] [02] [00:00:59] Finished devel/m4 | m4-1.4.18,1: Success > [00:04:03] [02] [00:00:00] Building devel/bison | bison-3.0.4,1 > [00:04:28] [01] [00:01:25] Finished math/gmp | gmp-6.1.2: Success > [00:04:28] [01] [00:00:00] Building math/mpfr | mpfr-3.1.5_1 > [00:04:45] [02] [00:00:42] Finished devel/bison | bison-3.0.4,1: Succes= s > [00:04:48] [01] [00:00:20] Finished math/mpfr | mpfr-3.1.5_1: Success > [00:04:48] [01] [00:00:00] Building devel/binutils | binutils-2.28,1 > [00:04:48] [02] [00:00:00] Building math/mpc | mpc-1.0.3 > [00:05:00] [02] [00:00:12] Finished math/mpc | mpc-1.0.3: Success > [00:20:29] [01] [00:15:41] Finished devel/binutils | binutils-2.28,1: S= uccess > [00:20:30] [01] [00:00:00] Building lang/gcc7 | gcc7-7.2.0 >=20 > So I expect that the change is appropriate. >=20 >=20 > [Unfortunately qemu-ppc64-static seems to not work: > the qemu-ppc64-static process just sits and eats CPU time > with increasing SIZE when qemu-ppc64-static is put to use > via poudriere. This blocks progress.] >=20 > =3D=3D=3D > Mark Millard > markmi at dsl-only.net >=20 --=20 Regards, Bryan Drewery --I2i0DfPD8jxO6Bn86WaXh7rnNTPlceh1a-- --IO4lchBjrFOB53hU0vRvDemFHwDOeM2k9 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 iQEcBAEBAgAGBQJZpd7VAAoJEDXXcbtuRpfP8hkIAKH9MlR299qHCxjiL2uty3h/ NZIvZaLn16w77WPRGNVoSRIJJFEMEvFYcXh/o73Scz3+dvpn4SzmtulHvR/IZDZB 7kgG8z0Y5iWKOHXBePY8OYy/zIKMS317RCSuOPK74QY4RL6tEeVMQM2eQ0fE/GNL kZ90UvwtwUSpB/21GrqQ9kEguPVmI2GWPl8WDdTzbSuPz/us0kv7XPtOoNFoPrRD WlIdRgYzBpVPHqO8ZIpZtQF16nD24TfiksvGsTlpyJoJ2JSXJy7BuVQfO7OUurmz oxkmiP6ZazJOGfbVJUw8ovTIFdy+pwOJRJnYxey69qFOfJlUHAvvfVAfiJJDACY= =89U1 -----END PGP SIGNATURE----- --IO4lchBjrFOB53hU0vRvDemFHwDOeM2k9--