Repository navigation
Conversation
The Espressif qemu-system-* binaries fbuild downloads are dynamically
linked against libslirp.so.0 in addition to libSDL2. ubuntu-latest does
not ship libslirp0 by default, so QEMU aborted at startup with
qemu-system-xtensa: error while loading shared libraries:
libslirp.so.0: cannot open shared object file
and the job failed with exit code 127 before running any test.
Add libslirp0 to the runtime library install step in the shared QEMU
workflow template, which covers the esp32c3, esp32dev and esp32s3 jobs.
Co-Authored-By: Claude <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe QEMU GitHub Actions workflow now installs both ChangesQEMU Runtime Dependencies
Estimated code review effort: 1 (Trivial) | ~3 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Note on scope of this fix — one open question
In the failing run (31091411573), That points at the Espressif QEMU tarball, which bundles its own The QEMU jobs on this PR exercise the modified step directly; I'll confirm from their results before merging. Refs #3864 |
|
Closing unmerged — this fix belongs in fbuild, not here. fbuild downloads, caches, extracts and invokes the QEMU binary; FastLED never sees the toolchain. Patching The asymmetry I flagged above reinforces it: Filed as FastLED/fbuild#1266, with atomic toolchain extraction as the suggested fix so the whole class is addressed. That issue also proposes fbuild provision the QEMU runtime deps outright, which would let us delete the pre-existing Refs #3864 |
Problem
esp32s3_qemu_rmt / qemu_testfails with exit code 127 before running any test:Observed on https://github.com/FastLED/FastLED/actions/runs/31091411573/job/92583052211.
Cause
The Espressif
qemu-system-*binaries that fbuild downloads are dynamically linkedagainst
libslirp.so.0(user-mode networking) in addition tolibSDL2-2.0.so.0..github/workflows/qemu_template.ymlinstalled onlylibsdl2-2.0-0, andubuntu-latestdoes not shiplibslirp0by default. The failure is intermittentacross jobs only because the runner image occasionally has it pulled in transitively.
Fix
Add
libslirp0to the existing runtime-library install step in the shared QEMUworkflow template. This single change covers all three consumers:
qemu_esp32c3_test.yml,qemu_esp32dev_test.yml,qemu_esp32s3_test.yml.Validation
CI is the test for this change — the QEMU jobs on this PR exercise the modified
step directly. No source files are touched.
Refs #3864
🤖 Generated with Claude Code
Summary by CodeRabbit