Prime step should only run `ldd` on binaries coming from that specific part

Bug #1575700 reported by Olivier - interfaSys
6
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
Kyle Fazzari (kyrofa)
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
Revision history for this message
Kyle Fazzari (kyrofa) wrote :
Kyle Fazzari (kyrofa)
Changed in snapcraft:
status: Confirmed → In Progress
Changed in snapcraft:
status: In Progress → Fix Committed
milestone: none → 2.18
assignee: nobody → Sergio Schvezov (sergiusens)
Revision history for this message
Kyle Fazzari (kyrofa) wrote :

Hey, that's mine!

Changed in snapcraft:
assignee: Sergio Schvezov (sergiusens) → Kyle Fazzari (kyrofa)
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.