tech-pkg archive

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

Re: python311 vs expat



* On 2026-03-20 at 06:28 GMT, Adam wrote:

The problem is, not every operating system provides 'expat_config.h', but pkgsrc thinks the external expat is fine.

The --without-system-expat makes Python use the internal (vendored) expat.

A quick fix would be to make all Python packages force use expat from pkgsrc (see below).

How does that sounds?

I think it's fine for now, given that we're deep into a freeze, as it's minimal impact and fixes a top breakage. The proper fix I think would be to add expat_config.h to BUILTIN_FIND_HEADERS, though some may object that it harshly penalises these systems. I don't know their reasoning for not providing a full builtin implementation, but one workaround for that might be to touch a fake expat_config.h in BUILDLINK_DIR in those situations.

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


Home | Main Index | Thread Index | Old Index