Closed vega0 closed 3 years ago
@vega0, I just tried .\vcpkg.exe install cpprestsdk cpprestsdk:x64-windows
locally and could not reproduce the reported issue. It is working properly with current vcpkg (commit: https://github.com/microsoft/vcpkg/commit/1559315ea69718224345930cbf435e9a24311f2c).
However, you can use:
.\vcpkg.exe install cpprestsdk[compression,core] cpprestsdk[compression,core]:x64-windows
This will build cpprestsdk without feature brotli
.
The following packages will be built and installed: cpprestsdk[compression,core]:x64-windows -> 2.10.18 cpprestsdk[compression,core]:x86-windows -> 2.10.18 * zlib[core]:x64-windows -> 1.2.11#10 * zlib[core]:x86-windows -> 1.2.11#10 Additional packages (*) will be modified to complete this operation.
it looks like brotli failed to build from source. That's not vcpkg. Check in the vcpkg issues list to see if there are known issues with brotli, and check the brotli configuration and compilation logs.
PS D:\workspace\vcpkg> .\vcpkg.exe install cpprestsdk cpprestsdk:x64-windows Computing installation plan... The following packages will be built and installed: brotli[core]:x64-windows -> 1.0.9#1 brotli[core]:x86-windows -> 1.0.9#1 cpprestsdk[brotli,compression,core,default-features]:x64-windows -> 2.10.18 cpprestsdk[brotli,compression,core,default-features]:x86-windows -> 2.10.18 zlib[core]:x64-windows -> 1.2.11#10 zlib[core]:x86-windows -> 1.2.11#10 Additional packages (*) will be modified to complete this operation. Warning: The following VS instances are excluded because the English language pack is unavailable. C:\Program Files (x86)\Microsoft Visual Studio\2019\Community C:\Program Files (x86)\Microsoft Visual Studio\2019\Community Please install the English language pack. Detecting compiler hash for triplet x64-windows... Detecting compiler hash for triplet x86-windows... Could not locate cached archive: C:\Users\night\AppData\Local\vcpkg\archives\a6\a60fc00347861f35b6114a960fd4ea5c21048d69a9cc4ebeabb393960f65f458.zip Could not locate cached archive: C:\Users\night\AppData\Local\vcpkg\archives\5c\5c1be5e803a4de8bbafc3ee98e56aac7f6bdc2a785b73bba000918b43e186d96.zip Could not locate cached archive: C:\Users\night\AppData\Local\vcpkg\archives\f3\f3fb73b4da1e4fdcdf0c62f070c728112f6be683bcaa1d86f16f38a70cf2a654.zip Could not locate cached archive: C:\Users\night\AppData\Local\vcpkg\archives\73\7381b4d620887830f17aeafceef403c717d3627d8b4a7eb0f99221bf4a9a3519.zip Could not locate cached archive: C:\Users\night\AppData\Local\vcpkg\archives\29\2997a4393f2623fd38e94ba2f1107204f73fd8702e9c84aff2b541411782cbf5.zip Could not locate cached archive: C:\Users\night\AppData\Local\vcpkg\archives\34\3487e9bf6cc3fd03b7ff77a885911d3d0357a870cc3c9ade623d05277760970f.zip Starting package 1/6: brotli:x64-windows Building package brotli[core]:x64-windows... -- Using D:/workspace/vcpkg/downloads/google-brotli-e61745a6b7add50d380cfd7d3883dd6c62fc2c71.tar.gz -- Cleaning sources at D:/workspace/vcpkg/buildtrees/brotli/src/6c62fc2c71-7c6c2710e9.clean. Use --editable to skip cleaning for the packages you specify. -- Extracting source D:/workspace/vcpkg/downloads/google-brotli-e61745a6b7add50d380cfd7d3883dd6c62fc2c71.tar.gz -- Applying patch install.patch -- Applying patch fix-arm-uwp.patch -- Applying patch pkgconfig.patch -- Applying patch fix-ios.patch -- Using source at D:/workspace/vcpkg/buildtrees/brotli/src/6c62fc2c71-7c6c2710e9.clean -- Configuring x64-windows CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:105 (message): Command failed: ninja -v Working Directory: D:/workspace/vcpkg/buildtrees/brotli/x64-windows-rel/vcpkg-parallel-configure Error code: 1 See logs for more information: D:\workspace\vcpkg\buildtrees\brotli\config-x64-windows-out.log Call Stack (most recent call first): scripts/cmake/vcpkg_configure_cmake.cmake:324 (vcpkg_execute_required_process) ports/brotli/portfile.cmake:14 (vcpkg_configure_cmake) scripts/ports.cmake:139 (include) Error: Building package brotli:x64-windows failed with: BUILD_FAILED Please ensure you're using the latest portfiles with
.\vcpkg update
, then submit an issue at https://github.com/Microsoft/vcpkg/issues including: Package: brotli:x64-windows Vcpkg version: 2021-05-05-e8977e69d9a3fb462d9ad42013d83a7682706659 Additionally, attach any relevant sections from the log files above.Is it possible to exlude brotli with few installation arguments?