← Back to issue list

repo: remove symlinks to libc.

View original Github issue

Metadata

Project
snapcraft
Number
#1100
Type
pull request
State
merged
Author
kyrofa
Labels
—
Created
Updated
Closed

Current evaluation

#1100 merged in 3052b0f45 to remove libc symlinks, but #1146 reverted it in 0f4872241; #1174 later superseded it by ignoring those symlinks (2b8bac953).

Resolution: closed superseded

Reason: The original removal caused missing-DSO linker errors and was reverted by merged PR #1146. PR #1174 replaced the approach by ignoring libc symlinks rather than removing them.

Evaluated by: mr-cal-bot

No scores available.

Issue body

libc is never staged, as it's always contained in the core snap. However, currently snapcraft leaves symlinks to its libraries alone and intact, which causes issues when it comes to content sharing and building against tarred staging areas. It also doesn't add any functionality, as those libraries are in the standard library paths anyway. Instead of allowing those symlinks to dangle, this PR fixes LP: [#1658774](https://bugs.launchpad.net/snapcraft/+bug/1658774) by removing them.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded #1100 merged in 3052b0f45 to remove libc symlinks, but #1146 reverted it in 0f4872241; #1174 later superseded it by ignoring those symlinks (2b8bac953).
stealth/space-bunny-alpha — closed superseded PR #1100 merged as 3052b0f45 to remove libc symlinks, but #1146 reverted it in 0f4872241 after linker errors; #1174 later merged safer handling that ignores them.
stealth/space-bunny-alpha — closed superseded Merged as 3052b0f45 to strip staged libc symlinks (LP: #1658774), but reverted by #1146 (0f4872241) over 'DSO missing from command line' errors; #1174 (2b8bac953) superseded it by ignoring rather than removing those symlinks.
stealth/space-bunny-alpha — closed superseded #1100 merged as 3052b0f45 to remove libc symlinks, but was reverted by #1146 (0f4872241) due to missing-DSO failures; #1174 later replaced removal with ignoring those symlinks.
qwen/qwen3.6-35b-a3b — — Merged. Removes dangling libc symlinks in snapcraft to fix content sharing and staging build issues. Libraries are already in the core snap and standard paths, making the links redundant. Approved and merged. Resolves LP #1658774.
qwen3.6-35b-a3b-mtp-q6 — — Merged changes remove dangling symlinks to libc libraries from the repository. Because libc resides in the core snap, these links caused content sharing and staging build failures. The update resolves Launchpad bug #1658774.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#1146 (confidence 100%)

    Merged as 0f4872241, restoring libc symlinks after missing-DSO failures.

  • Superseded By: snapcraft#1174 (confidence 100%)

    Merged as 2b8bac953; changed behavior to ignore libc symlinks instead of removing them.

Related issues

Issue Project State Summary Similarity
#1146 Revert "repo: remove symlinks to libc. (#1100)" snapcraft merged Merged as commit 0f4872241, reverting #1100 (3052b0f4) to restore libc symlinks, fixing 'DSO missing from command line' linker errors (LP: #1665089).
85%