Article View: linux.debian.bugs.rc
Article #1961Bug#1152449: neuron: FTBFS with Python 3.15: /build/reproducible-path/neuron-8.2.6/src/nrnpython/nrnpy_nrn.cpp:161:30: error: ‘P...
From: Sebastian Ramacher
Date: Thu, 29 Oct 2026 10:40
Date: Thu, 29 Oct 2026 10:40
124 lines
9030 bytes
9030 bytes
Source: neuron
Version: 8.2.6-3
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@debian.org
Dear maintainer,
neuron failed to rebuild during the rebuilds with Python 3.15 as
supported version:
cd /build/reproducible-path/neuron-8.2.6/obj-x86_64-linux-gnu/src/nrniv && /usr/bin/x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -DMPICH_SKIP_MPICXX=1 -DMPI_NO_CPPBIND=1 -DOMPI_SKIP_MPICXX=1 -I/build/reproducible-path/neuron-8.2.6/src/ivoc -I/build/reproducible-path/neuron-8.2.6/src/nrncvode -I/build/reproducible-path/neuron-8.2.6/src/nrniv -I/build/reproducible-path/neuron-8.2.6/src/nrnoc -I/build/reproducible-path/neuron-8.2.6/src/oc -I/build/reproducible-path/neuron-8.2.6/obj-x86_64-linux-gnu -I/build/reproducible-path/neuron-8.2.6/obj-x86_64-linux-gnu/src/nrncvode -I/build/reproducible-path/neuron-8.2.6/obj-x86_64-linux-gnu/src/nrnoc -I/build/reproducible-path/neuron-8.2.6/obj-x86_64-linux-gnu/src/nrnpython -I/build/reproducible-path/neuron-8.2.6/obj-x86_64-linux-gnu/src/oc -I/build/reproducible-path/neuron-8.2.6/obj-x86_64-linux-gnu/src/parallel -I/build/reproducible-path/neuron-8.2.6/obj-x86_64-linux-gnu/src/sundials -I/build/reproducible-path/neuron-8.2.6/obj-x86_64-linux-gnu/src/sundials/shared -I/build/reproducible-path/neuron-8.2.6/external/Random123/include -I/build/reproducible-path/neuron-8.2.6/src -I/build/reproducible-path/neuron-8.2.6/src/gnu -I/build/reproducible-path/neuron-8.2.6/src/mesch -I/build/reproducible-path/neuron-8.2.6/src/nrnmpi -I/build/reproducible-path/neuron-8.2.6/src/nrnpython -I/build/reproducible-path/neuron-8.2.6/src/parallel -I/build/reproducible-path/neuron-8.2.6/src/scopmath -I/build/reproducible-path/neuron-8.2.6/src/sparse -I/build/reproducible-path/neuron-8.2.6/src/sparse13 -I/build/reproducible-path/neuron-8.2.6/src/sundials -I/build/reproducible-path/neuron-8.2.6/src/sundials/cvodes -I/build/reproducible-path/neuron-8.2.6/src/sundials/ida -I/build/reproducible-path/neuron-8.2.6/src/sundials/shared -I/usr/include/python3.14 -I/build/reproducible-path/neuron-8.2.6/obj-x86_64-linux-gnu/src/nrniv/oc_generated -I/usr/lib/x86_64-linux-gnu/openmpi/include -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/build/reproducible-path/neuron-8.2.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Wno-write-strings -std=c++11 -MD -MT src/nrniv/CMakeFiles/nrniv.dir/__/oc/ockludge.cpp.o -MF CMakeFiles/nrniv.dir/__/oc/ockludge.cpp.o.d -o CMakeFiles/nrniv.dir/__/oc/ockludge.cpp.o -c /build/reproducible-path/neuron-8.2.6/src/oc/ockludge.cpp
/build/reproducible-path/neuron-8.2.6/src/nrnpython/nrnpython.cpp: In function ‘int nrnpython_start(int)’:
/build/reproducible-path/neuron-8.2.6/src/nrnpython/nrnpython.cpp:168:13: warning: ‘Py_NoSiteFlag’ is deprecated [-Wdeprecated-declarations]
168 | Py_NoSiteFlag = 1;
| ^~~~~~~~~~~~~
In file included from /usr/include/python3.15/Python.h:85,
from /build/reproducible-path/neuron-8.2.6/src/nrnpython/./nrnwrap_Python.h:15,
from /build/reproducible-path/neuron-8.2.6/src/nrnpython/./nrnpython.h:20,
from /build/reproducible-path/neuron-8.2.6/src/nrnpython/nrnpython.cpp:1:
/usr/include/python3.15/cpython/pydebug.h:14:37: note: declared here
14 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_NoSiteFlag;
| ^~~~~~~~~~~~~
/build/reproducible-path/neuron-8.2.6/src/nrnpython/nrnpython.cpp:178:29: warning: ‘void Py_SetPythonHome(const wchar_t*)’ is deprecated [-Wdeprecated-declarations]
178 | Py_SetPythonHome(mywstrdup(_p_pyhome));
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.15/Python.h:133:
/usr/include/python3.15/pylifecycle.h:38:38: note: declared here
38 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetPythonHome(const wchar_t *);
| ^~~~~~~~~~~~~~~~
/build/reproducible-path/neuron-8.2.6/src/nrnpython/nrnpython.cpp:186:22: warning: ‘void PySys_SetArgv(int, wchar_t**)’ is deprecated [-Wdeprecated-declarations]
186 | PySys_SetArgv(nrn_global_argc, wcargv);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.15/Python.h:135:
/usr/include/python3.15/sysmodule.h:16:38: note: declared here
16 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **);
| ^~~~~~~~~~~~~
/build/reproducible-path/neuron-8.2.6/src/nrnpython/nrnpython.cpp:204:22: warning: ‘void PySys_SetArgv(int, wchar_t**)’ is deprecated [-Wdeprecated-declarations]
204 | PySys_SetArgv(nrn_global_argc, wcargv);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.15/sysmodule.h:16:38: note: declared here
16 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **);
| ^~~~~~~~~~~~~
/build/reproducible-path/neuron-8.2.6/src/nrnpython/nrnpy_nrn.cpp: In function ‘Object* pysec_cell(Section*)’:
/build/reproducible-path/neuron-8.2.6/src/nrnpython/nrnpy_nrn.cpp:161:30: error: ‘PyWeakref_GetObject’ was not declared in this scope; did you mean ‘PyWeakref_GetRef’?
161 | PyObject* cell = PyWeakref_GetObject(cell_weakref);
| ^~~~~~~~~~~~~~~~~~~
| PyWeakref_GetRef
/build/reproducible-path/neuron-8.2.6/src/nrnpython/nrnpy_nrn.cpp: In function ‘int pysec_cell_equals(Section*, Object*)’:
/build/reproducible-path/neuron-8.2.6/src/nrnpython/nrnpy_nrn.cpp:193:30: error: ‘PyWeakref_GetObject’ was not declared in this scope; did you mean ‘PyWeakref_GetRef’?
193 | PyObject* cell = PyWeakref_GetObject(cell_weakref);
| ^~~~~~~~~~~~~~~~~~~
| PyWeakref_GetRef
/build/reproducible-path/neuron-8.2.6/src/nrnpython/nrnpy_nrn.cpp: In function ‘PyObject* pysec2cell(NPySecObj*)’:
/build/reproducible-path/neuron-8.2.6/src/nrnpython/nrnpy_nrn.cpp:1011:18: error: ‘PyWeakref_GET_OBJECT’ was not declared in this scope
1011 | result = PyWeakref_GET_OBJECT(self->cell_weakref_);
| ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [src/nrnpython/CMakeFiles/nrnpython3.dir/build.make:110: src/nrnpython/CMakeFiles/nrnpython3.dir/nrnpy_nrn.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
See
https://buildd.debian.org/status/fetch.php?pkg=neuron&arch=amd64&ver=8.2.6-3%2Bb2&stamp=1793124510&raw=0
for details.
Cheers
--
Sebastian Ramacher
Technical Details
Message-ID:
<NTvI5-8BqY-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Sebastian Ramacher <sramacher@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1152449: neuron: FTBFS with Python 3.15: /build/reproducible-path/neuron-8.2.6/src/nrnpython/nrnpy_nrn.cpp:161:30: error: ‘PyWeakref_GetObject’ was not declared in this scope; did you mean ‘PyWeakref_GetRef’? Date: Thu, 29 Oct 2026 11:40:01 +0100 Message-ID: <NTvI5-8BqY-3@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Thu Oct 29 10:33:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Sebastian Ramacher <sramacher@debian.org>, 1152449@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sramacher@debian.org, debian-science-maintainers@lists.alioth.debian.org X-Debian-Pr-Message: report 1152449 X-Debian-Pr-Package: src:neuron X-Debian-Pr-Keywords: ftbfs X-Debian-Pr-Source: neuron MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Reportbug-Version: 13.2.0 X-Debian-User: sramacher X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/836495 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 124 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 29 Oct 2026 11:30:30 +0100 X-Original-Message-ID: <auMgRtdjsA2Fip5-@ramacher.at>