Re: [libgpiod] libgpiod and conan 2.0 recipe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 05, 2023 at 09:51:09AM +0200, Martin Schröder wrote:
> Dear developers,
> 
> 
> i am trying to use the lib in my tiny project; but in conjuction with conan
> i get the following error:
> 
> *********************************************************
> Recipe 'libgpiod/1.6.3' seems broken.
> It is possible that this recipe is not Conan 2.0 ready
> If the recipe comes from ConanCenter check: https://conan.io/cci-v2.html
> If it is your recipe, check if it is updated to 2.0
> *********************************************************
> 
> ERROR: Package 'libgpiod/1.6.3' not resolved: libgpiod/1.6.3: Cannot load
> recipe.
> Error loading conanfile at
> '/home/martin/.conan2/p/libgpf99e3cc2c7d92/e/conanfile.py': Unable to load
> conanfile in /home/martin/.conan2/p/libgpf99e3cc2c7d92/e/conanfile.py
>  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
>  File "<frozen importlib._bootstrap>", line 241, in
> _call_with_frames_removed
>  File "/home/martin/.conan2/p/libgpf99e3cc2c7d92/e/conanfile.py", line 1, in
> <module>
>    from conans import ConanFile, tools, AutoToolsBuildEnvironment
> ImportError: cannot import name 'ConanFile' from 'conans'
> (/home/martin/.local/lib/python3.10/site-packages/conans/__init__.py)
> .
> 
> What can I do to fix this?
> 

Hi Martin,

That recipe is provided by the conan project themselves, not libgpiod,
so you should take it up with them.

FWIW, it appears the recipe is in the process of being updated to support
v2[1].
Perhaps try their WIP recipe, and if it doesn't work then follow up in
that issue?

Cheers,
Kent.

[1] https://github.com/conan-io/conan-center-index/pull/18171



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux