Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build #2

Open
minhaj-shakeel opened this issue Jun 25, 2019 · 0 comments
Open

Unable to build #2

minhaj-shakeel opened this issue Jun 25, 2019 · 0 comments

Comments

@minhaj-shakeel
Copy link

i cloned this repo in my machine and when I ran the command to build , it shows the following error .

federationpostgres uses an image, skipping
Building federation
Step 1/17 : FROM golang:alpine as builder
alpine: Pulling from library/golang
921b31ab772b: Pull complete
2d3896533852: Pull complete
28c34ce20860: Pull complete
9186bf07c4ae: Pull complete
7f1720e95b4b: Pull complete
Digest: sha256:c750d6718009f2e94cb20f56a87884f601f175d43c9418ae0fa21ea00ad6a2ff
Status: Downloaded newer image for golang:alpine
---> 4e4b7a8b9495
Step 2/17 : ADD apk-build /apk-build
---> 42e5d662c442
Step 3/17 : RUN chmod +x /apk-build
---> Running in a04d6aead475
Removing intermediate container a04d6aead475
---> fbc1f44edced
Step 4/17 : RUN /apk-build
---> Running in c9e79b9d080a
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
v3.10.0-4-g2174faf01b [http://dl-cdn.alpinelinux.org/alpine/v3.10/main]
v3.10.0-3-g43ac83e8aa [http://dl-cdn.alpinelinux.org/alpine/v3.10/community]
OK: 10327 distinct packages available
(1/30) Installing nghttp2-libs (1.38.0-r0)
(2/30) Installing libcurl (7.65.1-r0)
(3/30) Installing curl (7.65.1-r0)
(4/30) Installing binutils (2.32-r0)
(5/30) Installing gmp (6.1.2-r1)
(6/30) Installing isl (0.18-r0)
(7/30) Installing libgomp (8.3.0-r0)
(8/30) Installing libatomic (8.3.0-r0)
(9/30) Installing libgcc (8.3.0-r0)
(10/30) Installing mpfr3 (3.1.5-r1)
(11/30) Installing mpc1 (1.1.0-r0)
(12/30) Installing libstdc++ (8.3.0-r0)
(13/30) Installing gcc (8.3.0-r0)
(14/30) Installing expat (2.2.6-r0)
(15/30) Installing pcre2 (10.33-r0)
(16/30) Installing git (2.22.0-r0)
(17/30) Installing linux-headers (4.19.36-r0)
(18/30) Installing make (4.2.1-r2)
(19/30) Installing libbz2 (1.0.6-r6)
(20/30) Installing libffi (3.2.1-r6)
(21/30) Installing gdbm (1.13-r1)
(22/30) Installing ncurses-terminfo-base (6.1_p20190518-r0)
(23/30) Installing ncurses-terminfo (6.1_p20190518-r0)
(24/30) Installing ncurses-libs (6.1_p20190518-r0)
(25/30) Installing readline (8.0.0-r0)
(26/30) Installing sqlite-libs (3.28.0-r0)
(27/30) Installing python2 (2.7.16-r1)
(28/30) Installing mercurial (4.9.1-r0)
(29/30) Installing musl-dev (1.1.22-r2)
(30/30) Installing wget (1.20.3-r0)
Executing busybox-1.30.1-r2.trigger
OK: 188 MiB in 45 packages
Done installing dependencies...
Removing intermediate container c9e79b9d080a
---> 957e2497c25e
Step 5/17 : RUN mkdir -p /go/src/github.com/stellar/ && git clone --depth 1 --branch master https://github.com/stellar/go.git /go/src/github.com/stellar/go && cd /go/src/github.com/stellar/go && curl https://glide.sh/get | sh && glide install && go install github.com/stellar/go/services/federation
---> Running in 9db2c52dc5a2
Cloning into '/go/src/github.com/stellar/go'...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4833 100 4833 0 0 7014 0 --:--:-- --:--:-- --:--:-- 7004
ARCH=amd64
OS=linux
Using curl as download tool
Getting https://glide.sh/version
TAG=v0.13.2
GLIDE_DIST=glide-v0.13.2-linux-amd64.tar.gz
Downloading https://github.com/Masterminds/glide/releases/download/v0.13.2/glide-v0.13.2-linux-amd64.tar.gz
glide version v0.13.2 installed successfully
[ERROR] Failed to find glide.yaml file in directory tree: Cannot resolve parent of /
ERROR: Service 'federation' failed to build: The command '/bin/sh -c mkdir -p /go/src/github.com/stellar/ && git clone --depth 1 --branch master https://github.com/stellar/go.git /go/src/github.com/stellar/go && cd /go/src/github.com/stellar/go && curl https://glide.sh/get | sh && glide install && go install github.com/stellar/go/services/federation' returned a non-zero code: 2

Can you suggest what is the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant