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: unsatisfiable constraints: #169

Closed
mwanjajoel opened this issue Jul 5, 2018 · 5 comments
Closed

ERROR: unsatisfiable constraints: #169

mwanjajoel opened this issue Jul 5, 2018 · 5 comments

Comments

@mwanjajoel
Copy link
Contributor

This error comes up when trying to run bootcamp in production using docker.
openssl-dev-1.0.2o-r0: conflicts: libressl-dev-2.6.5-r0[pc:libcrypto=1.0.2o] libressl-dev-2.6.5-r0[pc:libssl=1.0.2o] libressl-dev-2.6.5-r0[pc:openssl=1.0.2o] satisfies: world[openssl-dev] libressl-dev-2.6.5-r0: conflicts: openssl-dev-1.0.2o-r0[pc:libcrypto=2.6.5] openssl-dev-1.0.2o-r0[pc:libssl=2.6.5] openssl-dev-1.0.2o-r0[pc:openssl=2.6.5] satisfies: postgresql-dev-10.4-r0[libressl-dev] ERROR: Service 'worker' failed to build: The command '/bin/sh -c apk update && apk add --virtual build-deps gcc python3-dev musl-dev && apk add postgresql-dev && apk add jpeg-dev zlib-dev freetype-dev lcms2-dev openjpeg-dev tiff-dev tk-dev tcl-dev && apk add libffi-dev openssl-dev py-cffi' returned a non-zero code: 3

To reproduce the error, clone the repository to a server with Ubuntu 16 LTS, ensure docker and docker-compose are installed and run
sudo docker-compose -f production.yml build

@sebastian-code
Copy link
Collaborator

It looks like the build issue is related to some dependency constrain related somehow to the basic docker-alpine v3.6 image. I fixed it deleting the clashing dependency and now is building, but I'm not sure is solved. Can you check it out and report back?

@mwanjajoel
Copy link
Contributor Author

Let me try that out and get back to you

@mwanjajoel
Copy link
Contributor Author

Hey @sebastian-code coudl you kindly direct me on which Dockerfile you edited and the steps you took to make the edit?

Also, I edited openssl-dev to openssl in the production Dockerfile for postgres and the project is now building very well.

@sebastian-code
Copy link
Collaborator

I already submitted the required changes into the repo with the last commit, reference in this issue. If you clone the repo you'll have those changes.

@sebastian-code
Copy link
Collaborator

I have been checking the whole Docker flow, and it appear than there is work to be done due to some django-channels requirements @mwanjajoel

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

No branches or pull requests

2 participants