← 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

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged changes remove dangling symlinks to libc, resolving content sharing and staging area build issues. Fixes Launchpad bug #1658774.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1980 elf: remove all un-primed libs from soname cache snapcraft merged Merged fix isolating Snapcraft build parts by clearing un-primed libraries from the soname cache. Resolves LP: #1752481 by preventing cross-part library conflicts. Approved by reviewer, passed CI, and changed 3 files.
75%
#1146 Revert "repo: remove symlinks to libc. (#1100)" snapcraft merged Merged a revert of the commit removing libc symlinks. The original change triggered linker errors from missing DSO symbols. Restoring the symlinks resolves the build failure.
73%
#2256 local source: don't include .snapcraft directory snapcraft merged Resolved LP: #1791773 by merging a change that excludes the .snapcraft directory from copying and part staleness checks. Approved, passed CI, and merged with a six-line update across two files.
73%
#1635 snap: remove leaking LD_LIBRARY_PATH snapcraft merged Removed leaking LD_LIBRARY_PATH from the snapcraft-classic wrapper, resolving Launchpad bug #1723208. The variable leaked into the environment, breaking snaps on distros like Trusty, and was redundant given existing rpaths. Approved and merged.
71%