Package: src:mwparserfromhell
Version: 0.6.5-1
Severity: serious
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12
mwparserfromhell ftbfs with Python 3.12 (but falls back to Python code).
the packaging probably should check if the extensions are really built.
[...]
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2
-Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -g -fwrapv -O2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I/usr/include/python3.12 -c
src/mwparserfromhell/parser/ctokenizer/tokenizer.c -o
build/temp.linux-x86_64-cpython-312/src/mwparserfromhell/parser/ctokenizer/tokenizer.o
src/mwparserfromhell/parser/ctokenizer/tokenizer.c: In function
‘init_tokenizer_text’:
src/mwparserfromhell/parser/ctokenizer/tokenizer.c:91:18: error:
‘PyUnicode_WCHAR_KIND’ undeclared (first use in this function); did you
mean ‘PyUnicode_4BYTE_KIND’?
91 | text->kind = PyUnicode_WCHAR_KIND;
| ^~~~~~~~~~~~~~~~~~~~
| PyUnicode_4BYTE_KIND
src/mwparserfromhell/parser/ctokenizer/tokenizer.c:91:18: note: each
undeclared identifier is reported only once for each function it appears in
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
Falling back to pure Python mode.
[...]