Your message dated Fri, 30 Oct 2026 11:19:38 +0000
with message-id <[email protected]>
and subject line Bug#1152449: fixed in neuron 8.2.6-4
has caused the Debian Bug report #1152449,
regarding 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’?
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1152449: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1152449
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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: [email protected]
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
--- End Message ---
--- Begin Message ---
Source: neuron
Source-Version: 8.2.6-4
Done: Maximiliano Curia <[email protected]>
We believe that the bug you reported is fixed in the latest version of
neuron, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Maximiliano Curia <[email protected]> (supplier of updated neuron package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 30 Oct 2026 11:49:22 +0100
Source: neuron
Architecture: source
Version: 8.2.6-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Maximiliano Curia <[email protected]>
Closes: 1152449
Changes:
neuron (8.2.6-4) unstable; urgency=medium
.
* Team upload.
* Add upstream patch Move from deprecated PyWeakref_GetObject
(Closes: #1152449)
Checksums-Sha1:
c8f11b2286c6db3f11296585eb172240693aae3c 2410 neuron_8.2.6-4.dsc
77455e95ce2663c90d42946b0db7daf9adb5b063 32896 neuron_8.2.6-4.debian.tar.xz
5d1883be0b816064c655637e7841032cce680411 9320 neuron_8.2.6-4_source.buildinfo
Checksums-Sha256:
5583c2cd65c19f57771ef21dabd996402a7a5c7ee585e20190497437c94e701b 2410
neuron_8.2.6-4.dsc
14e99d9e414ee7937734201fad2cca737ad8f94a80dad33a6a0a9a6010378fe2 32896
neuron_8.2.6-4.debian.tar.xz
7d8e3c782fd8e9f68d57003eabc99281fb8ae3142b8e0a175bdb310c522721e2 9320
neuron_8.2.6-4_source.buildinfo
Files:
efc7259c3f3f5e2dfff29e12bf5b389c 2410 science optional neuron_8.2.6-4.dsc
bcd869c2cc45f4af4c23a79724f57d62 32896 science optional
neuron_8.2.6-4.debian.tar.xz
9df4a6c982f62317b7aa88f30884bb48 9320 science optional
neuron_8.2.6-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE+JIdOnQEyG4RNSIVxxl2mbKbIyoFAmrke0UACgkQxxl2mbKb
Iyq/4xAAg+KBuhzw5uoQSEzQoiIae9vJZvhK6bdJCybC6IdWxYrNnQVbvPF3jXYS
okcuvEqsC88l4Ip+Xy3l6ylcoOGbTzQXOZ+V9LtO9zBPMKgjzQctOuh7Awe4+ZaE
c6/lCxV98a+5Z0j076McieqtsPi7SGU+x2x1GHYBPuOiGUy0kS3YkwGeuCWH4VI9
S1v+ZXUEJh/ZaAFUl6bVY8RuUD/ucHAXHxiIgLAFgotZgWnkhlMlPCjVPLIccj/g
WFu1dRSA90H4LpNBeQ21ZeCtXFVynZNO29U4r5Lb/yjrr7g5yH8mpT7vs0Dc0p92
1/v+dXi78gbGX7oXi8E4603EUnMp6p87lEeU+lsk5xIX7d8GvQWXtQ5fVnO3nmQj
PrvDWy+JlPmutO2VSdZY0otL3i+2TIwRjEQUtCVlzCaYfcF6mtiEidK+C+9dTY11
TTJX8KasEZdq6OyG4mfH77RVHP9/xelgU+KczdUrDEm5xY7h/GDoO31trKDtuqr0
RSLYG4eOmCOMaBASmiVdct1CeSkq5ub+Z5E+77++GBixOZ+LiqtnY7jZVxB2nLPy
u1lfh854exO8npuaFisVy7uGchJ5KS0XvK1WBB8pX0DFQhMlmVQ4aEDEZPyHR1RJ
zLZb7KX6cY0xwZsXMVeVLsVVjKGFbH375ePm38rFpKqxmGaLRNM=
=lKHJ
-----END PGP SIGNATURE-----
pgp8PVdswIOCI.pgp
Description: PGP signature
--- End Message ---