bility 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.RUutPG (%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.RUutPG (%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