wireapp / wire-server

🇪🇺 Wire back-end services
https://wire.com
GNU Affero General Public License v3.0
2.6k stars 325 forks source link

Error in Make! #164

Closed QuestionPython closed 6 years ago

QuestionPython commented 6 years ago

$ sudo make

make -C build/alpine
make[1]: Entering directory '/home/guest/Gits/wire-server-develop/build/alpine'
docker build -t wire-server-deps:alpine -f Dockerfile.deps .
Sending build context to Docker daemon 10.75 kB
Step 1/5 : FROM alpine:3.6 as cryptobox-builder
Error parsing reference: "alpine:3.6 as cryptobox-builder" is not a valid repository/tag: invalid reference format
Makefile:6: recipe for target 'deps' failed
make[1]: *** [deps] Error 1
make[1]: Leaving directory '/home/guest/Gits/wire-server-develop/build/alpine'
Makefile:6: recipe for target 'docker-services' failed
make: *** [docker-services] Error 2

how fix?

tiago-loureiro commented 6 years ago

Hello @questionpython, thanks for your interest in wire-server

Which version of docker are you using, i.e., can you paste here the output of:

docker --version

?

QuestionPython commented 6 years ago

$ docker --version

Docker version 17.03.2-ce, build f5ec1e2

tiago-loureiro commented 6 years ago

Right, you will need to upgrade to >= 17.05 as mentioned here

QuestionPython commented 6 years ago

$ docker --version

Docker version 17.12.0-ce, build c97c6d6

$ make

make -C build/alpine
make[1]: Entering directory '/home/guest/Gits/wire-server-develop/build/alpine'
docker build -t wire-server-deps:alpine -f Dockerfile.deps .
ERRO[0000] failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: permission denied 
context canceled
Makefile:6: recipe for target 'deps' failed
make[1]: *** [deps] Error 1
make[1]: Leaving directory '/home/guest/Gits/wire-server-develop/build/alpine'
Makefile:6: recipe for target 'docker-services' failed
make: *** [docker-services] Error 2
tiago-loureiro commented 6 years ago

Seems like you either don't have your docker daemon running or have no permissions to access it

QuestionPython commented 6 years ago

$ sudo make

make -C build/alpine
make[1]: Entering directory '/home/guest/Gits/wire-server-develop/build/alpine'
docker build -t wire-server-deps:alpine -f Dockerfile.deps .
Sending build context to Docker daemon  10.75kB
Step 1/5 : FROM alpine:3.6 as cryptobox-builder
error parsing HTTP 403 response body: invalid character '<' looking for beginning of value: "<html><body><h1>403 Forbidden</h1>\nSince Docker is a US company, we must comply with US export control regulations. In an effort to comply with these, we now block all IP addresses that are located in Cuba, Iran, North Korea, Republic of Crimea, Sudan, and Syria. If you are not in one of these cities, countries, or regions and are blocked, please reach out to https://support.docker.com\n</body></html>\n\n"
Makefile:6: recipe for target 'deps' failed
make[1]: *** [deps] Error 1
make[1]: Leaving directory '/home/guest/Gits/wire-server-develop/build/alpine'
Makefile:6: recipe for target 'docker-services' failed
make: *** [docker-services] Error 2
QuestionPython commented 6 years ago

docker is blocked my country!

Delikt commented 6 years ago

3niwhsdl8mtl

sodiumoxide v0.0.14 does not have the feature 'std' ?

the rule for the target "deps" fails

jschaul commented 6 years ago

@Delikt the problem you reported is the same as reported in https://github.com/wireapp/wire-server/issues/168. That should now be fixed.

Delikt commented 6 years ago

@jschaul right the error is gone, #168 talk about a instruction... where can i find this?

tiago-loureiro commented 6 years ago

Regarding instructions, please follow the issue https://github.com/wireapp/wire-server/issues/70 At the moment, the way to build the wire-server is described here