pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Odd checksum issue on MacOS



On 1/12/23 3:27 PM, Jonathan Perkin wrote:
* On 2023-01-12 at 20:22 GMT, Louis Guillaume wrote:

Seems like TOOLS_PLATFORM.sed=nbsed is generally more appropriate for MacOS. I'll add this to my mk.conf, but maybe it should be the default?

It is, and has been for a long time:

https://github.com/NetBSD/pkgsrc/blob/trunk/bootstrap/bootstrap#L607-L612

The only thing I can think of is that you bootstrapped a very long time ago on a version which happened to not match the previous version of that code.


It hasn't been that long since I re-bootstrapped. Probably 2 years. But as I look at the repo, it shows /usr/bin/sed for TOOLS_PLATFORM:

$ grep sed tools.Darwin.mk
TOOLS_PLATFORM.sed?=            /usr/bin/sed

"bootstrap" does say "need_sed", and it does install "nbsed" (unless something else depended it in), but I guess at runtime pkgsrc is looking at the tools configuration.

I'm happy keeping it in mk.conf for now, but if "nbsed" is reliably installed at bootstrap-time then we should probably have the tools use it.

Thanks!

--
Louis


Home | Main Index | Thread Index | Old Index