Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2021 12:42:29 -0400
From:      Michael Butler via freebsd-current <freebsd-current@freebsd.org>
To:        Michael Gmelin <freebsd@grem.de>, Ed Maste <emaste@freebsd.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: awk behaviour?
Message-ID:  <3274b1b2-13ea-b6fd-19fd-263b3ff7ff50@protected-networks.net>
In-Reply-To: <20210729120906.685fbb12@bsd64.grem.de>
References:  <8e1a8e3c-b062-7749-ceab-e500c1ab758e@protected-networks.net> <CANCZdfp1nTx0%2B4ZKWYOPN9WtBzDPHYRnzLL58=Ni7giwFQFmfw@mail.gmail.com> <04456969-bee0-8b22-4e81-a3201824d852@protected-networks.net> <CAPyFy2AhJuL7d4rCp2-np7Vt95-RqYD0Ot2bx06EQ_czcoV7Rg@mail.gmail.com> <20210729120906.685fbb12@bsd64.grem.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/29/21 6:09 AM, Michael Gmelin wrote:
> 
> 
> On Wed, 28 Jul 2021 16:02:30 -0400
> Ed Maste <emaste@freebsd.org> wrote:
> 
>> On Wed, 28 Jul 2021 at 15:15, Michael Butler via freebsd-current
>> <freebsd-current@freebsd.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3274b1b2-13ea-b6fd-19fd-263b3ff7ff50>