n.hpp:10, from ../../bindings/python/src/error_code.cpp:33: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ [179/409] /usr/bin/g++ -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_EXPORT_EXTRA -DTORRENT_LINKING_SHARED -DTORRENT_USE_ICONV -DTORRENT_USE_LIBCRYPTO -DTORRENT_USE_OPENSSL -I../../include -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 -O2 -g -DNDEBUG -Wall -Wextra -Wpedantic -Wparentheses -Wvla -Wc++11-compat -Wno-format-zero-length -ftemplate-depth=512 -fexceptions -std=gnu++14 -MD -MT tools/CMakeFiles/dht.dir/dht_put.cpp.o -MF tools/CMakeFiles/dht.dir/dht_put.cpp.o.d -o tools/CMakeFiles/dht.dir/dht_put.cpp.o -c ../../tools/dht_put.cpp [180/409] /usr/bin/g++ -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_EXPORT_EXTRA -DTORRENT_LINKING_SHARED -DTORRENT_USE_ICONV -DTORRENT_USE_LIBCRYPTO -DTORRENT_USE_OPENSSL -Dpython_libtorrent_EXPORTS -I../../include -isystem /usr/include/python3.9 -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 -O2 -g -DNDEBUG -fPIC -Wall -Wextra -Wpedantic -Wparentheses -Wvla -Wc++11-compat -Wno-format-zero-length -ftemplate-depth=512 -Wno-deprecated-declarations -fexceptions -std=gnu++14 -MD -MT bindings/python/CMakeFiles/python-libtorrent.dir/src/alert.cpp.o -MF bindings/python/CMakeFiles/python-libtorrent.dir/src/alert.cpp.o.d -o bindings/python/CMakeFiles/python-libtorrent.dir/src/alert.cpp.o -c ../../bindings/python/src/alert.cpp In file included from /usr/include/boost/bind.hpp:30, from /usr/include/boost/python/exception_translator.hpp:10, from /usr/include/boost/python.hpp:28, from ../../bindings/python/src/boost_python.hpp:10, from ../../bindings/python/src/alert.cpp:5: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.DAKZng (%build) RPM build errors: extra tokens at the end of %endif directive in line 109: %endif # with python3 extra tokens at the end of %endif directive in line 173: %endif # with_python3 extra tokens at the end of %endif directive in line 225: %endif # with python3 extra tokens at the end of %endif directive in line 275: %endif # with python3 Bad exit status from /var/tmp/rpm-tmp.DAKZng (%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