snapcraft packs full paths to the build location

Bug #1592873 reported by Björn Michaelsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapcraft (Ubuntu)
New
Undecided
Unassigned

Bug Description

Building and snapping LibreOffice as per:

https://git.launchpad.net/~bjoern-michaelsen/df-libreoffice/+git/libreoffice-snap-playground/tree/?h=xenial&id=61a7acbd2c71ce34eca0a8f4c221fa47104af002

packs paths like:

 /home/bjoern/checkouts/libreoffice-snap/....

into the final snap. While these can be manually removed, this prevents unattended builds. Also, snapcraft should IMHO never use/include the absolute path to the build location for anything in the final product.

Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

This seems to be a Heisenbug. I cannot reproduce it every time, though it certainly happens[1].

I am not sure I have seen this on a build running through from start to finish. So this _might_ be something that only happens when restarting a partial build. (Which is not that uncommon for LibreOffice and because of its size one is less likely to throw away and start again for this hours long builds).

[1] see https://www.reddit.com/r/linux/comments/4ocwft/a_third_of_a_libreoffice_snap_lo_snap_size/d4bm2mw for a particulary embarrassing instance.

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.