ng -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c -o fortran/dna_output.lo fortran/dna_output.f libtool: compile: gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c fortran/keyparse.f -fPIC -o fortran/.libs/keyparse.o f951: Warning: '-Werror=' argument '-Werror=format-security' is not valid for Fortran libtool: compile: gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c fortran/dna_output.f -fPIC -o fortran/.libs/dna_output.o f951: Warning: '-Werror=' argument '-Werror=format-security' is not valid for Fortran /bin/sh ./libtool --tag=F77 --mode=compile gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c -o fortran/pack_f.lo fortran/pack_f.f libtool: compile: gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c fortran/pack_f.f -fPIC -o fortran/.libs/pack_f.o f951: Warning: '-Werror=' argument '-Werror=format-security' is not valid for Fortran fortran/pack_f.f:167:19: 167 | do 10, j = 1, len(filn) | 1 Warning: Possible change of value in conversion from INTEGER(4) to INTEGER(2) at (1) [-Wconversion] fortran/pack_f.f:109:28: 45 | call pack_wordimage_f(data, x, y, filnarray) | 2 ...... 109 | call pack_wordimage_f(data, x, y, filnarray) | 1 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/INTEGER(2)). fortran/pack_f.f:141:30: 77 | call v2pack_wordimage_f(data, x, y, filnarray) | 2 ...... 141 | call v2pack_wordimage_f(data, x, y, filnarray) | 1 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/INTEGER(2)). make[1]: *** [Makefile:809: fortran/pack_f.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/builddir/build/BUILD/libccp4-6.5.1' make: *** [Makefile:491: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.RzitvY (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.RzitvY (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/libccp4.spec