-
Notifications
You must be signed in to change notification settings - Fork 981
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
[question] Download the ARM development package in x86_64 fails. #17285
Comments
Hi @sunhao-DBH Thanks for your question. It would be important to know first what is your specific platform, like Linux distro details, and see if the You might also try to avoid that installation/check with It is possible that this cross-build scenario requires some more advanced setup. Are you using some Please let me know if this helps. |
Thank you for your reply. I am using Ubuntu 22.04 on the x86_64 architecture. I think Conan will install the development packages for the x86_64 architecture for me, instead of installing the development packages for the ARM architecture from the sources of Ubuntu. May I ask how I should set it up? |
Sorry, I don't know what you mean. If you are trying to cross-compile to Have you tried my suggestion above of |
Thank you very much for your patient explanation. I have tried
However, when I use the |
Hi @sunhao-DBH - Debian-based distros are multi-architecture, you can install packages from other architectures - they are placed in different system subfolders. Although I suspsect the issue here is that 32-bit armv7 should map to the |
Thank you for your reply. I also think that |
That may be a bug - will look into it! In the meantime to unblock you, you can try:
And then proceed with the There may be other packages to install - you can get a list from Conan
This should report all packages that need to be installed and you can install them manually while we look into the correct dpkg architecture for armv7! |
OK, thank you. I like Conan. Looking forward to Conan getting better and better. |
I see the current mapping is: self._arch_names = {"x86_64": "amd64",
"x86": "i386",
"ppc32": "powerpc",
"ppc64le": "ppc64el",
"armv7": "arm",
"armv7hf": "armhf",
"armv8": "arm64",
"s390x": "s390x"} if arch_names is None else arch_names It seems the I have done a quick search for a explicit list of architectures, but it is not evident to me. |
What is your question?
Problem Description
I'm cross-compiling ffmpeg for armv7 on x86_64 Ubuntu. However, Conan is going to download the development package libva-dev from arm. May I ask where the settings are incorrect? Hope for guidance.
Environment details
Conan version 2.9.1
This is my conanfile.txt:
Steps to reproduce
$ conan install . --output-folder=build --build=missing -pr armv7
Logs
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: