Bug#1145008: mupdf FTBFS with swig 4.5

Adrian Bunk <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <178731962104.2941532.12011710892026241729.reportbug__47913.2604364835$1787319676$gmane$org@localhost>
Source: mupdf
Version: 1.27.0+ds1-6
Severity: serious
Tags: ftbfs patch
Forwarded: https://github.com/ArtifexSoftware/mupdf/pull/102

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/mupdf.html
https://tests.reproducible-builds.org/debian/rb-pkg/experimental/amd64/mupdf.html

...
platform/python/mupdfcpp_swig-Py_LIMITED_API_0x030d0000.i.cpp: In member function 'virtual void SwigDirector_FzDevice2::close_device(fz_context*)':
platform/python/mupdfcpp_swig-Py_LIMITED_API_0x030d0000.i.cpp:11874:66: error: 'PyString_FromString' was not declared in this scope; did you mean 'PyLong_FromString'?
11874 |             PyObject* format_tb = PyDict_GetItem(traceback_dict, PyString_FromString("format_tb"));
...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.