aving directory '/builddir/build/BUILD/gromacs-2019.6/serial/riscv64-redhat-linux-gnu' gmake[2]: *** [CMakeFiles/Makefile2:3749: src/testutils/tests/CMakeFiles/testutils-test.dir/all] Error 2 gmake[2]: *** Waiting for unfinished jobs.... [ 82%] Linking CXX executable ../../../../bin/listed-forces-test cd /builddir/build/BUILD/gromacs-2019.6/serial/riscv64-redhat-linux-gnu/src/gromacs/listed-forces/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/listed-forces-test.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -std=c++11 -DNDEBUG -funroll-all-loops -fexcess-precision=fast -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld CMakeFiles/listed-forces-test.dir/bonded.cpp.o CMakeFiles/listed-forces-test.dir/__/__/__/testutils/unittest_main.cpp.o -o ../../../../bin/listed-forces-test ../../../../lib/libtestutils.a ../../../../lib/libgromacs.so.4.0.0 ../../../../lib/libgmock.a -lpthread -fopenmp -lm /tmp/mdlib-test.ZUEybo.ltrans2.ltrans.o: in function `.L0 ': /builddir/build/BUILD/gromacs-2019.6/src/external/tinyxml2/tinyxml2.h:301:(.text+0x4bb0): relocation truncated to fit: R_RISCV_PCREL_HI20 against `.LC44' collect2: error: ld returned 1 exit status gmake[3]: *** [src/gromacs/mdlib/tests/CMakeFiles/mdlib-test.dir/build.make:214: bin/mdlib-test] Error 1 gmake[3]: Leaving directory '/builddir/build/BUILD/gromacs-2019.6/serial/riscv64-redhat-linux-gnu' gmake[2]: *** [CMakeFiles/Makefile2:3888: src/gromacs/mdlib/tests/CMakeFiles/mdlib-test.dir/all] Error 2 /tmp/mdrun-mpi-test.pAcYCZ.ltrans2.ltrans.o: in function `.L0 ': /builddir/build/BUILD/gromacs-2019.6/src/testutils/refdata-xml.cpp:329:(.text+0x60b0): relocation truncated to fit: R_RISCV_PCREL_HI20 against `.LC361' collect2: error: ld returned 1 exit status gmake[3]: *** [src/programs/mdrun/tests/CMakeFiles/mdrun-mpi-test.dir/build.make:230: bin/mdrun-mpi-test] Error 1 gmake[3]: Leaving directory '/builddir/build/BUILD/gromacs-2019.6/serial/riscv64-redhat-linux-gnu' gmake[2]: *** [CMakeFiles/Makefile2:5220: src/programs/mdrun/tests/CMakeFiles/mdrun-mpi-test.dir/all] Error 2 /tmp/listed-forces-test.eBmSMY.ltrans0.ltrans.o: in function `.L0 ': /usr/include/c++/10/bits/char_traits.h:322:(.text+0x1e70): relocation truncated to fit: R_RISCV_PCREL_HI20 against `.LC18' collect2: error: ld returned 1 exit status gmake[3]: *** [src/gromacs/listed-forces/tests/CMakeFiles/listed-forces-test.dir/build.make:124: bin/listed-forces-test] Error 1 gmake[3]: Leaving directory '/builddir/build/BUILD/gromacs-2019.6/serial/riscv64-redhat-linux-gnu' gmake[2]: *** [CMakeFiles/Makefile2:3946: src/gromacs/listed-forces/tests/CMakeFiles/listed-forces-test.dir/all] Error 2 gmake[2]: Leaving directory '/builddir/build/BUILD/gromacs-2019.6/serial/riscv64-redhat-linux-gnu' gmake[1]: *** [CMakeFiles/Makefile2:2115: CMakeFiles/check.dir/rule] Error 2 gmake[1]: Leaving directory '/builddir/build/BUILD/gromacs-2019.6/serial/riscv64-redhat-linux-gnu' gmake: *** [Makefile:271: check] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.T4mKoA (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.T4mKoA (%check) 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/gromacs.spec