iovisor / iovisor/bcc

bcc-0.25.0 binding with python3 fails during build.

Open
#4,648 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

Hi,

'make and make install' in below bcc-0.25.0 build steps is successful
{{
make
make install
cmake -DPYTHON_CMD=python3 .. # build python3 binding
..
}}
But above " #build python3 binding" fails with below error.
{{
~/python3.10/site-packages/setuptools/dist.py:545: UserWarning: The version specified ('wb_7-2_0-2f003786') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
warnings.warn(
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

error: option --install-layout not recognized
}}
installed stdeb-0.10.0-2 as part of python3 but still noticed above error.

Rgds
Koti

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure from the issue by running `make`, `make install`, and `cmake -DPYTHON_CMD=python3 ..` for bcc-0.25.0. Start with the Python binding build invoked by CMake and the reported setuptools `--install-layout` error. Done means the Python 3 binding configuration and build complete without that option error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.