mozilla-services / syncserver

Run-Your-Own Firefox Sync Server
Mozilla Public License 2.0
1.87k stars 145 forks source link

Can't build syncserver - maybe missing dependencies? #181

Closed zethexx closed 5 years ago

zethexx commented 5 years ago

I am having trouble building syncserver using make build

It fails with:

...
#include <openssl/opensslv.h>
...
ERROR: Failed building wheel for cryptography
  Running setup.py clean for cryptography
Failed to build cryptography
Building wheels for collected packages: tokenserver, SyncStorage
  Building wheel for tokenserver (setup.py) ... done
...
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
make: *** [Makefile:29: local/COMPLETE] Error 1

I had a similar problem before but with ffi, i just installed libffi-dev and it didn't fail for that (until this new error) Anyone know how to fix? (Or get the dependencies to be able to fix)

It's debian 10 (buster) on a Rock64 (ARM)

zethexx commented 5 years ago

Update: Installing libssl-dev fixed the openssl issue. "make build" works now. You might want to add this as a dependency: libffi-dev libssl-dev For debian 10 at least