1st time builder

Neale Ferguson neale at sinenomine.net
Thu Dec 17 19:09:54 UTC 2015


I am attempting to build juju for the 1st time using the instructions at
https://github.com/juju/juju and appear to have all the dependencies
installed. I am using golang 1.5. I have searched this month¹s mailing
list archives (juju and juju-dev) and googled the symptoms and got
nothing. I am getting the following when building:

src/github.com/juju/juju/provider/gce/google/instance.go:212: cannot use
value (type string) as type *string in field value
src/github.com/juju/juju/provider/gce/google/instance.go:228: cannot use
item.Value (type *string) as type string in assignment

src/github.com/juju/juju/provider/lxd/lxdclient/client_raw.go:23: cannot
use (*lxd.Client)(nil) (type *lxd.Client) as type rawClientWrapperFull in
assignment:
	*lxd.Client does not implement rawClientWrapperFull (wrong type for
MigrateFrom method)
		have MigrateFrom(string, string, map[string]string, int,
map[string]string, shared.Devices, []string, string, bool) (*lxd.Response,
error)
		want MigrateFrom(string, string, map[string]string, map[string]string,
[]string, string, bool) (*lxd.Response, error)

src/github.com/juju/juju/provider/azure/environ.go:126: undefined:
resources.Group
src/github.com/juju/juju/provider/azure/instance.go:224: undefined:
"github.com/Azure/azure-sdk-for-go/arm/network".SecurityRuleProtocolTCP
src/github.com/juju/juju/provider/azure/instance.go:226: undefined:
"github.com/Azure/azure-sdk-for-go/arm/network".SecurityRuleProtocolUDP
src/github.com/juju/juju/provider/azure/instance.go:336: undefined:
"github.com/Azure/azure-sdk-for-go/arm/network".SecurityRuleProtocolTCP
src/github.com/juju/juju/provider/azure/instance.go:338: undefined:
"github.com/Azure/azure-sdk-for-go/arm/network".SecurityRuleProtocolUDP
src/github.com/juju/juju/provider/azure/networking.go:65: undefined:
"github.com/Azure/azure-sdk-for-go/arm/network".SecurityRuleProtocolTCP
src/github.com/juju/juju/provider/azure/networking.go:284: undefined:
"github.com/Azure/azure-sdk-for-go/arm/network².SecurityRuleProtocolTCP

src/github.com/juju/juju/provider/azure/utils.go:15: cannot use
&stringPtrMap (type **map[string]*string) as type *map[string]*string in
return argument

src/github.com/juju/juju/provider/azure/vmextension.go:68: cannot use
&extensionSettings (type *map[string]*string) as type
*map[string]interface {} in field value


Before I go too far down the rabbit hole trying to determine the problem,
I was wondering if either this is a known problem or something I am doing
incorrectly for the build?

I am building this on a CentOS 7.1 system.

Neale




More information about the Juju-dev mailing list