Click package should strip all symbols

Bug #1570566 reported by Pat McGowan
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
Alan Pope 🍺🐧🐱 🦄

Bug Description

We noticed the custom tarball grew unexpectedly, and that Dekko was 70MB. Turns out it has debug symbols. This is filling the available space on installs.

Changed in dekko:
importance: Undecided → Critical
assignee: nobody → Dan Chapman  (dpniel)
Changed in canonical-devices-system-image:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Alan Pope  (popey)
milestone: none → 11
Dan Chapman  (dpniel)
Changed in dekko:
status: New → In Progress
milestone: none → 0.6.2
Revision history for this message
Dan Chapman  (dpniel) wrote :

The cause of this was in the 3rdparty dovecot utilities lib. I totally missed that it was explicitly setting -O3 -g to the cxx flags. Just testing a clean build now to see if everything looks fine now and will get an update ready for QA asap.

Dan Chapman  (dpniel)
Changed in dekko:
status: In Progress → Fix Committed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Just to clarify, make sure all the unnecessary symbols are stripped, not only the debug symbols. Running strip on the dekko executable, the size of the file goes from 60MB to 3MB

summary: - Click package contains debug symbols
+ Click package should strip all symbols
Dan Chapman  (dpniel)
Changed in dekko:
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
status: Confirmed → Fix Committed
Changed in canonical-devices-system-image:
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.