← Back to issue list

finalzed binary (step prime) are not stripped

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1627854
Type
issue
State
open
Author
~servusoft
Labels
strip
Created
Updated
Closed

Current evaluation

Feature request from 2016 to add a --strip option to the prime step for stripping binaries with cross-compilation support. No maintainer engagement in ~10 years; no evidence the feature was implemented.

Suggested action: close stale

Reason: This is a feature request from 2016 (3626 days old) with zero comments and no maintainer interaction. The 'strip' step was renamed to 'prime' in #543, and the current codebase uses strip only internally for ELF patching (snapcraft/elf/_patcher.py), not as a user-facing --strip option. The request predates the craft-parts architecture by years, making the original implementation approach obsolete. No evidence the feature was implemented or is actively desired.

Impact: 30 Quick Win: 18.0 Staleness: 95 Complexity: 40 Confidence: 70 Support Request: 10

Issue body

need a way to get stripped binary. currently is possible manual between stage and prime steps.(eg. with strip ./bin/*) probaly with an additional option --strip on stage or ptime steps. Please note, it must at cross-compiling (at eg. armhf) "arm-linux-grueabihf-strip" instead "strip" used. it can be also from $STRIP derived (if present)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 30
Quick Win: 18.0
Staleness: 95
Complexity: 40
Confidence: 70
Support Request: 10
close stale Feature request from 2016 to add a --strip option to the prime step for stripping binaries with cross-compilation support. No maintainer engagement in ~10 years; no evidence the feature was implemented.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 25
Confidence: 90
Support Request: 10
close stale Feature request to automatically strip binaries during the prime step, with cross-compilation support. Issue is nearly 10 years old with no maintainer engagement.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 25
Confidence: 85
Support Request: 10
needs triage Request for automatic binary stripping during the prime stage, with cross-compilation support and $STRIP environment variable integration. Unaddressed for nearly a decade.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 20
Confidence: 90
Support Request: 10
close stale Feature request to add automatic binary stripping during the prime step with cross-compilation and $STRIP support. No maintainer response in nearly 10 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 25
Confidence: 90
Support Request: 10
close stale Implement automatic binary stripping in the prime step, supporting cross-compilation and the $STRIP environment variable. Currently requires manual workarounds. Open, unassigned, and inactive.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#543 (confidence 60%)

    Renamed the 'strip' step to 'prime', which is the step this feature request targets. Shows the step naming evolved but no --strip binary option was added.

Related issues

No related issues found above the similarity threshold.