Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] testing/vault-client: new aport

From: Timo Teras <timo.teras_at_iki.fi>
Date: Wed, 30 Aug 2017 13:34:58 +0300

On Tue, 29 Aug 2017 21:18:15 +0200
Jean-Louis Fuchs <ganwell_at_fangorn.ch> wrote:

> Hi
>
> On Fri, Jul 07, 2017 at 12:23:16PM +0200, Jean-Louis Fuchs wrote:
> > ---
> > testing/vault-client/APKBUILD | 36
> > ++++++++++++++++++++++++++++++++++++ 1 file changed, 36
> > insertions(+) create mode 100644 testing/vault-client/APKBUILD
>
> Could somebody have a look at this? Thank you.

Seems it wants to download stuff from the internet during build.

$ abuild rootbld
<snip>
>>> vault-client: Checking sha512sums...
vault-client-1.1.2.tar.gz: OK
>>> vault-client: Unpacking /var/cache/distfiles/vault-client-1.1.2.tar.gz...
for dep in gopkg.in/yaml.v2 github.com/hashicorp/vault/api github.com/mitchellh/cli github.com/fatih/color; do \
        GOPATH=$(pwd) go get $dep; \
done
package gopkg.in/yaml.v2: unrecognized import path "gopkg.in/yaml.v2" (https fetch: Get https://gopkg.in/yaml.v2?go-get=1: dial tcp: lookup gopkg.in on [::1]:53: read udp [::1]:39502->[::1]:53: read: connection refused)
# cd .; git clone https://github.com/hashicorp/vault /home/tteras/aports/testing/vault-client/src/vault-client-1.1.2/src/github.com/hashicorp/vault
Cloning into '/home/tteras/aports/testing/vault-client/src/vault-client-1.1.2/src/github.com/hashicorp/vault'...
fatal: unable to access 'https://github.com/hashicorp/vault/': Could not resolve host: github.com
package github.com/hashicorp/vault/api: exit status 128
# cd .; git clone https://github.com/mitchellh/cli /home/tteras/aports/testing/vault-client/src/vault-client-1.1.2/src/github.com/mitchellh/cli
Cloning into '/home/tteras/aports/testing/vault-client/src/vault-client-1.1.2/src/github.com/mitchellh/cli'...
fatal: unable to access 'https://github.com/mitchellh/cli/': Could not resolve host: github.com
package github.com/mitchellh/cli: exit status 128

It's probably trying to get latest dependency packages. This is not
supported (yes, there might have few packages slipped in that do this,
but we get to those too).

The good Go software is packaged with dependencies in source tarball.
Perhaps with https://github.com/Masterminds/glide.

Timo


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Aug 30 2017 - 13:34:58 GMT