Repository navigation
feat: add the strace debugging tool to the package factory - #749
Merged
2 commits merged intoOct 28, 2026
Merged
2 commits merged into
2 commits merged into
Conversation
Import the strace recipe from Fedora dist-git (commit 6c23f132) and lock its upstream release, strace 7.3 from strace.io, with the Fedora lookaside as fallback. Regenerate the Packit config and architecture counts. perf is not imported: Fedora builds it from kernel.spec, so it needs a decision about carrying the kernel recipe. bpftrace is optional in the issue and pulls LLVM/clang and bcc. Documented the perf case in docs/contributing.md. Refs projectbluefin#625 Hive-Run: projectbluefin#625 Hive-Plan: import-rawhide-package Hive-Spec: utah-packages-625#strace Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: codebymarshall <codebymarshall@users.noreply.github.com>
Contributor
|
@codebymarshall this PR is back in your court ( Review asks:
Reply here or push a new head to this branch (same sign-off); CI and the review swarm re-run automatically and the PR returns to the normal path. Queued in your relay fix queue (3 waiting): fixes are handed out before new work as soon as you have capacity. |
# Conflicts: # config/upstream-sources.json # docs/architecture.md
Contributor
Author
|
hive-base-moved: merged current
pytest passes and the backlog 🐝 Hive Agent: |
21ea9ce
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary: This adds strace, a tool that shows what a running program is asking the operating system to do. It's usually the first thing you reach for when an app freezes. The Utah desktop has no way to install it today. perf, a tool that shows where a program spends its CPU time, is not included: Fedora builds it as part of the Linux kernel package, so adding it would mean carrying the whole kernel recipe here, and that needs a maintainer's call.
What I need from you: Review and merge the strace import, then decide whether this factory should carry Fedora's kernel recipe to get perf.
What
stracerecipe from Fedora dist-git, usingtools/import_rawhide.py strace. That pins rawhide commit6c23f132b92b0dd1b83e7264441be163e1bb4743inpackages/strace/.hummingbird-upstream.json.config/upstream-sources.json:https://strace.io/files/7.3/strace-7.3.tar.xz, SHA-512177f6de7…a5351f6, which matchespackages/strace/sources. The Fedora lookaside is only listed underfallback_urls. I downloaded both URLs and they match the pin..packit.yaml(render_packit_config.py --write) anddocs/architecture.md(render_architecture_counts.py --write).straceis not on the factory build backlog, so the backlog snapshot doesn't change.docs/contributing.mdnow notes thatperfhas no dist-git of its own. It is%package -n perfinsidekernel.spec(confirmed:src.fedoraproject.org/rpms/perfreturns 404).Not in this PR
kernel.spec, so it shares the kernel's version and release. Carrying it here means importing and building the full kernel recipe. That is a scope and build-cost decision for maintainers, not a plain import.bcc. I left it for a follow-up once the image side (Ship (or make one command away) gdb, sysprof-cli and elfutils for diagnosing shell hangs utah#920) decides how it will ship diagnostic tools.Evidence
just check: all gates pass.pytest: 1379 passed, 2 skipped.bootstrap_upstream_sources.pyin the pinned packit container. Instead I locked the source by hand, usingmerge_candidates, followingdocs/contributing.md.pre-commitisn't installed on this host either, so CI will run the hooks.Refs #625. perf (needs the kernel-recipe decision) and the optional bpftrace remain open.
🤖 Generated with Claude Code
— hive: backend=claude model=claude-opus-5-5
Closes #625
🐝 Hive Agent:
contributor| SHA:f1106f58