conan-center-index
conan-center-index copied to clipboard
abseil: cross-compatibility conan v1/v2
Specify library name and version: lib/1.0
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.
I detected other pull requests that are modifying abseil/all recipe:
- #12188
- #11946
This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.
Failure in build 2 (9ecc5a5343bb5b8f9197b714dedd649163c7ab98):
-
abseil/20211102.0@: Didn't run or was cancelled before finishing
-
abseil/20200923.3@: CI failed to create some packages (All logs)
Logs for packageID
b911f48570f9bb2902d9e83b2b9ebf9d376c8c56:[settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=9 os=Linux [options] abseil:shared=False[...] Capturing current environment in /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/abseil/all/test_package/build/generators/deactivate_conanrunenv-release-x86_64.sh Configuring environment variables Arg foo year 2022 abseil/20200923.3 (test package): 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 abseil/20200923.3 (test package): 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 ******************************************************************************** conan test conan-center-index/recipes/abseil/all/test_v1_package/conanfile.py abseil/20200923.3@#6f822b5b44776f5331455a0316ed1993 -pr /home/conan/w/prod/BuildSingleReference/68489/f72ff734-594f-46ef-92a1-a3ec280f611b/profile_linux_9_libstdcpp11_gcc_release_64.abseil-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=9 os=Linux [options] abseil:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True abseil/20200923.3 (test package): Installing package Requirements abseil/20200923.3 from local cache - Cache Packages abseil/20200923.3:b911f48570f9bb2902d9e83b2b9ebf9d376c8c56 - Cache Installing (downloading, building) binaries... abseil/20200923.3: Already installed! abseil/20200923.3 (test package): Generator cmake_find_package_multi created absl-config-version.cmake abseil/20200923.3 (test package): Generator cmake_find_package_multi created abslTarget-release.cmake abseil/20200923.3 (test package): Generator cmake_find_package_multi created abslTargets.cmake abseil/20200923.3 (test package): Generator cmake_find_package_multi created absl-config.cmake abseil/20200923.3 (test package): Generator txt created conanbuildinfo.txt abseil/20200923.3 (test package): Generator cmake created conanbuildinfo.cmake abseil/20200923.3 (test package): Aggregating env generators abseil/20200923.3 (test package): Generated conaninfo.txt abseil/20200923.3 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/abseil/all/test_v1_package/build/1517b738b74150c2a1fb30e9ad614285f3f589b4/conan.lock' Using cached profile from lockfile [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 abseil/20200923.3 (test package): Calling build() ERROR: abseil/20200923.3 (test package): Error in build() method, line 12 cmake.definitions["CXX20_SUPPORTED"] = tools.Version(self.deps_cpp_info["abseil"].version) > "20210324.2" ConanException: Invalid version 'None' -
abseil/20210324.2@: Didn't run or was cancelled before finishing
-
abseil/20200225.3@: 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.
ERROR: abseil/20200923.3 (test package): Error in build() method, line 12
cmake.definitions["CXX20_SUPPORTED"] = tools.Version(self.deps_cpp_info["abseil"].version) > "20210324.2"
ConanException: Invalid version 'None'
Why is it not valid in test_v1_package? I've kept the same conanfile 😲 , and I see recent PR of abseil where this previous test_package is working fine.
/cc @jgsogo @czoido
We have just upgraded to Conan 1.50.1 this afternoon. Maybe a regression?
I guess, I can reproduce this issue locally with conan create . abseil/20211102.0@ -tf test_v1_package. Maybe a breaking change where self.deps_cpp_info values are unkown in build() but not in generate()?
Failure in build 3 (15fd0c342077a24d8cc184e7cd38b824724bff29):
-
abseil/20200225.3@: Didn't run or was cancelled before finishing
-
abseil/20210324.2@: Didn't run or was cancelled before finishing
-
abseil/20211102.0@: CI failed to create some packages (All logs)
Logs for packageID
82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3:[settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++ compiler.version=10 os=Linux [options] abseil:shared=False[...] Capturing current environment in /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/abseil/all/test_package/build/generators/deactivate_conanrunenv-release-x86_64.sh Configuring environment variables Arg foo year 2022 abseil/20211102.0 (test package): 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 abseil/20211102.0 (test package): 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 ******************************************************************************** conan test conan-center-index/recipes/abseil/all/test_v1_package/conanfile.py abseil/20211102.0@#258e161b0fe24b1549bf8922c5c3e610 -pr /home/conan/w/prod/BuildSingleReference/68674/11d308b0-82ad-4160-a0c2-767ba4136222/profile_linux_10_libstdcpp_gcc_release_64.abseil-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++ compiler.version=10 os=Linux [options] abseil:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True abseil/20211102.0 (test package): Installing package Requirements abseil/20211102.0 from local cache - Cache Packages abseil/20211102.0:82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3 - Cache Installing (downloading, building) binaries... abseil/20211102.0: Already installed! abseil/20211102.0 (test package): Generator txt created conanbuildinfo.txt abseil/20211102.0 (test package): Generator cmake_find_package_multi created absl-config-version.cmake abseil/20211102.0 (test package): Generator cmake_find_package_multi created abslTarget-release.cmake abseil/20211102.0 (test package): Generator cmake_find_package_multi created abslTargets.cmake abseil/20211102.0 (test package): Generator cmake_find_package_multi created absl-config.cmake abseil/20211102.0 (test package): Generator cmake created conanbuildinfo.cmake abseil/20211102.0 (test package): Aggregating env generators abseil/20211102.0 (test package): Generated conaninfo.txt abseil/20211102.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/abseil/all/test_v1_package/build/ed1d0ac806c66d88ebc9f31a807a2d123ecdb5c8/conan.lock' Using cached profile from lockfile [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 abseil/20211102.0 (test package): Calling build() ERROR: abseil/20211102.0 (test package): Error in build() method, line 12 cmake.definitions["CXX20_SUPPORTED"] = tools.Version(self.deps_cpp_info["abseil"].version) > "20210324.2" ConanException: Invalid version 'None' -
abseil/20200923.3@: 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.
I guess, I can reproduce this issue locally with
conan create . abseil/20211102.0@ -tf test_v1_package. Maybe a breaking change where self.deps_cpp_info values are unkown in build() but not in generate()?
Fixed in conan 1.51.1 by https://github.com/conan-io/conan/pull/11790. So waiting an update of conan version in CCI.
Failure in build 4 (347bc5f117835975aa3d4d6cca7cb375d5994a5d):
-
abseil/20200923.3@: Didn't run or was cancelled before finishing
-
abseil/20211102.0@: CI failed to create some packages (All logs)
Logs for packageID
6557f18ca99c0b6a233f43db00e30efaa525e27e:[settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=11 os=Linux [options] abseil:shared=False[...] Capturing current environment in /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/abseil/all/test_package/build/generators/deactivate_conanrunenv-release-x86_64.sh Configuring environment variables Arg foo year 2022 abseil/20211102.0 (test package): 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 abseil/20211102.0 (test package): 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 ******************************************************************************** conan test conan-center-index/recipes/abseil/all/test_v1_package/conanfile.py abseil/20211102.0@#258e161b0fe24b1549bf8922c5c3e610 -pr /home/conan/w/prod/BuildSingleReference/75527/742ed0e7-a5b2-4865-93fa-29ee92fec600/profile_linux_11_libstdcpp11_gcc_release_64.abseil-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=11 os=Linux [options] abseil:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True abseil/20211102.0 (test package): Installing package Requirements abseil/20211102.0 from local cache - Cache Packages abseil/20211102.0:6557f18ca99c0b6a233f43db00e30efaa525e27e - Cache Installing (downloading, building) binaries... abseil/20211102.0: Already installed! abseil/20211102.0 (test package): Generator cmake_find_package_multi created absl-config-version.cmake abseil/20211102.0 (test package): Generator cmake_find_package_multi created abslTarget-release.cmake abseil/20211102.0 (test package): Generator cmake_find_package_multi created abslTargets.cmake abseil/20211102.0 (test package): Generator cmake_find_package_multi created absl-config.cmake abseil/20211102.0 (test package): Generator txt created conanbuildinfo.txt abseil/20211102.0 (test package): Generator cmake created conanbuildinfo.cmake abseil/20211102.0 (test package): Aggregating env generators abseil/20211102.0 (test package): Generated conaninfo.txt abseil/20211102.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/abseil/all/test_v1_package/build/58dc2e0e5c919673d8361acb89d5bf7de2b690d0/conan.lock' Using cached profile from lockfile [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 abseil/20211102.0 (test package): Calling build() ERROR: abseil/20211102.0 (test package): Error in build() method, line 12 cmake.definitions["CXX20_SUPPORTED"] = tools.Version(self.deps_cpp_info["abseil"].version) > "20210324.2" ConanException: Invalid version 'None' -
abseil/20210324.2@: Didn't run or was cancelled before finishing
-
abseil/20200225.3@: 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.
All green in build 5 (347bc5f117835975aa3d4d6cca7cb375d5994a5d):
-
abseil/20211102.0@: 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 exportstep 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-12056/recipes/abseil/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12056/recipes/abseil/all/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-12056/recipes/abseil/all/conanfile.py", line 7, in <module> from conans import tools as tools_legacy ImportError: cannot import name 'tools' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py) -
abseil/20210324.2@: 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 exportstep 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-12056/recipes/abseil/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12056/recipes/abseil/all/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-12056/recipes/abseil/all/conanfile.py", line 7, in <module> from conans import tools as tools_legacy ImportError: cannot import name 'tools' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py) -
abseil/20200923.3@: 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 exportstep 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-12056/recipes/abseil/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12056/recipes/abseil/all/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-12056/recipes/abseil/all/conanfile.py", line 7, in <module> from conans import tools as tools_legacy ImportError: cannot import name 'tools' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py) -
abseil/20200225.3@: 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 exportstep 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-12056/recipes/abseil/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12056/recipes/abseil/all/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-12056/recipes/abseil/all/conanfile.py", line 7, in <module> from conans import tools as tools_legacy ImportError: cannot import name 'tools' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
All green in build 6 (8b73adcb3951f165bd51702796b65e386e0db456):
-
abseil/20220623.0@: 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 exportstep 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-12056/recipes/abseil/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12056/recipes/abseil/all/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-12056/recipes/abseil/all/conanfile.py", line 3, in <module> from conan.tools.apple import is_apple_os ImportError: cannot import name 'is_apple_os' from 'conan.tools.apple' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conan/tools/apple/__init__.py) -
abseil/20200923.3@: 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 exportstep 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-12056/recipes/abseil/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12056/recipes/abseil/all/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-12056/recipes/abseil/all/conanfile.py", line 3, in <module> from conan.tools.apple import is_apple_os ImportError: cannot import name 'is_apple_os' from 'conan.tools.apple' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conan/tools/apple/__init__.py) -
abseil/20210324.2@: 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 exportstep 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-12056/recipes/abseil/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12056/recipes/abseil/all/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-12056/recipes/abseil/all/conanfile.py", line 3, in <module> from conan.tools.apple import is_apple_os ImportError: cannot import name 'is_apple_os' from 'conan.tools.apple' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conan/tools/apple/__init__.py) -
abseil/20200225.3@: 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 exportstep 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-12056/recipes/abseil/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12056/recipes/abseil/all/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-12056/recipes/abseil/all/conanfile.py", line 3, in <module> from conan.tools.apple import is_apple_os ImportError: cannot import name 'is_apple_os' from 'conan.tools.apple' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conan/tools/apple/__init__.py) -
abseil/20211102.0@: 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 exportstep 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-12056/recipes/abseil/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12056/recipes/abseil/all/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-12056/recipes/abseil/all/conanfile.py", line 3, in <module> from conan.tools.apple import is_apple_os ImportError: cannot import name 'is_apple_os' from 'conan.tools.apple' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conan/tools/apple/__init__.py)