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

[zstd] Build error on x64-linux #42933

Closed
NachoNardo opened this issue Dec 25, 2024 · 1 comment
Closed

[zstd] Build error on x64-linux #42933

NachoNardo opened this issue Dec 25, 2024 · 1 comment
Labels
category:question This issue is a question

Comments

@NachoNardo
Copy link

Package: zstd:[email protected]#2

Host Environment

  • Host: x64-linux
  • Compiler: GNU 11.4.0
  • vcpkg-tool version: 2024-12-09-1005b78fa1bf1dde1a20c2734cba4ea61ca94d9a
    vcpkg-scripts version: 80d54ff 2024-12-23 (2 days ago)

To Reproduce

vcpkg install --x-feature=http --x-feature=lua

Failure logs

Downloading facebook-zstd-v1.5.5.tar.gz
Successfully downloaded facebook-zstd-v1.5.5.tar.gz.
-- Extracting source /home/leonardo/vcpkg/downloads/facebook-zstd-v1.5.5.tar.gz
-- Applying patch no-static-suffix.patch
-- Applying patch fix-emscripten-and-clang-cl.patch
-- Using source at /home/leonardo/vcpkg/buildtrees/zstd/src/v1.5.5-b23e615f5d.clean
-- Configuring x64-linux
-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Fixing pkgconfig file: /home/leonardo/vcpkg/packages/zstd_x64-linux/lib/pkgconfig/libzstd.pc
CMake Error at scripts/cmake/vcpkg_find_acquire_program.cmake:166 (message):
  Could not find pkg-config.  Please install it via your package manager:

      sudo apt-get install pkg-config
Call Stack (most recent call first):
  scripts/cmake/vcpkg_fixup_pkgconfig.cmake:193 (vcpkg_find_acquire_program)
  buildtrees/versioning_/versions/zstd/259dc461801ecb946995e13fd3d94b1381d02441/portfile.cmake:39 (vcpkg_fixup_pkgconfig)
  scripts/ports.cmake:196 (include)



Additional context

vcpkg.json
{
  "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
  "dependencies": [
    "boost-asio",
    "boost-iostreams",
    "boost-locale",
    "boost-lockfree",
    "boost-system",
    "boost-variant",
    "fmt",
    {
      "name": "libiconv",
      "platform": "osx"
    },
    "libmariadb",
    "openssl",
    "pugixml",
    "zlib"
  ],
  "features": {
    "http": {
      "description": "Enable HTTP support",
      "dependencies": [
        "boost-beast",
        "boost-json"
      ]
    },
    "lua": {
      "description": "Use Lua instead of LuaJIT",
      "dependencies": [
        "lua"
      ]
    },
    "luajit": {
      "description": "Use LuaJIT instead of Lua",
      "dependencies": [
        "luajit"
      ]
    },
    "unit-tests": {
      "description": "Build unit tests",
      "dependencies": [
        "boost-test"
      ]
    }
  },
  "default-features": [
    "lua",
    "http"
  ],
  "builtin-baseline": "215a2535590f1f63788ac9bd2ed58ad15e6afdff"
}

Copy link

From the log:

  Could not find pkg-config.  Please install it via your package manager:

      sudo apt-get install pkg-config

@github-actions github-actions bot added the category:question This issue is a question label Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

1 participant