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

Cryptography failed to build #24

Closed
RtKelleher opened this issue Mar 28, 2021 · 5 comments
Closed

Cryptography failed to build #24

RtKelleher opened this issue Mar 28, 2021 · 5 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@RtKelleher
Copy link

RtKelleher commented Mar 28, 2021

Installed on Raspberry Pi 4, ARM7, 8gb

Consider adding Cargo and pep517 as my build failed building cryptography without them. Other than those two dependencies it ran great.

This package requires Rust >=1.41.0. ERROR: Failed building wheel for cryptography

ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly

@JonasAlfredsson
Copy link
Owner

Hi RtKelleher,

I do not own a Raspberry Pi, so I have not had the chance to run into this issue before.
Would you mind helping me debug this? I will see if I can get hold of such a device, but until then could you post the entire build output here?

Best regards
Jonas

@JonasAlfredsson JonasAlfredsson added bug Something isn't working enhancement New feature or request labels Mar 29, 2021
@JonasAlfredsson
Copy link
Owner

I have been doing some experimenting with Buildx and QEMU, and would just like to double check with you about one thing:
It was enough to just add "cargo" to the installed dependencies for the build process to succeed right?

@JonasAlfredsson
Copy link
Owner

I have now spent some time trying to build this architecture via QEMU, and I think I have been successful (see issue mentioned above).
So you should now be able to pull my image directly from DockerHub, if you do not want to build it yourself locally.

As I said in the beginning, I don't have a RPi, so I would greatly appreciate if you could test this when you have time :)

@odin568
Copy link
Contributor

odin568 commented Apr 2, 2021

V1.2.0 runs great on my Raspi 3b+ (arm/v7)

@JonasAlfredsson
Copy link
Owner

Excellent!
Then I will close this issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants