IncludeOS icon indicating copy to clipboard operation
IncludeOS copied to clipboard

Conan Misconfiguration

Open Krayfighter opened this issue 2 years ago • 2 comments

I am on arch linux, and downloaded conan from AUR and follow the steps in README.md but got to a point where conan would not run the install command { conan install ../hello_world -pr <your_conan_profile> } giving the error { ERROR: Error reading 'clang-6.0-linux-x86_64' profile: ConfigParser: Unrecognized field 'build_requires' } doing research I found the in the toolchain file (or whatever it is called in conan projects) was using the deprecated [build_requires] attribute instead of the [tool_requires] which is the only working option as of conan 2.x and that as I tried to fix issues with the file (not knowing how conan works) I could not get the project to compile

Krayfighter avatar May 06 '23 03:05 Krayfighter

I encountered the same problem. Has this problem been solved? if sloved,please tell me. thank you

bonanDong avatar Jul 19 '23 07:07 bonanDong

Any fix for this?

chetanpandey1266 avatar Jan 18 '24 06:01 chetanpandey1266

The builds are broken since conan 2 deprecated conan 1 files. We might support conanfiles in the future, but currently we're working on a nix toolchain, which is in progress - nix-build in the source root is currently the closest thing we have to a working buld. Pay attention to nix-related commits for following this work.

alfreb avatar May 01 '24 11:05 alfreb