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/rb_libtorrent.spec'], chrootPath='/var/lib/mock/f33-build-271561-51553/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/rb_libtorrent.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 warning: extra tokens at the end of %endif directive in line 119: %endif # with python3 warning: extra tokens at the end of %endif directive in line 202: %endif # with_python3 warning: extra tokens at the end of %endif directive in line 241: %endif # with python3 warning: extra tokens at the end of %endif directive in line 290: %endif # with python3 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1591315200 Wrote: /builddir/build/SRPMS/rb_libtorrent-1.2.7-1.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/rb_libtorrent.spec'], chrootPath='/var/lib/mock/f33-build-271561-51553/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/rb_libtorrent.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 warning: extra tokens at the end of %endif directive in line 119: %endif # with python3 warning: extra tokens at the end of %endif directive in line 202: %endif # with_python3 warning: extra tokens at the end of %endif directive in line 241: %endif # with python3 warning: extra tokens at the end of %endif directive in line 290: %endif # with python3 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1591315200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SrHI9K + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libtorrent-rasterbar-1.2.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/libtorrent-rasterbar-1.2.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libtorrent-rasterbar-1.2.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e 's|include/libtorrent/version.hpp|../include/libtorrent/version.hpp|' configure configure.ac + autoreconf -fiv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: running: /usr/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing configure.ac:69: installing 'build-aux/compile' configure.ac:84: installing 'build-aux/missing' examples/Makefile.am: installing 'build-aux/depcomp' autoreconf: Leaving directory `.' + rm -f docs/building.rst docs/client_test.rst docs/contributing.rst docs/dht_extensions.rst docs/dht_rss.rst docs/dht_sec.rst docs/dht_store.rst docs/examples.rst docs/extension_protocol.rst docs/features.rst docs/fuzzing.rst docs/header.rst docs/index.rst docs/manual-ref.rst docs/projects.rst docs/python_binding.rst docs/settings.rst docs/stats_counters.rst docs/streaming.rst docs/troubleshooting.rst docs/tuning.rst docs/tutorial.rst docs/udp_tracker_protocol.rst docs/utp.rst + install -p -m 0644 COPYING COPYING.BSD + install -p -m 0644 /builddir/build/SOURCES/rb_libtorrent-COPYING.Boost COPYING.Boost + install -p -m 0644 /builddir/build/SOURCES/rb_libtorrent-COPYING.zlib COPYING.zlib + iconv -t UTF-8 -f ISO_8859-15 AUTHORS -o AUTHORS.iconv + mv AUTHORS.iconv AUTHORS + sed -i -e 's|"/lib /usr/lib|"/lib64 /usr/lib64|' configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.a7XeoL + umask 022 + cd /builddir/build/BUILD + cd libtorrent-rasterbar-1.2.7 + mkdir -p build/bindings build-python3/bindings + echo build/bindings build-python3/bindings + xargs -n 1 cp -r bindings/python ++ python3.9-config --includes + export 'CPPFLAGS= -I/usr/include/python3.9 -I/usr/include/python3.9' + CPPFLAGS=' -I/usr/include/python3.9 -I/usr/include/python3.9' + export 'LDFLAGS= -L/builddir/build/BUILD/libtorrent-rasterbar-1.2.7/build/src/.libs' + LDFLAGS=' -L/builddir/build/BUILD/libtorrent-rasterbar-1.2.7/build/src/.libs' + export PYTHON=/usr/bin/python3.9 + PYTHON=/usr/bin/python3.9 ++ python3.9-config --libs + export 'PYTHON_LDFLAGS= -lcrypt -lpthread -ldl -lutil -lm -lm ' ~/build/BUILD/libtorrent-rasterbar-1.2.7/build ~/build/BUILD/libtorrent-rasterbar-1.2.7 + PYTHON_LDFLAGS=' -lcrypt -lpthread -ldl -lutil -lm -lm ' + pushd build + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS=' -L/builddir/build/BUILD/libtorrent-rasterbar-1.2.7/build/src/.libs' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '%{_lto_cflags}x' '!=' x ']' ++ find . -type f -name configure -print + '[' 1 = 1 ']' +++ dirname ../configure ++ find .. -name config.guess -o -name config.sub + for i in $(find $(dirname ../configure) -name config.guess -o -name config.sub) ++ basename ../build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ../build-aux/config.sub ++ basename ../build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ../build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> '../build-aux/config.sub' + for i in $(find $(dirname ../configure) -name config.guess -o -name config.sub) ++ basename ../build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ../build-aux/config.guess ++ basename ../build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ../build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> '../build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ../configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --enable-examples --enable-python-binding --with-boost-system=boost_system --with-boost-python=boost_python39 --with-libiconv --enable-export-all checking whether make supports nested variables... yes Building libtorrent-rasterbar 1.2.7 Checking for a C/C++ compiler to use: checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking how to run the C preprocessor... gcc -E checking whether gcc and cc understand -c and -o together... yes checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking whether g++ understands -c and -o together... yes Checking system type: checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu Initializing Automake: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking dependency style of g++... none checking whether to enable maintainer-specific portions of Makefiles... yes Initializing Libtool: checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate Checking for posix thread support: checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -lpthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking whether to check for GCC pthread/shared inconsistencies... yes checking whether -lpthread fixes that... yes Checking for visibility support: checking for __attribute__((visibility("hidden")))... found yes Checking for boost libraries: checking for boostlib >= 1.58... yes checking whether g++ supports C++11 features by default... yes checking whether the Boost::System library is available... yes checking for exit in -lboost_system... yes Checking for pkg-config: checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.20... yes Checking for functions and headers: checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for clock_gettime... yes Checking build options: checking whether deprecated functions should be enabled... yes checking whether debug build should be enabled... no checking whether invariant check should be enabled... no checking whether logging to disk should be enabled... yes Checking features to be enabled: checking whether encryption support should be enabled... yes configure: encryption support: now checking for the OpenSSL library... checking for pkg-config... (cached) /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking whether compiling and linking against OpenSSL works... yes checking whether dht support should be enabled... yes Checking for extra build files: checking whether example files should be built... yes checking whether test files should be built... no checking whether python bindings should be built... yes checking whether /usr/bin/python3.9 version is >= 2.4... yes checking for /usr/bin/python3.9 version... 3.9 checking for /usr/bin/python3.9 platform... linux checking for /usr/bin/python3.9 script directory... ${prefix}/lib/python3.9/site-packages checking for /usr/bin/python3.9 extension module directory... ${exec_prefix}/lib64/python3.9/site-packages checking for python3.9... /usr/bin/python3.9 checking for a version of Python >= '2.1.0'... yes checking for a version of Python >= '2.4'... yes checking for the distutils Python package... grep: Trailing backslash yes checking for Python include path... -I/usr/include/python3.9 checking for Python library path... -L/usr/lib64 -lpython3.9 checking for Python site-packages path... /usr/lib/python3.9/site-packages checking python extra libraries... -lcrypt -lpthread -ldl -lutil -lm -lm checking python extra linking flags... -Xlinker -export-dynamic checking consistency of all components of python development environment... yes checking whether the Boost::Python library is available... yes checking whether boost_python39 is the correct library... no checking whether boost_python-boost_python39 is the correct library... no checking whether boost_python is the correct library... no checking whether boost_python3 is the correct library... no configure: error: Boost.Python library not found. Try using --with-boost-python=lib. error: Bad exit status from /var/tmp/rpm-tmp.a7XeoL (%build) RPM build errors: extra tokens at the end of %endif directive in line 119: %endif # with python3 extra tokens at the end of %endif directive in line 202: %endif # with_python3 extra tokens at the end of %endif directive in line 241: %endif # with python3 extra tokens at the end of %endif directive in line 290: %endif # with python3 Bad exit status from /var/tmp/rpm-tmp.a7XeoL (%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/rb_libtorrent.spec