: Leaving directory '/builddir/build/BUILD/qr_mumps-2.0/build/src' (cd examples; make examples) make[2]: Entering directory '/builddir/build/BUILD/qr_mumps-2.0/build/examples' (make qrm_test PREC=-Ddprec arith=d) make[3]: Entering directory '/builddir/build/BUILD/qr_mumps-2.0/build/examples' perl /builddir/build/BUILD/qr_mumps-2.0/aux/d.pl /builddir/build/BUILD/qr_mumps-2.0/src/examples/qrm_test.F90 > dqrm_test.F90 gfortran -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 -Wno-unused-variable -I/usr/lib64/gfortran/modules -fopenmp -fPIC -Wl,-z,now -I/usr/include -I. -I../include -I../include -Dhave_metis -Dhave_scotch -Dhave_colamd -Ddprec -c dqrm_test.F90 BUILDSTDERR: dqrm_test.F90:321:0: BUILDSTDERR: subroutine dqrm_tikhonov(qrm_mat, gamma) BUILDSTDERR: BUILDSTDERR: Warning: 'dqrm_tikhonov' defined but not used [-Wunused-function] gfortran -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 -Wno-unused-variable -I/usr/lib64/gfortran/modules -fopenmp -fPIC -Wl,-z,now -o dqrm_test dqrm_test.o ../lib/libdqrm.a ../lib/libqrm_common.a -llapack -lblas -lcolamd -lmetis -lscotch -lscotcherr -lpthread BUILDSTDERR: /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libscotch.so: undefined reference to `BZ2_bzReadGetUnused' BUILDSTDERR: /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libscotch.so: undefined reference to `BZ2_bzRead' BUILDSTDERR: /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libscotch.so: undefined reference to `BZ2_bzWriteClose' BUILDSTDERR: /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libscotch.so: undefined reference to `BZ2_bzWriteOpen' BUILDSTDERR: /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libscotch.so: undefined reference to `lzma_code' BUILDSTDERR: /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libscotch.so: undefined reference to `BZ2_bzReadOpen' BUILDSTDERR: /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libscotch.so: undefined reference to `lzma_stream_decoder' BUILDSTDERR: /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libscotch.so: undefined reference to `lzma_end' BUILDSTDERR: /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libscotch.so: undefined reference to `lzma_easy_encoder' BUILDSTDERR: /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libscotch.so: undefined reference to `BZ2_bzWrite' BUILDSTDERR: /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libscotch.so: undefined reference to `BZ2_bzReadClose' make[3]: Leaving directory '/builddir/build/BUILD/qr_mumps-2.0/build/examples' make[2]: Leaving directory '/builddir/build/BUILD/qr_mumps-2.0/build/examples' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[3]: *** [Makefile:77: qrm_test] Error 1 BUILDSTDERR: make[2]: *** [Makefile:18: dprec] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/qr_mumps-2.0/build' BUILDSTDERR: make[1]: *** [Makefile:7: examples] Error 2 BUILDSTDERR: make: *** [Makefile:24: examples] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.V9NnsA (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.V9NnsA (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, 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/qrmumps.spec