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] mpfr/4.1.0 lacks support for Conan 2.0 #14666

Closed
System-Arch opened this issue Dec 9, 2022 · 1 comment · Fixed by #14687
Closed

[package] mpfr/4.1.0 lacks support for Conan 2.0 #14666

System-Arch opened this issue Dec 9, 2022 · 1 comment · Fixed by #14687
Labels
bug Something isn't working

Comments

@System-Arch
Copy link
Contributor

Description

mpfr has yet to be ported to Conan 2.0

Package and Environment Details

  • Package Name/Version: mpfr/4.1.0
  • Operating System+version: Debian 10
  • Compiler+version: gcc 8
  • Conan version: conan 2.0.0-beta6
  • Python version: Python 3.7.3

Conan profile

Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=8
os=Linux
[options]
cmake*:bootstrap=True
[tool_requires]
!openssl*: cmake/3.24.2

Steps to reproduce

conan-2.0 build -pr:b tools.jinja -pr:h tools.jinja --name mpfr --version 4.1.0 .

Logs

Click to expand log
conan-2.0 build -pr:b tools.jinja -pr:h tools.jinja --name mpfr --version 4.1.0 .  # --build=never

-------- Input profiles --------
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=8
os=Linux
[options]
cmake*:bootstrap=True
[tool_requires]
!openssl*: cmake/3.24.2

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=8
os=Linux
[options]
cmake*:bootstrap=True
[tool_requires]
!openssl*: cmake/3.24.2

ERROR: Error loading conanfile at '/tmp/tmp.Sid2gTN7Pg/mpfr/conanfile.py': Unable to load conanfile in /tmp/tmp.Sid2gTN7Pg/mpfr/conanfile.py
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/tmp/tmp.Sid2gTN7Pg/mpfr/conanfile.py", line 1, in <module>
    from conans import ConanFile, AutoToolsBuildEnvironment, CMake, tools
ImportError: cannot import name 'ConanFile' from 'conans' (/mathworks/devel/sandbox/marc/conan-2.0/conan-io/conans/__init__.py)

ERROR: Conan-2.0 build failed for 'mpfr'```

</details>
@System-Arch System-Arch added the bug Something isn't working label Dec 9, 2022
@System-Arch
Copy link
Contributor Author

Will submit proposed compatibility changes shortly

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