[From nobody Mon Sep 14 15:37:07 2026
Received: (at submit) by bugs.debian.org; 25 Aug 2026 20:34:32 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-120.9 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
 PP_MIME_FAKE_ASCII_TEXT,SPF_HELO_PASS,SPF_PASS,
 USER_IN_DKIM_WELCOMELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 109; hammy, 150; neutral, 237; spammy,
 0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
 0.000-+--PKGBUILDDIR, 0.000-+--HTo:N*Debian, 0.000-+--forky,
 0.000-+--H*F:U*sanvila
Return-path: &lt;sanvila@debian.org&gt;
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:33110)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wyxqq-005YJz-1Y
 for submit@bugs.debian.org; Tue, 25 Aug 2026 20:34:32 +0000
Received: via submission
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (verified)
 by mailly.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wyxqo-0024wF-3D
 for submit@bugs.debian.org; Tue, 25 Aug 2026 20:34:31 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.paradis;
 h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=ElsISN2pMS70gyqQ9IyvYXtSHYueTLLNk/yLEvVMqY4=; b=UPrjb9mlX+XBs9PYsvM4g/4/Pf
 ax1GqlL6aKQ+otqFwuKH9tTVZSjpCFSo6011BEr+JQHeK9xhIIJ9Mcyt/9vmqLD3uhGglx8IxCdGL
 hSFuxawwCxwuQxlpkenptOmVEUD9lw0eogRGWvxq8+Q0l7HNpguZm0YNU3frkHhetUehHjFlECXLB
 JqJ9KWOrFg+Ywl3io+typYWdN9IJIKTFyqk9LsmCdXBOk//ti4wi8zYUnp6StAVFCg2Ka7HBW1Z5z
 8dDyTQvnQkIN/0CInXGoc1gcXM3u/q6SchsBE+dypHB5CBU6tI5VtttG2SvZzFfVD0tkecREKKMpW
 +4l7nPjQ==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1wyxqn-000c5O-1m
 for submit@bugs.debian.org; Tue, 25 Aug 2026 20:34:29 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: pivy: FTBFS: pivy/coin_wrap.cpp:5628:15: error: 'PyInt_AsLong' was
 not declared in this scope; did you mean 'PyLong_AsLong'?
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1wyxqn-000c5O-1m@paradis.debian.org&gt;
Date: Tue, 25 Aug 2026 20:34:29 +0000
Delivered-To: submit@bugs.debian.org

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 /&lt;&lt;PKGBUILDDIR&gt;&gt;/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: /&lt;&lt;PKGBUILDDIR&gt;&gt;

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake &lt; 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument &lt;min&gt; value.  Or, use the &lt;min&gt;...&lt;max&gt; syntax
  to tell CMake that the project requires at least &lt;min&gt; but has been updated
  to work with policies introduced by &lt;max&gt; 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&quot; -I&quot;/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&quot;/usr/include&quot; -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&quot;/usr/include&quot; -I&quot;/usr/include&quot; -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
--------------------------------------------------------------------------------
]