conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
965 stars 1.77k forks source link

[package] abseil/20211102.0: conan raise exception after build and install abseil (Windows Visual Studio clang 15) #15213

Open Saigut opened 1 year ago

Saigut commented 1 year ago

Description

abseil/20211102.0 seems succeed to be built and installed (Windows Visual Studio clang 15), but conan raise an exception and interrupt the conan install process.

Installing (downloading, building) binaries...
abseil/20211102.0: Already installed!
ERROR:
'       ConanException: Component 'absl_atomic_hook' required components not found in this package: 'absl_core_headers

Package and Environment Details

Conan profile

Configuration for profile default:

[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=Visual Studio
compiler.version=17
build_type=Release
[options]
[conf]
[build_requires]
[env]

specified on command line:

[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=clang
compiler.version=15
os=Windows
os_build=Windows
[options]
[build_requires]
[env]

Steps to reproduce

conanfile.txt:

[requires]
json-c/0.16
openssl/1.1.1s
zlib/1.2.13
grpc/1.43.2
boost/1.81.0
ftxui/3.0.0
cpp-httplib/0.11.2
nlohmann_json/3.11.2

[generators]
cmake

[options]
cpp-httplib:with_openssl=True

conan install command:

conan.exe install xx/conanfile.txt -scompiler=clang -scompiler.version=15 -sbuild_type=Release --build=missing

Logs

Click to expand log ``` $ xxx/conan.exe install xxx/conanfile.txt -scompiler=clang -scompiler.version=15 -sbuild_type=Release --build=missing Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=clang compiler.version=15 os=Windows os_build=Windows [options] [build_requires] [env] WARN: grpc/1.43.2: requirement openssl/1.1.1n overridden by your conanfile to openssl/1.1.1s WARN: grpc/1.43.2: requirement zlib/1.2.12 overridden by your conanfile to zlib/1.2.13 conanfile.txt: Installing package Requirements abseil/20211102.0 from 'conancenter' - Cache boost/1.81.0 from 'conancenter' - Cache bzip2/1.0.8 from 'conancenter' - Cache c-ares/1.18.1 from 'conancenter' - Cache cpp-httplib/0.11.2 from 'conancenter' - Cache ftxui/3.0.0 from 'conancenter' - Cache grpc/1.43.2 from 'conancenter' - Cache json-c/0.16 from 'conancenter' - Cache nlohmann_json/3.11.2 from 'conancenter' - Cache openssl/1.1.1s from 'conancenter' - Cache protobuf/3.20.0 from 'conancenter' - Cache re2/20220201 from 'conancenter' - Cache zlib/1.2.13 from 'conancenter' - Cache Packages abseil/20211102.0:3262dc58222b2acfdc8f1cb1d776cee62cb2bd2d - Cache boost/1.81.0:e3daed198c13f81344a6744bdaa203a490e9b417 - Build bzip2/1.0.8:c3c517168f7236ccc983fb2673c3f15eb36aa3b0 - Build c-ares/1.18.1:6bed73b9dd573ab9d1205ad669a77c63b565d2b4 - Build cpp-httplib/0.11.2:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache ftxui/3.0.0:3262dc58222b2acfdc8f1cb1d776cee62cb2bd2d - Build grpc/1.43.2:db99fd9787a5325379421d6c0dae23c93e89e34c - Build json-c/0.16:3262dc58222b2acfdc8f1cb1d776cee62cb2bd2d - Build nlohmann_json/3.11.2:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache openssl/1.1.1s:3262dc58222b2acfdc8f1cb1d776cee62cb2bd2d - Build protobuf/3.20.0:06d4de0d82d56214e131b687d96d619545930a7f - Build re2/20220201:3262dc58222b2acfdc8f1cb1d776cee62cb2bd2d - Build zlib/1.2.13:3262dc58222b2acfdc8f1cb1d776cee62cb2bd2d - Build Build requirements b2/4.9.2 from 'conancenter' - Cache nasm/2.15.05 from 'conancenter' - Cache strawberryperl/5.30.0.1 from 'conancenter' - Cache Build requirements packages b2/4.9.2:ca33edce272a279b24f87dc0d4cf5bbdcffbc187 - Cache nasm/2.15.05:0a420ff5c47119e668867cdb51baff0eca1fdb68 - Cache strawberryperl/5.30.0.1:ca33edce272a279b24f87dc0d4cf5bbdcffbc187 - Cache Installing (downloading, building) binaries... abseil/20211102.0: Already installed! ERROR: ' ConanException: Component 'absl_atomic_hook' required components not found in this package: 'absl_core_headers ```
Saigut commented 1 year ago

What can I do to try to fix this?

yangcx1 commented 1 year ago

I meet the same question

yangcx1 commented 1 year ago

Has this problem been solved?

yangcx1 commented 1 year ago

image