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

Error in Make! #164

Closed
QuestionPython opened this issue Jan 5, 2018 · 11 comments
Closed

Error in Make! #164

QuestionPython opened this issue Jan 5, 2018 · 11 comments

Comments

@QuestionPython
Copy link

$ 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
Copy link
Contributor

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
Copy link
Author

$ docker --version

Docker version 17.03.2-ce, build f5ec1e2

@tiago-loureiro
Copy link
Contributor

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

@QuestionPython
Copy link
Author

$ 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
Copy link
Contributor

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

@QuestionPython
Copy link
Author

$ 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
Copy link
Author

docker is blocked my country!

@Delikt
Copy link

Delikt commented Jan 6, 2018

3niwhsdl8mtl

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

the rule for the target "deps" fails

@jschaul
Copy link
Member

jschaul commented Jan 9, 2018

@Delikt the problem you reported is the same as reported in #168. That should now be fixed.

@Delikt
Copy link

Delikt commented Jan 9, 2018

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

@tiago-loureiro
Copy link
Contributor

Regarding instructions, please follow the issue #70
At the moment, the way to build the wire-server is described here

smatting pushed a commit that referenced this issue Apr 20, 2022
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

4 participants