Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/tachyon.spec'], chrootPath='/var/lib/mock/f31-build-99342-33139/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Wrote: /builddir/build/SRPMS/tachyon-0.99-0.22.b6.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tachyon.spec'], chrootPath='/var/lib/mock/f31-build-99342-33139/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zNLsUM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tachyon + /usr/bin/gzip -dc /builddir/build/SOURCES/tachyon-0.99b6.tar.gz + /usr/bin/tar -xof - + 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):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .r --fuzz=0 + echo 'Patch #1 (tachyon-shared.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .shared --fuzz=0 + 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 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (tachyon-rpm.patch): patching file unix/Make-arch patching file unix/Make-config Patch #1 (tachyon-shared.patch): patching file unix/Makefile Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CjGAAM + umask 022 + cd /builddir/build/BUILD + cd tachyon + pushd unix + for variant in thr thr-ogl + make -j4 'OPTFLAGS=-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' linux-64-thr BUILDSTDERR: cc1: error: unrecognized command line option '-m64' BUILDSTDERR: cc1: error: unrecognized command line option '-m64' BUILDSTDERR: cc1: error: unrecognized command line option '-m64' BUILDSTDERR: cc1: error: unrecognized command line option '-m64' BUILDSTDERR: make[2]: *** [Makefile:348: ../compile/linux-64-thr/libtachyon/global.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: make[2]: *** [Makefile:372: ../compile/linux-64-thr/libtachyon/api.o] Error 1 BUILDSTDERR: make[2]: *** [Makefile:369: ../compile/linux-64-thr/libtachyon/apigeom.o] Error 1 BUILDSTDERR: make[2]: *** [Makefile:363: ../compile/linux-64-thr/libtachyon/box.o] Error 1 BUILDSTDERR: make[1]: *** [Makefile:84: all] Error 2 BUILDSTDERR: make: *** [Make-arch:1217: linux-64-thr] Error 2 ~/build/BUILD/tachyon/unix ~/build/BUILD/tachyon make all \ "ARCH = linux-64-thr" \ "CC = gcc" \ "CFLAGS = -m64 -Wall -O2 -DLinux -DTHR -DUSEATOMICBARRIERS -D_REENTRANT -DUSEJPEG -DUSEPNG `pkg-config --cflags libpng` -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" \ "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 -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 -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 -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 -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 -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 -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 -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 -fPIC -c ../src/global.c -o ../compile/linux-64-thr/libtachyon/global.o make[2]: Leaving directory '/builddir/build/BUILD/tachyon/unix' make[1]: Leaving directory '/builddir/build/BUILD/tachyon/unix' RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.CjGAAM (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.CjGAAM (%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 700, 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/tachyon.spec