Re: Cross compiling user applications for armv7

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On Sep 20, 2025, at 10:10, Michał Kruszewski <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.