Bug#1145592: pivy: FTBFS: pivy/coin_wrap.cpp:5628:15: error: 'PyInt_AsLong' was not declared in this scope; did you mean 'PyLong_AsLong'?
Santiago Vila
sanvila at debian.org
Tue Aug 25 21:34:29 BST 2026
Package: src:pivy
Version: 0.6.10-4
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:pivy, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
Deprecated command line option: -py3. Ignored, this option is no longer supported.
Deprecated command line option: -modern. Ignored, this option is now always on.
Deprecated command line option: -py3. Ignored, this option is no longer supported.
Deprecated command line option: -modern. Ignored, this option is now always on.
pivy/coin_wrap.cpp: In function âvoid convert_SbVec2s_array(PyObject*, short int*)â:
pivy/coin_wrap.cpp:5628:15: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
5628 | temp[0] = PyInt_AsLong(PySequence_GetItem(input, 0));
| ^~~~~~~~~~~~
| PyLong_AsLong
pivy/coin_wrap.cpp: In function âSoCallbackAction::Response SoCallbackActionPythonCB(void*, SoCallbackAction*, const SoNode*)â:
pivy/coin_wrap.cpp:5818:15: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
5818 | iresult = PyInt_AsLong(result);
| ^~~~~~~~~~~~
| PyLong_AsLong
pivy/coin_wrap.cpp: In function âvoid convert_SbVec3s_array(PyObject*, short int*)â:
pivy/coin_wrap.cpp:6085:15: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
6085 | temp[0] = PyInt_AsLong(PySequence_GetItem(input, 0));
| ^~~~~~~~~~~~
| PyLong_AsLong
pivy/coin_wrap.cpp: In function âSoGLRenderAction::AbortCode SoGLRenderAbortPythonCB(void*)â:
pivy/coin_wrap.cpp:6199:38: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
6199 | res = (SoGLRenderAction::AbortCode)PyInt_AsLong(result);
| ^~~~~~~~~~~~
| PyLong_AsLong
pivy/coin_wrap.cpp: In function âSoCallbackAction::Response SoIntersectionVisitationPythonCB(void*, const SoPath*)â:
pivy/coin_wrap.cpp:6381:15: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
6381 | iresult = PyInt_AsLong(result);
| ^~~~~~~~~~~~
| PyLong_AsLong
pivy/coin_wrap.cpp: In function âSbBool SoIntersectionFilterPythonCB(void*, const SoPath*, const SoPath*)â:
pivy/coin_wrap.cpp:6412:15: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
6412 | iresult = PyInt_AsLong(result);
| ^~~~~~~~~~~~
| PyLong_AsLong
pivy/coin_wrap.cpp: In function âSoIntersectionDetectionAction::Resp SoIntersectionPythonCB(void*, const SoIntersectingPrimitive*, const SoIntersectingPrimitive*)â:
pivy/coin_wrap.cpp:6444:15: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
6444 | iresult = PyInt_AsLong(result);
| ^~~~~~~~~~~~
| PyLong_AsLong
pivy/coin_wrap.cpp: In function âvoid convert_SoMFBool_array(PyObject*, int, SbBool*)â:
pivy/coin_wrap.cpp:6705:26: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
6705 | temp[i] = (SbBool) PyInt_AsLong(oi);
| ^~~~~~~~~~~~
| PyLong_AsLong
pivy/coin_wrap.cpp: In function âvoid convert_SoMFEnum_array(PyObject*, int, int*)â:
pivy/coin_wrap.cpp:6733:23: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
6733 | temp[i] = (int) PyInt_AsLong(oi);
| ^~~~~~~~~~~~
| PyLong_AsLong
pivy/coin_wrap.cpp: In function âvoid convert_SoMFInt32_array(PyObject*, int, int32_t*)â:
pivy/coin_wrap.cpp:7053:27: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
7053 | temp[i] = (int32_t) PyInt_AsLong(oi);
| ^~~~~~~~~~~~
| PyLong_AsLong
pivy/coin_wrap.cpp: In function âvoid convert_SoMFShort_array(PyObject*, int, short int*)â:
pivy/coin_wrap.cpp:7105:25: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
7105 | temp[i] = (short) PyInt_AsLong(oi);
| ^~~~~~~~~~~~
| PyLong_AsLong
pivy/coin_wrap.cpp: In function âvoid convert_SoMFUInt32_array(PyObject*, int, uint32_t*)â:
pivy/coin_wrap.cpp:7141:28: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
7141 | temp[i] = (uint32_t) PyInt_AsLong(oi);
| ^~~~~~~~~~~~
| PyLong_AsLong
pivy/coin_wrap.cpp: In function âvoid convert_SoMFUShort_array(PyObject*, int, short unsigned int*)â:
pivy/coin_wrap.cpp:7169:25: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
7169 | temp[i] = (short) PyInt_AsLong(oi);
| ^~~~~~~~~~~~
| PyLong_AsLong
pivy/coin_wrap.cpp: In function âPyObject* _wrap_SoMFBool_getValues__SWIG_0(PyObject*, Py_ssize_t, PyObject**)â:
pivy/coin_wrap.cpp:171187:38: error: âPyInt_FromLongâ was not declared in this scope; did you mean âPyLong_FromLongâ?
171187 | PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i]));
| ^~~~~~~~~~~~~~
| PyLong_FromLong
pivy/coin_wrap.cpp: In function âPyObject* _wrap_SoMFBool_getValues__SWIG_1(PyObject*, Py_ssize_t, PyObject**)â:
pivy/coin_wrap.cpp:171224:38: error: âPyInt_FromLongâ was not declared in this scope; did you mean âPyLong_FromLongâ?
171224 | PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i]));
| ^~~~~~~~~~~~~~
| PyLong_FromLong
pivy/coin_wrap.cpp: In function âPyObject* _wrap_SoMFEnum_getValues__SWIG_0(PyObject*, Py_ssize_t, PyObject**)â:
pivy/coin_wrap.cpp:172322:38: error: âPyInt_FromLongâ was not declared in this scope; did you mean âPyLong_FromLongâ?
172322 | PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i]));
| ^~~~~~~~~~~~~~
| PyLong_FromLong
pivy/coin_wrap.cpp: In function âPyObject* _wrap_SoMFEnum_getValues__SWIG_1(PyObject*, Py_ssize_t, PyObject**)â:
pivy/coin_wrap.cpp:172359:38: error: âPyInt_FromLongâ was not declared in this scope; did you mean âPyLong_FromLongâ?
172359 | PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i]));
| ^~~~~~~~~~~~~~
| PyLong_FromLong
pivy/coin_wrap.cpp: In function âPyObject* _wrap_SoMFInt32_getValues__SWIG_0(PyObject*, Py_ssize_t, PyObject**)â:
pivy/coin_wrap.cpp:247382:38: error: âPyInt_FromLongâ was not declared in this scope; did you mean âPyLong_FromLongâ?
247382 | PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i]));
| ^~~~~~~~~~~~~~
| PyLong_FromLong
pivy/coin_wrap.cpp: In function âPyObject* _wrap_SoMFInt32_getValues__SWIG_1(PyObject*, Py_ssize_t, PyObject**)â:
pivy/coin_wrap.cpp:247419:38: error: âPyInt_FromLongâ was not declared in this scope; did you mean âPyLong_FromLongâ?
247419 | PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i]));
| ^~~~~~~~~~~~~~
| PyLong_FromLong
pivy/coin_wrap.cpp: In function âPyObject* _wrap_SoMFShort_getValues__SWIG_0(PyObject*, Py_ssize_t, PyObject**)â:
pivy/coin_wrap.cpp:251709:38: error: âPyInt_FromLongâ was not declared in this scope; did you mean âPyLong_FromLongâ?
251709 | PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i]));
| ^~~~~~~~~~~~~~
| PyLong_FromLong
pivy/coin_wrap.cpp: In function âPyObject* _wrap_SoMFShort_getValues__SWIG_1(PyObject*, Py_ssize_t, PyObject**)â:
pivy/coin_wrap.cpp:251746:38: error: âPyInt_FromLongâ was not declared in this scope; did you mean âPyLong_FromLongâ?
251746 | PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i]));
| ^~~~~~~~~~~~~~
| PyLong_FromLong
pivy/coin_wrap.cpp: In function âPyObject* _wrap_SoMFUInt32_getValues__SWIG_0(PyObject*, Py_ssize_t, PyObject**)â:
pivy/coin_wrap.cpp:253613:38: error: âPyInt_FromLongâ was not declared in this scope; did you mean âPyLong_FromLongâ?
253613 | PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i]));
| ^~~~~~~~~~~~~~
| PyLong_FromLong
pivy/coin_wrap.cpp: In function âPyObject* _wrap_SoMFUInt32_getValues__SWIG_1(PyObject*, Py_ssize_t, PyObject**)â:
pivy/coin_wrap.cpp:253650:38: error: âPyInt_FromLongâ was not declared in this scope; did you mean âPyLong_FromLongâ?
253650 | PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i]));
| ^~~~~~~~~~~~~~
| PyLong_FromLong
pivy/coin_wrap.cpp: In function âPyObject* _wrap_SoMFUShort_getValues__SWIG_0(PyObject*, Py_ssize_t, PyObject**)â:
pivy/coin_wrap.cpp:254575:38: error: âPyInt_FromLongâ was not declared in this scope; did you mean âPyLong_FromLongâ?
254575 | PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i]));
| ^~~~~~~~~~~~~~
| PyLong_FromLong
pivy/coin_wrap.cpp: In function âPyObject* _wrap_SoMFUShort_getValues__SWIG_1(PyObject*, Py_ssize_t, PyObject**)â:
pivy/coin_wrap.cpp:254612:38: error: âPyInt_FromLongâ was not declared in this scope; did you mean âPyLong_FromLongâ?
254612 | PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i]));
| ^~~~~~~~~~~~~~
| PyLong_FromLong
pivy/coin_wrap.cpp: In function âPyObject* _wrap_new_SbImage__SWIG_1(PyObject*, Py_ssize_t, PyObject**)â:
pivy/coin_wrap.cpp:353874:12: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
353874 | arg3 = PyInt_AsLong(nc);
| ^~~~~~~~~~~~
| PyLong_AsLong
pivy/coin_wrap.cpp: In function âPyObject* _wrap_new_SbImage__SWIG_2(PyObject*, Py_ssize_t, PyObject**)â:
pivy/coin_wrap.cpp:353919:12: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
353919 | arg3 = PyInt_AsLong(nc);
| ^~~~~~~~~~~~
| PyLong_AsLong
pivy/coin_wrap.cpp:353920:9: error: âPyString_Checkâ was not declared in this scope; did you mean âPyMapping_Checkâ?
353920 | if (PyString_Check(buf)) {
| ^~~~~~~~~~~~~~
| PyMapping_Check
pivy/coin_wrap.cpp: In function âPyObject* _wrap_SbImage_setValue__SWIG_0(PyObject*, Py_ssize_t, PyObject**)â:
pivy/coin_wrap.cpp:354095:12: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
354095 | arg3 = PyInt_AsLong(nc);
| ^~~~~~~~~~~~
| PyLong_AsLong
pivy/coin_wrap.cpp: In function âPyObject* _wrap_SbImage_setValue__SWIG_1(PyObject*, Py_ssize_t, PyObject**)â:
pivy/coin_wrap.cpp:354147:12: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
354147 | arg3 = PyInt_AsLong(nc);
| ^~~~~~~~~~~~
| PyLong_AsLong
pivy/coin_wrap.cpp: In function âPyObject* _wrap_SbImage_setValuePtr__SWIG_0(PyObject*, Py_ssize_t, PyObject**)â:
pivy/coin_wrap.cpp:354277:12: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
354277 | arg3 = PyInt_AsLong(nc);
| ^~~~~~~~~~~~
| PyLong_AsLong
pivy/coin_wrap.cpp: In function âPyObject* _wrap_SbImage_setValuePtr__SWIG_1(PyObject*, Py_ssize_t, PyObject**)â:
pivy/coin_wrap.cpp:354329:12: error: âPyInt_AsLongâ was not declared in this scope; did you mean âPyLong_AsLongâ?
354329 | arg3 = PyInt_AsLong(nc);
| ^~~~~~~~~~~~
| PyLong_AsLong
pivy/coin_wrap.cpp: In function âint SWIG_mod_exec(PyObject*)â:
pivy/coin_wrap.cpp:456579:12: warning: converting to non-pointer type âintâ from NULL [-Wconversion-null]
456579 | return NULL;
| ^~~~
_____
.-'` '.
__/ __ \
/ \ / \ | ___
| /`\| /`\| | .-' /^\/^\
| \(/| \(/| |/ |) |)|
.-\__/ \__/ | \_/\_/__..._
_...---'-. / _ '.
/, , \ '| `\ \
| )) )) /`| \ `. /) /) |
| ` ` .' | `-._ /
\ .' | ,_ `--....-'
`. __.' , | / /`'''`
`'-.____.-' / /, | / /
`. `-.-` .' \ / / |
`-.__.'| \ | | |-.
_.._| | / | | `'.
.-''`` | | | / | `-.
.'` / / / | | '.
/` / / | / |\ \
/ | | | | /\ |
|| | / | / '. |
|\ \ | / | '. /
\ `. '. / | \ '---'/
\ '. `-./ \ '. /
'. `'. `-._ '.__ '-._____.'--'''''--.
'-. `'--._ `.__ `';----` \
`-. `-. `.''``` ;
`'-..,_ `-. `'-. /
'. '. '. .'
~~~ HISSSSSSSSSS ~~~
Welcome to Pivy 0.6.10!
Building Pivy has never been so much fun!
Platform...linux
Python version...3.14.7
Checking for swig...
'/usr/bin/swig'
Checking for SWIG version...
4.5.0
Warning: Pivy has only been tested with the following SWIG versions: 3.0.8 3.0.10 3.0.12 4.0.0.
calling: cmake /<<PKGBUILDDIR>>/distutils_cmake
-- COIN_FOUND: TRUE
-- COIN_INCLUDE_DIR: /usr/include
-- COIN_LIB_DIR: /usr/lib/x86_64-linux-gnu
-- COIN_VERSION: 4.0.7
-- SOQT_FOUND: True
-- SOQT_INCLUDE_DIR: /usr/include;/usr/include
-- SOQT_LIB_DIR: /usr/lib/x86_64-linux-gnu
-- SOQT_VERSION: 1.6.4
-- Configuring done (0.1s)
-- Generating done (0.0s)
-- Build files have been written to: /<<PKGBUILDDIR>>
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
checking for COIN via cmake
COIN_FOUND: TRUE
COIN_VERSION: 4.0.7
COIN_INCLUDE_DIR: /usr/include
COIN_LIB_DIR: /usr/lib/x86_64-linux-gnu
checking for SOQT via cmake
SOQT_FOUND: True
SOQT_VERSION: 1.6.4
SOQT_INCLUDE_DIR: /usr/include" -I"/usr/include
SOQT_LIB_DIR: /usr/lib/x86_64-linux-gnu
coin-features are not supported in this version
Preparing Inventor headers:.
=== Generating pivy/coin_wrap.cpp for coin ===
swig -w302,306,307,312,314,325,361,362,467,389,503,509,510 -py3 -c++ -python -includeall -modern -D__PIVY__ -I. -Ifake_headers -I"/usr/include" -Iinterfaces -o pivy/coin_wrap.cpp interfaces/coin.i
=== Generating pivy/gui/soqt_wrap.cpp for soqt ===
swig -w302,306,307,312,314,325,361,362,467,389,503,509,510 -py3 -c++ -python -includeall -modern -D__PIVY__ -I. -Ifake_headers -I"/usr/include" -I"/usr/include" -Iinterfaces -o pivy/gui/soqt_wrap.cpp interfaces/soqt.i
error: command '/usr/bin/x86_64-linux-gnu-g++' failed with exit code 1
E: pybuild pybuild:485: build: plugin distutils failed with: exit code=1: /usr/bin/python3-dbg setup.py build
dh_auto_build: error: pybuild --build --parallel=2 returned exit code 13
make: *** [debian/rules:17: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the debian-science-maintainers
mailing list