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 Fri, Aug 14, 2026 at 07:26:26AM +0100, Benny Siegert wrote:
> On a Mac running macOS 26.6.1, building lang/python313 fails with an error
> like "expat_config.h: no such file or directory".
>
> On macOS, we use the built-in expat by default. However, the builtin version
> lacks an expat_config.h. I was able to fix the build by adding
>
> PREFER.expat=pkgsrc
>
> to mk.conf.
>
> Should we make the textproc/expat builtin check also verify that
> expat_config.h is present? That would solve the problem once and for all.
The advantage is that it would fix Python because that unconditionally
looks for expat_config.h.
The disadvantage is that it's not required for most other software,
and we would stop allowing built-in expat on NetBSD < 11.99.5 (before
expat_config.h was installed).
Thomas
Home |
Main Index |
Thread Index |
Old Index