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

[libffi] Build failure on x64-linux #39274

Open
jianglibo opened this issue Jun 13, 2024 · 1 comment
Open

[libffi] Build failure on x64-linux #39274

jianglibo opened this issue Jun 13, 2024 · 1 comment
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@jianglibo
Copy link

Package: libffi:[email protected]

Host Environment

  • Host: x64-linux
  • Compiler: GNU 11.4.0
  • vcpkg-tool version: 2024-04-23-d6945642ee5c3076addd1a42c331bbf4cfc97457
    vcpkg-scripts version: 01f6021 2024-05-24 (3 周前)

To Reproduce

vcpkg install

Failure logs

-- Using cached libffi-3.4.6.tar.gz.
-- Cleaning sources at /home/jianglibo/dic-cxx/external/vcpkg/buildtrees/libffi/src/libffi-3-5867c437e9.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/jianglibo/dic-cxx/external/vcpkg/downloads/libffi-3.4.6.tar.gz
-- Applying patch dll-bindir.diff
-- Using source at /home/jianglibo/dic-cxx/external/vcpkg/buildtrees/libffi/src/libffi-3-5867c437e9.clean
-- Getting CMake variables for x64-linux
-- Getting CMake variables for x64-linux-dbg
-- Getting CMake variables for x64-linux-rel
-- Configuring x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /usr/bin/bash -c "V=1 ./../src/libffi-3-5867c437e9.clean/configure  \"--enable-portable-binary\" \"--disable-docs\" \"--disable-multi-os-directory\" \"CCAS=cc\" \"--disable-silent-rules\" \"--verbose\" \"--disable-shared\" \"--enable-static\" \"--prefix=/home/jianglibo/dic-cxx/vcpkg_installed/x64-linux/debug\" \"--bindir=\\${prefix}/../tools/libffi/debug/bin\" \"--sbindir=\\${prefix}/../tools/libffi/debug/sbin\" \"--libdir=\\${prefix}/lib\" \"--includedir=\\${prefix}/../include\" \"--datarootdir=\\${prefix}/share/libffi\""
    Working Directory: /home/jianglibo/dic-cxx/external/vcpkg/buildtrees/libffi/x64-linux-dbg
    Error code: 255
    See logs for more information:
      /home/jianglibo/dic-cxx/external/vcpkg/buildtrees/libffi/config-x64-linux-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:863 (vcpkg_execute_required_process)
  ports/libffi/portfile.cmake:49 (vcpkg_configure_make)
  scripts/ports.cmake:175 (include)



/home/jianglibo/dic-cxx/external/vcpkg/buildtrees/libffi/config-x64-linux-dbg-err.log
configure: error: working directory cannot be determined

Additional context

vcpkg.json
{
  "name": "openpiv-cplusplus",
  "version-string": "latest",
  "dependencies": [
    "armadillo",
    "asyncplusplus",
    {
      "name": "benchmark",
      "platform": "!windows"
    },
    {
      "name": "opencv4",
      "features": [
        "cuda"
      ]
    },
    "catch2",
    "cxxopts",
    "fftw3",
    "fmt",
    "gtest",
    {
      "name": "mimalloc",
      "platform": "!(arm | uwp)"
    },
    "spdlog",
    "tiff"
  ]
}

@WangWeiLin-MV WangWeiLin-MV added the requires:repro The issue is not currently repro-able label Jun 14, 2024
@WangWeiLin-MV
Copy link
Contributor

WangWeiLin-MV commented Jun 14, 2024

Using the latest version of vcpkg for local installation does not reproduce the issue.

It might be file permissions issue. Please try vcpkg install libffi with latest vcpkg to check whether the mentioned port could be built.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

2 participants