[Errno 2] No such file or directory: '/home/robru/src/bileto.snap/stage/debian/source'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Medium
|
Joe Talbott |
Bug Description
So I'm trying to create my first snap. You can see what I have so far here:
https:/
One script, snapcraft.yaml pulls in some ubuntu deps and one bzr project. When I run 'snapcraft stage' I get a seemingly sane-looking stage, with my script in stage/bin and the debs I want installed there. When I run 'snapcraft snap', I get:
[snip]
Pulling bileto
Preparing to build phablet-tools
Building phablet-tools
Preparing to build bileto
Building bileto
Staging phablet-tools
Staging bileto
Priming phablet-tools
[Errno 2] No such file or directory: '/home/
What? Why is snapcraft expecting stage/ to be a debian package? None of the documentation suggested that stage/ should have a debian/ under it.
summary: |
[Errno 2] No such file or directory: - '/home/robru/src/bileto.snap/stage/usr/share/locale/ku' + '/home/robru/src/bileto.snap/stage/debian/source' |
affects: | snappy → snapcraft |
Changed in snapcraft: | |
status: | Triaged → Fix Committed |
milestone: | none → next |
assignee: | nobody → Joe Talbott (joetalbott) |
importance: | Undecided → Medium |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
Apparently this is caused by missing the "snap:" section under each part. Would be great if the error message was meaningful.