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/sword.spec'], chrootPath='/var/lib/mock/f33-build-321963-57959/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/sword.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=1592784000 Wrote: /builddir/build/SRPMS/sword-1.8.1-22.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/sword.spec'], chrootPath='/var/lib/mock/f33-build-321963-57959/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/sword.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=1592784000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GMnOJ5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sword-1.8.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/sword-1.8.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sword-1.8.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (sword-1.8.1-cmake.diff):' Patch #0 (sword-1.8.1-cmake.diff): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file cmake/options.cmake Patch #1 (sword-1.8.1-icu61.diff): + echo 'Patch #1 (sword-1.8.1-icu61.diff):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file CMakeLists.txt patching file cmake/FindICU.cmake patching file tests/CMakeLists.txt Patch #2 (sword-1.8.1-swig.diff): + echo 'Patch #2 (sword-1.8.1-swig.diff):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file CMakeLists.txt patching file bindings/CMakeLists.txt patching file bindings/swig/CMakeLists.txt patching file bindings/swig/python/CMakeLists.txt patching file bindings/swig/python/install.cmake.in patching file cmake/options.cmake + echo 'Patch #3 (sword-1.8.1-swig-perl.diff):' Patch #3 (sword-1.8.1-swig-perl.diff): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file bindings/swig/perl/CMakeLists.txt Patch #4 (sword-1.8.1-integer-types.diff): + echo 'Patch #4 (sword-1.8.1-integer-types.diff):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file examples/cmdline/search.cpp patching file include/rawstr.h patching file include/rawstr4.h patching file include/swkey.h patching file include/sysdata.h patching file include/treekeyidx.h patching file include/utilstr.h patching file include/xzcomprs.h patching file src/keys/treekeyidx.cpp patching file src/keys/versekey.cpp patching file src/modules/comments/rawfiles/rawfiles.cpp patching file src/modules/common/entriesblk.cpp patching file src/modules/common/rawstr.cpp patching file src/modules/common/rawstr4.cpp patching file src/modules/common/rawverse.cpp patching file src/modules/common/rawverse4.cpp patching file src/modules/common/zstr.cpp patching file src/modules/common/zverse.cpp patching file src/modules/common/zverse4.cpp patching file src/modules/filters/rtfhtml.cpp patching file src/modules/filters/utf8greekaccents.cpp patching file src/modules/filters/utf8utf16.cpp patching file src/modules/genbook/rawgenbook/rawgenbook.cpp patching file src/modules/lexdict/rawld/rawld.cpp patching file src/modules/lexdict/rawld4/rawld4.cpp patching file src/modules/swmodule.cpp patching file tests/filtertest.cpp patching file tests/utf8norm.cpp + echo 'Patch #5 (sword-1.8.1-fix-divs.diff):' Patch #5 (sword-1.8.1-fix-divs.diff): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/mgr/stringmgr.cpp patching file src/modules/filters/osisxhtml.cpp Hunk #1 succeeded at 827 (offset -22 lines). patching file src/utilfuns/utilxml.cpp patching file include/utilxml.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8z5nA5 + umask 022 + cd /builddir/build/BUILD + cd sword-1.8.1 + mkdir build + pushd build ~/build/BUILD/sword-1.8.1/build ~/build/BUILD/sword-1.8.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -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,-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 -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 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B riscv64-redhat-linux-gnu -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 -DLIBSWORD_LIBRARY_TYPE=Shared -DSWORD_PYTHON_3:BOOL=TRUE -DSWORD_PERL:BOOL=TRUE -DSWORD_BUILD_UTILITIES=Yes -DLIBSWORD_SOVERSION=1.8 -DLIBDIR=/usr/lib64 -DSWORD_BUILD_TESTS=Yes -DSWORD_PYTHON_INSTALL_DIR=/builddir/build/BUILDROOT/sword-1.8.1-22.fc33.riscv64/usr .. -- The CXX compiler identification is GNU 10.2.1 -- The C compiler identification is GNU 10.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Configuring your system to build libsword. -- SWORD Version 1008001000 -- Building SWIG Bindings -- -- SEARCHING FOR SYTEM PACKAGES -- Found the following ICU libraries: -- data (required) -- i18n (required) -- io (required) -- uc (required) -- Found ICU: /usr/include (found version "67.1") -- Found CLucene 2, enabling compatibility mode -- System regex.h: Yes -- -- CONFIGURING SOURCE LIST -- ZLib: system /usr/lib64/libz.so -- bzip2: no -- xz: no -- cURL: system /usr/lib64/libcurl.so and /usr/include -- CLucene: yes /usr/lib64/libclucene-core.so in /lib64 and /usr/include;/lib64 -- PkgConfig: yes -- ICU: yes /usr/lib64/libicudata.so;/usr/lib64/libicui18n.so;/usr/lib64/libicuio.so;/usr/lib64/libicuuc.so and /usr/include -- Regex.h: system /usr/include -- Building Shared library. -- Setting SOVERSION to 1.8 -- cURL SFTP Support: Yes -- ICU Version: 67.1 -- Setting link libraries to /usr/lib64/libz.so;/usr/lib64/libcurl.so;/usr/lib64/libclucene-core.so;/usr/lib64/libicudata.so;/usr/lib64/libicui18n.so;/usr/lib64/libicuio.so;/usr/lib64/libicuuc.so -- -- CONFIGURING INSTALLATION DESTINATIONS -- Destination: /usr -- 1 -- -- CONFIGURING SWIG BINDINGS -- Found SWIG: /usr/bin/swig (found version "4.0.0") -- Swig: yes -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.9", minimum required is "3") -- Found PythonLibs: /usr/lib64/libpython3.9.so (found suitable version "3.9.0rc1", minimum required is ".") -- Python: yes -- Found Perl: /usr/bin/perl (found version "5.32.0") -- Perl: yes -- -- CONFIGURING LIBRARY TESTS -- Testing configured. -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS_RELEASE LIBDIR SWORD_BUILD_UTILITIES -- Build files have been written to: /builddir/build/BUILD/sword-1.8.1/build/riscv64-redhat-linux-gnu + make -j4 make: *** No targets specified and no makefile found. Stop. error: Bad exit status from /var/tmp/rpm-tmp.8z5nA5 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.8z5nA5 (%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/sword.spec