[Debian-astro-maintainers] Bug#1118309: python-drizzle: FTBFS: sphinx.errors.ExtensionError: Could not import extension pytest_doctestplus.sphinx.doctestplus (exception: No module named 'pytest_doctestplus')

Santiago Vila sanvila at debian.org
Sat Oct 18 00:09:12 BST 2025


Package: src:python-drizzle
Version: 2.1.1-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202510/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-drizzle, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with=python3,sphinxdoc --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py clean 
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_drizzle/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with=python3,sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild

[... snipped ...]

      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:679:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
  679 |         (*(PyArray_Descr * (*)(int)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarrayobject.h:109:29: note: in expansion of macro ‘PyArray_DescrFromType’
  109 |         PyArray_FromAny(op, PyArray_DescrFromType(type), min_depth, \
      |                             ^~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/cdrizzleapi.c:520:26: note: in expansion of macro ‘PyArray_ContiguousFromAny’
  520 |         (PyArrayObject *)PyArray_ContiguousFromAny(xyout, NPY_DOUBLE, 1, 1);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:745:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
  745 |         (*(PyObject * (*)(PyObject *, PyArray_Descr *, int, int, int, PyObject *)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarrayobject.h:109:9: note: in expansion of macro ‘PyArray_FromAny’
  109 |         PyArray_FromAny(op, PyArray_DescrFromType(type), min_depth, \
      |         ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/cdrizzleapi.c:526:26: note: in expansion of macro ‘PyArray_ContiguousFromAny’
  526 |         (PyArrayObject *)PyArray_ContiguousFromAny(pixmap, NPY_DOUBLE, 3, 3);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:679:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
  679 |         (*(PyArray_Descr * (*)(int)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarrayobject.h:109:29: note: in expansion of macro ‘PyArray_DescrFromType’
  109 |         PyArray_FromAny(op, PyArray_DescrFromType(type), min_depth, \
      |                             ^~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/cdrizzleapi.c:526:26: note: in expansion of macro ‘PyArray_ContiguousFromAny’
  526 |         (PyArrayObject *)PyArray_ContiguousFromAny(pixmap, NPY_DOUBLE, 3, 3);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:745:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
  745 |         (*(PyObject * (*)(PyObject *, PyArray_Descr *, int, int, int, PyObject *)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarrayobject.h:109:9: note: in expansion of macro ‘PyArray_FromAny’
  109 |         PyArray_FromAny(op, PyArray_DescrFromType(type), min_depth, \
      |         ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/cdrizzleapi.c:541:30: note: in expansion of macro ‘PyArray_ContiguousFromAny’
  541 |             (PyArrayObject *)PyArray_ContiguousFromAny(bbox, NPY_DOUBLE, 2, 2);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:679:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
  679 |         (*(PyArray_Descr * (*)(int)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarrayobject.h:109:29: note: in expansion of macro ‘PyArray_DescrFromType’
  109 |         PyArray_FromAny(op, PyArray_DescrFromType(type), min_depth, \
      |                             ^~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/cdrizzleapi.c:541:30: note: in expansion of macro ‘PyArray_ContiguousFromAny’
  541 |             (PyArrayObject *)PyArray_ContiguousFromAny(bbox, NPY_DOUBLE, 2, 2);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:808:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
  808 |         (*(PyObject * (*)(PyTypeObject *, int, npy_intp const *, int, npy_intp const *, void *, int, int, PyObject *)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarrayobject.h:122:9: note: in expansion of macro ‘PyArray_New’
  122 |         PyArray_New(&PyArray_Type, nd, dims, typenum, NULL, \
      |         ^~~~~~~~~~~
/<<PKGBUILDDIR>>/src/cdrizzleapi.c:561:43: note: in expansion of macro ‘PyArray_SimpleNewFromData’
  561 |     PyArrayObject *arr = (PyArrayObject *)PyArray_SimpleNewFromData(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/cdrizzleapi.c: In function ‘clip_polygon_wrap’:
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:745:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
  745 |         (*(PyObject * (*)(PyObject *, PyArray_Descr *, int, int, int, PyObject *)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarrayobject.h:109:9: note: in expansion of macro ‘PyArray_FromAny’
  109 |         PyArray_FromAny(op, PyArray_DescrFromType(type), min_depth, \
      |         ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/cdrizzleapi.c:581:32: note: in expansion of macro ‘PyArray_ContiguousFromAny’
  581 |     pin_arr = (PyArrayObject *)PyArray_ContiguousFromAny(pin, NPY_DOUBLE, 2, 2);
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:679:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
  679 |         (*(PyArray_Descr * (*)(int)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarrayobject.h:109:29: note: in expansion of macro ‘PyArray_DescrFromType’
  109 |         PyArray_FromAny(op, PyArray_DescrFromType(type), min_depth, \
      |                             ^~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/cdrizzleapi.c:581:32: note: in expansion of macro ‘PyArray_ContiguousFromAny’
  581 |     pin_arr = (PyArrayObject *)PyArray_ContiguousFromAny(pin, NPY_DOUBLE, 2, 2);
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:745:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
  745 |         (*(PyObject * (*)(PyObject *, PyArray_Descr *, int, int, int, PyObject *)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarrayobject.h:109:9: note: in expansion of macro ‘PyArray_FromAny’
  109 |         PyArray_FromAny(op, PyArray_DescrFromType(type), min_depth, \
      |         ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/cdrizzleapi.c:586:32: note: in expansion of macro ‘PyArray_ContiguousFromAny’
  586 |     qin_arr = (PyArrayObject *)PyArray_ContiguousFromAny(qin, NPY_DOUBLE, 2, 2);
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:679:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
  679 |         (*(PyArray_Descr * (*)(int)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarrayobject.h:109:29: note: in expansion of macro ‘PyArray_DescrFromType’
  109 |         PyArray_FromAny(op, PyArray_DescrFromType(type), min_depth, \
      |                             ^~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/cdrizzleapi.c:586:32: note: in expansion of macro ‘PyArray_ContiguousFromAny’
  586 |     qin_arr = (PyArrayObject *)PyArray_ContiguousFromAny(qin, NPY_DOUBLE, 2, 2);
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/cdrizzleapi.c: At top level:
/<<PKGBUILDDIR>>/src/cdrizzleapi.c:628:15: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type]
  628 |     {"tdriz", (PyCFunction)tdriz, METH_VARARGS | METH_KEYWORDS,
      |               ^
/<<PKGBUILDDIR>>/src/cdrizzleapi.c:632:15: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type]
  632 |     {"tblot", (PyCFunction)tblot, METH_VARARGS | METH_KEYWORDS,
      |               ^
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -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/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include -I/<<PKGBUILDDIR>>/src -I/usr/include/python3.13 -c /<<PKGBUILDDIR>>/src/cdrizzleblot.c -o build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/src/cdrizzleblot.o -O3 -Wall -Wextra -Wpedantic -Wno-unused-parameter -Wincompatible-pointer-types
In file included from /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarrayobject.h:22,
                 from /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/arrayobject.h:5,
                 from /<<PKGBUILDDIR>>/src/cdrizzleutil.h:9,
                 from /<<PKGBUILDDIR>>/src/cdrizzlemap.h:5,
                 from /<<PKGBUILDDIR>>/src/cdrizzleblot.c:5:
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/npy_2_compat.h: In function ‘PyDataType_GetArrFuncs’:
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:1481:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
 1481 |         (*(PyArray_ArrFuncs * (*)(const PyArray_Descr *)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/npy_2_compat.h:238:20: note: in expansion of macro ‘_PyDataType_GetArrFuncs’
  238 |             return _PyDataType_GetArrFuncs(descr);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/src/cdrizzleblot.c:9:
/<<PKGBUILDDIR>>/src/cdrizzleblot.c: In function ‘interpolate_lanczos’:
/<<PKGBUILDDIR>>/src/cdrizzleblot.c:808:34: warning: comparison of integer expressions of different signedness: ‘integer_t’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  808 |         assert(yoff >= 0 && yoff < lanczos->nlut);
      |                                  ^
/<<PKGBUILDDIR>>/src/cdrizzleblot.c:813:38: warning: comparison of integer expressions of different signedness: ‘integer_t’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  813 |             assert(xoff >= 0 && xoff < lanczos->nlut);
      |                                      ^
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -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/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include -I/<<PKGBUILDDIR>>/src -I/usr/include/python3.13 -c /<<PKGBUILDDIR>>/src/cdrizzlebox.c -o build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/src/cdrizzlebox.o -O3 -Wall -Wextra -Wpedantic -Wno-unused-parameter -Wincompatible-pointer-types
In file included from /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarrayobject.h:22,
                 from /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/arrayobject.h:5,
                 from /<<PKGBUILDDIR>>/src/cdrizzleutil.h:9,
                 from /<<PKGBUILDDIR>>/src/cdrizzlemap.h:5,
                 from /<<PKGBUILDDIR>>/src/cdrizzlebox.c:5:
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/npy_2_compat.h: In function ‘PyDataType_GetArrFuncs’:
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:1481:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
 1481 |         (*(PyArray_ArrFuncs * (*)(const PyArray_Descr *)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/npy_2_compat.h:238:20: note: in expansion of macro ‘_PyDataType_GetArrFuncs’
  238 |             return _PyDataType_GetArrFuncs(descr);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -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/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include -I/<<PKGBUILDDIR>>/src -I/usr/include/python3.13 -c /<<PKGBUILDDIR>>/src/cdrizzlemap.c -o build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/src/cdrizzlemap.o -O3 -Wall -Wextra -Wpedantic -Wno-unused-parameter -Wincompatible-pointer-types
In file included from /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarrayobject.h:22,
                 from /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/arrayobject.h:5,
                 from /<<PKGBUILDDIR>>/src/cdrizzlemap.c:10:
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h: In function ‘_import_array’:
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:630:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
  630 |         (*(unsigned int (*)(void)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:1540:21: note: in expansion of macro ‘PyArray_GetNDArrayCVersion’
 1540 |   if (NPY_VERSION < PyArray_GetNDArrayCVersion()) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:630:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
  630 |         (*(unsigned int (*)(void)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:1543:39: note: in expansion of macro ‘PyArray_GetNDArrayCVersion’
 1543 |              (int) NPY_VERSION, (int) PyArray_GetNDArrayCVersion());
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:1126:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
 1126 |         (*(unsigned int (*)(void)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:1546:34: note: in expansion of macro ‘PyArray_GetNDArrayCFeatureVersion’
 1546 |   PyArray_RUNTIME_VERSION = (int)PyArray_GetNDArrayCFeatureVersion();
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:1123:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
 1123 |         (*(int (*)(void)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:1565:8: note: in expansion of macro ‘PyArray_GetEndianness’
 1565 |   st = PyArray_GetEndianness();
      |        ^~~~~~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/npy_2_compat.h: In function ‘PyDataType_GetArrFuncs’:
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:1481:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
 1481 |         (*(PyArray_ArrFuncs * (*)(const PyArray_Descr *)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/npy_2_compat.h:238:20: note: in expansion of macro ‘_PyDataType_GetArrFuncs’
  238 |             return _PyDataType_GetArrFuncs(descr);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -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/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include -I/<<PKGBUILDDIR>>/src -I/usr/include/python3.13 -c /<<PKGBUILDDIR>>/src/cdrizzleutil.c -o build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/src/cdrizzleutil.o -O3 -Wall -Wextra -Wpedantic -Wno-unused-parameter -Wincompatible-pointer-types
In file included from /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarrayobject.h:22,
                 from /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/arrayobject.h:5,
                 from /<<PKGBUILDDIR>>/src/cdrizzleutil.h:9,
                 from /<<PKGBUILDDIR>>/src/cdrizzlemap.h:5,
                 from /<<PKGBUILDDIR>>/src/cdrizzleutil.c:3:
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/npy_2_compat.h: In function ‘PyDataType_GetArrFuncs’:
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:1481:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
 1481 |         (*(PyArray_ArrFuncs * (*)(const PyArray_Descr *)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/npy_2_compat.h:238:20: note: in expansion of macro ‘_PyDataType_GetArrFuncs’
  238 |             return _PyDataType_GetArrFuncs(descr);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/cdrizzleutil.c: In function ‘driz_error_set_message’:
/<<PKGBUILDDIR>>/src/cdrizzleutil.c:39:5: warning: ‘__builtin_strncpy’ specified bound 512 equals destination size [-Wstringop-truncation]
   39 |     strncpy(error->last_message, message, MAX_DRIZ_ERROR_LEN);
      |     ^
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -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/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include -I/<<PKGBUILDDIR>>/src -I/usr/include/python3.13 -c /<<PKGBUILDDIR>>/src/tests/utest_cdrizzle.c -o build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/src/tests/utest_cdrizzle.o -O3 -Wall -Wextra -Wpedantic -Wno-unused-parameter -Wincompatible-pointer-types
In file included from /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarrayobject.h:22,
                 from /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/arrayobject.h:5,
                 from /<<PKGBUILDDIR>>/src/tests/utest_cdrizzle.c:9:
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h: In function ‘_import_array’:
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:630:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
  630 |         (*(unsigned int (*)(void)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:1540:21: note: in expansion of macro ‘PyArray_GetNDArrayCVersion’
 1540 |   if (NPY_VERSION < PyArray_GetNDArrayCVersion()) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:630:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
  630 |         (*(unsigned int (*)(void)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:1543:39: note: in expansion of macro ‘PyArray_GetNDArrayCVersion’
 1543 |              (int) NPY_VERSION, (int) PyArray_GetNDArrayCVersion());
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:1126:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
 1126 |         (*(unsigned int (*)(void)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:1546:34: note: in expansion of macro ‘PyArray_GetNDArrayCFeatureVersion’
 1546 |   PyArray_RUNTIME_VERSION = (int)PyArray_GetNDArrayCFeatureVersion();
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:1123:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
 1123 |         (*(int (*)(void)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:1565:8: note: in expansion of macro ‘PyArray_GetEndianness’
 1565 |   st = PyArray_GetEndianness();
      |        ^~~~~~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/npy_2_compat.h: In function ‘PyDataType_GetArrFuncs’:
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/__multiarray_api.h:1481:11: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
 1481 |         (*(PyArray_ArrFuncs * (*)(const PyArray_Descr *)) \
      |           ^
/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/npy_2_compat.h:238:20: note: in expansion of macro ‘_PyDataType_GetArrFuncs’
  238 |             return _PyDataType_GetArrFuncs(descr);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/src/tests/pandokia_fct.h:25,
                 from /<<PKGBUILDDIR>>/src/tests/utest_cdrizzle.c:15:
/<<PKGBUILDDIR>>/src/tests/fct.h: In function ‘fct_test_new’:
/<<PKGBUILDDIR>>/src/tests/fct.h:267:5: warning: ‘__builtin_strncpy’ specified bound 256 equals destination size [-Wstringop-truncation]
  267 |     strncpy(dst, src, num);
      |     ^
/<<PKGBUILDDIR>>/src/tests/fct.h: In function ‘fct_xchk_fn’:
/<<PKGBUILDDIR>>/src/tests/fct.h:267:5: warning: ‘__builtin_strncpy’ specified bound 256 equals destination size [-Wstringop-truncation]
creating build/lib.linux-x86_64-cpython-313/drizzle
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/src/cdrizzleapi.o build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/src/cdrizzleblot.o build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/src/cdrizzlebox.o build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/src/cdrizzlemap.o build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/src/cdrizzleutil.o build/temp.linux-x86_64-cpython-313/<<PKGBUILDDIR>>/src/tests/utest_cdrizzle.o -L/usr/lib/x86_64-linux-gnu -lm -o build/lib.linux-x86_64-cpython-313/drizzle/cdrizzle.cpython-313-x86_64-linux-gnu.so
copying build/lib.linux-x86_64-cpython-313/drizzle/cdrizzle.cpython-313-x86_64-linux-gnu.so -> drizzle
python3 -m sphinx docs build/sphinx/html
Running Sphinx v8.2.3
loading translations [en]... done

Extension error!

Versions
========

* Platform:         linux; (Linux-6.12.48+deb13-cloud-amd64-x86_64-with-glibc2.41)
* Python version:   3.13.9 (CPython)
* Sphinx version:   8.2.3
* Docutils version: 0.22.2
* Jinja2 version:   3.1.6
* Pygments version: 2.18.0

Last Messages
=============

None.

Loaded Extensions
=================

None.

Traceback
=========

      File "/usr/lib/python3/dist-packages/sphinx/registry.py", line 544, in load_extension
        raise ExtensionError(
            __('Could not import extension %s') % extname, err
        ) from err
    sphinx.errors.ExtensionError: Could not import extension pytest_doctestplus.sphinx.doctestplus (exception: No module named 'pytest_doctestplus')


The full traceback has been saved in:
/tmp/sphinx-err-70dv95bh.log

To report this error to the developers, please open an issue at <https://github.com/sphinx-doc/sphinx/issues/>. Thanks!
Please also report this if it was a user error, so that a better error message can be provided next time.
make[1]: *** [debian/rules:17: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Debian-astro-maintainers mailing list