Re: Cross compiling user applications for armv7

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sat, 20 Sep 2025 17:56:38 UTC
On Sep 20, 2025, at 10:10, Michał Kruszewski <mkru@protonmail.com> wrote:

> Basiclly everything has 1001/0.
> Maybe because I install world and kernel with NO_ROOT=YES?

Seems likely.

> However, in such a case, why the following poudriere config does not work:
> BUILD_AS_NON_ROOT=YES
> PORTBUILD_USER=mkru
> PORTBUILD_GROUP=wheel
> PORTBUILD_UID=1001
> PORTBUILD_GID=0

poudriere(-devel) is not what is producing the error
message or rejecting what you have. The pkg command
is what is doing so and poudriere is just respecting
that pkg indicated a failure.

It looks like pkg is imposing ownership security to
limit access to just root/wheel only --without
poudriere(-devel) knowing that.

I do not run into such because I do such activities
as root in the first place. (Just me, with a small
local network that does not provide external
services and has a very limited range of activity on
the FreeBSD systems.)

===
Mark Millard
marklmi at yahoo.com