On 8/5/24 05:08, Thomas Klausner wrote:
On Mon, Aug 05, 2024 at 10:48:53AM +0100, Jonathan Perkin wrote:At time of writing this current email, it is severely broken with no bulk builds running at all due to untested py-scipy changes. I am expecting to have to fix these myself too, as it's been 5 days now with no sign of anyone else doing it.It's the first time I hear of that problem. I don't see it in my bulk build (but I limit my Python versions, perhaps that avoids it). I don't see anything on pkgsrc-bulk or pkgsrc-users or tech-pkg. You'll have to provide more details or fix it yourself, yes. Thomas
I'm assuming this issue has been fixed by now. I'm seeing failures on NetBSD 10, which I would guess are a new problem. Anyone else having trouble with scipy on NetBSD? [854/1382] Compiling C++ object scipy/...un.so.p/meson-generated__specfun.cpp.o FAILED: scipy/special/_specfun.so.p/meson-generated__specfun.cpp.o c++ -Iscipy/special/_specfun.so.p -Iscipy/special -I../scipy/special -I../../../../../../pkg/lib/python3.12/site-packages/numpy/_core/include -I/home/bacon/Pkgsrc/pkg/include/python3.12 -I/home/bacon/Pkgsrc/pkg/include -I/usr/include -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -O3 -O2 -D__STDC_FORMAT_MACROS -fPIC -DNPY_NO_DEPRECATED_API=NPY_1_9_API_VERSION -MD -MQ scipy/special/_specfun.so.p/meson-generated__specfun.cpp.o -MF scipy/special/_specfun.so.p/meson-generated__specfun.cpp.o.d -o scipy/special/_specfun.so.p/meson-generated__specfun.cpp.o -c scipy/special/_specfun.so.p/_specfun.cpp In file included from /home/bacon/Pkgsrc/pkgsrc/math/py-scipy/work/.buildlink/include/python3.12/Python.h:38, from scipy/special/_specfun.so.p/_specfun.cpp:16: scipy/special/_specfun.so.p/_specfun.cpp: In function 'PyObject* __pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr*)': scipy/special/_specfun.so.p/_specfun.cpp:4014:41: error: 'PyArray_Descr' {aka 'struct _PyArray_Descr'} has no member named 'subarray' 4014 | __Pyx_INCREF(((PyObject*)__pyx_v_d->subarray->shape)); | ^~~~~~~~ /home/bacon/Pkgsrc/pkgsrc/math/py-scipy/work/.buildlink/include/python3.12/pyport.h:24:38: note: in definition of macro '_Py_CAST' 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /home/bacon/Pkgsrc/pkgsrc/math/py-scipy/work/.buildlink/include/python3.12/object.h:661:35: note: in expansion of macro '_PyObject_CAST' 661 | # define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op)) | ^~~~~~~~~~~~~~ scipy/special/_specfun.so.p/_specfun.cpp:1829:27: note: in expansion of macro 'Py_INCREF' 1829 | #define __Pyx_INCREF(r) Py_INCREF(r) | ^~~~~~~~~ scipy/special/_specfun.so.p/_specfun.cpp:4014:5: note: in expansion of macro '__Pyx_INCREF' 4014 | __Pyx_INCREF(((PyObject*)__pyx_v_d->subarray->shape)); | ^~~~~~~~~~~~ scipy/special/_specfun.so.p/_specfun.cpp:4015:38: error: 'PyArray_Descr' {aka 'struct _PyArray_Descr'} has no member named 'subarray' 4015 | __pyx_r = ((PyObject*)__pyx_v_d->subarray->shape); | ^~~~~~~~ [855/1382] Compiling C++ object scipy/...cial_ufuncs.so.p/_special_ufuncs.cpp.o ninja: build stopped: subcommand failed. ERROR Backend subprocess exited when trying to invoke build_wheel *** Error code 1 Stop. bmake[5]: stopped in /home/bacon/Pkgsrc/pkgsrc/math/py-scipy *** Error code 1 Stop. bmake[4]: stopped in /home/bacon/Pkgsrc/pkgsrc/math/py-scipy *** Error code 1 -- Life is a game. Play hard. Play fair. Have fun.