Re: python311 vs expat
Thomas Klausner <[email protected]> Fri, 20 Mar 2026 15:09:23 +0100
| Newsgroups | gmane.os.netbsd.devel.packages |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Mar 20, 2026 at 03:07:19PM +0100, Adam CiarciĆski wrote: > >> That's because newer expat.h depends on features defined in expat_config.h. In this particular case XML_SetAllocTrackerActivationThreshold is guarded with "# if defined(XML_DTD) || (defined(XML_GE) && XML_GE == 1)", and XML_DTD, XML_GE, and XML_GE are defined in expat_config.h. > > > > It should be possible to add some builtin.mk checks to handle this, gated on whichever release started requiring it. > > > >> I can commit PREFER.expat=pkgsrc solution, if no objection. > > > > I think we should do this for now, and evaluate a more general builtin.mk approach after the freeze. > > In that case, I've pushed the changes. Sorry, but we were talking about python311, why was this pushed for all Python versions? The others were not failing in the bulk builds AFAICT. Thomas