Walk the prime directory for elf files and flag the glibc required version
Metadata
Current evaluation
Implemented as PR #1843 (commit 42023dfaa), which added ELF parsing of primed files and warns when the required glibc version is incompatible with the base's linker. Later refined by #2241 and #3839.
Resolution: closed resolved
Reason: PR #1843 ('elf: warn if primed files will not work with the base's linker') was merged as commit 42023dfaa and explicitly closes issue #1667. The functionality persists today in snapcraft/elf/_elf_file.py via get_required_glibc() and is_linker_compatible().
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Implemented as PR #1843 (commit 42023dfaa), which added ELF parsing of primed files and warns when the required glibc version is incompatible with the base's linker. Later refined by #2241 and #3839. | |
| stealth/space-bunny-alpha | — | closed resolved | Resolved by snapcraft#1843 (commit 42023dfaa): Snapcraft now scans primed ELF files and warns when glibc requirements are incompatible with the base. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. Discussion evaluated readelf and objdump commands to parse ELF dependencies and glibc requirements from the prime directory. No resolution or code changes were applied. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The feature request to scan ELF files for glibc versions only generated technical command discussions and was ultimately abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without documented resolution. Discussion explored readelf and objdump commands to parse ELF files for glibc dependencies. Likely abandoned or superseded due to extended inactivity. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation. Discussion focused on readelf and objdump commands to parse ELF files and flag glibc version requirements in the prime directory. No resolution or merge occurred. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/snapcraft#1843
(confidence 97%)
Merged PR 42023dfaa; adds ELF parsing of primed files and warns on glibc/base linker incompatibility, closing #1667.
-
Related To:
canonical/snapcraft#2241
(confidence 82%)
Commit 700d019af1 'elf: better messaging on glibc ABI incompatibilities' improves the warning text for the check introduced in #1843.
-
Related To:
canonical/snapcraft#3839
(confidence 70%)
Commit 6830dc69c 'elf: add elf file handler class' refactors the original #1843 code into the current snapcraft/elf package structure.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1843 elf: warn if primed files will not work with the base's linker | snapcraft | merged | Merged PR #1843 (commit 42023dfaa) added ELF parsing of primed files in snapcraft/internal/elf.py, warning when a file's required glibc version is incompatible with the base's linker. Closes issue #1667. |