FS#71922 - python-bcc missing as dependency for bcc and bcc-tools packages

Attached to Project: Community Packages
Opened by Milian Wolff (milianw) - Wednesday, 25 August 2021, 12:08 GMT
Last edited by Toolybird (Toolybird) - Sunday, 07 May 2023, 06:00 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Please add python-bcc as dependency for bcc and bcc-tools


Additional info:
* package version(s)
community/bcc 0.21.0-1 [installed]
community/bcc-tools 0.21.0-1 [installed]

* config and/or log files etc.
* link to upstream bug report, if any
https://github.com/iovisor/bcc/issues/2278

Steps to reproduce:

```
$ pacman -S bcc bcc-tools
$ /usr/share/bcc/examples/tracing/biolatpcts.py
Traceback (most recent call last):
File "/usr/share/bcc/examples/tracing/biolatpcts.py", line 9, in <module>
from bcc import BPF
ModuleNotFoundError: No module named 'bcc
$ /usr/share/bcc/tools/filelife
Traceback (most recent call last):
File "/usr/share/bcc/tools/filelife", line 21, in <module>
from bcc import BPF
ModuleNotFoundError: No module named 'bcc'
```

after installing python-bcc the commands work as expected.
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 07 May 2023, 06:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  See comments
Comment by Anatol Pomozov (anatolik) - Tuesday, 31 August 2021, 19:17 GMT
python-bcc depends on bcc. Adding 'bcc' as a dependency of python-bcc would create a circular dependency.
Comment by shenlebantongying (shenlebantongying) - Wednesday, 27 April 2022, 11:00 GMT
If I understand correctly,

let python-bcc depends bcc
let bbc-tools depends bbc

Will not cause circular dependency/

---

bcc functioning solo, and doesn't need python-bcc.

Problem is that, currently, if a user install bcc-tools, some tools won't work.



Comment by Toolybird (Toolybird) - Sunday, 07 May 2023, 06:00 GMT
bcc-tools now depends on python-bcc, fixed.
bcc is essentially libs...so nothing to fix.

Loading...