PengZheng commented on PR #401: URL: https://github.com/apache/celix/pull/401#issuecomment-1087150680
> conan create --build-require -pr:b default -pr:h default . celix/2.2.3@zhengpeng/testing Using the command line you provided, I successfully reproduced the problem. The root cause is `--build-require`. Removing it, `conan create -pr:b default -pr:h default . celix/2.2.3@zhengpeng/testing` runs successfully. You can see openssl actually appears twice in different contexts: ``` Version ranges solved libffi/* versions found in 'conan-center' remote Version range '>=3.2.1 <4.0.0' required by 'celix/2.2.3@zhengpeng/testing' resolved to 'libffi/3.4.2' in remote 'conan-center' jansson/* versions found in 'conan-center' remote Version range '>=2.12 <3.0.0' required by 'celix/2.2.3@zhengpeng/testing' resolved to 'jansson/2.14' in remote 'conan-center' libcurl/* versions found in 'conan-center' remote Version range '>=7.64.1 <8.0.0' required by 'celix/2.2.3@zhengpeng/testing' resolved to 'libcurl/7.80.0' in remote 'conan-center' zlib/* versions found in 'conan-center' remote Version range '>=1.2.8 <2.0.0' required by 'celix/2.2.3@zhengpeng/testing' resolved to 'zlib/1.2.12' in remote 'conan-center' libzip/* versions found in 'conan-center' remote Version range '>=1.7.3 <2.0.0' required by 'celix/2.2.3@zhengpeng/testing' resolved to 'libzip/1.8.0' in remote 'conan-center' libxml2/* versions found in 'conan-center' remote Version range '>=2.9.9 <3.0.0' required by 'celix/2.2.3@zhengpeng/testing' resolved to 'libxml2/2.9.13' in remote 'conan-center' Installing package: celix/2.2.3@zhengpeng/testing Requirements bzip2/1.0.8 from 'conan-center' - Downloaded celix/2.2.3@zhengpeng/testing from local cache - Cache jansson/2.14 from 'conan-center' - Downloaded libcurl/7.80.0 from 'conan-center' - Downloaded libffi/3.4.2 from 'conan-center' - Downloaded libiconv/1.16 from 'conan-center' - Downloaded libuuid/1.0.3 from 'conan-center' - Downloaded libxml2/2.9.13 from 'conan-center' - Downloaded libzip/1.8.0 from 'conan-center' - Downloaded openssl/1.1.1m from 'conan-center' - Downloaded xz_utils/5.2.5 from 'conan-center' - Downloaded zlib/1.2.12 from 'conan-center' - Downloaded zstd/1.5.2 from 'conan-center' - Downloaded Packages bzip2/1.0.8:da606cf731e334010b0bf6e85a2a6f891b9f36b0 - Download celix/2.2.3@zhengpeng/testing:3a976adf4af022727b766e72a23112f5d1842d80 - Build jansson/2.14:c47bb6db96f23b2ee1060fcd1f35bc24e9898635 - Download libcurl/7.80.0:8d6549fec3f9898f66162c40cf7d0678a9f79c29 - Download libffi/3.4.2:2af715f34a7c8c2aeae57b25be0a52c4110dc502 - Download libiconv/1.16:6af9cc7cb931c5ad942174fd7838eb655717c709 - Download libuuid/1.0.3:2af715f34a7c8c2aeae57b25be0a52c4110dc502 - Download libxml2/2.9.13:988c12d94ac6fc710966303867aa6edf51330969 - Download libzip/1.8.0:a4f3806664341dffa1db6ce9f085d0fb1edb2b7a - Download openssl/1.1.1m:2af715f34a7c8c2aeae57b25be0a52c4110dc502 - Download xz_utils/5.2.5:6af9cc7cb931c5ad942174fd7838eb655717c709 - Download zlib/1.2.12:2af715f34a7c8c2aeae57b25be0a52c4110dc502 - Download zstd/1.5.2:a1fcff3227a663d62f35b4eedde78f4ce0fcd438 - Download Build requirements cmake/3.17.5 from 'conan-center' - Downloaded openssl/1.1.1n from 'conan-center' - Downloaded Build requirements packages cmake/3.17.5:5c09c752508b674ca5cb1f2d327b5a2d582866c8 - Download openssl/1.1.1n:2af715f34a7c8c2aeae57b25be0a52c4110dc502 - Download ``` If you want to build missing requirement, the command line should be `conan create -pr:b default -pr:h default . celix/2.2.3@zhengpeng/testing -b missing`. Resolving dependency conflicts in downstream is generally correct. Here the mentioned conflict should not appear at the first place. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org