pkgsrc-Users archive

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

Re: Odd checksum issue on MacOS



* On 2023-01-13 at 02:50 GMT, Louis Guillaume wrote:

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

mk/tools/tools.Darwin.mk will always default to that. What the bootstrap code does is add e.g.:

  $ grep sed /opt/pkg/etc/mk.conf
  TOOLS_PLATFORM.sed=	/opt/pkg/bin/nbsed

to the mk.conf generated at bootstrap time, and that value is used in preference to the one from tools.Darwin.mk (which uses ?= to mean "only set if not already set).

Somehow it seems that your mk.conf, whether it was not added at bootstrap time or has been removed later, didn't have that line.

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index