patchelf is missing from snapcraft Depends:
Metadata
Current evaluation
Reported missing patchelf apt dependency since snapcraft 2.38. Fixed by PR #1888 (commit 7c947f5ec, "elf: make patchelf a dependency"), released in snapcraft 2.40; issue closed by sergiusens.
Resolution: closed resolved
Reason: Upstream PR snapcore/snapcraft#1864 added patchelf to debian/control Depends but was closed unmerged; the change landed instead via PR #1888 (commit 7c947f5ec), which made patchelf a packaging dependency. Maintainer sergiusens closed the bug on 2018-04-24 noting "This was release in 2.40".
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Reported missing patchelf apt dependency since snapcraft 2.38. Fixed by PR #1888 (commit 7c947f5ec, "elf: make patchelf a dependency"), released in snapcraft 2.40; issue closed by sergiusens. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed in Snapcraft 2.40 by merged PR #1888 (commit 7c947f5ec), which delivered Patchelf through supported packaging paths after PR #1864 was rejected. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed the missing Patchelf executable by including it in Snapcraft's Debian and snap dependency flow in merged PR #1888 (commit 7c947f5ec). | |
| stealth/space-bunny-alpha | — | closed resolved | Patchelf packaging was fixed by merged PR #1888 (7c947f5ec), which added it to Snapcraft’s Debian and snap delivery dependencies. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed by PR #1888, commit 7c947f5ec: Snapcraft’s supported packaging paths now provide Patchelf, avoiding the missing-binary error during builds. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed. Package dependencies were updated to include patchelf, resolving the missing binary error during snap builds. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed. The missing patchelf dependency was addressed by updating the snapcraft apt package dependencies. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
snapcore/snapcraft#1888
(confidence 92%)
Commit 7c947f5ec "elf: make patchelf a dependency" added Patchelf to snapcraft's deb/snap delivery mechanisms, replacing #1864.
-
Related To:
snapcore/snapcraft#1864
(confidence 88%)
Upstream PR submitted by the issue author for the same debian/control patchelf dependency.
-
Superseded By:
snapcore/snapcraft#1888
(confidence 85%)
Reporter's PR #1864 (debian/control Depends) was closed unmerged as superseded by the packaging changes in #1888.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1864 debian/control: Add patchelf to Depends: | snapcraft | closed | Closed unmerged; the apt dependency change was superseded by #1888 (commit 7c947f5ec), which added Patchelf to Snapcraft's deb and snap delivery mechanisms. | |
| #1669 patchelf with ld-linux from the future | snapcraft | closed | Resolved by commit bdaf0b7f1, which added Snapcraft handling for PatchELF and ELF files when the built glibc/linker does not match the base. | |
| #1888 elf: make patchelf a dependency | snapcraft | merged | Merged PR #1888 via commit 7c947f5ec, moving Patchelf out of project_loader build tools and into the deb and snap delivery mechanisms. | |
| #1873 elf: cleaner patchelf experience | snapcraft | merged | Merged as df6992224: Snapcraft now prefers system Patchelf outside snaps and copies target files to avoid hard-link patching conflicts. | |
| #3841 elf: add elf file patcher | snapcraft | merged | Merged PR #3841 in commit e03a971b3, adding a patchelf-based ELF file patcher ported from Snapcraft 6.x for CRAFT-1191. | |
| #2528 packaging: use our patchelf branch | snapcraft | merged | Merged (commit bd26cafd6, squashed merge of #2528): snapcraft.yaml now points patchelf sources at Snapcore's own patchelf branch with the failing s390x test disabled, unblocking s390x package builds; later reverted by #2531. | |
| #3277 pluginhandler: support using patchelf on strict snaps | snapcraft | merged | Merged PR #3277 as fd8e95c3d, adding per-part enable-patchelf support to patch ELF rpaths and interpreters in strictly confined snaps. | |
| #3589 snap: correct patch apply for patchelf | snapcraft | merged | Merged PR #3589 fixed PatchELF patch application in the snap build via commit d9484faf9 (merge a636d26b5). |