Bug#1024019: iminuit FTBFS with Python 3.11 as supported version

Adrian Bunk bunk at debian.org
Sun Nov 13 19:34:02 GMT 2022


Source: iminuit
Version: 2.11.2-2
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=iminuit&ver=2.11.2-2%2Bb2

...
In file included from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/cast.h:16,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/attr.h:13,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/pybind11.h:13,
                 from /<<PKGBUILDDIR>>/src/application.cpp:3:
/<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/detail/type_caster_base.h: In function ‘std::string pybind11::detail::error_string()’:
/<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/detail/type_caster_base.h:482:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
  482 |             frame = frame->f_back;
      |                          ^~
In file included from /usr/include/python3.11/Python.h:42,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/detail/common.h:209,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/pytypes.h:12,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/cast.h:13:
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
   22 | typedef struct _frame PyFrameObject;
      |                ^~~~~~
In file included from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/cast.h:16,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/attr.h:13,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/pybind11.h:13,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/numpy.h:12,
                 from /<<PKGBUILDDIR>>/src/type_caster.hpp:2,
                 from /<<PKGBUILDDIR>>/src/fcn.cpp:2:
/<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/detail/type_caster_base.h: In function ‘std::string pybind11::detail::error_string()’:
/<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/detail/type_caster_base.h:482:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
  482 |             frame = frame->f_back;
      |                          ^~
In file included from /usr/include/python3.11/Python.h:42,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/detail/common.h:209,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/pytypes.h:12,
                 from /<<PKGBUILDDIR>>/src/fcn.hpp:2,
                 from /<<PKGBUILDDIR>>/src/fcn.cpp:1:
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
   22 | typedef struct _frame PyFrameObject;
      |                ^~~~~~
In file included from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/cast.h:16,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/attr.h:13,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/pybind11.h:13,
                 from /<<PKGBUILDDIR>>/src/contours.cpp:5:
/<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/detail/type_caster_base.h: In function ‘std::string pybind11::detail::error_string()’:
/<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/detail/type_caster_base.h:482:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
  482 |             frame = frame->f_back;
      |                          ^~
In file included from /usr/include/python3.11/Python.h:42,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/detail/common.h:209,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/pytypes.h:12,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/cast.h:13:
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
   22 | typedef struct _frame PyFrameObject;
      |                ^~~~~~
In file included from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/cast.h:16,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/attr.h:13,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/pybind11.h:13,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/operators.h:12,
                 from /<<PKGBUILDDIR>>/src/functionminimum.cpp:9:
/<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/detail/type_caster_base.h: In function ‘std::string pybind11::detail::error_string()’:
/<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/detail/type_caster_base.h:482:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
  482 |             frame = frame->f_back;
      |                          ^~
In file included from /usr/include/python3.11/Python.h:42,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/detail/common.h:209,
                 from /<<PKGBUILDDIR>>/extern/pybind11/include/pybind11/pytypes.h:12,
                 from /<<PKGBUILDDIR>>/src/fcn.hpp:2,
                 from /<<PKGBUILDDIR>>/src/functionminimum.cpp:2:
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
   22 | typedef struct _frame PyFrameObject;
      |                ^~~~~~
gmake[4]: *** [CMakeFiles/_core.dir/build.make:79: CMakeFiles/_core.dir/src/application.cpp.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
gmake[4]: *** [CMakeFiles/_core.dir/build.make:93: CMakeFiles/_core.dir/src/contours.cpp.o] Error 1
gmake[4]: *** [CMakeFiles/_core.dir/build.make:121: CMakeFiles/_core.dir/src/fcn.cpp.o] Error 1
gmake[4]: *** [CMakeFiles/_core.dir/build.make:135: CMakeFiles/_core.dir/src/functionminimum.cpp.o] Error 1
gmake[4]: Leaving directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'


More information about the debian-science-maintainers mailing list