Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/psblas3.spec'], chrootPath='/var/lib/mock/f33-build-145031-42919/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/psblas3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1578182400 Wrote: /builddir/build/SRPMS/psblas3-3.6.1-5.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/psblas3.spec'], chrootPath='/var/lib/mock/f33-build-145031-42919/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/psblas3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1578182400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9k3ieF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf psblas3-3.6.1 + /usr/bin/mkdir -p psblas3-3.6.1 + cd psblas3-3.6.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/psblas3-3.6.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd psblas3-3.6.1 ~/build/BUILD/psblas3-3.6.1/psblas3-3.6.1 ~/build/BUILD/psblas3-3.6.1 Patch #0 (psblas3-fix_ldflags.patch): + echo 'Patch #0 (psblas3-fix_ldflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file test/util/Makefile + popd ~/build/BUILD/psblas3-3.6.1 + cp -a psblas3-3.6.1 openmpi-build + cp -a psblas3-3.6.1 mpich-build + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Wzc51F + umask 022 + cd /builddir/build/BUILD + cd psblas3-3.6.1 + cd psblas3-3.6.1 + export LIBBLAS=-lopenblas + LIBBLAS=-lopenblas + export INCBLAS=-I/usr/include/openblas + INCBLAS=-I/usr/include/openblas + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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' + export FFLAGS + FCFLAGS='-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' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ echo '-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' ++ sed -e s/-Werror=format-security// + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-serial '--with-fcopt=-O2 -g -pipe -Wall -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 -Wno-unused-variable -Wno-unused-dummy-argument -fPIC -I/usr/lib64/gfortran/modules -I/usr/include/openblas' '--with-ccopt=-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 -fPIC -I/usr/include/openblas' --with-metis=-lmetis --with-amd=-lamd --with-blas=-lopenblas --with-lapack= --with-amdincdir=/usr/include/suitesparse configure: -------------------------------------------------------------------------------- Welcome to the PSBLAS 3.5 configure Script. This creates Make.inc, but if you read carefully the documentation, you can make your own by hand for your needs. Be sure to specify the library paths of your interest. Examples: ./configure --with-libs=-L/some/directory/LIB <- will append to LIBS FC=mpif90 CC=mpicc ./configure <- will force FC,CC See ./configure --help=short fore more info. -------------------------------------------------------------------------------- checking for a BSD-compatible install... /usr/bin/install -c checking where to install... /usr /usr/include /usr/modules /usr/lib64 /usr/docs /usr/samples checking for riscv64-redhat-linux-gnu-ftn... no checking for riscv64-redhat-linux-gnu-xlf2003_r... no checking for riscv64-redhat-linux-gnu-xlf2003... no checking for riscv64-redhat-linux-gnu-xlf95_r... no checking for riscv64-redhat-linux-gnu-xlf95... no checking for riscv64-redhat-linux-gnu-xlf90... no checking for riscv64-redhat-linux-gnu-xlf... no checking for riscv64-redhat-linux-gnu-pgf95... no checking for riscv64-redhat-linux-gnu-pgf90... no checking for riscv64-redhat-linux-gnu-ifort... no checking for riscv64-redhat-linux-gnu-ifc... no checking for riscv64-redhat-linux-gnu-nagfor... no checking for riscv64-redhat-linux-gnu-gfortran... no checking for ftn... no checking for xlf2003_r... no checking for xlf2003... no checking for xlf95_r... no checking for xlf95... no checking for xlf90... no checking for xlf... no checking for pgf95... no checking for pgf90... no checking for ifort... no checking for ifc... no checking for nagfor... no checking for gfortran... gfortran checking for Fortran compiler default output file name... a.out checking whether the Fortran compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU Fortran compiler... yes checking whether gfortran accepts -g... yes checking for riscv64-redhat-linux-gnu-xlc... no checking for riscv64-redhat-linux-gnu-pgcc... no checking for riscv64-redhat-linux-gnu-icc... no checking for riscv64-redhat-linux-gnu-gcc... no checking for riscv64-redhat-linux-gnu-cc... no checking for xlc... no checking for pgcc... no checking for icc... no checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking whether we want serial mpi stubs... yes. checking whether additional CCOPT flags should be added (should be invoked only once)... CCOPT = -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 -fPIC -I/usr/include/openblas checking whether additional FCOPT flags should be added (should be invoked only once)... FCOPT = -O2 -g -pipe -Wall -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 -Wno-unused-variable -Wno-unused-dummy-argument -fPIC -I/usr/lib64/gfortran/modules -I/usr/include/openblas checking whether additional libraries are needed... no checking whether additional CLIBS flags should be added (should be invoked only once)... no checking whether additional FLIBS flags should be added (should be invoked only once)... no checking whether additional LIBRARYPATH flags should be added (should be invoked only once)... no checking whether additional INCLUDEPATH flags should be added (should be invoked only once)... no checking whether additional MODULE_PATH flags should be added (should be invoked only once)... no checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for GNU Fortran... yes checking for Cray Fortran... no checking for recent GNU Fortran... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking size of void *... 8 checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore checking defines for C/Fortran name interfaces... -DLowerUnderscore checking fortran 90 modules extension... mod checking fortran 90 modules inclusion flag... -I checking whether we want long (8 bytes) integers... no. checking support for Fortran allocatables TR15581... yes checking support for Fortran EXTENDS... yes checking support for Fortran CLASS TBP... yes checking support for Fortran SOURCE= allocation... yes checking support for Fortran MOVE_ALLOC intrinsic... yes checking support for Fortran ISO_C_BINDING module... yes checking support for Fortran SAME_TYPE_AS... yes checking support for Fortran EXTENDS_TYPE_OF... yes checking support for Fortran MOLD= allocation... yes checking support for Fortran VOLATILE... yes checking test GENERIC interfaces... yes checking support for Fortran FLUSH statement... yes checking support for ISO_FORTRAN_ENV... yes checking support for Fortran FINAL... yes checking for sgemm in -lopenblas... yes checking for cheev in default libs... yes checking for gnumake... yes configure: metis dir checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking metis.h usability... yes checking metis.h presence... yes checking for metis.h... yes checking for METIS_PartGraphKway in -lmetis ... yes checking for METIS_SetDefaultOptions in -lmetis -lm ... yes configure: amd dir checking amd.h usability... yes checking amd.h presence... yes checking for amd.h... yes checking for amd_order in -lamd ... yes configure: creating ./config.status config.status: creating Make.inc config.status: executing depfiles commands configure: PSBLAS 3.5 has been configured as follows: MPIFC : gfortran MPICC : gcc FLINK : FDEFINES : -DHAVE_AMD -DHAVE_METIS -DHAVE_LAPACK -DHAVE_FINAL -DHAVE_ISO_FORTRAN_ENV -DHAVE_FLUSH_STMT -DHAVE_VOLATILE -DSERIAL_MPI -DMPI_MOD CDEFINES : -DHAVE_AMD_ -I/usr/include/suitesparse -DHAVE_METIS_ -DMETIS_5 -DLowerUnderscore -DPtr64Bits MODEXT : .mod FMFLAG : -I FCOPT : -O2 -g -pipe -Wall -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 -Wno-unused-variable -Wno-unused-dummy-argument -fPIC -I/usr/lib64/gfortran/modules -I/usr/include/openblas CCOPT : -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 -fPIC -I/usr/include/openblas BLAS : -lopenblas METIS detected : yes AMD detected : yes LIBS : LDLIBS : LIBRARYPATH : INCLUDEPATH : MODULE_PATH : If you are satisfied, run 'make' to build PSBLAS and its documentation; otherwise type ./configure --help=short for a complete list of configure options specific to PSBLAS. + /usr/bin/make -O -j4 V=1 VERBOSE=1 (if test ! -d lib ; then mkdir lib; fi) (if test ! -d include ; then mkdir include; fi; /usr/bin/install -c -m 644 Make.inc include/Make.inc.psblas) (if test ! -d modules ; then mkdir modules; fi;) cd base && /usr/bin/make lib cd modules && /usr/bin/make lib LIBNAME=libpsb_base.a F90="" F90COPT=" " make[2]: Entering directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' gfortran -O2 -g -pipe -Wall -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 -Wno-unused-variable -Wno-unused-dummy-argument -fPIC -I/usr/lib64/gfortran/modules -I/usr/include/openblas -I.. -I. -I. -DHAVE_AMD -DHAVE_METIS -DHAVE_LAPACK -DHAVE_FINAL -DHAVE_ISO_FORTRAN_ENV -DHAVE_FLUSH_STMT -DHAVE_VOLATILE -DSERIAL_MPI -DMPI_MOD -c psb_const_mod.F90 -o psb_const_mod.o make[2]: Leaving directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' make[2]: Entering directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' gcc -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 -fPIC -I/usr/include/openblas -I. -DHAVE_AMD_ -I/usr/include/suitesparse -DHAVE_METIS_ -DMETIS_5 -DLowerUnderscore -DPtr64Bits -c cutil.c -o cutil.o make[2]: Leaving directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' make[2]: Entering directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' gcc -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 -fPIC -I/usr/include/openblas -I. -DHAVE_AMD_ -I/usr/include/suitesparse -DHAVE_METIS_ -DMETIS_5 -DLowerUnderscore -DPtr64Bits -c fakempi.c -o fakempi.o make[2]: Leaving directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' fakempi.c: In function 'mpi_alltoall_': fakempi.c:141:11: warning: unused variable 'k' [-Wunused-variable] 141 | int i,j,k; | ^ fakempi.c:141:9: warning: unused variable 'j' [-Wunused-variable] 141 | int i,j,k; | ^ fakempi.c:141:7: warning: unused variable 'i' [-Wunused-variable] 141 | int i,j,k; | ^ fakempi.c: In function 'mpi_alltoallv_': fakempi.c:167:11: warning: unused variable 'k' [-Wunused-variable] 167 | int i,j,k; | ^ fakempi.c:167:9: warning: unused variable 'j' [-Wunused-variable] 167 | int i,j,k; | ^ fakempi.c:167:7: warning: unused variable 'i' [-Wunused-variable] 167 | int i,j,k; | ^ fakempi.c: In function 'mpi_gather_': fakempi.c:201:11: warning: unused variable 'k' [-Wunused-variable] 201 | int i,j,k; | ^ fakempi.c:201:9: warning: unused variable 'j' [-Wunused-variable] 201 | int i,j,k; | ^ fakempi.c:201:7: warning: unused variable 'i' [-Wunused-variable] 201 | int i,j,k; | ^ fakempi.c: In function 'mpi_gatherv_': fakempi.c:229:11: warning: unused variable 'k' [-Wunused-variable] 229 | int i,j,k; | ^ fakempi.c:229:9: warning: unused variable 'j' [-Wunused-variable] 229 | int i,j,k; | ^ fakempi.c:229:7: warning: unused variable 'i' [-Wunused-variable] 229 | int i,j,k; | ^ fakempi.c: In function 'mpi_scatter_': fakempi.c:264:11: warning: unused variable 'k' [-Wunused-variable] 264 | int i,j,k; | ^ fakempi.c:264:9: warning: unused variable 'j' [-Wunused-variable] 264 | int i,j,k; | ^ fakempi.c:264:7: warning: unused variable 'i' [-Wunused-variable] 264 | int i,j,k; | ^ fakempi.c: In function 'mpi_scatterv_': fakempi.c:292:11: warning: unused variable 'k' [-Wunused-variable] 292 | int i,j,k; | ^ fakempi.c:292:9: warning: unused variable 'j' [-Wunused-variable] 292 | int i,j,k; | ^ fakempi.c:292:7: warning: unused variable 'i' [-Wunused-variable] 292 | int i,j,k; | ^ fakempi.c: In function 'mpi_allgather_': fakempi.c:327:11: warning: unused variable 'k' [-Wunused-variable] 327 | int i,j,k; | ^ fakempi.c:327:9: warning: unused variable 'j' [-Wunused-variable] 327 | int i,j,k; | ^ fakempi.c:327:7: warning: unused variable 'i' [-Wunused-variable] 327 | int i,j,k; | ^ fakempi.c: In function 'mpi_allgatherv_': fakempi.c:354:11: warning: unused variable 'k' [-Wunused-variable] 354 | int i,j,k; | ^ fakempi.c:354:9: warning: unused variable 'j' [-Wunused-variable] 354 | int i,j,k; | ^ fakempi.c:354:7: warning: unused variable 'i' [-Wunused-variable] 354 | int i,j,k; | ^ make[2]: Entering directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' gfortran -O2 -g -pipe -Wall -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 -Wno-unused-variable -Wno-unused-dummy-argument -fPIC -I/usr/lib64/gfortran/modules -I/usr/include/openblas -I.. -I. -I. -DHAVE_AMD -DHAVE_METIS -DHAVE_LAPACK -DHAVE_FINAL -DHAVE_ISO_FORTRAN_ENV -DHAVE_FLUSH_STMT -DHAVE_VOLATILE -DSERIAL_MPI -DMPI_MOD -c psb_error_mod.F90 -o psb_error_mod.o make[2]: Leaving directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' make[2]: Entering directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' gfortran -O2 -g -pipe -Wall -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 -Wno-unused-variable -Wno-unused-dummy-argument -fPIC -I/usr/lib64/gfortran/modules -I/usr/include/openblas -I.. -I. -I. -c error.f90 -o error.o make[2]: Leaving directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' make[2]: Entering directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' gfortran -O2 -g -pipe -Wall -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 -Wno-unused-variable -Wno-unused-dummy-argument -fPIC -I/usr/lib64/gfortran/modules -I/usr/include/openblas -I.. -I. -I. -DHAVE_AMD -DHAVE_METIS -DHAVE_LAPACK -DHAVE_FINAL -DHAVE_ISO_FORTRAN_ENV -DHAVE_FLUSH_STMT -DHAVE_VOLATILE -DSERIAL_MPI -DMPI_MOD -c psb_realloc_mod.F90 -o psb_realloc_mod.o make[2]: Leaving directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' psb_realloc_mod.F90:2432:0: 2432 | info = err | Warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] make[2]: Entering directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' gfortran -O2 -g -pipe -Wall -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 -Wno-unused-variable -Wno-unused-dummy-argument -fPIC -I/usr/lib64/gfortran/modules -I/usr/include/openblas -I.. -I. -I. -c desc/psb_desc_const_mod.f90 -o desc/psb_desc_const_mod.o make[2]: Leaving directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' make[2]: Entering directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' gfortran -O2 -g -pipe -Wall -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 -Wno-unused-variable -Wno-unused-dummy-argument -fPIC -I/usr/lib64/gfortran/modules -I/usr/include/openblas -I.. -I. -I. -c aux/psi_i_serial_mod.f90 -o aux/psi_i_serial_mod.o make[2]: Leaving directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' make[2]: Entering directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' gfortran -O2 -g -pipe -Wall -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 -Wno-unused-variable -Wno-unused-dummy-argument -fPIC -I/usr/lib64/gfortran/modules -I/usr/include/openblas -I.. -I. -I. -c aux/psi_s_serial_mod.f90 -o aux/psi_s_serial_mod.o make[2]: Leaving directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' make[2]: Entering directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' gfortran -I.. -I. -I. -DHAVE_AMD -DHAVE_METIS -DHAVE_LAPACK -DHAVE_FINAL -DHAVE_ISO_FORTRAN_ENV -DHAVE_FLUSH_STMT -DHAVE_VOLATILE -DSERIAL_MPI -DMPI_MOD -O2 -g -pipe -Wall -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 -Wno-unused-variable -Wno-unused-dummy-argument -fPIC -I/usr/lib64/gfortran/modules -I/usr/include/openblas -c psi_comm_buffers_mod.F90 -o psi_comm_buffers_mod.o make[2]: Leaving directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' psi_comm_buffers_mod.F90:598:19: 598 | call mpi_isend(node%logbuf,size(node%logbuf),mpi_logical,& | 1 ...... 635 | call mpi_isend(node%charbuf,size(node%charbuf),mpi_character,& | 2 Error: Type mismatch between actual argument at (1) and actual argument at (2) (LOGICAL(4)/CHARACTER(*)). psi_comm_buffers_mod.F90:561:19: 561 | call mpi_isend(node%dcomplbuf,size(node%dcomplbuf),psb_mpi_c_dpk_,& | 1 ...... 635 | call mpi_isend(node%charbuf,size(node%charbuf),mpi_character,& | 2 Error: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/CHARACTER(*)). psi_comm_buffers_mod.F90:525:19: 525 | call mpi_isend(node%complexbuf,size(node%complexbuf),psb_mpi_c_spk_,& | 1 ...... 635 | call mpi_isend(node%charbuf,size(node%charbuf),mpi_character,& | 2 Error: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(4)/CHARACTER(*)). psi_comm_buffers_mod.F90:489:19: 489 | call mpi_isend(node%doublebuf,size(node%doublebuf),psb_mpi_r_dpk_,& | 1 ...... 635 | call mpi_isend(node%charbuf,size(node%charbuf),mpi_character,& | 2 Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/CHARACTER(*)). psi_comm_buffers_mod.F90:453:19: 453 | call mpi_isend(node%realbuf,size(node%realbuf),psb_mpi_r_spk_,& | 1 ...... 635 | call mpi_isend(node%charbuf,size(node%charbuf),mpi_character,& | 2 Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/CHARACTER(*)). psi_comm_buffers_mod.F90:378:19: 378 | call mpi_isend(node%int8buf,size(node%int8buf),psb_mpi_lng_integer,& | 1 ...... 635 | call mpi_isend(node%charbuf,size(node%charbuf),mpi_character,& | 2 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(8)/CHARACTER(*)). psi_comm_buffers_mod.F90:303:19: 303 | call mpi_isend(node%intbuf,size(node%intbuf),psb_mpi_ipk_integer,& | 1 ...... 635 | call mpi_isend(node%charbuf,size(node%charbuf),mpi_character,& | 2 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/CHARACTER(*)). make[2]: *** [Makefile:166: psi_comm_buffers_mod.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' gfortran -O2 -g -pipe -Wall -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 -Wno-unused-variable -Wno-unused-dummy-argument -fPIC -I/usr/lib64/gfortran/modules -I/usr/include/openblas -I.. -I. -I. -c aux/psi_d_serial_mod.f90 -o aux/psi_d_serial_mod.o make[2]: Leaving directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' make[2]: Entering directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' gfortran -O2 -g -pipe -Wall -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 -Wno-unused-variable -Wno-unused-dummy-argument -fPIC -I/usr/lib64/gfortran/modules -I/usr/include/openblas -I.. -I. -I. -c aux/psb_string_mod.f90 -o aux/psb_string_mod.o make[2]: Leaving directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' make[2]: Entering directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' gfortran -O2 -g -pipe -Wall -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 -Wno-unused-variable -Wno-unused-dummy-argument -fPIC -I/usr/lib64/gfortran/modules -I/usr/include/openblas -I.. -I. -I. -c aux/psi_c_serial_mod.f90 -o aux/psi_c_serial_mod.o make[2]: Leaving directory '/builddir/build/BUILD/psblas3-3.6.1/psblas3-3.6.1/base/modules' make[1]: *** [Makefile:16: mods] Error 2 make: *** [Makefile:18: based] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Wzc51F (%build) Bad exit status from /var/tmp/rpm-tmp.Wzc51F (%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/psblas3.spec