'parts/go' property does not match the required schema: 'plugin' is a required property
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snap Store Server |
Invalid
|
Undecided
|
Unassigned | ||
Snapcraft |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
While trying to build [1] using the Snapstore build farm, I got the error pasted below for all archs. However, in [2], it is explicitly mentioned that in order to use a newer Go version, the extra part to be configured should be (ie. from the doc):
"""
go:
source-tag: go1.7.5
"""
Since snapcraft.yaml is using base core18, I'm not sure if something may have changed? Could you please guide me and possibly update the docs? Thank you.
1. https:/
2. https:/
Running pull phase...
Using 'snapcraft.yaml': Project assets will be searched for from the 'snap' directory.
Issues while validating snapcraft.yaml: The 'parts/go' property does not match the required schema: 'plugin' is a required property
Build failed
Traceback (most recent call last):
File "/usr/lib/
self.pull()
File "/usr/lib/
env=env)
File "/usr/lib/
return self.backend.
File "/usr/lib/
subprocess.
File "/usr/lib/
raise CalledProcessEr
CalledProcessError: Command '['lxc', 'exec', 'lp-bionic-s390x', '--env', 'LANG=C.UTF-8', '--env', 'SHELL=/bin/sh', '--env', 'SNAPCRAFT_
tags: | added: canonical-bootstack |
Changed in snapstore: | |
status: | New → Invalid |
Yes now since you define a base in the snap you can't use remote parts which is what the `go` part is.
Instead for the go plugin specifically you should just use go-channel to select the version of go you need, otherwise without the `after: [go]` the go plugin will by default install the latest channel of the go snap to do the build.