Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ccluster.spec'], chrootPath='/var/lib/mock/f40-build-800642-143605/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ccluster.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1710288000 Wrote: /builddir/build/SRPMS/ccluster-1.1.7-4.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ccluster.spec'], chrootPath='/var/lib/mock/f40-build-800642-143605/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ccluster.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1710288000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ubUoRd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Ccluster-1.1.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ccluster-1.1.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Ccluster-1.1.7 + rm -rf /builddir/build/BUILD/Ccluster-1.1.7-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/Ccluster-1.1.7-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/74.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/75.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/ccluster-flint3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + '[' lib64 '!=' lib ']' + sed -i 's,^\(LIBDIR=\)lib,\1lib64,' Makefile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XZSCdv + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Ccluster-1.1.7 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/include/flint' + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/include/flint' ++ echo 1.1.7 ++ cut -d. -f1 + major=1 + sed -i 's|-shared|& -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-h,libccluster.so.1|' Makefile.in + ./configure --prefix=/usr --disable-static FLINT_LIB_DIR set to /usr/local/lib FLINT_INC_DIR set to /usr/local/include ARB_LIB_DIR set to /usr/local/lib ARB_INC_DIR set to /usr/local/include Configuring...unknown-Linux Testing __builtin_popcountl...yes CCLUSTER was successfully configured. + /usr/bin/make -O -j4 V=1 VERBOSE=1 library bins AT= QUIET_CC= QUIET_AR= if [ "1" -eq "1" ]; then \ /usr/bin/make shared; \ fi make[1]: Entering directory '/builddir/build/BUILD/Ccluster-1.1.7' gcc -fPIC -DCCLUSTER_HAVE_PTHREAD -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/include/flint -I/builddir/build/BUILD/Ccluster-1.1.7/src -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -c src/base/inline.c -o src/base/inline.lo; make[1]: Leaving directory '/builddir/build/BUILD/Ccluster-1.1.7' make[1]: Entering directory '/builddir/build/BUILD/Ccluster-1.1.7' gcc -fPIC -DCCLUSTER_HAVE_PTHREAD -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/include/flint -I/builddir/build/BUILD/Ccluster-1.1.7/src -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -c src/polynomials/app_rat_poly.c -o src/polynomials/app_rat_poly.lo; make[1]: Leaving directory '/builddir/build/BUILD/Ccluster-1.1.7' src/polynomials/app_rat_poly.c:12:10: fatal error: gr_poly.h: No such file or directory 12 | #include | ^~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:144: src/polynomials/app_rat_poly.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/Ccluster-1.1.7' gcc -fPIC -DCCLUSTER_HAVE_PTHREAD -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/include/flint -I/builddir/build/BUILD/Ccluster-1.1.7/src -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -c src/numbers/inlines.c -o src/numbers/inlines.lo; make[1]: Leaving directory '/builddir/build/BUILD/Ccluster-1.1.7' In file included from src/numbers/inlines.c:16: /builddir/build/BUILD/Ccluster-1.1.7/src/numbers/realApp.h:22:10: fatal error: arf.h: No such file or directory 22 | #include "arf.h" | ^~~~~~~ compilation terminated. make[1]: *** [Makefile:144: src/numbers/inlines.lo] Error 1 make[1]: Entering directory '/builddir/build/BUILD/Ccluster-1.1.7' gcc -fPIC -DCCLUSTER_HAVE_PTHREAD -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/include/flint -I/builddir/build/BUILD/Ccluster-1.1.7/src -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -c src/numbers/app_rat.c -o src/numbers/app_rat.lo; make[1]: Leaving directory '/builddir/build/BUILD/Ccluster-1.1.7' In file included from src/numbers/app_rat.h:23, from src/numbers/app_rat.c:12: src/numbers/realApp.h:22:10: fatal error: arf.h: No such file or directory 22 | #include "arf.h" | ^~~~~~~ compilation terminated. make[1]: *** [Makefile:144: src/numbers/app_rat.lo] Error 1 make[1]: Entering directory '/builddir/build/BUILD/Ccluster-1.1.7' gcc -fPIC -DCCLUSTER_HAVE_PTHREAD -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/include/flint -I/builddir/build/BUILD/Ccluster-1.1.7/src -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -c src/numbers/compRat.c -o src/numbers/compRat.lo; make[1]: Leaving directory '/builddir/build/BUILD/Ccluster-1.1.7' make: *** [Makefile:152: library] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.XZSCdv (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.XZSCdv (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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/ccluster.spec