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

[pkgconf] Build error #27458

Closed
koprok opened this issue Oct 25, 2022 · 2 comments
Closed

[pkgconf] Build error #27458

koprok opened this issue Oct 25, 2022 · 2 comments
Assignees
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. category:port-bug The issue is with a library, which is something the port should already support

Comments

@koprok
Copy link
Contributor

koprok commented Oct 25, 2022

Host Environment

  • OS: [Windows]
  • Compiler: MinGW GCC 8.1

To Reproduce

Steps to reproduce the behavior:

./vcpkg install --triplet x64-mingw-dynamic pkgconf

Failure logs

CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:96 (message):
    Command failed: C:/GitLab-Runner/builds/q99Wq7Cg/0/common/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe install -v
    Working Directory: C:/GitLab-Runner/builds/q99Wq7Cg/0/common/vcpkg/buildtrees/pkgconf/x64-mingw-dynamic-dbg
    Error code: 1
    See logs for more information:
      C:\GitLab-Runner\builds\q99Wq7Cg\0\common\vcpkg\buildtrees\pkgconf\package-x64-mingw-dynamic-dbg-out.log
Call Stack (most recent call first):
  scripts/cmake/vcpkg_install_meson.cmake:33 (vcpkg_execute_required_process)
  ports/pkgconf/portfile.cmake:67 (vcpkg_install_meson)
  scripts/ports.cmake:147 (include)

package-x64-mingw-dynamic-dbg-out.log
meson-x64-mingw-dynamic-dbg.log

Additional context

Hi, this issue appeared after upgrading from vcpkg tag 2022.09.27 to 2022.10.19.

I have investigated the issue a little bit. What I found is that vcpkg_configure_meson() removes the - prefix from all libraries passed to the linker, e.g. -lkernel32 becomes lkernel32.
I hope this helps to fix this bug quickly.

@koprok koprok added the category:port-bug The issue is with a library, which is something the port should already support label Oct 25, 2022
@Neumann-A
Copy link
Contributor

closed by #27380

@LilyWangLL LilyWangLL added the category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. label Oct 26, 2022
@dg0yt
Copy link
Contributor

dg0yt commented Oct 26, 2022

Fix is merged now.

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. category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

No branches or pull requests

5 participants