From: Kent Gibson <warthog618@gmail.com>
To: "Martin Schröder" <martin.schroeder78@gmail.com>
Cc: linux-gpio@vger.kernel.org
Subject: Re: [libgpiod] libgpiod and conan 2.0 recipe
Date: Wed, 5 Jul 2023 19:15:10 +0800 [thread overview]
Message-ID: <ZKVQvl0tU6dbFvSr@sol> (raw)
In-Reply-To: <a544afbc-5821-26d0-239e-b46a990ff0a0@gmail.com>
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
prev parent reply other threads:[~2023-07-05 11:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-05 7:51 [libgpiod] libgpiod and conan 2.0 recipe Martin Schröder
2023-07-05 11:15 ` Kent Gibson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZKVQvl0tU6dbFvSr@sol \
--to=warthog618@gmail.com \
--cc=linux-gpio@vger.kernel.org \
--cc=martin.schroeder78@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).