Bug 288351

Summary: release/Makefile should not use the host /usr/bin/install command, but the freshly built one
Product: Base System Reporter: Wolfram Schneider <wosch>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: In Progress ---    
Severity: Affects Only Me CC: des
Priority: ---    
Version: 15.0-CURRENT   
Hardware: Any   
OS: Any   
URL: https://reviews.freebsd.org/D51443

Description Wolfram Schneider freebsd_committer freebsd_triage 2025-07-20 15:00:06 UTC
Discovered while trying to cross-build `make ftp` on macOS, it seems that we should not use the host's install(1) to make ftp tarballs, but use the freshly built one.

install(1) on macOS is much older than the FreeBSD version and missing some options. It does not work at all. On FreeBSD the host /usr/bin/install will usually work - except after a new required option was added.

This patch solves the problem on macOS
https://reviews.freebsd.org/D51335
Comment 1 Wolfram Schneider freebsd_committer freebsd_triage 2025-07-20 15:02:35 UTC
(In reply to Wolfram Schneider from comment #0)
Sorry, wrong review link, the correct one is https://reviews.freebsd.org/D51443
Comment 2 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2025-07-24 13:32:25 UTC
macOS's install command is not old - you can see the source here:

    https://github.com/apple-oss-distributions/file_cmds/tree/main/install

Presumably, the issue you ran into is that they deliberately disabled the `-N` option, which is used when building release tarballs.
Comment 3 Wolfram Schneider freebsd_committer freebsd_triage 2025-11-11 19:01:10 UTC
(In reply to Dag-Erling Smørgrav from comment #2)

Thanks for the hint to the apple source code. This appears to be the code for macOS 15.x and 26. 

But macOS 14.x looks very old, see 
https://man.freebsd.org/cgi/man.cgi?query=install&manpath=macOS+14.8

Not everybody want or can upgrade to the latest macOS release.