<div dir="ltr">Usually if there are compile time issues, it's because you haven't run godeps yet. <div>Make sure you've done the steps under this section of the docs: <a href="https://github.com/juju/juju/blob/master/CONTRIBUTING.md#godeps">https://github.com/juju/juju/blob/master/CONTRIBUTING.md#godeps</a></div><div>go-get by default pulls from the head of every git repo, but to keep our builds repeatable, we use godeps to pin the revision of each repo, which can occasionally mean that HEAD of master may not compile if someone has broken something in a dependent repo.</div><div><br></div><div>Also, we don't officially support go 1.5 yet, though I believe the build works and almost all the tests work (there are a small handful of tests that fail in go 1.5 IIRC).... but that wouldn't cause the compile issues you're getting here.</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 17, 2015 at 2:10 PM Neale Ferguson <<a href="mailto:neale@sinenomine.net">neale@sinenomine.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am attempting to build juju for the 1st time using the instructions at<br>
<a href="https://github.com/juju/juju" rel="noreferrer" target="_blank">https://github.com/juju/juju</a> and appear to have all the dependencies<br>
installed. I am using golang 1.5. I have searched this month¹s mailing<br>
list archives (juju and juju-dev) and googled the symptoms and got<br>
nothing. I am getting the following when building:<br>
<br>
src/<a href="http://github.com/juju/juju/provider/gce/google/instance.go:212" rel="noreferrer" target="_blank">github.com/juju/juju/provider/gce/google/instance.go:212</a>: cannot use<br>
value (type string) as type *string in field value<br>
src/<a href="http://github.com/juju/juju/provider/gce/google/instance.go:228" rel="noreferrer" target="_blank">github.com/juju/juju/provider/gce/google/instance.go:228</a>: cannot use<br>
item.Value (type *string) as type string in assignment<br>
<br>
src/<a href="http://github.com/juju/juju/provider/lxd/lxdclient/client_raw.go:23" rel="noreferrer" target="_blank">github.com/juju/juju/provider/lxd/lxdclient/client_raw.go:23</a>: cannot<br>
use (*lxd.Client)(nil) (type *lxd.Client) as type rawClientWrapperFull in<br>
assignment:<br>
*lxd.Client does not implement rawClientWrapperFull (wrong type for<br>
MigrateFrom method)<br>
have MigrateFrom(string, string, map[string]string, int,<br>
map[string]string, shared.Devices, []string, string, bool) (*lxd.Response,<br>
error)<br>
want MigrateFrom(string, string, map[string]string, map[string]string,<br>
[]string, string, bool) (*lxd.Response, error)<br>
<br>
src/<a href="http://github.com/juju/juju/provider/azure/environ.go:126" rel="noreferrer" target="_blank">github.com/juju/juju/provider/azure/environ.go:126</a>: undefined:<br>
resources.Group<br>
src/<a href="http://github.com/juju/juju/provider/azure/instance.go:224" rel="noreferrer" target="_blank">github.com/juju/juju/provider/azure/instance.go:224</a>: undefined:<br>
"<a href="http://github.com/Azure/azure-sdk-for-go/arm/network" rel="noreferrer" target="_blank">github.com/Azure/azure-sdk-for-go/arm/network</a>".SecurityRuleProtocolTCP<br>
src/<a href="http://github.com/juju/juju/provider/azure/instance.go:226" rel="noreferrer" target="_blank">github.com/juju/juju/provider/azure/instance.go:226</a>: undefined:<br>
"<a href="http://github.com/Azure/azure-sdk-for-go/arm/network" rel="noreferrer" target="_blank">github.com/Azure/azure-sdk-for-go/arm/network</a>".SecurityRuleProtocolUDP<br>
src/<a href="http://github.com/juju/juju/provider/azure/instance.go:336" rel="noreferrer" target="_blank">github.com/juju/juju/provider/azure/instance.go:336</a>: undefined:<br>
"<a href="http://github.com/Azure/azure-sdk-for-go/arm/network" rel="noreferrer" target="_blank">github.com/Azure/azure-sdk-for-go/arm/network</a>".SecurityRuleProtocolTCP<br>
src/<a href="http://github.com/juju/juju/provider/azure/instance.go:338" rel="noreferrer" target="_blank">github.com/juju/juju/provider/azure/instance.go:338</a>: undefined:<br>
"<a href="http://github.com/Azure/azure-sdk-for-go/arm/network" rel="noreferrer" target="_blank">github.com/Azure/azure-sdk-for-go/arm/network</a>".SecurityRuleProtocolUDP<br>
src/<a href="http://github.com/juju/juju/provider/azure/networking.go:65" rel="noreferrer" target="_blank">github.com/juju/juju/provider/azure/networking.go:65</a>: undefined:<br>
"<a href="http://github.com/Azure/azure-sdk-for-go/arm/network" rel="noreferrer" target="_blank">github.com/Azure/azure-sdk-for-go/arm/network</a>".SecurityRuleProtocolTCP<br>
src/<a href="http://github.com/juju/juju/provider/azure/networking.go:284" rel="noreferrer" target="_blank">github.com/juju/juju/provider/azure/networking.go:284</a>: undefined:<br>
"<a href="http://github.com/Azure/azure-sdk-for-go/arm/network" rel="noreferrer" target="_blank">github.com/Azure/azure-sdk-for-go/arm/network</a>².SecurityRuleProtocolTCP<br>
<br>
src/<a href="http://github.com/juju/juju/provider/azure/utils.go:15" rel="noreferrer" target="_blank">github.com/juju/juju/provider/azure/utils.go:15</a>: cannot use<br>
&stringPtrMap (type **map[string]*string) as type *map[string]*string in<br>
return argument<br>
<br>
src/<a href="http://github.com/juju/juju/provider/azure/vmextension.go:68" rel="noreferrer" target="_blank">github.com/juju/juju/provider/azure/vmextension.go:68</a>: cannot use<br>
&extensionSettings (type *map[string]*string) as type<br>
*map[string]interface {} in field value<br>
<br>
<br>
Before I go too far down the rabbit hole trying to determine the problem,<br>
I was wondering if either this is a known problem or something I am doing<br>
incorrectly for the build?<br>
<br>
I am building this on a CentOS 7.1 system.<br>
<br>
Neale<br>
<br>
<br>
--<br>
Juju-dev mailing list<br>
<a href="mailto:Juju-dev@lists.ubuntu.com" target="_blank">Juju-dev@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br>
</blockquote></div>