Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/slic3r.spec'], chrootPath='/var/lib/mock/f33-build-270978-51547/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=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/slic3r.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 sh: perl: command not found Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1591056000 Wrote: /builddir/build/SRPMS/slic3r-1.3.0-14.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/slic3r.spec'], chrootPath='/var/lib/mock/f33-build-270978-51547/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=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/slic3r.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=1591056000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.24Ldhw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Slic3r-1.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/1.3.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Slic3r-1.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (slic3r-buildpl.patch):' Patch #0 (slic3r-buildpl.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Build.PL Hunk #1 succeeded at 164 (offset 18 lines). Patch #1 (slic3r-datadir.patch): + echo 'Patch #1 (slic3r-datadir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/Slic3r.pm Patch #2 (slic3r-english-locale.patch): + echo 'Patch #2 (slic3r-english-locale.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file slic3r.pl Patch #3 (slic3r-linker.patch): + echo 'Patch #3 (slic3r-linker.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .linker --fuzz=0 patching file xs/Build.PL Patch #4 (slic3r-clipper.patch): + echo 'Patch #4 (slic3r-clipper.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file xs/src/libslic3r/ClipperUtils.hpp patching file xs/src/libslic3r/Geometry.cpp patching file xs/src/libslic3r/SVG.hpp patching file xs/xsp/Clipper.xsp Patch #5 (slic3r-1.3.0-fixtest.patch): + echo 'Patch #5 (slic3r-1.3.0-fixtest.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fixtest --fuzz=0 patching file t/gcode.t Patch #6 (slic3r-wayland.patch): + echo 'Patch #6 (slic3r-wayland.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file slic3r.pl Patch #7 (slic3r-boost169.patch): + echo 'Patch #7 (slic3r-boost169.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file xs/src/libslic3r/GCodeSender.hpp Patch #8 (slic3r-endian.patch): + echo 'Patch #8 (slic3r-endian.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file xs/src/admesh/stl.h Patch #9 (slic3r-bind-placeholders.patch): + echo 'Patch #9 (slic3r-bind-placeholders.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file xs/src/libslic3r/GCodeSender.hpp patching file xs/src/libslic3r/GCodeTimeEstimator.cpp patching file xs/src/libslic3r/PrintObject.cpp patching file xs/src/libslic3r/SLAPrint.cpp patching file xs/src/libslic3r/TriangleMesh.cpp Patch #10 (slic3r-boost-nowide.patch): + echo 'Patch #10 (slic3r-boost-nowide.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/CMakeLists.txt patching file xs/Build.PL patching file xs/src/libslic3r/Config.cpp + rm -rf xs/src/expat + sed -i '/src\/expat/d' xs/MANIFEST + sed -i 's|expat/expat.h|expat.h|g' xs/src/libslic3r/IO/AMF.cpp + sed -i 's|expat/expat.h|expat.h|g' xs/src/libslic3r/IO/TMF.hpp + export 'SYSTEM_LIBS= -lpolyclipping' + SYSTEM_LIBS=' -lpolyclipping' + rm -rf xs/src/poly2tri + sed -i '/src\/poly2tri/d' xs/MANIFEST + rm -rf xs/src/boost + sed -i '/src\/boost\/nowide/d' xs/MANIFEST + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HUAOGw + umask 022 + cd /builddir/build/BUILD + cd Slic3r-1.3.0 + export 'SYSTEM_LIBS= -lexpat' + SYSTEM_LIBS=' -lexpat' SYSTEM_LIBS is -lexpat -lpoly2tri + export 'SYSTEM_LIBS= -lexpat -lpoly2tri' + SYSTEM_LIBS=' -lexpat -lpoly2tri' + cd xs + [[ ! -z -lexpat -lpoly2tri ]] + echo 'SYSTEM_LIBS is -lexpat -lpoly2tri' + perl ./Build.PL installdirs=vendor 'optimize=-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' Slic3r requires the Boost libraries. Please make sure they are installed. If they are installed, this script should be able to locate them in several standard locations. If this is not the case, you might want to supply their path through the BOOST_INCLUDEPATH and BOOST_LIBRARYPATH environment variables: BOOST_INCLUDEPATH=/usr/local/include BOOST_LIBRARYPATH=/usr/lib perl Build.PL If you just compiled Boost in its source directory without installing it in the system you can just provide the BOOST_DIR variable pointing to that directory. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.HUAOGw (%build) Bad exit status from /var/tmp/rpm-tmp.HUAOGw (%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/slic3r.spec