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

[brotli] Build error on x64-mingw-static #42707

Open
sigmareaver opened this issue Dec 15, 2024 · 1 comment
Open

[brotli] Build error on x64-mingw-static #42707

sigmareaver opened this issue Dec 15, 2024 · 1 comment
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.

Comments

@sigmareaver
Copy link

Package: brotli:x64-mingw-static@1.1.0#1

Host Environment

  • Host: x64-linux
  • Compiler: GNU 14.2.0
  • vcpkg-tool version: 2024-12-09-1005b78fa1bf1dde1a20c2734cba4ea61ca94d9a
    vcpkg-scripts version: b545373 2024-12-14 (14 hours ago)

To Reproduce

vcpkg install

Failure logs

-- Using cached google-brotli-v1.1.0.tar.gz.
-- Cleaning sources at /home/redacted/.vcpkg-clion/vcpkg-mingw/buildtrees/brotli/src/v1.1.0-958bece74c.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/redacted/.vcpkg-clion/vcpkg-mingw/downloads/google-brotli-v1.1.0.tar.gz
-- Applying patch install.patch
-- Applying patch fix-arm-uwp.patch
-- Applying patch pkgconfig.patch
-- Applying patch emscripten.patch
-- Using source at /home/redacted/.vcpkg-clion/vcpkg-mingw/buildtrees/brotli/src/v1.1.0-958bece74c.clean
-- Found external ninja('1.12.1').
-- Configuring x64-mingw-static
-- Building x64-mingw-static-dbg
-- Building x64-mingw-static-rel
-- Fixing pkgconfig file: /home/redacted/.vcpkg-clion/vcpkg-mingw/packages/brotli_x64-mingw-static/lib/pkgconfig/libbrotlicommon.pc
-- Fixing pkgconfig file: /home/redacted/.vcpkg-clion/vcpkg-mingw/packages/brotli_x64-mingw-static/lib/pkgconfig/libbrotlidec.pc
-- Fixing pkgconfig file: /home/redacted/.vcpkg-clion/vcpkg-mingw/packages/brotli_x64-mingw-static/lib/pkgconfig/libbrotlienc.pc
-- Fixing pkgconfig file: /home/redacted/.vcpkg-clion/vcpkg-mingw/packages/brotli_x64-mingw-static/debug/lib/pkgconfig/libbrotlicommon.pc
-- Fixing pkgconfig file: /home/redacted/.vcpkg-clion/vcpkg-mingw/packages/brotli_x64-mingw-static/debug/lib/pkgconfig/libbrotlidec.pc
-- Fixing pkgconfig file: /home/redacted/.vcpkg-clion/vcpkg-mingw/packages/brotli_x64-mingw-static/debug/lib/pkgconfig/libbrotlienc.pc
CMake Error at scripts/cmake/vcpkg_copy_tool_dependencies.cmake:31 (message):
  Could not find PowerShell Core; please open an issue to report this.
Call Stack (most recent call first):
  scripts/cmake/vcpkg_copy_tools.cmake:48 (vcpkg_copy_tool_dependencies)
  buildtrees/versioning_/versions/brotli/4e5b5ae1ad26c80535c893cc0307121f0398549e/portfile.cmake:32 (vcpkg_copy_tools)
  scripts/ports.cmake:196 (include)



Additional context

vcpkg.json
{
  "name": "redacted",
  "version-string": "0.0.1",
  "builtin-baseline": "8e7f6491ae3cae2f26eacadda80a45e548b2d9e8",
  "dependencies": [
    {
      "name": "vcpkg-cmake-config",
      "version>=": "2024-05-23"
    },
    {
      "name": "vcpkg-cmake",
      "version>=": "2024-04-23"
    },
    {
      "name": "zlib",
      "version>=": "1.3.1"
    },
    "freetype",
    "luajit",
    "yaml-cpp",
    {
      "name": "entt",
      "version>=": "3.14.0"
    },
    {
      "name": "tweeny",
      "version>=": "3.2.0#1"
    },
    {
      "name": "sol2",
      "version>=": "3.3.1"
    }
  ]
}

@dg0yt
Copy link
Contributor

dg0yt commented Dec 15, 2024

CMake Error at scripts/cmake/vcpkg_copy_tool_dependencies.cmake:31 (message):
Could not find PowerShell Core; please open an issue to report this.

For consistent build results, vcpkg does the same steps on linux hosts as on windows host. ATM this involves running powershell (pwsh). However, you have to install the program yourself.

@Mengna-Li Mengna-Li added the category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.
Projects
None yet
Development

No branches or pull requests

3 participants