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

liburing: conan v2 support #16700

Closed
wants to merge 1 commit into from
Closed

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Mar 25, 2023

Specify library name and version: lib/1.0


@conan-center-bot

This comment has been minimized.

@stale
Copy link

stale bot commented Apr 25, 2023

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 3 (30b0958496a785e94aeca7207357ead1f9530ae4):

  • liburing/2.2@:
    Didn't run or was cancelled before finishing

  • liburing/2.0@:
    CI failed to create some packages (All logs)

    Logs for packageID 8c3d989a39feb3fd4f038a88bb737fa64465d47d:
    [settings]
    arch=x86_64
    build_type=Debug
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=10
    os=Linux
    [options]
    liburing:shared=True
    
    [...]
    Downloading conanfile.py
    Downloading conan_export.tgz
    linux-headers-generic/5.14.9: Downloaded recipe revision 9fd3362188c6c938c3ef67a9ecedf6fd
    liburing/2.0: Forced build from source
    Installing package: liburing/2.0
    Requirements
        liburing/2.0 from local cache - Cache
        linux-headers-generic/5.14.9 from 'conan-center' - Downloaded
    Packages
        liburing/2.0:8c3d989a39feb3fd4f038a88bb737fa64465d47d - Build
        linux-headers-generic/5.14.9:c0519e2d9702ec12d057bb15adb7a02baaf18107 - Download
    
    Installing (downloading, building) binaries...
    linux-headers-generic/5.14.9: Retrieving package c0519e2d9702ec12d057bb15adb7a02baaf18107 from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    linux-headers-generic/5.14.9: Package installed c0519e2d9702ec12d057bb15adb7a02baaf18107
    linux-headers-generic/5.14.9: Downloaded package revision 1fc3e47372e50fd3c2baf42e37fbaca6
    [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK
    liburing/2.0: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/liburing/2.0/_/_/source/src
    liburing/2.0: 
    [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK
    [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK
    [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK
    liburing/2.0: Copying sources to build folder
    liburing/2.0: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/liburing/2.0/_/_/build/8c3d989a39feb3fd4f038a88bb737fa64465d47d
    liburing/2.0: Generator txt created conanbuildinfo.txt
    liburing/2.0: Calling generate()
    liburing/2.0: Aggregating env generators
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK
    liburing/2.0: Calling build()
    liburing/2.0: apply_conandata_patches(): No patches defined in conandata
    liburing/2.0: Calling:
     > "/home/conan/w/prod/BuildSingleReference/.conan/data/liburing/2.0/_/_/build/8c3d989a39feb3fd4f038a88bb737fa64465d47d/src/configure" '--enable-shared' '--disable-static' '--prefix=/' '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' 
    
    ----Running------
    > . "/home/conan/w/prod/BuildSingleReference/.conan/data/liburing/2.0/_/_/build/8c3d989a39feb3fd4f038a88bb737fa64465d47d/build-debug/conan/conanbuild.sh" && "/home/conan/w/prod/BuildSingleReference/.conan/data/liburing/2.0/_/_/build/8c3d989a39feb3fd4f038a88bb737fa64465d47d/src/configure" '--enable-shared' '--disable-static' '--prefix=/' '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' 
    -----------------
    ERROR: unknown option --enable-shared
    Try '/home/conan/w/prod/BuildSingleReference/.conan/data/liburing/2.0/_/_/build/8c3d989a39feb3fd4f038a88bb737fa64465d47d/src/configure --help' for more information
    liburing/2.0: 
    liburing/2.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    liburing/2.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    liburing/2.0: ERROR: Package '8c3d989a39feb3fd4f038a88bb737fa64465d47d' build failed
    liburing/2.0: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/liburing/2.0/_/_/build/8c3d989a39feb3fd4f038a88bb737fa64465d47d/build-debug
    ERROR: liburing/2.0: Error in build() method, line 76
    	autotools.configure()
    	ConanException: Error 1 while executing "/home/conan/w/prod/BuildSingleReference/.conan/data/liburing/2.0/_/_/build/8c3d989a39feb3fd4f038a88bb737fa64465d47d/src/configure" '--enable-shared' '--disable-static' '--prefix=/' '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' 
    
  • liburing/2.1@:
    Didn't run or was cancelled before finishing

  • liburing/0.7@:
    Didn't run or was cancelled before finishing


Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline (informative, not required for merge) ❌

Note: Conan v2 builds are informative and they are not required for the PR to be merged.

The v2 pipeline failed. Please, review the errors and note this will be required for pull requests to be merged in the near future.

See details:

Failure in build 1 (30b0958496a785e94aeca7207357ead1f9530ae4):

  • liburing/2.0@:
    Error running command conan graph info --requires liburing/2.0@#a24d7e11ddaddcc64c9f0db2e72cd703 -f json -pr:h /home/conan/w/prod-v2_cci_PR-16700/1/d85c6f95-9cd2-423f-b7cc-900b059294e4/profile_linux_11_libstdcpp11_gnu17_gcc_release_64.-shared-False.txt -pr:b /home/conan/w/prod-v2_cci_PR-16700/1/d85c6f95-9cd2-423f-b7cc-900b059294e4/profile_linux_11_libstdcpp11_gnu17_gcc_release_64.-shared-False.txt:

    ======== Computing dependency graph ========
    linux-headers-generic/5.14.9: Not found in local cache, looking in remotes...
    linux-headers-generic/5.14.9: Checking remote: conan-center
    Decompressing conan_export.tgz
    linux-headers-generic/5.14.9: Downloaded recipe revision 9fd3362188c6c938c3ef67a9ecedf6fd
    Graph root
        cli
    Requirements
        liburing/2.0#a24d7e11ddaddcc64c9f0db2e72cd703 - Cache
    Graph error
        Package 'linux-headers-generic/5.14.9' not resolved: linux-headers-generic/5.14.9: Cannot load recipe.
    Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py", line 1, in <module>
        from conans import AutoToolsBuildEnvironment, ConanFile, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
    *********************************************************
    Recipe 'linux-headers-generic/5.14.9' 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 'linux-headers-generic/5.14.9' not resolved: linux-headers-generic/5.14.9: Cannot load recipe.
    Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py", line 1, in <module>
        from conans import AutoToolsBuildEnvironment, ConanFile, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • liburing/2.2@:
    Error running command conan graph info --requires liburing/2.2@#476382a5b5e041c4826923e8ed0ac9a9 -f json -pr:h /home/conan/w/prod-v2_cci_PR-16700/1/671e8f24-fadf-4fb1-ba0f-97e70daed2e2/profile_linux_11_libstdcpp11_gnu17_gcc_release_64.-shared-False.txt -pr:b /home/conan/w/prod-v2_cci_PR-16700/1/671e8f24-fadf-4fb1-ba0f-97e70daed2e2/profile_linux_11_libstdcpp11_gnu17_gcc_release_64.-shared-False.txt:

    ======== Computing dependency graph ========
    linux-headers-generic/5.14.9: Not found in local cache, looking in remotes...
    linux-headers-generic/5.14.9: Checking remote: conan-center
    Decompressing conan_export.tgz
    linux-headers-generic/5.14.9: Downloaded recipe revision 9fd3362188c6c938c3ef67a9ecedf6fd
    Graph root
        cli
    Requirements
        liburing/2.2#476382a5b5e041c4826923e8ed0ac9a9 - Cache
    Graph error
        Package 'linux-headers-generic/5.14.9' not resolved: linux-headers-generic/5.14.9: Cannot load recipe.
    Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py", line 1, in <module>
        from conans import AutoToolsBuildEnvironment, ConanFile, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
    *********************************************************
    Recipe 'linux-headers-generic/5.14.9' 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 'linux-headers-generic/5.14.9' not resolved: linux-headers-generic/5.14.9: Cannot load recipe.
    Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py", line 1, in <module>
        from conans import AutoToolsBuildEnvironment, ConanFile, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • liburing/2.1@:
    Error running command conan graph info --requires liburing/2.1@#7d3fa4080424efb6e45679898f00ebf3 -f json -pr:h /home/conan/w/prod-v2_cci_PR-16700/1/d1e815bc-c22b-4987-853e-3f25ac9539f5/profile_linux_11_libstdcpp11_gnu17_gcc_release_64.-shared-False.txt -pr:b /home/conan/w/prod-v2_cci_PR-16700/1/d1e815bc-c22b-4987-853e-3f25ac9539f5/profile_linux_11_libstdcpp11_gnu17_gcc_release_64.-shared-False.txt:

    ======== Computing dependency graph ========
    linux-headers-generic/5.14.9: Not found in local cache, looking in remotes...
    linux-headers-generic/5.14.9: Checking remote: conan-center
    Decompressing conan_export.tgz
    linux-headers-generic/5.14.9: Downloaded recipe revision 9fd3362188c6c938c3ef67a9ecedf6fd
    Graph root
        cli
    Requirements
        liburing/2.1#7d3fa4080424efb6e45679898f00ebf3 - Cache
    Graph error
        Package 'linux-headers-generic/5.14.9' not resolved: linux-headers-generic/5.14.9: Cannot load recipe.
    Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py", line 1, in <module>
        from conans import AutoToolsBuildEnvironment, ConanFile, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
    *********************************************************
    Recipe 'linux-headers-generic/5.14.9' 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 'linux-headers-generic/5.14.9' not resolved: linux-headers-generic/5.14.9: Cannot load recipe.
    Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py", line 1, in <module>
        from conans import AutoToolsBuildEnvironment, ConanFile, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • liburing/0.7@:
    Error running command conan graph info --requires liburing/0.7@#f87bee736130557ae15aab27b5896536 -f json -pr:h /home/conan/w/prod-v2_cci_PR-16700/1/0c4a1748-b8a9-4444-8113-8ee61c9b34dd/profile_linux_11_libstdcpp11_gnu17_gcc_release_64.-shared-False.txt -pr:b /home/conan/w/prod-v2_cci_PR-16700/1/0c4a1748-b8a9-4444-8113-8ee61c9b34dd/profile_linux_11_libstdcpp11_gnu17_gcc_release_64.-shared-False.txt:

    ======== Computing dependency graph ========
    linux-headers-generic/5.14.9: Not found in local cache, looking in remotes...
    linux-headers-generic/5.14.9: Checking remote: conan-center
    Decompressing conan_export.tgz
    linux-headers-generic/5.14.9: Downloaded recipe revision 9fd3362188c6c938c3ef67a9ecedf6fd
    Graph root
        cli
    Requirements
        liburing/0.7#f87bee736130557ae15aab27b5896536 - Cache
    Graph error
        Package 'linux-headers-generic/5.14.9' not resolved: linux-headers-generic/5.14.9: Cannot load recipe.
    Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py", line 1, in <module>
        from conans import AutoToolsBuildEnvironment, ConanFile, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
    *********************************************************
    Recipe 'linux-headers-generic/5.14.9' 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 'linux-headers-generic/5.14.9' not resolved: linux-headers-generic/5.14.9: Cannot load recipe.
    Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-16700/p/linux18ce01c8c36b8/e/conanfile.py", line 1, in <module>
        from conans import AutoToolsBuildEnvironment, ConanFile, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

@CLAassistant
Copy link

CLAassistant commented May 18, 2023

CLA assistant check
All committers have signed the CLA.

@stale
Copy link

stale bot commented Jun 18, 2023

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 18, 2023
@stale
Copy link

stale bot commented Aug 10, 2023

This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.

@stale stale bot closed this Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants