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