* On 2024-02-28 at 20:07 GMT, Jonathan Perkin wrote:
(ironically, macOS's system sed supports the "in-place" options, pkgsrc's macOS configuration apparently feels that it's better to use nbsed instead, *shrug*).We've had to use pkgsrc sed on macOS since Mountain Lion, as the nativesed is broken with binary files or UTF-8 locales. It would be great if we had a contact at Apple who could fix this, so we no longer need to bootstrap nbsed ;-)
That said, I just retried a fresh bootstrap on Sonoma and I'm not immediately seeing any fallout, so perhaps the bugs have finally been fixed.
You can switch to native either by amending pkgsrc/bootstrap/bootstrap around the "Since 10.9, native sed exits when ..." section and perform a fresh bootstrap, or modify an existing install by editing mk.conf to comment out the
TOOLS_PLATFORM.awk= /opt/pkg/bin/nawk TOOLS_PLATFORM.sed= /opt/pkg/bin/nbsed lines. -- Jonathan Perkin - mnx.io - pkgsrc.smartos.org Open Source Complete Cloud www.tritondatacenter.com