Closed hqho closed 2 weeks ago
If using manifest
mode, provide vcpkg.json
.
monica@monica003:/mnt/vcpkg$ ./vcpkg version
vcpkg package management program version 2024-07-10-d2dfc73769081bdd9b782d08d27794780b7a99b9
See LICENSE.txt for license information.
monica@monica003:/mnt/vcpkg$ cat /proc/version
Linux version 6.5.0-1016-azure (buildd@bos03-amd64-021) (x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #16~22.04.1-Ubuntu SMP Fri Feb 16 15:42:02 UTC 2024
Sorry I didn't repro your issue.
Installing 33/42 openssl:x64-linux@1.1.1l...
Building openssl:x64-linux@1.1.1l...
/mnt/vcpkg/buildtrees/versioning_/versions/openssl/1916410d0a836cb70be2341fa3ec3cce74d25267: info: installing overlay port from here
-- Downloading https://www.openssl.org/source/openssl-1.1.1l.tar.gz;https://www.openssl.org/source/old/1.1.1/openssl-1.1.1l.tar.gz -> openssl-1.1.1l.tar.gz...
CMake Warning at scripts/cmake/vcpkg_fail_port_install.cmake:2 (message):
vcpkg_fail_port_install has been removed and all values should be moved by
adding `supports` field to manifest file or directly adding `openssl:=fail`
to _scripts/ci.baseline.txt_.
Please remove `vcpkg_fail_port_install(...)`.
Call Stack (most recent call first):
buildtrees/versioning_/versions/openssl/1916410d0a836cb70be2341fa3ec3cce74d25267/unix/portfile.cmake:2 (vcpkg_fail_port_install)
buildtrees/versioning_/versions/openssl/1916410d0a836cb70be2341fa3ec3cce74d25267/portfile.cmake:21 (include)
scripts/ports.cmake:192 (include)
-- Extracting source /mnt/vcpkg/downloads/openssl-1.1.1l.tar.gz
-- Using source at /mnt/vcpkg/buildtrees/openssl/src/1.1.1l-5a7d592597.clean
-- Configuring x64-linux-dbg
-- Configuring x64-linux-rel
CMake Warning at scripts/cmake/vcpkg_configure_cmake.cmake:384 (message):
The following variables are not used in CMakeLists.txt:
INSTALL_HEADERS
Please recheck them and remove the unnecessary options from the
`vcpkg_configure_cmake` call.
If these options should still be passed for whatever reason, please use the
`MAYBE_UNUSED_VARIABLES` argument.
Call Stack (most recent call first):
buildtrees/versioning_/versions/openssl/1916410d0a836cb70be2341fa3ec3cce74d25267/unix/portfile.cmake:22 (vcpkg_configure_cmake)
buildtrees/versioning_/versions/openssl/1916410d0a836cb70be2341fa3ec3cce74d25267/portfile.cmake:21 (include)
scripts/ports.cmake:192 (include)
-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Fixing pkgconfig file: /mnt/vcpkg/packages/openssl_x64-linux/lib/pkgconfig/libcrypto.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/openssl_x64-linux/lib/pkgconfig/libssl.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/openssl_x64-linux/debug/lib/pkgconfig/libcrypto.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/openssl_x64-linux/debug/lib/pkgconfig/libssl.pc
-- Installing: /mnt/vcpkg/packages/openssl_x64-linux/include/openssl/aes.h
...
-- Installing: /mnt/vcpkg/packages/openssl_x64-linux/share/openssl/copyright
-- Installing: /mnt/vcpkg/packages/openssl_x64-linux/share/openssl/usage
-- Performing post-build validation
Failed to store binary cache /home/monica/.cache/vcpkg/archives/f5/f5f7f8451b67fd72cedf8f68a1cdd67d52e7d52017d887b74d7da79f14ff4b21.zip
No such file or directory
Stored binaries in 0 destinations in 592 ms.
Elapsed time to handle openssl:x64-linux: 25 s
openssl:x64-linux package ABI: f5f7f8451b67fd72cedf8f68a1cdd67d52e7d52017d887b74d7da79f14ff4b21
...
Total install time: 1.6 min
The package openssl is compatible with built-in CMake targets:
find_package(OpenSSL REQUIRED)
target_link_libraries(main PRIVATE OpenSSL::SSL OpenSSL::Crypto)
curl is compatible with built-in CMake targets:
find_package(CURL REQUIRED)
target_link_libraries(main PRIVATE CURL::libcurl)
The package libxml2 is compatible with built-in CMake targets:
find_package(LibXml2 REQUIRED)
target_link_libraries(main PRIVATE LibXml2::LibXml2)
opentelemetry-cpp provides CMake targets:
# this is heuristically generated, and may not be correct
find_package(opentelemetry-cpp CONFIG REQUIRED)
# note: 10 additional targets are not displayed.
target_link_libraries(main PRIVATE opentelemetry-cpp::api opentelemetry-cpp::ext opentelemetry-cpp::sdk opentelemetry-cpp::logs)
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
Not reproduced on the following version:
./vcpkg version
vcpkg package management program version 2024-08-01-fd884a0d390d12783076341bd43d77c3a6a15658
We haven't been able to repro this; if more information comes up, or this issue appears again, please reopen.
Describe the bug vcpkg crashed building azure sdk for cpp with vcpkg version 2024.05.24
Environment
OS: SUSE Linux Enterprise Server 15 SP4 Compiler: gcc version 7.5.0 (SUSE Linux)
To Reproduce Steps to reproduce the behavior:
cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX="$InstallDIR/local" -DCMAKE_TOOLCHAIN_FILE=$InstallDIR/vcpkg/scripts/buildsystems/vcpkg.cmake
Expected behavior
vcpkg does not crash
Failure logs