snappy build fails on broken symlinks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
High
|
Michael Vogt |
Bug Description
snappy build fails on broken symlinks:
$ snappy build app/
WARNING:
Traceback (most recent call last):
File "/usr/bin/snappy", line 9, in <module>
status = Main().__main__()
File "/usr/lib/
return callback(args)
File "/usr/lib/
path = builder.build(".", manifest_
File "/usr/lib/
with open(os.
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/click3m7m
$ ls -l app/debs/
lrwxrwxrwx 1 martin martin 19 Oct 9 09:37 app/debs/
This is a tree from unpacking the ~ 100 Ubuntu package dependencies of that app into the deb/ subdir; due to that some symlinks are broken.
information type: | Embargoed → Public |
Changed in snappy-ubuntu: | |
importance: | Wishlist → High |
affects: | snappy-ubuntu → snappy |
given the zen of snapps, maybe symlinks should be resolved and wrapped rather than restored if they refer to anything outside the snapp tree itself?
if so it would be dupe of bug 1400303 i guess (or rather that one could be folded into the build part.
tagging snappy-xp-devel since this is about better magic for snappy build.