Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RC_2_0 Python bindings build with b2 is broken #6541

Closed
ichorid opened this issue Oct 28, 2021 · 2 comments
Closed

RC_2_0 Python bindings build with b2 is broken #6541

ichorid opened this issue Oct 28, 2021 · 2 comments

Comments

@ichorid
Copy link
Contributor

ichorid commented Oct 28, 2021

When trying to compile Python bindings with the recommended python setup.py build process, compilation crashes immediately with an error: error: Could not find a Jamfile in directory '../../deps/try_signal'.

Full log:

(tribler382) ~/m/T/l/b/python (RC_2_0|✔) $ python setup.py build_ext --b2-args="variant=release libtorrent-link=shared"
running build_ext
project-config.jam contents:
import feature ;
feature.feature libtorrent-python : on ;
using python : 3.8 : "/home/vader/.pyenv/versions/3.8.2/envs/tribler382/bin/python" : "/home/vader/.pyenv/versions/3.8.2/include/python3.8" "/home/vader/.pyenv/versions/3.8.2/include/python3.8" : : <libtorrent-python>on : ".cpython-38-x86_64-linux-gnu" ;

b2 variant=release libtorrent-link=shared boost-link=static crypto=openssl deprecated-functions=on address-model=64 python=3.8 libtorrent-python=on python-install-path=/home/vader/my_SRC/TRIBLER/libtorrent/bindings/python/build/lib.linux-x86_64-3.8 install_module --project-config=/tmp/tmprfl7yuzm
<string>:1: DeprecationWarning: SO is deprecated, use EXT_SUFFIX
CXXFLAGS =
LDFLAGS =
OS = LINUX
/usr/share/boost-build/src/build/project.jam:259: in find-jamfile from module project
error: Unable to load Jamfile.
error: Could not find a Jamfile in directory '../../deps/try_signal'.
@arvidn
Copy link
Owner

arvidn commented Oct 28, 2021

you need the submodules to build, specifically deps/try_signal. Run:

git submodules update --init --recursive

@ichorid
Copy link
Contributor Author

ichorid commented Oct 28, 2021

you need the submodules to build,

🤦 , sorry...

@ichorid ichorid closed this as completed Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants