Bug 1225497

Summary: bcc-tools's bashreadline fails to run due to missing dependency
Product: [openSUSE] openSUSE Tumbleweed Reporter: Shung-Hsi Yu <shung-hsi.yu>
Component: OtherAssignee: Shung-Hsi Yu <shung-hsi.yu>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: shung-hsi.yu
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Shung-Hsi Yu 2024-05-28 12:35:28 UTC
Running bashreadline fails with the following stack trace

> $ /usr/share/bcc/tools/bashreadline
> Traceback (most recent call last):
>   File "/usr/share/bcc/tools/bashreadline", line 20, in <module>
>     from elftools.elf.elffile import ELFFile

The line was added in v0.30.0 with commit 706ec4fe ("Fix bashreadline (#4903)")

The solution is to add python3-pyelftools as runtime dependency.
Comment 2 Shung-Hsi Yu 2024-06-05 04:06:27 UTC
Update submitted to bcc with SR1178440[1]

1: https://build.opensuse.org/request/show/1178440