thetechnick/hcloud-ansible

Unable to build

asarubbo opened this issue · 0 comments

Probably I'm missing something:

ago@spectre /tmp $ git clone https://github.com/thetechnick/hcloud-ansible.git
Cloning into 'hcloud-ansible'...
remote: Enumerating objects: 395, done.
remote: Total 395 (delta 0), reused 0 (delta 0), pack-reused 395
Receiving objects: 100% (395/395), 383.01 KiB | 1.10 MiB/s, done.
Resolving deltas: 100% (104/104), done.

ago@spectre /tmp $ cd hcloud-ansible

ago@spectre /tmp/hcloud-ansible $ make
can't load package: package github.com/thetechnick/hcloud-ansible/cmd/hcloud_ssh_key: cannot find package "github.com/thetechnick/hcloud-ansible/cmd/hcloud_ssh_key" in any of:
        /usr/lib/go/src/github.com/thetechnick/hcloud-ansible/cmd/hcloud_ssh_key (from $GOROOT)
        /home/ago/go/src/github.com/thetechnick/hcloud-ansible/cmd/hcloud_ssh_key (from $GOPATH)
make: *** [Makefile:18: bin/hcloud_ssh_key] Error 1

ago@spectre /tmp/hcloud-ansible $ make release
GOOS=linux GOARCH=amd64 go build -o bin/linux_amd64/hcloud_server -ldflags "-w -X github.com/thetechnick/hcloud-ansible/pkg/version.VersionTag=v0.3.2 -X github.com/thetechnick/hcloud-ansible/pkg/version.Branch=master -X github.com/thetechnick/hcloud-ansible/pkg/version.BuildDate=1554126550" -a github.com/thetechnick/hcloud-ansible/cmd/hcloud_server
can't load package: package github.com/thetechnick/hcloud-ansible/cmd/hcloud_server: cannot find package "github.com/thetechnick/hcloud-ansible/cmd/hcloud_server" in any of:
        /usr/lib/go/src/github.com/thetechnick/hcloud-ansible/cmd/hcloud_server (from $GOROOT)
        /home/ago/go/src/github.com/thetechnick/hcloud-ansible/cmd/hcloud_server (from $GOPATH)
make: *** [Makefile:58: bin/linux_amd64/hcloud_server] Error 1