microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.13k stars 6.38k forks source link

[ginkgo] Build error on x64-windows-static #35065

Open autoantwort opened 11 months ago

autoantwort commented 11 months ago
$ vcpkg x-set-installed --enforce-port-checks ginkgo[core,cuda]:x64-windows-static
Detecting compiler hash for triplet x64-windows-static...
Detecting compiler hash for triplet x64-windows...
The following packages will be removed:
    cuda:x64-windows
    ginkgo:x64-windows
The following packages will be built and installed:
  * cuda:x64-windows-static -> 10.1#13
    ginkgo[core,cuda]:x64-windows-static -> 1.6.0
Additional packages (*) will be modified to complete this operation.
Restored 0 package(s) from G:\vcpkg-cache in 69.8 us. Use --debug to see more details.
Restored 1 package(s) from HTTP servers in 51.9 ms. Use --debug to see more details.
Removing 1/4 ginkgo:x64-windows
Elapsed time to handle ginkgo:x64-windows: 401 ms
Removing 2/4 cuda:x64-windows
Elapsed time to handle cuda:x64-windows: 1.13 ms
Installing 3/4 cuda:x64-windows-static...
Elapsed time to handle cuda:x64-windows-static: 1.7 ms
Installing 4/4 ginkgo:x64-windows-static...
Building ginkgo[core,cuda]:x64-windows-static...
-- Using cached ginkgo-project-ginkgo-v1.6.0.tar.gz.
-- Extracting source G:/v/downloads/ginkgo-project-ginkgo-v1.6.0.tar.gz
-- Using source at G:/v/vcpkg2/buildtrees/ginkgo/src/v1.6.0-a2c55824c6.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows-static
-- Building x64-windows-static-dbg
-- Building x64-windows-static-rel
-- Fixing pkgconfig file: G:/v/vcpkg2/packages/ginkgo_x64-windows-static/lib/pkgconfig/ginkgo.pc
-- Using cached mingw-w64-i686-pkgconf-1~1.8.0-2-any.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.4.6-1-x86_64.pkg.tar.zst.
-- Using msys root at G:/v/downloads/tools/msys2/6f3fa1a12ef85a6f
-- Fixing pkgconfig file: G:/v/vcpkg2/packages/ginkgo_x64-windows-static/debug/lib/pkgconfig/ginkgo.pc
-- Installing: G:/v/vcpkg2/packages/ginkgo_x64-windows-static/share/ginkgo/copyright
-- Installing: G:/v/vcpkg2/packages/ginkgo_x64-windows-static/share/ginkgo/usage
-- Performing post-build validation
warning: The following binaries should use the Static Debug (/MTd) CRT.
  G:\v\vcpkg2\packages\ginkgo_x64-windows-static\debug\lib\ginkgo_cudad.lib links with: Dynamic Debug (/MDd)
To inspect the lib files, use:
  dumpbin.exe /directives mylibfile.lib
warning: The following binaries should use the Static Release (/MT) CRT.
  G:\v\vcpkg2\packages\ginkgo_x64-windows-static\lib\ginkgo_cuda.lib links with: Dynamic Release (/MD)
To inspect the lib files, use:
  dumpbin.exe /directives mylibfile.lib
error: Found 2 post-build check problem(s). To submit these ports to curated catalogs, please first correct the portfile: G:\v\vcpkg2\ports\ginkgo\portfile.cmake
error: building ginkgo:x64-windows-static failed with: POST_BUILD_CHECKS_FAILED
Elapsed time to handle ginkgo:x64-windows-static: 48 min
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+ginkgo
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[ginkgo]+Build+error+on+x64-windows-static
Include '[ginkgo] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
    vcpkg-tool version: 2999-12-31-unknownhash
    vcpkg-scripts version: b385ae45c 2023-11-11 (34 hours ago)
JonLiu1993 commented 11 months ago

This issue could be reproduced with vcpkg 2023-09-15-ac02a9f660977426b8ec6392919fbb1d51b10998 and VS2022 17.6.6

github-actions[bot] commented 5 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.