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

[Package]: bcc #442

Open
1 task done
rhjdvsgsgks opened this issue Jun 3, 2023 · 2 comments · May be fixed by #452
Open
1 task done

[Package]: bcc #442

rhjdvsgsgks opened this issue Jun 3, 2023 · 2 comments · May be fixed by #452

Comments

@rhjdvsgsgks
Copy link

rhjdvsgsgks commented Jun 3, 2023

Name

bcc

Home page URL

No response

Source code URL

https://github.com/iovisor/bcc

Packaging policy acknowledgement

Additional information

there are already some attempt of building bcc on termux. but failed at llvm in termux dont have rtti support termux/termux-packages#6471 . maybe we need a separate llvm with rtti enabled

serverat hacky patch avaliable: termux/termux-packages#6445

@licy183 licy183 linked a pull request Jun 10, 2023 that will close this issue
@licy183
Copy link
Collaborator

licy183 commented Jun 11, 2023

It seems that there is no need to use the RTTI-enabled LLVM when compiling bcc. But I don't know the usage of this package. Please test the built package in associated PR. Thanks!

@rhjdvsgsgks
Copy link
Author

rhjdvsgsgks commented Jun 12, 2023

the python-bcc pkg seems have something missing. you can try to import bcc in python. and it will failed.
this is waht should exist in python-bcc:

/usr/
/usr/lib/
/usr/lib/python3.11/
/usr/lib/python3.11/site-packages/
/usr/lib/python3.11/site-packages/bcc-0.27.0-py3.11.egg-info/
/usr/lib/python3.11/site-packages/bcc-0.27.0-py3.11.egg-info/PKG-INFO
/usr/lib/python3.11/site-packages/bcc-0.27.0-py3.11.egg-info/SOURCES.txt
/usr/lib/python3.11/site-packages/bcc-0.27.0-py3.11.egg-info/dependency_links.txt
/usr/lib/python3.11/site-packages/bcc-0.27.0-py3.11.egg-info/top_level.txt
/usr/lib/python3.11/site-packages/bcc/
/usr/lib/python3.11/site-packages/bcc/__init__.py
/usr/lib/python3.11/site-packages/bcc/__pycache__/
/usr/lib/python3.11/site-packages/bcc/__pycache__/__init__.cpython-311.pyc
/usr/lib/python3.11/site-packages/bcc/__pycache__/containers.cpython-311.pyc
/usr/lib/python3.11/site-packages/bcc/__pycache__/disassembler.cpython-311.pyc
/usr/lib/python3.11/site-packages/bcc/__pycache__/libbcc.cpython-311.pyc
/usr/lib/python3.11/site-packages/bcc/__pycache__/perf.cpython-311.pyc
/usr/lib/python3.11/site-packages/bcc/__pycache__/syscall.cpython-311.pyc
/usr/lib/python3.11/site-packages/bcc/__pycache__/table.cpython-311.pyc
/usr/lib/python3.11/site-packages/bcc/__pycache__/tcp.cpython-311.pyc
/usr/lib/python3.11/site-packages/bcc/__pycache__/usdt.cpython-311.pyc
/usr/lib/python3.11/site-packages/bcc/__pycache__/utils.cpython-311.pyc
/usr/lib/python3.11/site-packages/bcc/__pycache__/version.cpython-311.pyc
/usr/lib/python3.11/site-packages/bcc/containers.py
/usr/lib/python3.11/site-packages/bcc/disassembler.py
/usr/lib/python3.11/site-packages/bcc/libbcc.py
/usr/lib/python3.11/site-packages/bcc/perf.py
/usr/lib/python3.11/site-packages/bcc/syscall.py
/usr/lib/python3.11/site-packages/bcc/table.py
/usr/lib/python3.11/site-packages/bcc/tcp.py
/usr/lib/python3.11/site-packages/bcc/usdt.py
/usr/lib/python3.11/site-packages/bcc/utils.py
/usr/lib/python3.11/site-packages/bcc/version.py

and, i found this in build log

2023-06-12T19:39:47.6737176Z Checking .pth file support in /data/data/com.termux/files/usr/lib/python3/dist-packages/
2023-06-12T19:39:47.6741328Z /usr/bin/python3.11 -E -c pass
2023-06-12T19:39:47.6920340Z TEST FAILED: /data/data/com.termux/files/usr/lib/python3/dist-packages/ does NOT support .pth files
2023-06-12T19:39:47.6921238Z bad install directory or PYTHONPATH

seems like this is the reason

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants