Open
Description
For the
elseif(${project} STREQUAL IDENTITY)
DownloadDepVersion(sdk/core azure-core 1.2.0)
try to update the Core dependency to 1.14.0
.
It will fail. Why is it trying to configure AMQP, and why it fails? Please fix either issue so at least Identity can update the Core dependency version.
Configure log:
2024-10-11T20:25:20.9930180Z ##[section]Starting: cmake generate for azure-identity
2024-10-11T20:25:20.9937900Z ==============================================================================
2024-10-11T20:25:20.9938780Z Task : Command line
2024-10-11T20:25:20.9939630Z Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2024-10-11T20:25:20.9940550Z Version : 2.244.3
2024-10-11T20:25:20.9941310Z Author : Microsoft Corporation
2024-10-11T20:25:20.9942140Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
2024-10-11T20:25:20.9942990Z ==============================================================================
2024-10-11T20:25:21.2255090Z Generating script.
2024-10-11T20:25:21.2284600Z Script contents:
2024-10-11T20:25:21.2306660Z OPENSSL_ROOT_DIR=/usr/local/opt/openssl@3 OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl@3/include cmake -DFETCH_SOURCE_DEPS=ON ..
2024-10-11T20:25:21.2309510Z ========================== Starting Command Output ===========================
2024-10-11T20:25:21.2339350Z [command]/bin/bash --noprofile --norc /Users/runner/work/_temp/9b3e8ac6-f1d2-4ef7-ac5f-e82360d083b1.sh
2024-10-11T20:25:21.2573780Z Vcpkg integrate step.
2024-10-11T20:25:21.2587330Z CMAKE_TOOLCHAIN_FILE is not defined. Define it for the user.
2024-10-11T20:25:21.2594110Z AZURE_SDK_DISABLE_AUTO_VCPKG is not defined. Fetch a local copy of vcpkg.
2024-10-11T20:25:21.2602130Z Vcpkg commit string used: f0f811770e0538fcb295a1750c0a5e0de5131d29
2024-10-11T20:25:21.2718670Z CMake Warning (dev) at /usr/local/Cellar/cmake/3.30.4/share/cmake/Modules/FetchContent.cmake:1953 (message):
2024-10-11T20:25:21.2731440Z Calling FetchContent_Populate(vcpkg) is deprecated, call
2024-10-11T20:25:21.2751180Z FetchContent_MakeAvailable(vcpkg) instead. Policy CMP0169 can be set to
2024-10-11T20:25:21.4009410Z OLD to allow FetchContent_Populate(vcpkg) to be called directly for now,
2024-10-11T20:25:21.4022610Z but the ability to call it with declared details will be removed completely
2024-10-11T20:25:21.4040010Z in a future version.
2024-10-11T20:25:21.4045940Z Call Stack (most recent call first):
2024-10-11T20:25:21.4057080Z /Users/runner/work/1/s/cmake-modules/AzureVcpkg.cmake:36 (FetchContent_Populate)
2024-10-11T20:25:21.4075370Z CMakeLists.txt:7 (az_vcpkg_integrate)
2024-10-11T20:25:21.4088680Z This warning is for project developers. Use -Wno-dev to suppress it.
2024-10-11T20:25:21.4106030Z
2024-10-11T20:25:44.9264280Z Vcpkg integrate step - DONE.
2024-10-11T20:25:44.9389320Z -- Bootstrapping vcpkg before install
2024-10-11T20:25:45.4473600Z -- Bootstrapping vcpkg before install - done
2024-10-11T20:25:45.4474280Z -- Running vcpkg install
2024-10-11T20:25:45.6661240Z Detecting compiler hash for triplet x64-osx...
2024-10-11T20:25:50.6763940Z Compiler found: /Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
2024-10-11T20:25:50.7037130Z The following packages will be built and installed:
2024-10-11T20:25:50.7062400Z azure-core-cpp[core,curl,http]:[email protected]
2024-10-11T20:25:50.7097250Z * curl[core,non-http,sectransp,ssl]:[email protected]
2024-10-11T20:25:50.7105030Z openssl:[email protected]#1
2024-10-11T20:25:50.7105890Z * vcpkg-cmake:x64-osx@2024-04-23
2024-10-11T20:25:50.7128920Z * vcpkg-cmake-config:x64-osx@2024-05-23
2024-10-11T20:25:50.7164880Z * vcpkg-cmake-get-vars:x64-osx@2023-12-31
2024-10-11T20:25:50.7181400Z * zlib:[email protected]
2024-10-11T20:25:50.7184030Z Additional packages (*) will be modified to complete this operation.
2024-10-11T20:25:51.7418060Z Restored 7 package(s) from HTTP servers in 1.1 s. Use --debug to see more details.
2024-10-11T20:25:51.7425930Z Installing 1/7 vcpkg-cmake:x64-osx@2024-04-23...
2024-10-11T20:25:51.7516470Z Elapsed time to handle vcpkg-cmake:x64-osx: 6.61 ms
2024-10-11T20:25:51.7542570Z vcpkg-cmake:x64-osx package ABI: 4fa501232606dea8ab028198b613c55747456e66e576fbdea6dddb635b01a839
2024-10-11T20:25:51.7576450Z Installing 2/7 zlib:[email protected]...
2024-10-11T20:25:51.7579710Z Elapsed time to handle zlib:x64-osx: 9.13 ms
2024-10-11T20:25:51.7613500Z zlib:x64-osx package ABI: c9ee27818c3cfe38ce2a1dc9c8f032e444da6e4c7bc3a35c8511d2229983b67b
2024-10-11T20:25:51.7621370Z Installing 3/7 vcpkg-cmake-config:x64-osx@2024-05-23...
2024-10-11T20:25:51.7647110Z Elapsed time to handle vcpkg-cmake-config:x64-osx: 5.46 ms
2024-10-11T20:25:51.7664350Z vcpkg-cmake-config:x64-osx package ABI: aa8b17fdd36c4a5d4f0058ad48b07e1a50f66cbf9ce1c335501913e7802e19fe
2024-10-11T20:25:51.7690770Z Installing 4/7 curl[core,non-http,sectransp,ssl]:[email protected]...
2024-10-11T20:25:51.7812450Z Elapsed time to handle curl:x64-osx: 18 ms
2024-10-11T20:25:51.7847670Z curl:x64-osx package ABI: ab932118195cdb71fc3ad885d0df666c7a01ee13f2886af8a2c6ffdaa2d0eb5d
2024-10-11T20:25:51.7878220Z Installing 5/7 vcpkg-cmake-get-vars:x64-osx@2023-12-31...
2024-10-11T20:25:51.7884540Z Elapsed time to handle vcpkg-cmake-get-vars:x64-osx: 3.89 ms
2024-10-11T20:25:51.7909280Z vcpkg-cmake-get-vars:x64-osx package ABI: d755322101dbd4c4969d374750e9987cbcb1d056e4447a07a7dd3d9051efcb0f
2024-10-11T20:25:51.7939920Z Installing 6/7 openssl:[email protected]#1...
2024-10-11T20:25:51.8417380Z Elapsed time to handle openssl:x64-osx: 56.4 ms
2024-10-11T20:25:51.8449330Z openssl:x64-osx package ABI: c8d314823b3d345a087d3b0330530636a922835300a233b192a39eb7e7d4c8ad
2024-10-11T20:25:51.8475390Z Installing 7/7 azure-core-cpp[core,curl,http]:[email protected]...
2024-10-11T20:25:51.8711380Z Elapsed time to handle azure-core-cpp:x64-osx: 29.3 ms
2024-10-11T20:25:51.8724220Z azure-core-cpp:x64-osx package ABI: decf6a404b9db65070fcabab2e629b0ca494f45061db37481bc95a1eb4cf1a54
2024-10-11T20:25:51.9731100Z Total install time: 129 ms
2024-10-11T20:25:51.9734400Z openssl is compatible with built-in CMake targets:
2024-10-11T20:25:52.0735320Z
2024-10-11T20:25:52.1250760Z find_package(OpenSSL REQUIRED)
2024-10-11T20:25:52.1278910Z target_link_libraries(main PRIVATE OpenSSL::SSL)
2024-10-11T20:25:52.1312850Z target_link_libraries(main PRIVATE OpenSSL::Crypto)
2024-10-11T20:25:52.1353180Z
2024-10-11T20:25:52.1372830Z azure-core-cpp provides CMake targets:
2024-10-11T20:25:52.1412070Z
2024-10-11T20:25:52.1435640Z # this is heuristically generated, and may not be correct
2024-10-11T20:25:52.1473450Z find_package(azure-core-cpp CONFIG REQUIRED)
2024-10-11T20:25:52.1518560Z target_link_libraries(main PRIVATE Azure::azure-core)
2024-10-11T20:25:52.1608680Z
2024-10-11T20:25:52.2746750Z -- Running vcpkg install - done
2024-10-11T20:25:53.4897730Z -- The CXX compiler identification is AppleClang 15.0.0.15000309
2024-10-11T20:25:53.6004470Z -- Detecting CXX compiler ABI info
2024-10-11T20:25:53.9033870Z -- Detecting CXX compiler ABI info - done
2024-10-11T20:25:53.9287060Z -- Check for working CXX compiler: /Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
2024-10-11T20:25:53.9305350Z -- Detecting CXX compile features
2024-10-11T20:25:53.9334250Z -- Detecting CXX compile features - done
2024-10-11T20:25:53.9350740Z setting up compile options for IDENTITY
2024-10-11T20:25:53.9355820Z No transport adapter was selected, using libcurl as the default option for POSIX.
2024-10-11T20:25:53.9403490Z project found IDENTITY
2024-10-11T20:25:53.9434810Z FLAG VALUE : ON
2024-10-11T20:25:53.9451070Z Downloading version 1.14.0 of azure-core
2024-10-11T20:25:56.9860300Z add folder build/sdk/core
2024-10-11T20:25:56.9877910Z Vcpkg integrate step.
2024-10-11T20:25:56.9879610Z Vcpkg integrate step - DONE.
2024-10-11T20:25:56.9937460Z -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
2024-10-11T20:25:57.2944230Z -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
2024-10-11T20:25:57.2953310Z -- Found Threads: TRUE
2024-10-11T20:25:57.3132080Z Libcurl version 8.10.1-DEV
2024-10-11T20:25:57.5077760Z -- Found OpenSSL: /Users/runner/work/1/s/sdk/identity/azure-identity/build/vcpkg_installed/x64-osx/debug/lib/libcrypto.a (found version "3.3.2")
2024-10-11T20:25:57.5236510Z -- Retrieving version from /Users/runner/work/1/s/sdk/identity/azure-identity/build/sdk/core/azure-core/src/private/package_version.hpp
2024-10-11T20:25:57.5239060Z -- VERSION_MAJOR 1
2024-10-11T20:25:57.5239560Z -- VERSION_MINOR 14
2024-10-11T20:25:57.5239900Z -- VERSION_PATCH 0
2024-10-11T20:25:57.5240360Z -- VERSION_PRERELEASE
2024-10-11T20:25:57.5240930Z -- AZ_LIBRARY_VERSION
2024-10-11T20:25:57.5353040Z -- Including AMQP library
2024-10-11T20:25:57.5360690Z Vcpkg integrate step.
2024-10-11T20:25:57.5361320Z Vcpkg integrate step - DONE.
2024-10-11T20:25:57.5395410Z -- Using vendored uamqp
2024-10-11T20:25:57.6379340Z -- The C compiler identification is AppleClang 15.0.0.15000309
2024-10-11T20:25:57.6637220Z -- Detecting C compiler ABI info
2024-10-11T20:25:57.8806020Z -- Detecting C compiler ABI info - done
2024-10-11T20:25:57.9023710Z -- Check for working C compiler: /Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
2024-10-11T20:25:57.9025980Z -- Detecting C compile features
2024-10-11T20:25:57.9033170Z -- Detecting C compile features - done
2024-10-11T20:25:57.9422360Z CMake Error at build/_deps/vcpkg-src/scripts/buildsystems/vcpkg.cmake:859 (_find_package):
2024-10-11T20:25:57.9423540Z Could not find a package configuration file provided by
2024-10-11T20:25:57.9424110Z "azure_macro_utils_c" with any of the following names:
2024-10-11T20:25:57.9424320Z
2024-10-11T20:25:57.9424610Z azure_macro_utils_cConfig.cmake
2024-10-11T20:25:57.9425170Z azure_macro_utils_c-config.cmake
2024-10-11T20:25:57.9425720Z
2024-10-11T20:25:57.9426130Z Add the installation prefix of "azure_macro_utils_c" to CMAKE_PREFIX_PATH
2024-10-11T20:25:57.9426670Z or set "azure_macro_utils_c_DIR" to a directory containing one of the above
2024-10-11T20:25:57.9427170Z files. If "azure_macro_utils_c" provides a separate development package or
2024-10-11T20:25:57.9427650Z SDK, be sure it has been installed.
2024-10-11T20:25:57.9427990Z Call Stack (most recent call first):
2024-10-11T20:25:57.9428580Z build/sdk/core/azure-core-amqp/vendor/azure-uamqp-c/CMakeLists.txt:56 (find_package)
2024-10-11T20:25:57.9428940Z
2024-10-11T20:25:57.9429070Z
2024-10-11T20:25:57.9429600Z -- Configuring incomplete, errors occurred!
2024-10-11T20:25:57.9511430Z
2024-10-11T20:25:57.9554740Z ##[error]Bash exited with code '1'.
2024-10-11T20:25:57.9566130Z ##[section]Finishing: cmake generate for azure-identity