stuff downloaded during "pull()" is deleted before "build()"
Bug #1649620 reported by
Björn Michaelsen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapcraft (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
on launchpad failed with a link error/missing symbols. Trying to reproduce on a local xenial system, I find this failing as -- while the pull() phase is executed -- the parts/ dirs are cleared for some reason, leaving the machine without any source when it starts with the build phase.
I worked around that by adding a self.pull() at the start of def build(): but surely this is not how this is supposed to work.
summary: |
- snapcraft local run differs from launchpad run + stuff downloaded during "pull()" is deleted before "build()" |
description: | updated |
To post a comment you must log in.
If launchpad used snapcraft cleanbuild it would be easier to get the same environment locally. I wonder if Sergio and Colin will like this idea.