Skip to content

[egl] Build failure #28688

@nodedev74

Description

@nodedev74

Host Environment

  • OS: Windows 11
  • Compiler: MinGW-w64 [MSYS2]
  • Triplet: x64-mingw-dynamic

To Reproduce

Steps to reproduce the behavior:

./vcpkg install egl

Failure logs

  • Build message:
Computing installation plan...
The following packages will be built and installed:
    egl[core]:x64-mingw-dynamic -> 2022-12-04
Detecting compiler hash for triplet x64-mingw-dynamic...
Restored 0 package(s) from C:\Users\buele\AppData\Local\vcpkg\archives in 170 us. Use --debug to see more details.
Installing 1/1 egl:x64-mingw-dynamic...
Building egl[core]:x64-mingw-dynamic...
warning: -- Using community triplet x64-mingw-dynamic. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: C:\DevTools\vcpkg\triplets\community\x64-mingw-dynamic.cmake
-- Fixing pkgconfig file: C:/DevTools/vcpkg/packages/egl_x64-mingw-dynamic/lib/pkgconfig/egl.pc
-- Using cached msys-mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst.
-- Using msys root at C:/DevTools/vcpkg/downloads/tools/msys2/9a1ec3f33446b195
CMake Error at scripts/cmake/vcpkg_fixup_pkgconfig.cmake:31 (message):

  C:/DevTools/vcpkg/downloads/tools/msys2/9a1ec3f33446b195/mingw32/bin/pkg-config.exe
  --exists egl failed with error code: 1

      ENV{PKG_CONFIG_PATH}: "C:/DevTools/vcpkg/packages/egl_x64-mingw-dynamic/lib/pkgconfig;C:/DevTools/vcpkg/packages/egl_x64-mingw-dynamic/share/pkgconfig;C:/DevTools/vcpkg/installed/x64-mingw-dynamic/lib/pkgconfig;C:/DevTools/vcpkg/installed/x64-mingw-dynamic/share/pkgconfig"
      output: Package opengl was not found in the pkg-config search path.

  Perhaps you should add the directory containing `opengl.pc'

  to the PKG_CONFIG_PATH environment variable

  Package 'opengl', required by 'egl', not found
Call Stack (most recent call first):
  scripts/cmake/vcpkg_fixup_pkgconfig.cmake:154 (z_vcpkg_fixup_pkgconfig_check_files)
  ports/egl/portfile.cmake:10 (vcpkg_fixup_pkgconfig)
  scripts/ports.cmake:147 (include)
  • buildtrees/egl/x64-mingw-dynamic.vcpkg_abi_info.txt
ENV:PATH 629d3e7738a2270aa0caf4827eb9a3a1385b176ed8e4390d8280ffab68922b68
angle 1d6aa9980a7708c3afcaa4847004c85985e105f8f32c6f8eed6add79c14d1e19
cmake 3.25.1
egl.pc.in 4f9ea65045b991d2a301181741f6ade7b37a6aa8a57198f80f2dffe70af4aad9
features core
opengl 839f27146a6f4b0da9345e48d05d2c3db0e5a4b7709f6c41aedac0ba00706d9d
portfile.cmake 71834259c4a3251a020f1c80bb06c125a3fed495145cc8ff022b532a7f374d1a
ports.cmake b4accc7941cb5ff993e1a0434cea6df3e99331137294958437b2b86b7216e2e2
post_build_checks 2
powershell 7.3.1
triplet x64-mingw-dynamic
triplet_abi 621e918dca7fdc6cb403bce0ba31dcf1fc68dfe47bec975bdcc66f0ea79dc548-91dd9574fdb1f05fff793a5f39126d3404f6bf303be55a2e7f81b71a14396041-7ad91d8e1752a5cc1e5aa4d57fd66a89629a04bb
vcpkg-cmake-wrapper.cmake bfe7ff2ffa0884ad457a11f4ddfbc04d824bb17b884e0c3e228b5ef5cfb79218
vcpkg.json 00125c0ec775964828fb1e18affb5bf04fa79ef5f2d2e261ad3ba93b77fa4630
vcpkg_fixup_pkgconfig 433d0d235b4e9f6c7bb8744a2f06a9f534b355da67d0d85b7c2daf15c8c77671

Additional context

  • git pull and vcpkg update
  • looking for opengl.pc (no file found)

Metadata

Metadata

Assignees

Labels

category:community-tripletA PR or issue related to community triplets not officially validated by the vcpkg team.category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions