Source: jsonnet
Version: 0.20.0+ds-2
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/logs.php?pkg=jsonnet&ver=0.20.0%2Bds-2%2Bb1
...
building '_jsonnet' extension
creating build/temp.linux-x86_64-cpython-313/python
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-Ithird_party/md5 -Ithird_party/json -Iinclude -fPIC -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -Iinclude -I/usr/include/python3.13 -c
python/_jsonnet.c -o build/temp.linux-x86_64-cpython-313/python/_jsonnet.o
python/_jsonnet.c: In function ‘cpython_native_callback’:
python/_jsonnet.c:189:14: error: implicit declaration of function
‘PyEval_CallObject’; did you mean ‘PyObject_CallObject’?
[-Wimplicit-function-declaration]
189 | result = PyEval_CallObject(ctx->callback, arglist);
| ^~~~~~~~~~~~~~~~~
| PyObject_CallObject
python/_jsonnet.c:189:12: error: assignment to ‘PyObject *’ {aka ‘struct
_object *’} from ‘int’ makes pointer from integer without a cast
[-Wint-conversion]
189 | result = PyEval_CallObject(ctx->callback, arglist);
| ^
python/_jsonnet.c: In function ‘cpython_import_callback’:
python/_jsonnet.c:229:12: error: assignment to ‘PyObject *’ {aka ‘struct
_object *’} from ‘int’ makes pointer from integer without a cast
[-Wint-conversion]
229 | result = PyEval_CallObject(ctx->callback, arglist);
| ^
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning:
Unknown distribution option: 'test_suite'
warnings.warn(msg)
...