← Back to issue list

when building a classic snap, plugins cannot access value of LDPATH

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1670209
Type
issue
State
open
Author
~mwhudson
Labels
—
Created
Updated
Closed
—

Current evaluation

Classic-snap custom plugins cannot obtain generated LDPATH linker flags; the report is unlabelled and unanswered, and its legacy API predates the craft-parts architecture

Suggested action: needs triage

Reason: The report has no labels, comments, maintainer response, or concrete reproducer. The current checkout registers plugins through craft_parts.plugins and has no legacy snapcraft/plugins implementation, so maintainers must determine whether to reimplement the API, require explicit linker parameters, or close it as obsolete; no resolving commit or explicit deprecation is identified.

Evaluated by: mr-cal-bot

Impact: 38 Quick Win: 8 Complexity: 57 Confidence: 68 Actionability: 49

Issue body

My snap uses a custom plugin to build: https://git.launchpad.net/~mwhudson/+git/gosnap/tree/snap/plugins/x_gobuild.py?h=go1.8. In that code, I want to access the flags that need to be passed to the linker to make classic snaps link against the core snap rather than the usual path (-Wl,-z,nodefib, -Wl,-rpath,xxx, etc). Currently, as I read things, it can't (well not without very silly hacks).

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 38
Quick Win: 8
Complexity: 57
Confidence: 68
Actionability: 49
needs triage Classic-snap custom plugins cannot obtain generated LDPATH linker flags; the report is unlabelled and unanswered, and its legacy API predates the craft-parts architecture
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 9
Complexity: 50
Confidence: 50
Actionability: 60
needs triage Feature request: custom plugins building classic snaps cannot access linker flags like -Wl,-z,nodefaultlibs and -Wl,-rpath. No maintainer engagement.
qwen/qwen3.8-27b
Impact: 25
Quick Win: 11
Staleness: 95
Complexity: 55
Confidence: 60
Support Request: 30
close stale Custom snapcraft plugins cannot access linker flags (rpath/nodefib) needed to link classic snaps against the core snap. Reported 9+ years ago, zero comments, no maintainer interaction, and the plugin architecture has since been substantially reworked.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 65
Confidence: 90
Support Request: 20
close stale Classic snap build plugins lack access to LDPATH and linker flags. The report is over nine years old, has zero maintainer interaction, and is likely obsolete due to major snapcraft architecture changes.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 35
Confidence: 90
Support Request: 15
close stale Custom snapcraft plugin cannot access linker flags for classic snap builds. Issue is over 9 years old with no maintainer response or activity.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 25
Confidence: 85
Support Request: 10
close stale Classic snap build plugins cannot access LDPATH values for linker flags. The report is over 9 years old, lacks maintainer response, and references an obsolete Python plugin system replaced by modern snapcraft architecture.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.