linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Martin Schröder" <martin.schroeder78@gmail.com>
To: linux-gpio@vger.kernel.org
Subject: [libgpiod] libgpiod and conan 2.0 recipe
Date: Wed, 5 Jul 2023 09:51:09 +0200	[thread overview]
Message-ID: <a544afbc-5821-26d0-239e-b46a990ff0a0@gmail.com> (raw)

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?

Thanks in advance

Martin


             reply	other threads:[~2023-07-05  7:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-05  7:51 Martin Schröder [this message]
2023-07-05 11:15 ` [libgpiod] libgpiod and conan 2.0 recipe Kent Gibson

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=a544afbc-5821-26d0-239e-b46a990ff0a0@gmail.com \
    --to=martin.schroeder78@gmail.com \
    --cc=linux-gpio@vger.kernel.org \
    /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).