MarcGentoo n00b
Joined: 26 Nov 2020 Posts: 66
|
Posted: Thu Jun 27, 2024 3:35 pm Post subject: Error emerging dev-python/scipy-1.12.0-r1 |
|
|
Hello,
I do need some support emerging the dev-python/scipy-1.12.0-r1 package. It fails compiling with an error, see below, that seems to me like a source issue?
What could be the reason for that?
Here is the full build log
https://pastebin.com/wi70ayLx (part 1 of 2)
https://pastebin.com/ZJfB4T6x (part 2 of 2)
Thank you in advance.
Kind regards, Marc
Code: |
x86_64-pc-linux-gnu-gcc -Iscipy/io/matlab/_mio5_utils.cpython-311-x86_64-linux-gnu.so.p -Iscipy/io/matlab -I../scipy-1.12.0/scipy/io/matlab -I../../../../../../../usr/lib/python3.11/site-packages/numpy/_core/include -I/usr/include/python3.11 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -Wno-unused-but-set-variable -Wno-unused-function -Wno-conversion -Wno-misleading-indentation -march=znver1 -O2 -pipe -DNDEBUG -fPIC -DCYTHON_CCOMPLEX=0 -Wno-cpp -MD -MQ scipy/io/matlab/_mio5_utils.cpython-311-x86_64-linux-gnu.so.p/meson-generated__mio5_utils.c.o -MF scipy/io/matlab/_mio5_utils.cpython-311-x86_64-linux-gnu.so.p/meson-generated__mio5_utils.c.o.d -o scipy/io/matlab/_mio5_utils.cpython-311-x86_64-linux-gnu.so.p/meson-generated__mio5_utils.c.o -c scipy/io/matlab/_mio5_utils.cpython-311-x86_64-linux-gnu.so.p/_mio5_utils.c
FAILED: scipy/io/matlab/_mio5_utils.cpython-311-x86_64-linux-gnu.so.p/meson-generated__mio5_utils.c.o
x86_64-pc-linux-gnu-gcc -Iscipy/io/matlab/_mio5_utils.cpython-311-x86_64-linux-gnu.so.p -Iscipy/io/matlab -I../scipy-1.12.0/scipy/io/matlab -I../../../../../../../usr/lib/python3.11/site-packages/numpy/_core/include -I/usr/include/python3.11 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -Wno-unused-but-set-variable -Wno-unused-function -Wno-conversion -Wno-misleading-indentation -march=znver1 -O2 -pipe -DNDEBUG -fPIC -DCYTHON_CCOMPLEX=0 -Wno-cpp -MD -MQ scipy/io/matlab/_mio5_utils.cpython-311-x86_64-linux-gnu.so.p/meson-generated__mio5_utils.c.o -MF scipy/io/matlab/_mio5_utils.cpython-311-x86_64-linux-gnu.so.p/meson-generated__mio5_utils.c.o.d -o scipy/io/matlab/_mio5_utils.cpython-311-x86_64-linux-gnu.so.p/meson-generated__mio5_utils.c.o -c scipy/io/matlab/_mio5_utils.cpython-311-x86_64-linux-gnu.so.p/_mio5_utils.c
In file included from scipy/io/matlab/_mio5_utils.cpython-311-x86_64-linux-gnu.so.p/_mio5_utils.c:1252:
scipy/io/matlab/_mio5_utils.cpython-311-x86_64-linux-gnu.so.p/_mio5_utils.c: In function ‘__pyx_f_5scipy_2io_6matlab_11_mio5_utils_10VarReader5_read_numeric’:
../scipy-1.12.0/scipy/io/matlab/numpy_rephrasing.h:2:54: error: lvalue required as left operand of assignment
2 | #define PyArray_Set_BASE(arr, obj) PyArray_BASE(arr) = obj
| ^
scipy/io/matlab/_mio5_utils.cpython-311-x86_64-linux-gnu.so.p/_mio5_utils.c:10588:3: note: in expansion of macro ‘PyArray_Set_BASE’
10588 | PyArray_Set_BASE(__pyx_v_el, __pyx_v_data);
| ^~~~~~~~~~~~~~~~
|
|
|