-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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: Don't know the correct rust target for system type aarch64-unknown-linux-android. Please set the CARGO_BUILD_TARGET environment variable #6679
Comments
This is not an acceptable bug report. You have a) Not stated what the actual bug is. For all we know it's a typo in that debug message b) not provided any details on how to reproduce the error message, c) the error message provides a suggested resolution to it, did you attempt to follow that instruction? When you file a bug, you're asking maintainers to take time to try to resolve your issue. You have not done anything required to enable us to help. |
@alex I wrote that I was trying to establish which command - isn't this an operation? According to the form, I wrote which versions of packages, how I did and what. |
The issue template asked you to provide cffi and pip version, which you did not provide. Your bug report also lacks clear steps to reproduce the problem. We don't even know which platform, Linux distro, and build environment you are targeting. |
I really forgot to provide the cffi version, but everything you need is at least in the debag information. |
I use termux |
`~ $ pip list certifi 2021.10.8 |
It is not at all clear what you expect us to do other than try to get our own environment and debug this for you. Did you try passing the flags the error message suggested? What happened when you did? Can you This is a volunteer project run by two people in their spare time. When things fail on unusual platforms (and termux in android definitely qualifies as something outside the norm) open source needs users who are willing to spend some time trying to isolate the problem. It is hugely demotivating to have someone do the bare minimum and then throw the problem over the wall. We would be happy to work with you when there's a problem that we can reproduce in our available environments or has been isolated to the point where we can report a bug either here or somewhere in the rust ecosystem, but we need you to put in the work as well. |
Once I managed to install this library on thermex, but it was a different phone.
|
Sorry for the time spent, I was able to solve the problem. |
How i solve this problem:
|
Great, thanks for following up and providing your solution for others who might run into this issue in the future! |
please can you clarify how you're in a ~/cryptography/src directory? I don't have that and I'm stuck in the cargo_build_target step , was the |
I just changed the cargo_build_target from |
This specific command change the CARGO TARGET: export CARGO_BUILD_TARGET=aarch64-linux-android |
yeah... it worked for me.. thank you all... |
Please help ( Termux ) error: cargo failed with code: 101 |
I got a error: 101 |
change it to something else, try it and then change it to the right option again, worked for me |
Have the same issue, pip install cryptography failed. pkg install rust this way doesn't work at 2022/04/03 |
I have the same issue while install mitmproxy via termux on MIUI 12.5.3 Redmi 9. Full command was: |
It would be nice to give proper credit for the recipe |
cryptography
,cffi
,pip
, andsetuptools
you're using - in debug
cryptography
-pip install cryptography
pip 21.3.1 from /data/data/com.termux/files/usr/lib/python3.9/site-packages/pip (python 3.9)
The text was updated successfully, but these errors were encountered: