pkgsrc-Users archive

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

Re: macOS 12.x (Monterey) vs. pkgsrc

* On 2022-03-02 at 04:15 GMT, Greg A. Woods wrote:

# otool -XL (compatibility version 0.0.0, current version 0.0.0)
       /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.0.0)

I'm thinking mk/check/check-shlibs-macho.awk should not complain if then
library depends on itself like this?

No, it needs to be correct, otherwise any binaries or libraries that link against it will also be incorrect, and then it's impossible to do any meaningful checks. It'll need fixing up using the install_name_tool dance like we do elsewhere.

Monterey shouldn't be any different to Big Sur where I still do regular bulk builds. You can compare against those if you think you're running into issues that nobody else is seeing:

Just make sure you have all the correct settings, especially things like PREFER_PKGSRC=yes due to Apple breaking shared libraries. I noticed you're still using pdksh which indicates you haven't bootstrapped in a long time.

Jonathan Perkin  -  Joyent, Inc.  -

Home | Main Index | Thread Index | Old Index