← Back to issue list

patchelf with ld-linux from the future

View original Github issue

Metadata

Project
snapcraft
Number
#1669
Type
issue
State
closed
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Resolved by commit bdaf0b7f1, which added Snapcraft handling for PatchELF and ELF files when the built glibc/linker does not match the base.

Resolution: closed resolved

Reason: Commit bdaf0b7f1, "pluginhandler: patch and handle elf files on glibc mismatch," directly references #1669 and implements compatibility handling for this linker mismatch. No separate closing comment was recorded.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Estimate: 1 day

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Resolved by commit bdaf0b7f1, which added Snapcraft handling for PatchELF and ELF files when the built glibc/linker does not match the base.
stealth/space-bunny-alpha — closed resolved Fixed in commit bdaf0b7f1, which added ELF patching and handling for glibc mismatches involving future ld-linux paths.
stealth/space-bunny-alpha — closed stale The patchelf/ld-linux compatibility report was closed without a documented fix; no activity was recorded for 3,179 days.
qwen/qwen3.6-35b-a3b — — Closed without discussion or resolution details. The issue estimating a one-day patchelf and ld-linux fix received no comments and was abandoned.
qwen/qwen3.6-35b-a3b — — Closed without comments or resolution. The issue appears abandoned or stale due to prolonged inactivity. No fix was implemented.
qwen/qwen3.6-35b-a3b — — The issue was closed without implementation or discussion. Containing only a 1-day estimate, it was likely abandoned or closed as a placeholder after approximately two months. No fix or resolution was applied.
qwen/qwen3.6-35b-a3b — — Closed and abandoned without resolution or comments. The issue, titled "patchelf with ld-linux from the future," included only a one-day estimate and was left inactive.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The issue contained only a one-day estimate and was abandoned with no code changes, fixes, or further activity recorded.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution or comments. Likely abandoned due to inactivity or superseded by newer patchelf versions. No fix or merge details provided.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1662 patchelf with ld-linux snapcraft closed Closed as stale after no follow-up; a related ld-linux/glibc problem was later fixed in snapcraft#1669 via commit bdaf0b7f1.
81%
#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.
78%
#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).
78%
#1850 pluginhandler: patch and handle elf files on glibc mismatch snapcraft merged Merged in snapcraft#1850 (bdaf0b7f1), adding host libc6 staging and its dynamic loader when ELF files need newer glibc; fixes #1668 and #1669.
77%
#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.
76%
#1742707 patchelf is missing from snapcraft Depends: snapcraft (launchpad) closed 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.
76%
#1935 elf: contemplate more patching scenarios snapcraft merged Merged PR #1935 as 048adc4a3, adding ELF patching for classic snaps built on bionic targeting core16 and for hooks built with Snapcraft.
75%
#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.
75%
#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.
75%
#2081 elf: patch everything instead of a subset of elf files snapcraft merged Merged PR #2081 restored Snapcraft 2.39 behavior by patching every ELF file; commit 77770452b partially reverted 64f78f762a05.
74%