From owner-freebsd-current@freebsd.org Tue Jun 14 16:22:33 2016 Return-Path: Delivered-To: freebsd-current@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 13C09B6AC55 for ; Tue, 14 Jun 2016 16:22:33 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id EB6AA2141; Tue, 14 Jun 2016 16:22:32 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id DF6AA1354; Tue, 14 Jun 2016 16:22:32 +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 A8D771DCA3; Tue, 14 Jun 2016 16:22:32 +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 8_iDHHiatWKM; Tue, 14 Jun 2016 16:22:30 +0000 (UTC) Subject: Re: WITH_META_MODE vs. delete-old and delete-old-libs DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com C40941DC9C To: Mark Millard References: <31063879-DF43-4895-A9EA-99A70DCFE4A1@dsl-only.net> Cc: FreeBSD Current From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <2010672e-0aee-ea30-2010-66c2b2a6a0a7@FreeBSD.org> Date: Tue, 14 Jun 2016 09:22:30 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wAOl3B9mG3Dig0mx0FUBMkuDfnAhgl15u" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 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: Tue, 14 Jun 2016 16:22:33 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wAOl3B9mG3Dig0mx0FUBMkuDfnAhgl15u Content-Type: multipart/mixed; boundary="jsgwS142wqh3Tu1LahnSqaFJdL8v10xt8" From: Bryan Drewery To: Mark Millard Cc: FreeBSD Current Message-ID: <2010672e-0aee-ea30-2010-66c2b2a6a0a7@FreeBSD.org> Subject: Re: WITH_META_MODE vs. delete-old and delete-old-libs References: <31063879-DF43-4895-A9EA-99A70DCFE4A1@dsl-only.net> In-Reply-To: --jsgwS142wqh3Tu1LahnSqaFJdL8v10xt8 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 6/13/2016 2:52 PM, Bryan Drewery wrote: > On 6/13/2016 2:51 PM, Ngie Cooper wrote: >> On Mon, Jun 13, 2016 at 2:12 PM, Mark Millard wr= ote: >>> I've been using the following script to run my make commands for amd6= 4 builds (as an example): >>> >>>> # more ~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang_boots= trap-amd64-host.sh >>>> kldload -n filemon && \ >>>> script ~/sys_typescripts/typescript_make_amd64_nodebug_clang_bootstr= ap-amd64-host-$(date +%Y-%m-%d:%H:%M:%S) \ >>>> env __MAKE_CONF=3D"/root/src.configs/make.conf" SRC_ENV_CONF=3D"/roo= t/src.configs/src.conf.amd64-clang-bootstrap.amd64-host" \ >>>> WITH_META_MODE=3Dyes \ >>>> MAKEOBJDIRPREFIX=3D"/usr/obj/clang/amd64.amd64" \ >>>> make $* >>> >>> When the WITH_META_MODE=3Dyes is present (as shown) delete-old and de= lete-old-libs command line arguments to the script do not display the pro= mpts but the process does wait for the y/n answers. I've actually used to= p in another window to see what it is waiting for an answer to. After I'v= e answered all the questions then the list of prompts finally is shown al= l at once. >>> >>> Without WITH_META_MODE=3D each prompt text is displayed before it wai= ts for the answer to that prompt. >>> >>> >>> This sort of fits in with my earlier questions about make usage that = is in the likes of, say, mergemaster and if/where care about WITH_META_MO= DE=3Dyes use vs. disuse might be important for such. For example: Should = "env WITH_META_MODE=3Dyes" be used with mergemaster if it was used with b= uildworld, buildkernel, installkernel, and installworld? >> >> I generally do: >> >> yes | sudo make delete-old >> >=20 > The problem is that the y/n prompt don't show at all. >=20 >=20 This is fixed after r301887. --=20 Regards, Bryan Drewery --jsgwS142wqh3Tu1LahnSqaFJdL8v10xt8-- --wAOl3B9mG3Dig0mx0FUBMkuDfnAhgl15u 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 iQEcBAEBAgAGBQJXYC9GAAoJEDXXcbtuRpfPWA0IAIvOJAZ+0YPEFNBQjz1vJGHY 0eYsUGWFcEm5sV75r7n8hF79bCSn2I4oqJWlpRDMR5Oyh3B/2ui7HoUNYKRu9IVl 8KsaM/ruhq0TJGfov62A7KP4w0GBN8aY8KQB6Nd5jj/Ee5n6MEo1b8zhxx8yVJ1c A4OO/kwI9wYvqMyrB1EnYrH83fCG17n98hl2n9pHMB9PydqGjCrk0a3J0TRqeqYF p2MO2T4KP0sftluu6+m/S+n+HnqVKb8/wAhNt2E2f8QM4IREqkQ+7ormmxxybPZr Ad6l84sZ9+BQPBw4Vuad5MP8r3NZLqMUbrsAVllxAuviYpbS0nrQD0iKWkmAtr4= =J610 -----END PGP SIGNATURE----- --wAOl3B9mG3Dig0mx0FUBMkuDfnAhgl15u--