Prime step should only run `ldd` on binaries coming from that specific part
Bug #1575700 reported by
Olivier - interfaSys
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Medium
|
Kyle Fazzari |
Bug Description
I have a snap with several parts which use the copy plugin to copy config and init files.
The stripping phase of a part takes several minutes (1-3) on a Pi2, even though it may not contain any ELF binaries.
Looking at the output of Snapcraft in debug mode, I can see that the whole snap is parsed instead of the files provided by the part.
There is no side-effect as far as I can tell, but it's wasting time and resources as the snap can take up to 3 times longer than expected to be built.
description: | updated |
summary: |
- Stripping phase should only look for binaries coming from that specific + Prime step should only run `ldd` on binaries coming from that specific part |
Changed in snapcraft: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in snapcraft: | |
status: | Confirmed → In Progress |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
milestone: | none → 2.18 |
assignee: | nobody → Sergio Schvezov (sergiusens) |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix here: https:/ /github. com/snapcore/ snapcraft/ pull/796