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] gst-plugins-base/1.19.2: Not compatible with conan 2 #25158

Closed
ryankav opened this issue Sep 5, 2024 · 3 comments
Closed

[package] gst-plugins-base/1.19.2: Not compatible with conan 2 #25158

ryankav opened this issue Sep 5, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@ryankav
Copy link

ryankav commented Sep 5, 2024

Description

The recipe doesn't seem to be compatible with conan 2

Package and Environment Details

  • Package Name/Version: gst-plugins-base/1.19.2
  • Operating System+version: Linux Ubuntu 20.04
  • Compiler+version: clang 14
  • Docker image: nvidia/cuda:12.6.0-cudnn-runtime-ubuntu20.04
  • Conan version: conan 2.7.0
  • Python version: Python 3.10.14

Conan profile

[conf]
tools.system.package_manager:mode = install

[settings]
arch=x86_64
build_type=Release
compiler=clang
compiler.cppstd=gnu14
compiler.libcxx=libstdc++11
compiler.version=14
os=Linux

[buildenv]
LDFLAGS=-fuse-ld=lld

[runenv]
LDFLAGS=-fuse-ld=lld

Steps to reproduce

add gst-plugins-base/1.19.2 to the conanfile.txt and try and build.

Logs

Click to expand log
*********************************************************
Recipe 'gst-plugins-base/1.19.2' 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 'gst-plugins-base/1.19.2' not resolved: gst-plugins-base/1.19.2: Cannot load recipe.
Error loading conanfile at '/root/.conan2/p/gst-pe2054fd2c8e73/e/conanfile.py': Unable to load conanfile in /root/.conan2/p/gst-pe2054fd2c8e73/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 "/root/.conan2/p/gst-pe2054fd2c8e73/e/conanfile.py", line 1, in <module>
    from conans import ConanFile, tools, Meson, VisualStudioBuildEnvironment
ImportError: cannot import name 'ConanFile' from 'conans' (/opt/conan/lib/python3.10/site-packages/conans/__init__.py)
.
@ryankav ryankav added the bug Something isn't working label Sep 5, 2024
@ryankav
Copy link
Author

ryankav commented Sep 5, 2024

Am happy to issue a PR to fix this and the other plugin recipes if wanted. Assume I would follow the example set in this PR #13400

@valgur
Copy link
Contributor

valgur commented Sep 5, 2024

See

The GStreamer plugin recipes are blocked by several missing binaries, which will probably mostly be resolved once the PRs related to #25090 get merged.

@ryankav
Copy link
Author

ryankav commented Sep 5, 2024

Ah cheers for the response. Will close the issue as clearly a duplicate

@ryankav ryankav closed this as completed Sep 5, 2024
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

No branches or pull requests

2 participants