prime error: unable to set version: it was already set in the 'build' step
Bug #1831135 reported by
Michał Sawicz
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Confirmed
|
Medium
|
Claudio Matsuoka |
Bug Description
Trying to build Multipass with the following patch: http://
Having built, trying to `snapcraft prime` I end up with:
Unable to set version: it was already set in the 'build' step.
Failed to run 'override-build': Exit code was 2.
Changed in snapcraft: | |
assignee: | nobody → Chris Patterson (cjp256) |
Changed in snapcraft: | |
status: | New → Triaged |
status: | Triaged → Confirmed |
importance: | Undecided → Medium |
Changed in snapcraft: | |
assignee: | Chris Patterson (cjp256) → Claudio Matsuoka (cmatsuoka) |
Changed in snapcraft: | |
status: | Invalid → Confirmed |
To post a comment you must log in.
This is still an issue:
Updating build step for nymea-app ('pull' step changed) nymea-app/ src describe --tags
++ git -C /root/parts/
+ snapcraftctl set-version 1.0.272-2-g94acae8a
Unable to set version: it was already set in the 'build' step.
Run the same command again with --debug to shell into the environment if you wish to introspect this failure.
The relevant yaml:
base: core20 PART_SRC} describe --tags )
...
override-build: |
snapcraftctl set-version $( git -C ${SNAPCRAFT_
snapcraftctl build