Re: Cross compiling user applications for armv7

From: Sulev-Madis Silber <freebsd-arm-freebsd-org097_at_ketas.si.pri.ee>
Date: Sat, 20 Sep 2025 07:41:46 UTC

On September 20, 2025 9:12:30 AM GMT+03:00, "Michał Kruszewski" <mkru@protonmail.com> wrote:
>When poudriere starts I can see the following message:
>  [00:00:01] Will build as root:wheel (0:0)
>
>However, in the build error I can see:
>=======================<phase: pkg-depends >============================
>===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
>===>   indexinfo-0.3.1_1 depends on file: /usr/local/sbin/pkg - not found
>===>   Installing existing package /packages/All/pkg-2.3.1.pkg
>pkg-static: . wrong user or group ownership (expected 0/0 versus actual 1001/0)
>*** Error code 1
>
>pkg in /usr/local/sbin exists:
>-rwxr-xr-x  1 root wheel  4.0M Aug  9 03:04 pkg
>
>I don't get it why actual is 1001/0 and not 0/0
>
>Regards,
>Michał
>
>

i don't have honest idea. i'm not there. if i were, i'd start looking what is having 1001 instead of 0. perhaps even with find. or if this is temp env, you could just rm it too. maybe someone else has ideas...