Skip to content
This repository has been archived by the owner on May 20, 2022. It is now read-only.

Cannot build 5.22.x due to cffi error #472

Closed
glemignot opened this issue Apr 27, 2020 · 2 comments
Closed

Cannot build 5.22.x due to cffi error #472

glemignot opened this issue Apr 27, 2020 · 2 comments

Comments

@glemignot
Copy link

Hello,

I cannot build the 5.22.0 or 5.22.1 Docker image (I used to build them since 4.x without problem).

When I do :

 cd build/mattermost
 git fetch
 git checkout tags/5.22.1
 docker build app --build-arg edition=team --build-arg PUID=1000 --build-arg PGID=1000 -t mm_app:5.22.1 --no-cache

It fails with :

Executing busybox-1.28.4-r3.trigger
Executing ca-certificates-20191127-r0.trigger
OK: 272 MiB in 80 packages
Collecting wal-e<1.0.0
  Downloading https://files.pythonhosted.org/packages/7a/67/4da340652303e3adb26f6e9aa97b2118dbe5cd17be87e8a21dff9e9bc507/wal-e-0.9.2.tar.gz (100kB)
Collecting envdir
  Downloading https://files.pythonhosted.org/packages/75/dd/817dc77edf4807fc2c29e28046ab83aa7ccfe27e79d24ca37d7aaa1e36bb/envdir-1.0.1-py2.py3-none-any.whl
Collecting gevent>=1.0.2 (from wal-e<1.0.0)
  Downloading https://files.pythonhosted.org/packages/72/8b/20c2ebb3bda3f748f251115831568be202456138e088d3f25d24bf430690/gevent-20.4.0.tar.gz (5.5MB)
  Could not find a version that satisfies the requirement cffi>=1.12.3 (from versions: )
No matching distribution found for cffi>=1.12.3
You are using pip version 10.0.1, however version 20.1b1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
The command '/bin/sh -c apk add --no-cache       build-base       curl       libc6-compat       libffi-dev       linux-headers       python-dev       py-pip       py-cryptography       pv       libressl-dev     && pip --no-cache-dir install -c pip-constraints.txt 'wal-e<1.0.0' envdir     && rm -rf /var/cache/apk/* /tmp/* /var/tmp/*' returned a non-zero code: 1

Build is done on Debian 9 (stretch) but host OS shouldn't matter much when building a Docker image.

If you need any additional information feel free to ask.

@oguera
Copy link
Contributor

oguera commented Apr 27, 2020

See #469

There is also an open PR (#471). You can apply the changed if you want.

@glemignot
Copy link
Author

Thanks, it works with the fix. Since there are other issues opened already (sorry I did search but I couldn't find them) I'll close that one.

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

No branches or pull requests

2 participants