godeps plugin does not installing the git package by itself
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Medium
|
Colin Watson |
Bug Description
This happened when building on launchpad.
The godeps plugin should install git.
I tried to add git in the build-packages section and it works as a workaround.
This is a build example:
https:/
This is the end of the build log:
go: missing Git command. See https:/
package github.
Command '['/bin/sh', '/tmp/tmp2w8ecs_k', 'go', 'get', 'github.
go get github.
Traceback (most recent call last):
File "/usr/share/
builder.pull()
File "/usr/share/
env=env)
File "/usr/share/
self.
File "/usr/share/
"/usr/
File "/usr/lib/
raise CalledProcessEr
CalledProcessError: Command '['/usr/bin/sudo', '/usr/sbin/chroot', '/home/
Revoking proxy token...
RUN: /usr/share/
Scanning for processes to kill in build /home/buildd/
RUN: /usr/share/
Unmounting chroot for build SNAPBUILD-26732...
RUN: /usr/share/
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
importance: | Undecided → Medium |
milestone: | none → 2.28 |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/snapcore/ snapcraft/ pull/1179