Dear Maintainer,
The xmdf package FTBFS against SWIG 4.5.0, which was recently uploaded to unstable. The following is an excerpt from the build log:
[ 86%] Building CXX object core/CMakeFiles/XdmfCorePython.dir/__/XdmfCorePYTHON_wrap.cxx.o
<path-to-dir>/xdmf-3.0+git20190531/debian/build-serial-python3.14/XdmfCorePYTHON_wrap.cxx: In function ‘void XdmfArray_getValues__SWIG_0(XdmfArray*, unsigned int, PyObject*, unsigned int, unsigned int, unsigned int)’:
<path-to-dir>/xdmf-3.0+git20190531/debian/build-serial-python3.14/XdmfCorePYTHON_wrap.cxx:4490:28: error: ‘PyString_FromString’ was not declared in this scope; did you mean ‘PyLong_FromString’?
4490 | placeholderVal = PyString_FromString("");
| ^~~~~~~~~~~~~~~~~~~
| PyLong_FromString
<path-to-dir>/xdmf-3.0+git20190531/debian/build-serial-python3.14/XdmfCorePYTHON_wrap.cxx:4536:25: error: ‘PyString_FromString’ was not declared in this scope; did you mean ‘PyLong_FromString’?
4536 | insertedVal = PyString_FromString(self->XdmfArray::getValue<std::string>(index).c_str());
| ^~~~~~~~~~~~~~~~~~~
| PyLong_FromString
<path-to-dir>/xdmf-3.0+git20190531/debian/build-serial-python3.14/XdmfCorePYTHON_wrap.cxx: In function ‘void XdmfArray_insertAsString__SWIG_0(XdmfArray*, int, PyObject*, int, int, int, int)’:
<path-to-dir>/xdmf-3.0+git20190531/debian/build-serial-python3.14/XdmfCorePYTHON_wrap.cxx:4720:73: error: ‘PyString_AsString’ was not declared in this scope
4720 | self->insert<std::string>((i * arrayStride) + startIndex, PyString_AsString(PyList_GetItem(list, listStartIndex + (i * listStride))));
| ^~~~~~~~~~~~~~~~~
make[4]: *** [core/CMakeFiles/XdmfCorePython.dir/build.make:79: core/CMakeFiles/XdmfCorePython.dir/__/XdmfCorePYTHON_wrap.cxx.o] Error 1
make[3]: *** [CMakeFiles/Makefile2:278: core/CMakeFiles/XdmfCorePython.dir/all] Error 2
make[2]: *** [Makefile:136: all] Error 2
make[2]: Leaving directory '<path-to-dir>/xdmf-3.0+git20190531/debian/build-serial-python3.14'
make[1]: *** [debian/rules:73: override_dh_auto_build] Error 2
make[1]: Leaving directory '<path-to-dir>/xdmf-3.0+git20190531'
make: *** [debian/rules:8: binary] Error 2
The full build log is attached to this bug report.
Best,
Rafael Laboissière