pkgsrc-Users archive

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

python313 is failing to build



Building python313 on pkgsrc-current fails with


--- Modules/pyexpat.o ---
./Modules/pyexpat.c:13:10: fatal error: expat_config.h: No such file or directory
   13 | #include "expat_config.h"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
*** [Modules/pyexpat.o] Error code 1


There was a recent change to python313/Makefile:


+.if ${OPSYS} == NetBSD && ${OPSYS_VERSION} < 119905
 PREFER.expat=	pkgsrc # needs expat_config.h
+.endif


with the comment


python*: restrict expat workaround to NetBSD<11.99.5

that version installs expat_config.h

Pullups for 10, 11 have been filed, the pattern can be improved
when they are merged.


I am running 11.99.5. Does this condition need to be tweaked a bit, or is the lookup for expat_config.h failing? I have expat_config.h at

pkg-work/lang/python313/work/Python-3.13.12/Modules/expat/expat_config.h

Thanks!


Home | Main Index | Thread Index | Old Index