← Back to issue list

elf: better handling for newer libc6

View original Github issue

Metadata

Project
snapcraft
Number
#1881
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged in snapcraft#1881 (commit 10ab28277), requiring libc6 to be explicitly declared in snapcraft.yaml so newer libc6 dependencies are recorded correctly.

Resolution: closed resolved

Reason: The PR merged as commit 10ab28277 and changed ELF handling to require libc6 to be explicitly listed in snapcraft.yaml, ensuring the dependency is intentional and recorded.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Require that the snapcraft.yaml explicitly state it needs libc6 so that it is recorded and an explicit action from the developer. - [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [x] Have you successfully run `./runtests.sh static`? - [x] Have you successfully run `./runtests.sh unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in snapcraft#1881 (commit 10ab28277), requiring libc6 to be explicitly declared in snapcraft.yaml so newer libc6 dependencies are recorded correctly.
stealth/space-bunny-alpha — closed resolved Merged PR #1881 as commit 10ab28277, requiring libc6 to be explicitly declared in snapcraft.yaml so newer libc6 dependencies are recorded correctly.
stealth/space-bunny-alpha — closed resolved Merged in snapcraft#1881 (commit 10ab28277), requiring libc6 to be explicitly declared in snapcraft.yaml so newer libc6 dependencies are recorded correctly.
qwen/qwen3.6-35b-a3b — — Merged. Updates ELF handling for newer libc6 by requiring explicit libc6 declaration in snapcraft.yaml. Resolves dependency tracking, incorporates reviewer feedback, and passes CI. Segfaults on bionic are managed via adapter configuration.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Updates ELF handling to require explicit libc6 declaration in snapcraft.yaml. Review feedback was addressed, testing confirmed expected behavior, and the change ensures developers explicitly record the dependency.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1790700 Better messaging around libc6 incompatibilities snapcraft (launchpad) closed Fixed by snapcore/snapcraft#2241 (commit 700d019af), improving glibc ABI incompatibility errors without exposing libc6 details to casual users.
79%
#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.
73%
#1632 libraries: exclude the full set of libc6 snapcraft merged Merged PR #1632 (commit 1b8ea95c7): snapcraft/internal/libraries.py now excludes every library from the libc6 deb, not just libc.so.6, stopping partial host glibc leaking into classic snaps; later reworked by #1744.
72%
#3514 elf: add fallback methods to detect library dependencies snapcraft merged Merged in snapcore/snapcraft#3514 (commit 76ca948c4): ELF dependency detection now falls back from ldd to host-libc6 preloading and loader tracing before warning.
71%