pkgsrc-Users archive

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

Re: Python 3.13 fails to build under macOS, expat issue



* On 2026-08-14 at 10:30 BST, Benny Siegert wrote:

What do you propose? I can just disable builtin expat on Darwin, but that feels like a hack.

Remember that Apple have fundamentally broken builtins. It is now impossible, for example, to ensure that check-shlibs works correctly, given they no longer ship the actual e.g. /usr/lib/libexpat.dylib file and instead you have to rely on some weird virtual library cache.

You also have the added complications of the headers coming from the target SDK version and not what's installed on the host system.

It is definitely not a hack to PREFER_PKGSRC=yes on modern Darwin. I would argue it's the correct choice, and use it on all my systems and published package repositories.

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


Home | Main Index | Thread Index | Old Index