conan-center-index icon indicating copy to clipboard operation
conan-center-index copied to clipboard

openssl: test variables

Open ericLemanissier opened this issue 2 years ago • 5 comments

Specify library name and version: openssl/1.*

This is also a good place to share with all of us why you are submitting this PR (specially if it is a new addition to ConanCenter): is it a dependency of other libraries you want to package? Are you the author of the library? Thanks!


  • [ ] I've read the guidelines for contributing.
  • [ ] I've followed the PEP8 style guides for Python code in the recipes.
  • [ ] I've used the latest Conan client version.
  • [ ] I've tried at least one configuration locally with the conan-center hook activated.

ericLemanissier avatar Sep 30 '22 07:09 ericLemanissier

I detected other pull requests that are modifying openssl/1.x.x recipe:

  • #11725
  • #10939

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

ghost avatar Sep 30 '22 08:09 ghost

currently, this test fails with variable OPENSSL_CRYPTO_LIBRARY not set https://github.com/eirikb/proof-of-conan/actions/runs/3157214045/jobs/5137810385#step:8:1245 because CMakeDeps generator does not generate OpenSSL_Crypto_LIBS variable but openssl_OpenSSL_Crypto_LIBS_RELEASE

cc @SpaceIm Do you have on how to fix cmake variables creation with CMakeDeps https://github.com/conan-io/conan-center-index/blob/master/recipes/openssl/1.x.x/conanfile.py#L828 ?

ericLemanissier avatar Sep 30 '22 08:09 ericLemanissier

Failure in build 3 (271aa1fd8fdb849d1b1d10975dfef73e261df58d):

An unexpected error happened and has been reported. Help is on its way! :horse_racing:

conan-center-bot avatar Sep 30 '22 08:09 conan-center-bot

Failure in build 4 (271aa1fd8fdb849d1b1d10975dfef73e261df58d):

  • openssl/1.1.1q@: CI failed to create some packages (All logs)

    Logs for packageID d50a0d523d98c15bb147b18fa7d203887c38be8b:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=7
    os=Linux
    [options]
    openssl:shared=False
    
    [...]
    -- Library ssl found /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libssl.a
    -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libssl.a
    -- Library crypto found /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libcrypto.a
    -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libcrypto.a
    -- Library crypto found /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libcrypto.a
    -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libcrypto.a
    -- Library ssl found /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libssl.a
    -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libssl.a
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/openssl/1.x.x/test_v1_package/build/6189bab4da958b7025682a934b9389cfc295a5a4
    
    ----Running------
    > cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/openssl/1.x.x/test_v1_package/build/6189bab4da958b7025682a934b9389cfc295a5a4' '--' '-j3'
    -----------------
    Scanning dependencies of target digest
    [ 50%] Building C object CMakeFiles/digest.dir/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/openssl/1.x.x/test_package/digest.c.o
    [100%] Linking C executable bin/digest
    [100%] Built target digest
    openssl/1.1.1q (test package): Running test()
    
    ----Running------
    > bin/digest
    -----------------
    md5 digest: 56ab24c15b72a457069c5ea42fcfc640
    sha1 digest: 3978d009748ef54ad6ef7bf851bd55491b1fe6bb
    sha256 digest: 489f719cadf919094ddb38e7654de153ac33c02febb5de91e5345cbe372cf4a0
    sha512 digest: c001925fc772b2a1c2a6e6fcfcdb7b25beb5bea4447ce7705f0f523af5c09f41e4b27b602aa9c1efe85b693fb573bec3b180c042e92ba9315ceff8e9605f7daa
    sha3 256 digest: 20ad54fdbb61006cd57a05c08223bca9be4bc6d2e40db8e7cedf9d14dd3d8019
    sha3 512 digest: d786ef980d259335af265a4bfc27272e0bfe18bbc019f1fac6e0d90f8b2f6d7719f3b5e5c5ccf80d9c08a1444490ab0493f304f28a77fcb64af358cf5442db25
    SSL library version: OpenSSL 1.1.1q  5 Jul 2022
    OPENSSL_FOUND: TRUE
    OPENSSL_INCLUDE_DIR: /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/include
    OPENSSL_CRYPTO_LIBRARY: crypto
    OPENSSL_CRYPTO_LIBRARIES: crypto;dl;rt;pthread
    OPENSSL_SSL_LIBRARY: ssl
    OPENSSL_SSL_LIBRARIES: ssl;OpenSSL::Crypto;dl;pthread
    OPENSSL_LIBRARIES: /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libssl.a;/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libcrypto.a;dl;pthread;rt
    OPENSSL_VERSION: 1.1.1q
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        CMAKE_EXPORT_NO_PACKAGE_REGISTRY
        CMAKE_INSTALL_BINDIR
        CMAKE_INSTALL_DATAROOTDIR
        CMAKE_INSTALL_INCLUDEDIR
        CMAKE_INSTALL_LIBDIR
        CMAKE_INSTALL_LIBEXECDIR
        CMAKE_INSTALL_OLDINCLUDEDIR
        CMAKE_INSTALL_SBINDIR
    
  • openssl/1.1.0l@: Didn't run or was cancelled before finishing

  • openssl/1.0.2u@: Didn't run or was cancelled before finishing

  • openssl/1.1.1o@: Didn't run or was cancelled before finishing

  • openssl/1.1.1p@: 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-center-bot avatar Sep 30 '22 08:09 conan-center-bot

Failure in build 5 (f074166f7633d1b16c605ed0e992f02987db8203):

  • openssl/1.1.1p@: Didn't run or was cancelled before finishing

  • openssl/1.1.1q@: Didn't run or was cancelled before finishing

  • openssl/1.1.0l@: Didn't run or was cancelled before finishing

  • openssl/1.1.1o@: CI failed to create some packages (All logs)

    Logs for packageID d50a0d523d98c15bb147b18fa7d203887c38be8b:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=7
    os=Linux
    [options]
    openssl:shared=False
    
    [...]
    -- Conan: Adjusting default RPATHs Conan policies
    -- Conan: Adjusting language standard
    -- This project seems to be plain C, using 'GNU' compiler
    -- Conan: Compiler GCC>=5, checking major version 7
    -- Conan: Checking correct version: 7
    -- Conan: C++ stdlib: libstdc++11
    -- Conan: Using autogenerated FindOpenSSL.cmake
    -- Found OpenSSL: 1.1.1o (found version "1.1.1o") 
    -- Library ssl found /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1o/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libssl.a
    -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1o/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libssl.a
    -- Library crypto found /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1o/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libcrypto.a
    -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1o/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libcrypto.a
    -- Library crypto found /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1o/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libcrypto.a
    -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1o/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libcrypto.a
    -- Library ssl found /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1o/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libssl.a
    -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1o/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libssl.a
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/openssl/1.x.x/test_v1_package/build/6189bab4da958b7025682a934b9389cfc295a5a4
    
    ----Running------
    > cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/openssl/1.x.x/test_v1_package/build/6189bab4da958b7025682a934b9389cfc295a5a4' '--' '-j3'
    -----------------
    Scanning dependencies of target digest
    [ 50%] Building C object CMakeFiles/digest.dir/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/openssl/1.x.x/test_package/digest.c.o
    [100%] Linking C executable bin/digest
    [100%] Built target digest
    openssl/1.1.1o (test package): Running test()
    
    ----Running------
    > bin/digest
    -----------------
    md5 digest: 56ab24c15b72a457069c5ea42fcfc640
    sha1 digest: 3978d009748ef54ad6ef7bf851bd55491b1fe6bb
    sha256 digest: 489f719cadf919094ddb38e7654de153ac33c02febb5de91e5345cbe372cf4a0
    sha512 digest: c001925fc772b2a1c2a6e6fcfcdb7b25beb5bea4447ce7705f0f523af5c09f41e4b27b602aa9c1efe85b693fb573bec3b180c042e92ba9315ceff8e9605f7daa
    sha3 256 digest: 20ad54fdbb61006cd57a05c08223bca9be4bc6d2e40db8e7cedf9d14dd3d8019
    sha3 512 digest: d786ef980d259335af265a4bfc27272e0bfe18bbc019f1fac6e0d90f8b2f6d7719f3b5e5c5ccf80d9c08a1444490ab0493f304f28a77fcb64af358cf5442db25
    SSL library version: OpenSSL 1.1.1o  3 May 2022
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        CMAKE_EXPORT_NO_PACKAGE_REGISTRY
        CMAKE_INSTALL_BINDIR
        CMAKE_INSTALL_DATAROOTDIR
        CMAKE_INSTALL_INCLUDEDIR
        CMAKE_INSTALL_LIBDIR
        CMAKE_INSTALL_LIBEXECDIR
        CMAKE_INSTALL_OLDINCLUDEDIR
        CMAKE_INSTALL_SBINDIR
    
  • openssl/1.0.2u@: 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-center-bot avatar Sep 30 '22 11:09 conan-center-bot

All green in build 6 (8c43292be9e44ad1f68954f9e2bafde61c160dd8):

  • openssl/1.1.1q@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/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_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py", line 6, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • openssl/1.1.1p@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/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_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py", line 6, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • openssl/1.1.1o@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/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_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py", line 6, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • openssl/1.1.0l@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/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_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py", line 6, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • openssl/1.0.2u@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/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_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py", line 6, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    

conan-center-bot avatar Oct 04 '22 12:10 conan-center-bot

blocks:

  • https://github.com/conan-io/conan-center-index/pull/12906 because of https://github.com/qt/qtbase/blob/dev/cmake/FindWrapOpenSSL.cmake#L37-L39

ericLemanissier avatar Oct 04 '22 14:10 ericLemanissier

Re-ping @SpaceIm what do you think of this (ugly) solution?

ericLemanissier avatar Oct 04 '22 16:10 ericLemanissier

All green in build 7 (8c43292be9e44ad1f68954f9e2bafde61c160dd8):

  • openssl/1.1.1p@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/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_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py", line 6, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • openssl/1.1.1q@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/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_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py", line 6, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • openssl/1.0.2u@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/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_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py", line 6, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • openssl/1.1.1o@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/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_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py", line 6, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • openssl/1.1.0l@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/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_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py", line 6, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    

conan-center-bot avatar Oct 04 '22 17:10 conan-center-bot

All green in build 8 (902e3bceb0a64a3cd72075cd4d8c0700a38b9de0):

  • openssl/1.1.1q@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/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_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py", line 6, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • openssl/1.1.1p@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/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_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py", line 6, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • openssl/1.1.0l@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/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_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py", line 6, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • openssl/1.0.2u@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/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_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py", line 6, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • openssl/1.1.1o@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-13228/recipes/openssl/1.x.x/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_cci_PR-13228/recipes/openssl/1.x.x/conanfile.py", line 6, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    

conan-center-bot avatar Oct 05 '22 09:10 conan-center-bot

Hi there! I've landed on this PR from this issue report: https://github.com/conan-io/conan/issues/12222

Let's please make sure PR description provide a motivation for the changes - the title mentions "fixing" the variables but no context as to what was broken in the first place, so it's made it a bit harder for me to understand what needs fixing in CMakeDeps :(

jcar87 avatar Oct 10 '22 10:10 jcar87

Hi, my message https://github.com/conan-io/conan-center-index/pull/13228#issuecomment-1263248392 was supposed to give the context. I'll take care to put it in the PR description next time, if your feel it makes a difference.

ericLemanissier avatar Oct 10 '22 10:10 ericLemanissier

Hi, my message #13228 (comment) was supposed to give the context. I'll take care to put it in the PR description next time, if your feel it makes a difference.

That would be great, thanks! I feel like that's the PR description is the best place for this, and it is part of the current PR template. Otherwise one has to scroll down the list of messages to work it out.

jcar87 avatar Oct 10 '22 10:10 jcar87