From nobody Thu Jul 29 16:42:29 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 68B3612DF661 for ; Thu, 29 Jul 2021 16:42:31 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [IPv6:2001:470:8d59:1::8]) (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 (2048 bits) client-digest SHA256) (Client CN "mail.protected-networks.net", Issuer "R3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GbGXl1zP3z3Ns9; Thu, 29 Jul 2021 16:42:31 +0000 (UTC) (envelope-from imb@protected-networks.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= protected-networks.net; h=content-transfer-encoding :content-language:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject; s=201508; t=1627576949; bh=448Ov24M eM+KJaQNFKqDQeNpLfPBbC7ssevoSw/PDig=; b=CZhKJDxOYPR/jQU2Q9ayXcvE UIb5Cr4kZXyFldtTXO7bR7PjERz/Svi6zovgqO8jAextTFaQRt0kndB3lTI1oiaY goTtZ0RHumDQ4cVp3K8OFkdI1gZ1Wy4FeOsUhqdNhW9sLaUDlmcrCtWNkfoRemz/ y7SrWKVsvh92RcLlBPc= Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id A0DB41301E; Thu, 29 Jul 2021 12:42:29 -0400 (EDT) Subject: Re: awk behaviour? To: 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> Message-ID: <3274b1b2-13ea-b6fd-19fd-263b3ff7ff50@protected-networks.net> Date: Thu, 29 Jul 2021 12:42:29 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; 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: <20210729120906.685fbb12@bsd64.grem.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-NZ Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GbGXl1zP3z3Ns9 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: imb@protected-networks.net From: Michael Butler via freebsd-current X-Original-From: Michael Butler X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N 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 version >> number. >> > > Could it be, that the pkg binary isn't installed in $LOCALBASE/sbin/pkg, > (whatever LOCALBASE is at that point)? This would make pkg --version > shows its bootstrap message: > > The package management tool is not yet installed on your system. > Do you want to fetch and install it now? [y/N]: > > which could explain the behavior. > > Just speculating... This is consistent with the behaviour I'm now seeing after the most recent patch. In the chroot environment used by a cross-compilation, there is no installed pkg port. When pkg is invoked in the target environment, it now waits on the yes/no response, imb