This bug was fixed in the package snapcraft - 2.10.1 --------------- snapcraft (2.10.1) xenial; urgency=medium
* Backwards compatible clean with strip (#556) (LP: #1590256) -- Sergio Schvezov <[email protected]> Wed, 08 Jun 2016 16:32:27 -0300 ** Changed in: snapcraft (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1583426 Title: can't load package when building a go project Status in Snapcraft: Fix Released Status in snapcraft package in Ubuntu: Fix Released Status in snapcraft source package in Xenial: Fix Released Status in snapcraft source package in Yakkety: Fix Released Bug description: I'm trying to make a snap for hashicorp's vault. This is the error I'm getting: env GOPATH=/home/elopio/workspace/canonical/snaps/vault/parts/vault/go go get -t -d ./vault.git/... can't load package: package vault.git: code in directory /home/elopio/workspace/canonical/snaps/vault/parts/vault/go/src/vault.git expects import "github.com/hashicorp/vault" Command '['/bin/sh', '/tmp/tmpwyqwm_y3', 'env', 'GOPATH=/home/elopio/workspace/canonical/snaps/vault/parts/vault/go', 'go', 'get', '-t', '-d', './vault.git/...']' returned non-zero exit status 1 This is the snapcraft.yaml I'm using: name: vault-elopio version: snap0.1 summary: Vault is a tool for securely accessing secrets. description: bla apps: vault: command: bin/vault plugs: [network, network-bind] parts: vault: plugin: go source: https://github.com/hashicorp/vault.git [Impact] * Some go projects can't be easily build. * The workaround is hard to find, it should be clearer what to do for these projects. [Test Case] * Create a snapcraft with the vault yaml from this bug. * Add the new go-importpath field. * Run snapcraft. * Verify that you get a usable snap. [Regression Potential] * This could affect other go projects. To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1583426/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : [email protected] Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp

