Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to install packages #18108

Closed
appumistri opened this issue May 25, 2021 · 1 comment
Closed

Not able to install packages #18108

appumistri opened this issue May 25, 2021 · 1 comment

Comments

@appumistri
Copy link

appumistri commented May 25, 2021

Hello,
I have installed vcpkg a week ago on my Mac M1 but unfortunately I'm not able to install any packages using vcpkg.

Machine info:
MacBook Pro (13-inch, M1, 2020)
Chip: M1
RAM: 8 GB

Error log:

appu@CESIT-MAC-13inch2020s-MacBook-Pro vcpkg % ./vcpkg install "aws-sdk-cpp[s3]" --recurse
Computing installation plan...
The following packages will be built and installed:
  * aws-c-common[core]:arm64-osx -> 0.4.56
  * aws-c-event-stream[core]:arm64-osx -> 0.1.6
  * aws-checksums[core]:arm64-osx -> 0.1.9
    aws-sdk-cpp[core,dynamodb,kinesis,s3]:arm64-osx -> 1.8.126#8
  * curl[core,non-http,sectransp,ssl]:arm64-osx -> 7.74.0#5
  * openssl[core]:arm64-osx -> 1.1.1k#1
  * zlib[core]:arm64-osx -> 1.2.11#10
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet arm64-osx...
Could not locate cached archive: /Users/appu/.cache/vcpkg/archives/e2/e2b733772ca64f2376feeb4d7e76e4821624750e.zip
Could not locate cached archive: /Users/appu/.cache/vcpkg/archives/6f/6fcfa7b8d85512e903339d45313eb0cb78b1d46e.zip
Could not locate cached archive: /Users/appu/.cache/vcpkg/archives/f8/f80a5a34bcf4873724412a6d89fb16f377df6651.zip
Could not locate cached archive: /Users/appu/.cache/vcpkg/archives/e1/e1610a9a18676b62ff67caa39c6041d96f8ef356.zip
Could not locate cached archive: /Users/appu/.cache/vcpkg/archives/9e/9eada1699fb8a55d616176032593e9c5919f722e.zip
Could not locate cached archive: /Users/appu/.cache/vcpkg/archives/4c/4c965052f10780c83835a617c362e86abdd883af.zip
Could not locate cached archive: /Users/appu/.cache/vcpkg/archives/96/96f2981eb435611844503b388dca8afe8553c9cf.zip
Starting package 1/7: aws-c-common:arm64-osx
Building package aws-c-common[core]:arm64-osx...
-- Using community triplet arm64-osx. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /Users/appu/vcpkg/triplets/community/arm64-osx.cmake
-- Using cached /Users/appu/vcpkg/downloads/awslabs-aws-c-common-4a21a1c0757083a16497fea27886f5f20ccdf334.tar.gz
-- Cleaning sources at /Users/appu/vcpkg/buildtrees/aws-c-common/src/f20ccdf334-c310c32102.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /Users/appu/vcpkg/downloads/awslabs-aws-c-common-4a21a1c0757083a16497fea27886f5f20ccdf334.tar.gz
-- Applying patch disable-error-4068.patch
-- Applying patch disable-internal-crt-option.patch
-- Applying patch fix-cmake-target-path.patch
-- Using source at /Users/appu/vcpkg/buildtrees/aws-c-common/src/f20ccdf334-c310c32102.clean
-- Configuring arm64-osx-dbg
-- Configuring arm64-osx-rel
-- Building arm64-osx-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:146 (message):
    Command failed: /Users/appu/vcpkg/downloads/tools/cmake-3.20.2-osx/cmake-3.20.2-macos-universal/CMake.app/Contents/bin/cmake --build . --config Debug --target install -- -v -j9
    Working Directory: /Users/appu/vcpkg/buildtrees/aws-c-common/arm64-osx-dbg
    See logs for more information:
      /Users/appu/vcpkg/buildtrees/aws-c-common/install-arm64-osx-dbg-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_cmake.cmake:104 (vcpkg_execute_build_process)
  scripts/cmake/vcpkg_install_cmake.cmake:44 (vcpkg_build_cmake)
  ports/aws-c-common/portfile.cmake:18 (vcpkg_install_cmake)
  scripts/ports.cmake:141 (include)


Error: Building package aws-c-common:arm64-osx 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: aws-c-common:arm64-osx
  Vcpkg version: 2021-05-05-unknownhash

Additionally, attach any relevant sections from the log files above.

Is there any existing solution for this?
Note: I already tried ./vcpkg update

@appumistri
Copy link
Author

Created this issue here: aws/aws-sdk-cpp#1659

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant