Re: Cross compiling user applications for armv7

From: Michał_Kruszewski <mkru_at_protonmail.com>
Date: Sat, 20 Sep 2025 15:39:36 UTC
I believe I have tried all possible combinations of BUILD_AS_NON_ROOT, PORTBUILD_USER, PORTBUILD_GROUP, PORTBUILD_UID, PORTBUILD_GID.
All of them fail with the same message:
  pkg-static: . wrong user or group ownership (expected 0/0 versus actual 1001/0)
The configuration does not even change the error message.
The actual is always 1001/0.
Even though, poudriere bulk info differs.
For example, this is my current poudriere.conf: https://pastebin.com/cE7afZuP
The poudriere message is:
  [00:00:01] Will build as nobody:nobody (65534:65534)
I don't understand why, because BUILD_AS_NON_ROOT is set to NO.
I guess it should build as root.

Mark, can you send my your poudriere.conf that successfully compiles some packages?

Regards,
Michał