Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error emerging dev-python/scipy-1.12.0-r1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
MarcGentoo
n00b
n00b


Joined: 26 Nov 2020
Posts: 66

PostPosted: Thu Jun 27, 2024 3:35 pm    Post subject: Error emerging dev-python/scipy-1.12.0-r1 Reply with quote

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);
      |   ^~~~~~~~~~~~~~~~
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum