used [-Wunused-variable] BUILDSTDERR: static int NBLK=128; BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from NBO_Cluster.c:22: BUILDSTDERR: openmx_common.h:88:12: warning: 'fundamentalNum' defined but not used [-Wunused-variable] BUILDSTDERR: static int fundamentalNum[4]={2,3,5,7}; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: openmx_common.h:87:12: warning: 'NfundamentalNum' defined but not used [-Wunused-variable] BUILDSTDERR: static int NfundamentalNum=4; BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: openmx_common.h:1:13: warning: 'Version_OpenMX' defined but not used [-Wunused-variable] BUILDSTDERR: static char Version_OpenMX[30] = "3.8.1"; /* version of OpenMX */ BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from NBO_Krylov.c:18: BUILDSTDERR: openmx_common.h:3951:12: warning: 'NBLK' defined but not used [-Wunused-variable] BUILDSTDERR: static int NBLK=128; BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from NBO_Krylov.c:18: BUILDSTDERR: openmx_common.h:88:12: warning: 'fundamentalNum' defined but not used [-Wunused-variable] BUILDSTDERR: static int fundamentalNum[4]={2,3,5,7}; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: openmx_common.h:87:12: warning: 'NfundamentalNum' defined but not used [-Wunused-variable] BUILDSTDERR: static int NfundamentalNum=4; BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: openmx_common.h:1:13: warning: 'Version_OpenMX' defined but not used [-Wunused-variable] BUILDSTDERR: static char Version_OpenMX[30] = "3.8.1"; /* version of OpenMX */ BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: NBO_Cluster.c: In function 'Calc_NAO_Cluster': BUILDSTDERR: NBO_Cluster.c:5583:21: warning: argument 1 range [18446744056529682440, 18446744073709551544] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] BUILDSTDERR: Table_NBO = (int**)malloc(sizeof(int*)*(atomnum*10+1)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from NBO_Cluster.c:19: BUILDSTDERR: /usr/include/stdlib.h:539:14: note: in a call to allocation function 'malloc' declared here BUILDSTDERR: extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur; BUILDSTDERR: ^~~~~~ BUILDSTDERR: NBO_Krylov.c: In function 'Krylov_Col_NAO.isra.1': BUILDSTDERR: NBO_Krylov.c:9075:11: warning: 'tmp_threshold' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (temp_M7[k+1] >= tmp_threshold){ BUILDSTDERR: ^ BUILDSTDERR: NBO_Krylov.c:8643:11: note: 'tmp_threshold' was declared here BUILDSTDERR: double tmp_threshold,sum; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: NBO_Krylov.c:1139:23: warning: 'kp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: int jc, jp, kc, kg, kp; BUILDSTDERR: ^~ BUILDSTDERR: NBO_Krylov.c:1139:11: warning: 'jp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: int jc, jp, kc, kg, kp; BUILDSTDERR: ^~ BUILDSTDERR: NBO_Krylov.c:1127:9: warning: 'tmp_array' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: free(tmp_array); /* freeing of array */ BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.2PuHi6 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.2PuHi6 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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/openmx.spec