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

Error when trying to install cgal[qt]:x64-windows through vcpkg #4890

Closed
warrenbocphet opened this issue Jul 30, 2020 · 2 comments
Closed

Error when trying to install cgal[qt]:x64-windows through vcpkg #4890

warrenbocphet opened this issue Jul 30, 2020 · 2 comments
Assignees

Comments

@warrenbocphet
Copy link

Issue Details

I got this error when trying to install cgal with the qt component through vcpkg. This is not the first time I install CGAL, but this is the first time I install it with qt. I'm only saying that to highlight the fact that my machine was able to install CGAL before :(.

Command: .\vcpkg.exe install cgal[qt]:x64-windows

Error:

Computing installation plan...
The following packages will be built and installed:
    cgal[core,qt]:x64-windows
  * eigen3[core]:x64-windows
  * freeglut[core]:x64-windows
  * icu[core]:x64-windows
  * jasper[core]:x64-windows
  * libpq[core,openssl,zlib]:x64-windows
  * libwebp[core,nearlossless,simd,unicode]:x64-windows
  * opengl[core]:x64-windows
  * openssl[core]:x64-windows
  * openssl-windows[core]:x64-windows
  * pcre2[core]:x64-windows
  * qt5-3d[core]:x64-windows
  * qt5-activeqt[core]:x64-windows
  * qt5-base[core]:x64-windows
  * qt5-declarative[core]:x64-windows
  * qt5-gamepad[core]:x64-windows
  * qt5-imageformats[core]:x64-windows
  * qt5-script[core]:x64-windows
  * qt5-svg[core]:x64-windows
  * qt5-tools[core]:x64-windows
  * qt5-xmlpatterns[core]:x64-windows
  * sqlite3[core]:x64-windows
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
Starting package 1/22: eigen3:x64-windows
Building package eigen3[core]:x64-windows...
Could not locate cached archive: C:\Users\Anh Tran\AppData\Local\vcpkg\archives\2d\2dd24e644b0078a9d1b2ee6febf7180116e8cf9d.zip
-- Using cached C:/dev/vcpkg/downloads/libeigen-eigen-3.3.7.tar.gz
-- Cleaning sources at C:/dev/vcpkg/buildtrees/eigen3/src/3.3.7-3eb1aba727.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/dev/vcpkg/downloads/libeigen-eigen-3.3.7.tar.gz
-- Applying patch fix-cuda-error.patch
-- Using source at C:/dev/vcpkg/buildtrees/eigen3/src/3.3.7-3eb1aba727.clean
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Fixing pkgconfig
-- Acquiring MSYS Packages...
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
    Command failed: C:/dev/vcpkg/downloads/tools/msys2/msys64/usr/bin/bash.exe --noprofile --norc -c "pacman -S --noconfirm --needed pkg-config"
    Working Directory: C:/dev/vcpkg/downloads/tools/msys2
    Error code: 1
    See logs for more information:
      C:\dev\vcpkg\buildtrees\eigen3\msys-pacman-x64-windows-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_acquire_msys.cmake:153 (vcpkg_execute_required_process)
  scripts/cmake/vcpkg_fixup_pkgconfig.cmake:281 (vcpkg_acquire_msys)
  ports/eigen3/portfile.cmake:35 (vcpkg_fixup_pkgconfig)
  scripts/ports.cmake:79 (include)

Here's the content of C:\dev\vcpkg\buildtrees\eigen3\msys-pacman-x64-windows-err.log

error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown
error: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" could not be looked up remotely
error: mingw64: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown
error: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" could not be looked up remotely
error: msys: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown
error: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" could not be looked up remotely
error: database 'mingw32' is not valid (invalid or corrupted database (PGP signature))
error: database 'mingw64' is not valid (invalid or corrupted database (PGP signature))
error: database 'msys' is not valid (invalid or corrupted database (PGP signature))

Environment

  • Operating system (Windows/Mac/Linux, 32/64 bits): Windows 10
  • Specific flags used (if any): Well, I used the [qt] tag, with x64-windows as the target platform.

Thanks for the help :). If you think this is more appropriate to issue at vcpkg, just let me know.

@maxGimeno
Copy link
Contributor

See microsoft/vcpkg#12288 and the fix microsoft/vcpkg#12467.
I think you should simply try to update your vcpkg.

@warrenbocphet
Copy link
Author

Hi Maxime,
Your suggestion definitely works. Thanks for the help again :D.
You can close the issue now.

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

2 participants