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/tachyon.spec'], chrootPath='/var/lib/mock/f38-build-719139-96783/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/tachyon.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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674259200 Wrote: /builddir/build/SRPMS/tachyon-0.99-0.29.b6.fc38.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tachyon.spec'], chrootPath='/var/lib/mock/f38-build-719139-96783/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/tachyon.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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674259200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Z1yyOv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tachyon + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tachyon-0.99b6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tachyon + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (tachyon-rpm.patch):' Patch #0 (tachyon-rpm.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .r --fuzz=0 patching file unix/Make-arch patching file unix/Make-config Patch #1 (tachyon-shared.patch): + echo 'Patch #1 (tachyon-shared.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .shared --fuzz=0 patching file unix/Makefile + find . -name CVS + xargs rm -r + chmod 644 src/hash.c src/hash.h + chmod 644 src/pngfile.h + chmod 644 demosrc/spaceball.c + chmod 644 demosrc/trackball.c demosrc/trackball.h + chmod 644 scenes/imaps/aqua.ppm scenes/imaps/bigspace.ppm scenes/imaps/bumpy.ppm scenes/imaps/burgn.ppm scenes/imaps/dirt2.ppm scenes/imaps/fire.ppm scenes/imaps/islandpic.tga scenes/imaps/leafy.ppm scenes/imaps/metal.ppm scenes/imaps/parquet.ppm scenes/imaps/rufbrik.ppm scenes/imaps/space.ppm scenes/imaps/space3.ppm scenes/imaps/teapot.ppm scenes/imaps/umrlogo.ppm scenes/imaps/umrpic.tga scenes/imaps/whtceil.ppm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lIcCoC + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 ~/build/BUILD/tachyon/unix ~/build/BUILD/tachyon + CC=gcc + export CC + CXX=g++ + export CXX + cd tachyon + pushd unix + for variant in thr thr-ogl + make -j4 'OPTFLAGS=-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer' linux-64-thr make all \ "ARCH = linux-64-thr" \ "CC = gcc" \ "CFLAGS = -m64 -Wall -O2 -DLinux -DTHR -DUSEATOMICBARRIERS -D_REENTRANT -DUSEJPEG -DUSEPNG `pkg-config --cflags libpng` -O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer" \ "AR = ar" \ "ARFLAGS = r" \ "STRIP = touch" \ "RANLIB = ranlib" \ "LIBS = -L. -ltachyon -ljpeg `pkg-config --libs libpng` -lm -lpthread" make[1]: Entering directory '/builddir/build/BUILD/tachyon/unix' Building Tachyon Parallel Ray Tracing library Copyright 1994-2007, John E. Stone Making architecture directory ../compile/linux-64-thr All Rights Reserveed Making library directory ../compile/linux-64-thr/libtachyon make ../compile ../compile/linux-64-thr ../compile/linux-64-thr/libtachyon ../compile/linux-64-thr/libtachyon.so ../compile/linux-64-thr/tachyon make[2]: Entering directory '/builddir/build/BUILD/tachyon/unix' make[2]: Nothing to be done for '../compile'. make[2]: Nothing to be done for '../compile/linux-64-thr'. make[2]: Nothing to be done for '../compile/linux-64-thr/libtachyon'. gcc -m64 -Wall -O2 -DLinux -DTHR -DUSEATOMICBARRIERS -D_REENTRANT -DUSEJPEG -DUSEPNG -I/usr/include/libpng16 -O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -fPIC -c ../src/api.c -o ../compile/linux-64-thr/libtachyon/api.o gcc -m64 -Wall -O2 -DLinux -DTHR -DUSEATOMICBARRIERS -D_REENTRANT -DUSEJPEG -DUSEPNG -I/usr/include/libpng16 -O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -fPIC -c ../src/apigeom.c -o ../compile/linux-64-thr/libtachyon/apigeom.o gcc -m64 -Wall -O2 -DLinux -DTHR -DUSEATOMICBARRIERS -D_REENTRANT -DUSEJPEG -DUSEPNG -I/usr/include/libpng16 -O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -fPIC -c ../src/box.c -o ../compile/linux-64-thr/libtachyon/box.o gcc -m64 -Wall -O2 -DLinux -DTHR -DUSEATOMICBARRIERS -D_REENTRANT -DUSEJPEG -DUSEPNG -I/usr/include/libpng16 -O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -fPIC -c ../src/global.c -o ../compile/linux-64-thr/libtachyon/global.o cc1: error: unrecognized command-line option '-m64' cc1: error: unrecognized command-line option '-m64' cc1: error: unrecognized command-line option '-m64' cc1: error: unrecognized command-line option '-m64' make[2]: *** [Makefile:363: ../compile/linux-64-thr/libtachyon/box.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:372: ../compile/linux-64-thr/libtachyon/api.o] Error 1 make[2]: *** [Makefile:369: ../compile/linux-64-thr/libtachyon/apigeom.o] Error 1 make[2]: *** [Makefile:348: ../compile/linux-64-thr/libtachyon/global.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/tachyon/unix' make[1]: Leaving directory '/builddir/build/BUILD/tachyon/unix' make[1]: *** [Makefile:84: all] Error 2 make: *** [Make-arch:1217: linux-64-thr] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.lIcCoC (%build) RPM build warnings: RPM build errors: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.lIcCoC (%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/tachyon.spec