.pl [359/2412] Generating ../../home/library/chr/a_star.pl [360/2412] Generating ../../home/library/chr/binomialheap.pl [361/2412] Generating ../../home/library/chr/builtins.pl [362/2412] Generating ../../home/library/chr/chr_hashtable_store.pl [363/2412] Generating ../../home/library/chr/listmap.pl [364/2412] Generating ../../home/library/chr/chr_compiler_options.pl [365/2412] Generating ../../home/library/chr/chr_compiler_utility.pl [366/2412] Generating ../../home/library/chr/chr_integertable_store.pl [367/2412] Generating ../../home/library/chr/chr_compiler_errors.pl [368/2412] Building C object packages/zlib/CMakeFiles/plugin_zlib4pl.dir/zlib4pl.c.o [369/2412] Building C object packages/clib/CMakeFiles/plugin_memfile.dir/error.c.o [370/2412] Building C object packages/clib/CMakeFiles/plugin_prolog_stream.dir/prolog_stream.c.o [371/2412] Linking C shared module packages/clib/prolog_stream.so [372/2412] Building C object packages/clib/CMakeFiles/plugin_streaminfo.dir/error.c.o [373/2412] Building C object packages/nlp/CMakeFiles/plugin_porter_stem.dir/porter_stem.c.o [374/2412] Building C object packages/clib/CMakeFiles/plugin_crypt.dir/error.c.o [375/2412] Linking C shared module packages/nlp/porter_stem.so [376/2412] Building C object packages/clib/CMakeFiles/plugin_streaminfo.dir/streaminfo.c.o [377/2412] Linking C shared module packages/clib/streaminfo.so [378/2412] Building C object packages/clib/CMakeFiles/plugin_crypt.dir/crypt.c.o [379/2412] Building C object packages/clib/CMakeFiles/plugin_crypt.dir/md5passwd.c.o [380/2412] Building C object packages/clib/CMakeFiles/plugin_memfile.dir/memfile.c.o [381/2412] Building C object packages/clib/CMakeFiles/plugin_process.dir/error.c.o [382/2412] Building C object packages/clib/CMakeFiles/plugin_crypt.dir/md5.c.o [383/2412] Linking C shared library src/libswipl.so.8.2.0 [384/2412] Linking C shared module packages/clib/memfile.so [385/2412] Creating library symlink src/libswipl.so.8 src/libswipl.so [386/2412] Linking C shared module packages/clib/crypt.so [387/2412] Building C object packages/clib/CMakeFiles/plugin_time.dir/error.c.o [388/2412] Linking C executable src/swipl FAILED: src/swipl : && /usr/bin/gcc -O2 -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 -O2 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld src/CMakeFiles/swipl.dir/pl-main.c.o -o src/swipl -Wl,-rpath,/builddir/build/BUILD/swipl-8.2.0/build/src: /usr/lib64/libtcmalloc_minimal.so src/libswipl.so.8.2.0 && : /usr/bin/ld: src/libswipl.so.8.2.0: undefined reference to `__atomic_fetch_or_2' collect2: error: ld returned 1 exit status [389/2412] Building C object packages/table/CMakeFiles/plugin_table.dir/table.c.o [390/2412] Building C object packages/clib/CMakeFiles/plugin_cgi.dir/error.c.o [391/2412] Building C object packages/clib/CMakeFiles/plugin_cgi.dir/form.c.o [392/2412] Building C object packages/clib/CMakeFiles/plugin_process.dir/process.c.o [393/2412] Building C object packages/clib/CMakeFiles/plugin_time.dir/time.c.o ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.flFN6o (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.flFN6o (%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/pl.spec