tech-pkg archive

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

Re: Build fix for lang/python312 on macOS



		Hi tech-pkg@,

> On 25 Nov 2024, at 17:57, Pierre Pronchery <khorben%defora.org@localhost> wrote:
> 
> When trying to build lang/python312 from pkgsrc (2024Q3 branch), it
> fails with the following errors: […]
> 
> There are still issues with the PLIST (WRT expat) but it looks like a
> separate problem.

FWIW, the issue with expat is related to the absence of the symbol
XML_SetReparseDeferralEnabled in the version of expat detected by
Python on macOS. If I try to build without
CONFIGURE_ARGS+=--with-system-expat, the package builds again as
expected.

From a quick look at expat’s Git repository, it seems that this symbol
was introduced in version 2.6.0, while macOS has 2.5.0 in its SDK for
14.0. (And even older for the previous ones)

It would be awesome if someone knows how to DTRT and commit the
necessary changes, or let me know how.

Cheers & HTH,
-- 
khorben

Attachment: signature.asc
Description: Message signed with OpenPGP



Home | Main Index | Thread Index | Old Index