Bug#1145499: openturns: FTBFS: /<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:4014:7: error: 'PyInt_Check' was not declared in this scope; did you mean 'PySet_Check'?
Santiago Vila
sanvila at debian.org
Tue Aug 25 13:42:34 BST 2026
Package: src:openturns
Version: 1.27.1-2
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/202608/
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:openturns, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
[ 38%] Building CXX object python/src/CMakeFiles/typ.dir/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx.o
cd /<<PKGBUILDDIR>>/builddir/python/src && /usr/bin/x86_64-l [too-long-redacted] p.dir/typ_modulePYTHON_wrap.cxx
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx: In function âPyObject* OT_Description___setitem__(OT::Description*, PyObject*, PyObject*)â:
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:4014:7: error: âPyInt_Checkâ was not declared in this scope; did you mean âPySet_Checkâ?
4014 | if (PyInt_Check(arg))
| ^~~~~~~~~~~
| PySet_Check
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:4088:18: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
4088 | long index = PyInt_AsLong(intValue.get());
| ^~~~~~~~~~~~
| PyLong_AsLong
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx: In function âPyObject* OT_Description___getitem__(const OT::Description*, PyObject*)â:
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:4103:7: error: âPyInt_Checkâ was not declared in this scope; did you mean âPySet_Checkâ?
4103 | if (PyInt_Check(arg))
| ^~~~~~~~~~~
| PySet_Check
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:4165:18: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
4165 | long index = PyInt_AsLong(intValue.get());
| ^~~~~~~~~~~~
| PyLong_AsLong
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx: In function âPyObject* OT_Indices___setitem__(OT::Indices*, PyObject*, PyObject*)â:
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:4208:7: error: âPyInt_Checkâ was not declared in this scope; did you mean âPySet_Checkâ?
4208 | if (PyInt_Check(arg))
| ^~~~~~~~~~~
| PySet_Check
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:4282:18: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
4282 | long index = PyInt_AsLong(intValue.get());
| ^~~~~~~~~~~~
| PyLong_AsLong
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx: In function âPyObject* OT_Indices___getitem__(const OT::Indices*, PyObject*)â:
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:4297:7: error: âPyInt_Checkâ was not declared in this scope; did you mean âPySet_Checkâ?
4297 | if (PyInt_Check(arg))
| ^~~~~~~~~~~
| PySet_Check
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:4359:18: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
4359 | long index = PyInt_AsLong(intValue.get());
| ^~~~~~~~~~~~
| PyLong_AsLong
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx: In function âPyObject* OT_Point___setitem__(OT::Point*, PyObject*, PyObject*)â:
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:4476:7: error: âPyInt_Checkâ was not declared in this scope; did you mean âPySet_Checkâ?
4476 | if (PyInt_Check(arg))
| ^~~~~~~~~~~
| PySet_Check
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:4550:18: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
4550 | long index = PyInt_AsLong(intValue.get());
| ^~~~~~~~~~~~
| PyLong_AsLong
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx: In function âPyObject* OT_Point___getitem__(const OT::Point*, PyObject*)â:
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:4565:7: error: âPyInt_Checkâ was not declared in this scope; did you mean âPySet_Checkâ?
4565 | if (PyInt_Check(arg))
| ^~~~~~~~~~~
| PySet_Check
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:4627:18: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
4627 | long index = PyInt_AsLong(intValue.get());
| ^~~~~~~~~~~~
| PyLong_AsLong
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx: In function âPyObject* OT_Sample___getitem____SWIG_1(const OT::Sample*, PyObject*)â:
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:8067:20: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
8067 | long index = PyInt_AsLong(intValue.get());
| ^~~~~~~~~~~~
| PyLong_AsLong
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:8134:13: error: âPyInt_Checkâ was not declared in this scope; did you mean âPySet_Checkâ?
8134 | if (PyInt_Check(elt))
| ^~~~~~~~~~~
| PySet_Check
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:8136:25: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
8136 | long index2 = PyInt_AsLong(elt);
| ^~~~~~~~~~~~
| PyLong_AsLong
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:8211:13: error: âPyInt_Checkâ was not declared in this scope; did you mean âPySet_Checkâ?
8211 | if (PyInt_Check(elt))
| ^~~~~~~~~~~
| PySet_Check
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:8213:25: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
8213 | long index2 = PyInt_AsLong(elt);
| ^~~~~~~~~~~~
| PyLong_AsLong
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:8242:11: error: âPyInt_Checkâ was not declared in this scope; did you mean âPySet_Checkâ?
8242 | if (PyInt_Check(elt))
| ^~~~~~~~~~~
| PySet_Check
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:8244:23: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
8244 | long index1 = PyInt_AsLong(elt);
| ^~~~~~~~~~~~
| PyLong_AsLong
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:8304:13: error: âPyInt_Checkâ was not declared in this scope; did you mean âPySet_Checkâ?
8304 | if (PyInt_Check(elt))
| ^~~~~~~~~~~
| PySet_Check
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:8306:25: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
8306 | long index2 = PyInt_AsLong(elt);
| ^~~~~~~~~~~~
| PyLong_AsLong
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx: In function âvoid OT_Sample___setitem____SWIG_1(OT::Sample*, PyObject*, PyObject*)â:
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:8391:20: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
8391 | long index = PyInt_AsLong(intValue.get());
| ^~~~~~~~~~~~
| PyLong_AsLong
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:8473:13: error: âPyInt_Checkâ was not declared in this scope; did you mean âPySet_Checkâ?
8473 | if (PyInt_Check(elt))
| ^~~~~~~~~~~
| PySet_Check
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:8475:25: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
8475 | long index2 = PyInt_AsLong(elt);
| ^~~~~~~~~~~~
| PyLong_AsLong
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:8556:13: error: âPyInt_Checkâ was not declared in this scope; did you mean âPySet_Checkâ?
8556 | if (PyInt_Check(elt))
| ^~~~~~~~~~~
| PySet_Check
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:8558:25: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
8558 | long index2 = PyInt_AsLong(elt);
| ^~~~~~~~~~~~
| PyLong_AsLong
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:8581:11: error: âPyInt_Checkâ was not declared in this scope; did you mean âPySet_Checkâ?
8581 | if (PyInt_Check(elt))
| ^~~~~~~~~~~
| PySet_Check
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:8583:23: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
8583 | long index1 = PyInt_AsLong(elt);
| ^~~~~~~~~~~~
| PyLong_AsLong
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:8641:13: error: âPyInt_Checkâ was not declared in this scope; did you mean âPySet_Checkâ?
8641 | if (PyInt_Check(elt))
| ^~~~~~~~~~~
| PySet_Check
/<<PKGBUILDDIR>>/builddir/python/src/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx:8643:25: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
8643 | long index2 = PyInt_AsLong(elt);
| ^~~~~~~~~~~~
| PyLong_AsLong
make[4]: *** [python/src/CMakeFiles/typ.dir/build.make:82: python/src/CMakeFiles/typ.dir/CMakeFiles/typ.dir/typ_modulePYTHON_wrap.cxx.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/builddir'
make[3]: *** [CMakeFiles/Makefile2:21508: python/src/CMakeFiles/typ.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/builddir'
make[2]: *** [Makefile:169: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/builddir/python'
make[1]: *** [debian/rules:61: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:42: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the debian-science-maintainers
mailing list