python-312/src/_igraph/filehandle.o gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -I/usr/include/igraph -I/usr/include/libxml2 -I/usr/include/python3.12 -c src/_igraph/force_cpp_linker.cpp -o build/temp.linux-riscv64-cpython-312/src/_igraph/force_cpp_linker.o cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -I/usr/include/igraph -I/usr/include/libxml2 -I/usr/include/python3.12 -c src/_igraph/graphobject.c -o build/temp.linux-riscv64-cpython-312/src/_igraph/graphobject.o src/_igraph/graphobject.c: In function ‘igraphmodule_Graph_radius’: src/_igraph/graphobject.c:1891:7: error: implicit declaration of function ‘igraph_radius_dijkstra’; did you mean ‘igraph_distances_dijkstra’? [-Werror=implicit-function-declaration] 1891 | if (igraph_radius_dijkstra(&self->g, weights, &radius, mode)) { | ^~~~~~~~~~~~~~~~~~~~~~ | igraph_distances_dijkstra src/_igraph/graphobject.c: In function ‘igraphmodule_Graph_Biadjacency’: src/_igraph/graphobject.c:2678:7: error: implicit declaration of function ‘igraph_biadjacency’; did you mean ‘igraph_adjacency’? [-Werror=implicit-function-declaration] 2678 | if (igraph_biadjacency(&g, &vertex_types, &matrix, | ^~~~~~~~~~~~~~~~~~ | igraph_adjacency src/_igraph/graphobject.c: In function ‘igraphmodule_Graph_get_biadjacency’: src/_igraph/graphobject.c:8792:7: error: implicit declaration of function ‘igraph_get_biadjacency’; did you mean ‘igraph_get_adjacency’? [-Werror=implicit-function-declaration] 8792 | if (igraph_get_biadjacency(&self->g, types, &matrix, &row_ids, &col_ids)) { | ^~~~~~~~~~~~~~~~~~~~~~ | igraph_get_adjacency src/_igraph/graphobject.c: In function ‘igraphmodule_Graph_count_automorphisms’: src/_igraph/graphobject.c:9794:12: error: implicit declaration of function ‘igraph_count_automorphisms’; did you mean ‘igraph_automorphisms’? [-Werror=implicit-function-declaration] 9794 | retval = igraph_count_automorphisms(&self->g, color, sh, &info); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | igraph_automorphisms cc1: some warnings being treated as errors error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /var/tmp/rpm-tmp.9LWzEl (%build) Bad exit status from /var/tmp/rpm-tmp.9LWzEl (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-igraph.spec