Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/fntsample.spec'], chrootPath='/var/lib/mock/f30-build-37126-21149/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=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/fntsample.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 Wrote: /builddir/build/SRPMS/fntsample-5.2-2.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/fntsample.spec'], chrootPath='/var/lib/mock/f30-build-37126-21149/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=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/fntsample.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.60UNyR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fntsample-release-5.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/fntsample-5.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fntsample-release-5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BPdORT + umask 022 + cd /builddir/build/BUILD + cd fntsample-release-5.2 + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DUNICODE_BLOCKS=/usr/share/unicode/ucd/Blocks.txt -- The C compiler identification is GNU 8.2.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "1.5.3") -- Found Intl: /usr/include -- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1") -- Found Iconv: /usr/include -- Checking for modules 'cairo;fontconfig;freetype2;glib-2.0;pangocairo>=1.16;pangoft2' -- Found cairo, version 1.16.0 -- Found fontconfig, version 2.13.1 -- Found freetype2, version 22.1.16 -- Found glib-2.0, version 2.58.1 -- Found pangocairo, version 1.42.3 -- Found pangoft2, version 1.42.3 -- Performing Test HAVE_AS_NEEDED -- Performing Test HAVE_AS_NEEDED - Success -- Configuring done -- Generating done BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: BUILD_SHARED_LIBS BUILDSTDERR: CMAKE_CXX_FLAGS_RELEASE BUILDSTDERR: CMAKE_C_FLAGS_RELEASE BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: INCLUDE_INSTALL_DIR BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: LIB_SUFFIX BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/fntsample-release-5.2 + /usr/bin/make -O -j4 /usr/bin/cmake -H/builddir/build/BUILD/fntsample-release-5.2 -B/builddir/build/BUILD/fntsample-release-5.2 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/fntsample-release-5.2/CMakeFiles /builddir/build/BUILD/fntsample-release-5.2/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f CMakeFiles/fntsample.dir/build.make CMakeFiles/fntsample.dir/depend /usr/bin/make -f po/CMakeFiles/uk.gmo.dir/build.make po/CMakeFiles/uk.gmo.dir/depend make[2]: Entering directory '/builddir/build/BUILD/fntsample-release-5.2' cd /builddir/build/BUILD/fntsample-release-5.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/fntsample-release-5.2 /builddir/build/BUILD/fntsample-release-5.2/po /builddir/build/BUILD/fntsample-release-5.2 /builddir/build/BUILD/fntsample-release-5.2/po /builddir/build/BUILD/fntsample-release-5.2/po/CMakeFiles/uk.gmo.dir/DependInfo.cmake --color= Scanning dependencies of target uk.gmo make[2]: Leaving directory '/builddir/build/BUILD/fntsample-release-5.2' /usr/bin/make -f po/CMakeFiles/uk.gmo.dir/build.make po/CMakeFiles/uk.gmo.dir/build make[2]: Entering directory '/builddir/build/BUILD/fntsample-release-5.2' [ 16%] Generating unicode_blocks.c /usr/bin/gawk -f genblocks.awk /usr/share/unicode/ucd/Blocks.txt > /builddir/build/BUILD/fntsample-release-5.2/unicode_blocks.c make[2]: Leaving directory '/builddir/build/BUILD/fntsample-release-5.2' make[2]: Entering directory '/builddir/build/BUILD/fntsample-release-5.2' [ 33%] Compiling uk.po to uk.gmo cd /builddir/build/BUILD/fntsample-release-5.2/po && /usr/bin/msgfmt /builddir/build/BUILD/fntsample-release-5.2/po/uk.po -o /builddir/build/BUILD/fntsample-release-5.2/po/uk.gmo make[2]: Leaving directory '/builddir/build/BUILD/fntsample-release-5.2' make[1]: Entering directory '/builddir/build/BUILD/fntsample-release-5.2' [ 33%] Built target uk.gmo make[1]: Leaving directory '/builddir/build/BUILD/fntsample-release-5.2' make[2]: Entering directory '/builddir/build/BUILD/fntsample-release-5.2' cd /builddir/build/BUILD/fntsample-release-5.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/fntsample-release-5.2 /builddir/build/BUILD/fntsample-release-5.2 /builddir/build/BUILD/fntsample-release-5.2 /builddir/build/BUILD/fntsample-release-5.2 /builddir/build/BUILD/fntsample-release-5.2/CMakeFiles/fntsample.dir/DependInfo.cmake --color= Scanning dependencies of target fntsample make[2]: Leaving directory '/builddir/build/BUILD/fntsample-release-5.2' /usr/bin/make -f CMakeFiles/fntsample.dir/build.make CMakeFiles/fntsample.dir/build make[2]: Entering directory '/builddir/build/BUILD/fntsample-release-5.2' [ 50%] Building C object CMakeFiles/fntsample.dir/unicode_blocks.c.o /usr/bin/cc -I/builddir/build/BUILD/fntsample-release-5.2/fntsample -I/builddir/build/BUILD/fntsample-release-5.2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -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 -Wall -W -Wwrite-strings -Wstrict-prototypes -pedantic -std=gnu99 -o CMakeFiles/fntsample.dir/unicode_blocks.c.o -c /builddir/build/BUILD/fntsample-release-5.2/unicode_blocks.c make[2]: Leaving directory '/builddir/build/BUILD/fntsample-release-5.2' make[2]: Entering directory '/builddir/build/BUILD/fntsample-release-5.2' [ 66%] Building C object CMakeFiles/fntsample.dir/read_blocks.c.o /usr/bin/cc -I/builddir/build/BUILD/fntsample-release-5.2/fntsample -I/builddir/build/BUILD/fntsample-release-5.2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -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 -Wall -W -Wwrite-strings -Wstrict-prototypes -pedantic -std=gnu99 -o CMakeFiles/fntsample.dir/read_blocks.c.o -c /builddir/build/BUILD/fntsample-release-5.2/read_blocks.c make[2]: Leaving directory '/builddir/build/BUILD/fntsample-release-5.2' make[2]: Entering directory '/builddir/build/BUILD/fntsample-release-5.2' [ 83%] Building C object CMakeFiles/fntsample.dir/fntsample.c.o /usr/bin/cc -I/builddir/build/BUILD/fntsample-release-5.2/fntsample -I/builddir/build/BUILD/fntsample-release-5.2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -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 -Wall -W -Wwrite-strings -Wstrict-prototypes -pedantic -std=gnu99 -o CMakeFiles/fntsample.dir/fntsample.c.o -c /builddir/build/BUILD/fntsample-release-5.2/fntsample.c make[2]: Leaving directory '/builddir/build/BUILD/fntsample-release-5.2' make[2]: Entering directory '/builddir/build/BUILD/fntsample-release-5.2' [100%] Linking C executable fntsample /usr/bin/cmake -E cmake_link_script CMakeFiles/fntsample.dir/link.txt --verbose=1 /usr/bin/cc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -rdynamic CMakeFiles/fntsample.dir/fntsample.c.o CMakeFiles/fntsample.dir/read_blocks.c.o CMakeFiles/fntsample.dir/unicode_blocks.c.o -o fntsample -lm -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype make[2]: Leaving directory '/builddir/build/BUILD/fntsample-release-5.2' make[1]: Entering directory '/builddir/build/BUILD/fntsample-release-5.2' [100%] Built target fntsample make[1]: Leaving directory '/builddir/build/BUILD/fntsample-release-5.2' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/fntsample-release-5.2/CMakeFiles 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XYYpkt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fntsample-5.2-2.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fntsample-5.2-2.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/fntsample-5.2-2.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fntsample-5.2-2.fc30.riscv64 + cd fntsample-release-5.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/fntsample-5.2-2.fc30.riscv64 'INSTALL=/usr/bin/install -p' /usr/bin/cmake -H/builddir/build/BUILD/fntsample-release-5.2 -B/builddir/build/BUILD/fntsample-release-5.2 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/fntsample-release-5.2/CMakeFiles /builddir/build/BUILD/fntsample-release-5.2/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/fntsample-release-5.2' /usr/bin/make -f CMakeFiles/fntsample.dir/build.make CMakeFiles/fntsample.dir/depend make[2]: Entering directory '/builddir/build/BUILD/fntsample-release-5.2' cd /builddir/build/BUILD/fntsample-release-5.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/fntsample-release-5.2 /builddir/build/BUILD/fntsample-release-5.2 /builddir/build/BUILD/fntsample-release-5.2 /builddir/build/BUILD/fntsample-release-5.2 /builddir/build/BUILD/fntsample-release-5.2/CMakeFiles/fntsample.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/fntsample-release-5.2' /usr/bin/make -f CMakeFiles/fntsample.dir/build.make CMakeFiles/fntsample.dir/build make[2]: Entering directory '/builddir/build/BUILD/fntsample-release-5.2' make[2]: Nothing to be done for 'CMakeFiles/fntsample.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/fntsample-release-5.2' [ 83%] Built target fntsample /usr/bin/make -f po/CMakeFiles/uk.gmo.dir/build.make po/CMakeFiles/uk.gmo.dir/depend make[2]: Entering directory '/builddir/build/BUILD/fntsample-release-5.2' cd /builddir/build/BUILD/fntsample-release-5.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/fntsample-release-5.2 /builddir/build/BUILD/fntsample-release-5.2/po /builddir/build/BUILD/fntsample-release-5.2 /builddir/build/BUILD/fntsample-release-5.2/po /builddir/build/BUILD/fntsample-release-5.2/po/CMakeFiles/uk.gmo.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/fntsample-release-5.2' /usr/bin/make -f po/CMakeFiles/uk.gmo.dir/build.make po/CMakeFiles/uk.gmo.dir/build make[2]: Entering directory '/builddir/build/BUILD/fntsample-release-5.2' make[2]: Nothing to be done for 'po/CMakeFiles/uk.gmo.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/fntsample-release-5.2' [100%] Built target uk.gmo make[1]: Leaving directory '/builddir/build/BUILD/fntsample-release-5.2' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/fntsample-release-5.2/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/builddir/build/BUILD/fntsample-release-5.2' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/builddir/build/BUILD/fntsample-release-5.2' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/fntsample-5.2-2.fc30.riscv64/usr/bin/fntsample -- Installing: /builddir/build/BUILDROOT/fntsample-5.2-2.fc30.riscv64/usr/bin/pdfoutline -- Installing: /builddir/build/BUILDROOT/fntsample-5.2-2.fc30.riscv64/usr/share/man/man1/fntsample.1 -- Installing: /builddir/build/BUILDROOT/fntsample-5.2-2.fc30.riscv64/usr/share/man/man1/pdfoutline.1 -- Installing: /builddir/build/BUILDROOT/fntsample-5.2-2.fc30.riscv64/usr/share/locale/uk/LC_MESSAGES/fntsample.mo + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 5.2-2.fc30 --unique-debug-suffix -5.2-2.fc30.riscv64 --unique-debug-src-base fntsample-5.2-2.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/fntsample-release-5.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/fntsample-5.2-2.fc30.riscv64/usr/bin/fntsample extracting debug info from /builddir/build/BUILDROOT/fntsample-5.2-2.fc30.riscv64/usr/bin/fntsample /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 84 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.wfNSAu Processing files: fntsample-5.2-2.fc30.riscv64 error: RPM build errors: BUILDSTDERR: Could not open %files file /builddir/build/BUILD/fntsample-release-5.2/fntsample.lang: No such file or directory BUILDSTDERR: Could not open %files file /builddir/build/BUILD/fntsample-release-5.2/fntsample.lang: No such file or directory 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 636, 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/fntsample.spec