From nobody Thu Jul 29 17:38:25 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AD0BF12B1B4F for ; Thu, 29 Jul 2021 17:38:27 +0000 (UTC) (envelope-from se@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GbHnH46zmz3p8n; Thu, 29 Jul 2021 17:38:27 +0000 (UTC) (envelope-from se@freebsd.org) Received: from Stefans-MBP-449.fritz.box (p200300cd5f2742001d65c9b40f93eff9.dip0.t-ipconnect.de [IPv6:2003:cd:5f27:4200:1d65:c9b4:f93:eff9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id D1AFF20DE7; Thu, 29 Jul 2021 17:38:26 +0000 (UTC) (envelope-from se@freebsd.org) To: imb@protected-networks.net, Michael Gmelin , Ed Maste Cc: freebsd-current References: <8e1a8e3c-b062-7749-ceab-e500c1ab758e@protected-networks.net> <04456969-bee0-8b22-4e81-a3201824d852@protected-networks.net> <20210729120906.685fbb12@bsd64.grem.de> <3274b1b2-13ea-b6fd-19fd-263b3ff7ff50@protected-networks.net> From: Stefan Esser Subject: Re: awk behaviour? Message-ID: <9460a45c-b5e0-0094-d46b-2ac93cad5885@freebsd.org> Date: Thu, 29 Jul 2021 19:38:25 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 In-Reply-To: <3274b1b2-13ea-b6fd-19fd-263b3ff7ff50@protected-networks.net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="dQdjeRQ47EDGZ1IgqtEaqTSB6zf14hGrS" X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dQdjeRQ47EDGZ1IgqtEaqTSB6zf14hGrS Content-Type: multipart/mixed; boundary="rkZKM0WK0fyP5LqnRPGYYgnva1EQcXk2j"; protected-headers="v1" From: Stefan Esser To: imb@protected-networks.net, Michael Gmelin , Ed Maste Cc: freebsd-current Message-ID: <9460a45c-b5e0-0094-d46b-2ac93cad5885@freebsd.org> Subject: Re: awk behaviour? References: <8e1a8e3c-b062-7749-ceab-e500c1ab758e@protected-networks.net> <04456969-bee0-8b22-4e81-a3201824d852@protected-networks.net> <20210729120906.685fbb12@bsd64.grem.de> <3274b1b2-13ea-b6fd-19fd-263b3ff7ff50@protected-networks.net> In-Reply-To: <3274b1b2-13ea-b6fd-19fd-263b3ff7ff50@protected-networks.net> --rkZKM0WK0fyP5LqnRPGYYgnva1EQcXk2j Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Am 29.07.21 um 18:42 schrieb Michael Butler via freebsd-current: > On 7/29/21 6:09 AM, Michael Gmelin wrote: >> >> >> On Wed, 28 Jul 2021 16:02:30 -0400 >> Ed Maste wrote: >> >>> On Wed, 28 Jul 2021 at 15:15, Michael Butler via freebsd-current >>> wrote: >>>> >>>> What prompted the question was my (obviously poor) attempt to debug >>>> and resolve this failure when attempting to build a release for >>>> i386 on an amd64 .. >>> >>> This will be due to my 4e224e4be7c3. I'm not sure exactly what's >>> happening yet, but I can provoke this behaviour if `${PKG_CMD} >>> --version` outputs something other than a single line with the versio= n >>> number. >>> >> >> Could it be, that the pkg binary isn't installed in $LOCALBASE/sbin/pk= g, >> (whatever LOCALBASE is at that point)? This would make pkg --version >> shows its bootstrap message: >> >> =C2=A0=C2=A0 The package management tool is not yet installed on your = system. >> =C2=A0=C2=A0 Do you want to fetch and install it now? [y/N]: >> >> which could explain the behavior. >> >> Just speculating... >=20 > This is consistent with the behaviour I'm now seeing after the most rec= ent patch. >=20 > In the chroot environment used by a cross-compilation, there is no inst= alled > pkg port. When pkg is invoked in the target environment, it now waits o= n the > yes/no response, Passing "ASSUME_ALWAYS_YES=3Dyes" in the environment should cause the installation to proceed without a wait for user input. Regards, STefan --rkZKM0WK0fyP5LqnRPGYYgnva1EQcXk2j-- --dQdjeRQ47EDGZ1IgqtEaqTSB6zf14hGrS Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmEC55EFAwAAAAAACgkQR+u171r99UTp iggAmazbTVJyz2MmHtZjN7Fxg1P1JTS/XIIVmak8N1cSvH4nNc1rZr2jcHtPA5iUcRTWVHa1dGWP XavVyu6P+jMqcuaxCgEwKDNvNSEo6torUt2pmKFJvGn4wOUoTTUyQHa0ozU63XRUDZlBchS5vz4P 1va95M2ur57TJDrPF1z9jhVEMWccBo3oexoXr1UJF+L74yeh4PQab+KIQDWho3tfrClksMviQrNB kSTjmPRUfTbeZPO67VtbyVct6p+pSfi3/mmLj3TR6VSoFJ2IFs0kCJ5m2mxi45eAngGNhOpQ5WDa yxRrV3IGyR/nmWEPM0KgDYbX2ZwULFp+C7zmoFSXMQ== =srnL -----END PGP SIGNATURE----- --dQdjeRQ47EDGZ1IgqtEaqTSB6zf14hGrS--