Bug 2349579 - qemu-tools should depend/recommend systemtap
Summary: qemu-tools should depend/recommend systemtap
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Fedora Virtualization Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-03 17:41 UTC by nilskemail
Modified: 2025-03-17 01:38 UTC (History)
9 users (show)

Fixed In Version: qemu-9.2.0-22.fc42 qemu-9.1.3-2.fc41
Clone Of:
Environment:
Last Closed: 2025-03-17 00:15:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description nilskemail 2025-03-03 17:41:26 UTC
qemu-trace-stap invokes stap as a subprocess but it is not automatically pulled in

Reproducible: Always

Steps to Reproduce:
1. Install qemu-tools
2. Invoke "qemu-trace-stap list qemu-system-x86_64"
Actual Results:  
qemu-trace-stap list qemu-system-x86_64
Traceback (most recent call last):
  File "/usr/bin/qemu-trace-stap", line 169, in <module>
    main()
    ~~~~^^
  File "/usr/bin/qemu-trace-stap", line 165, in main
    args.func(args)
    ~~~~~~~~~^^^^^^
  File "/usr/bin/qemu-trace-stap", line 112, in cmd_list
    print_probes(args.verbose, "*")
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/qemu-trace-stap", line 99, in print_probes
    proc = subprocess.Popen(["stap", "-I", tapsets, "-l", script],
                            stdout=subprocess.PIPE,
                            universal_newlines=True)
  File "/usr/lib64/python3.13/subprocess.py", line 1038, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                        pass_fds, cwd, env,
                        ^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
                        gid, gids, uid, umask,
                        ^^^^^^^^^^^^^^^^^^^^^^
                        start_new_session, process_group)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.13/subprocess.py", line 1974, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'stap'

Expected Results:  
qemu-trace-stap list should list all probe points of the passed binary

Comment 1 Richard W.M. Jones 2025-03-03 17:54:22 UTC
Probably:

 %package tools
 Summary: %{name} support tools
+Recommends: systemtap-client
 %description tools
 %{name}-tools provides various tools related to %{name} usage.

(Suggests is also possible, but for most users that would also break.)

Comment 2 Fedora Update System 2025-03-14 14:03:38 UTC
FEDORA-2025-b1da06b8d9 (qemu-9.2.0-21.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-b1da06b8d9

Comment 3 Fedora Update System 2025-03-14 14:04:15 UTC
FEDORA-2025-10d768d613 (qemu-9.1.3-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-10d768d613

Comment 4 Fedora Update System 2025-03-15 03:34:35 UTC
FEDORA-2025-b1da06b8d9 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-b1da06b8d9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-b1da06b8d9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2025-03-15 04:42:05 UTC
FEDORA-2025-10d768d613 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-10d768d613`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-10d768d613

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2025-03-16 01:45:12 UTC
FEDORA-2025-43ad20f3c6 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-43ad20f3c6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-43ad20f3c6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2025-03-17 00:15:51 UTC
FEDORA-2025-43ad20f3c6 (qemu-9.2.0-22.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2025-03-17 01:38:30 UTC
FEDORA-2025-10d768d613 (qemu-9.1.3-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.