Skip to content
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

[package] libidn/1.36: Not compatible with Conan 2 #20908

Closed
QuLogic opened this issue Nov 3, 2023 · 0 comments · Fixed by #18641
Closed

[package] libidn/1.36: Not compatible with Conan 2 #20908

QuLogic opened this issue Nov 3, 2023 · 0 comments · Fixed by #18641
Labels
bug Something isn't working

Comments

@QuLogic
Copy link

QuLogic commented Nov 3, 2023

Description

This recipe fails to build, as it seems to be importing some old name for an autotools build environment.

Package and Environment Details

  • Package Name/Version: libidn/1.36
  • Operating System+version: Windows 11
  • Compiler+version: MSVC 2022
  • Docker image: N/A
  • Conan version: conan 2.0.13
  • Python version: Python 3.7.8

Conan profile

Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=193
os=Windows

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=193
os=Windows

Steps to reproduce

With Conanfile.txt:

[requires]
libidn/1.36

[generators]
PkgConfigDeps
MesonToolchain

and running:

$ conan install . --output-folder=cbuild --build=missing

Logs

Click to expand log
======== Computing dependency graph ========
libidn/1.36: Not found in local cache, looking in remotes...
libidn/1.36: Checking remote: conancenter
libidn/1.36: Downloaded recipe revision ebf701f91ec5391f2b1973a18cc0d74d
Graph root
    conanfile.txt: ...\conanfile.txt
*********************************************************
Recipe 'libidn/1.36' seems broken.
It is possible that this recipe is not Conan 2.0 ready
If the recipe comes from ConanCenter, report it at https://github.com/conan-io/conan-center-index/issues
If it is your recipe, check if it is updated to 2.0
*********************************************************

ERROR: Package 'libidn/1.36' not resolved: libidn/1.36: Cannot load recipe.
Error loading conanfile at 'C:\Users\quant\.conan2\p\libid7482640c3fb00\e\conanfile.py': Unable to load conanfile in C:\Users\quant\.conan2\p\libid7482640c3fb00\e\conanfile.py
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Users\quant\.conan2\p\libid7482640c3fb00\e\conanfile.py", line 5, in <module>
    from conans import AutoToolsBuildEnvironment, tools
ImportError: cannot import name 'AutoToolsBuildEnvironment'
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant