Re: Cross compiling user applications for armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Sep 2025 15:28:03 UTC
MichaĆ_Kruszewski <mkru_at_protonmail.com> wrote on Date: Tue, 23 Sep 2025 08:36:25 UTC : > Interesting, on my machine FreeBSD 14.3 the following: > make NO_ROOT=YES installworld -j 11 > fails because of some permission denies. > Nevertheless, it is a minor issue, compared to all the other stuff. Just trying to avoid a likely misleading confusion based on the above wording . . . The above is missing essential sequencing information: the make command succeeds but later use of the install is rejected by pkg for violating its checks on file ownership/permission requirements. pkg was in uses via poudreire(-devel) that had null mounted the installed world. The messages from pkg-static that were reported are: pkg-static: . wrong user or group ownership (expected 0/0 versus actual 1001/1001) in the intial report but the later reports showed that pkg-static was reporting: pkg-static: . wrong user or group ownership (expected 0/0 versus actual 1001/0) Warner replicated the issue with pkg (directly used). He found that he could avoid the issue with: pkg -o INSTALL_AS_USER=yes involved but that INSTALL_AS_USER use did not work when set as an environment variable, despite how "man pkg" reads. If you care, see Warner's note: https://lists.freebsd.org/archives/freebsd-arm/2025-September/005227.html As far as I can tell looking at the code, poudriere has no support for any form of use of INSTALL_AS_USER for its use of pkg-static and pkg commands. poudrere-devel's documentation makes no reference to INSTALL_AS_USER . === Mark Millard marklmi at yahoo.com