← Back to issue list

Revert "repo: remove symlinks to libc. (#1100)"

View original Github issue

Metadata

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

Current evaluation

Merged as commit 0f4872241, reverting #1100 (3052b0f4) to restore libc symlinks, fixing 'DSO missing from command line' linker errors (LP: #1665089).

Resolution: closed resolved

Reason: PR #1146 was approved and merged as commit 0f4872241, fully reverting #1100/3052b0f4 whose removal of libc symlinks caused the undefined-reference/DSO-missing link failures reported in LP: #1665089. The staged-package libc symlinks are restored so those builds link again.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This reverts commit 3052b0f459ded440dad2e2362946ee37e09c8606. This commit causes: /usr/bin/ld: ./.libs/libNetworkManager.a(nm-vpn-editor-plugin.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5' /build/network-manager-daily/parts/networkmanager/install/lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status LP: #1665089

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged as commit 0f4872241, reverting #1100 (3052b0f4) to restore libc symlinks, fixing 'DSO missing from command line' linker errors (LP: #1665089).
stealth/space-bunny-alpha — closed resolved Merged as 0f4872241: reverted #1100 (3052b0f45) which removed libc symlinks and caused "DSO missing from command line" link errors (LP: #1665089). Later #1174 reworked the behaviour to ignore rather than remove those symlinks.
stealth/space-bunny-alpha — closed resolved Merged #1146 (commit 0f4872241) reverted #1100/3052b0f, restoring libc symlinks after their removal caused missing-DSO linker failures tracked by LP #1665089.
qwen/qwen3.6-35b-a3b — — 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.
qwen3.6-35b-a3b-mtp-q6 — — Merged a revert of commit 3052b0f that removed libc symlinks. The original change caused linker failures due to missing dlclose symbols and unlinked DSOs, resolving LP: #1665089.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/snapcraft#1100 (confidence 98%)

    The PR this one reverts; merged as 3052b0f4 and undone by 0f4872241 because removing libc symlinks broke linking.

  • Related To: canonical/snapcraft#1174 (confidence 90%)

    Merged later as 2b8bac953; re-addresses the same symlinks by having copy/dump plugins ignore libc symlinks instead of removing them.

Related issues

Issue Project State Summary Similarity
#1100 repo: remove symlinks to libc. snapcraft merged #1100 merged in 3052b0f45 to remove libc symlinks, but #1146 reverted it in 0f4872241; #1174 later superseded it by ignoring those symlinks (2b8bac953).
85%