Closed Melio-1 closed 1 week ago
This issue should have been fixed by #37396. Are you using manifest mode? If yes please provide vcpkg.json
.
This issue should have been fixed by #37396. Are you using manifest mode? If yes please provide
vcpkg.json
.
no i'm using classic mode
So did you update the installed ports? Classic mode doesn't do that automatically.
So did you update the installed ports? Classic mode doesn't do that automatically.
yes, the error appeared after updating the ports
The installed ports, not just the git checkout of ports
?
$ ./vcpkg list meson
vcpkg-tool-meson:x64-linux 1.5.1 Meson build system
The installed ports, not just the git checkout of
ports
?$ ./vcpkg list meson vcpkg-tool-meson:x64-linux 1.5.1 Meson build system
I think there are different problems showing here. vcpkg CI is not affected by the problem, so let's focus on where the difference starts. The problem is that harfbuzz cannot be found.
Run-time dependency harfbuzz found: NO (tried pkgconfig and cmake)
There is another problem with meson detecting dependencies via cmake in vcpkg. But I think you must resolve the pkgconfig part:
Determining dependency 'harfbuzz' with pkg-config executable 'P:/dev/vcpkg/downloads/tools/msys2/1e74ca60daa10104/mingw64/bin/pkg-config.exe'
env[PKG_CONFIG]: P:/dev/vcpkg/downloads/tools/msys2/1e74ca60daa10104/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_PATH]: P:/dev/vcpkg/installed/x64-windows/debug/lib/pkgconfig;P:/dev/vcpkg/installed/x64-windows/share/pkgconfig
-----------
Called: `P:/dev/vcpkg/downloads/tools/msys2/1e74ca60daa10104/mingw64/bin/pkg-config.exe --modversion harfbuzz` -> 1
stderr:
Package harfbuzz was not found in the pkg-config search path.
Perhaps you should add the directory containing `harfbuzz.pc'
to the PKG_CONFIG_PATH environment variable
Package 'harfbuzz' not found
-----------
IMO this is expected to work for the combination of vcpkg, meson, harfbuzz. There must be lib/pkgconfig/harfbuzz.pc
and debug/lib/pkgconfig/harfbuzz.pc
.
I think there are different problems showing here. vcpkg CI is not affected by the problem, so let's focus on where the difference starts. The problem is that harfbuzz cannot be found.
Run-time dependency harfbuzz found: NO (tried pkgconfig and cmake)
There is another problem with meson detecting dependencies via cmake in vcpkg. But I think you must resolve the pkgconfig part:
Determining dependency 'harfbuzz' with pkg-config executable 'P:/dev/vcpkg/downloads/tools/msys2/1e74ca60daa10104/mingw64/bin/pkg-config.exe' env[PKG_CONFIG]: P:/dev/vcpkg/downloads/tools/msys2/1e74ca60daa10104/mingw64/bin/pkg-config.exe env[PKG_CONFIG_PATH]: P:/dev/vcpkg/installed/x64-windows/debug/lib/pkgconfig;P:/dev/vcpkg/installed/x64-windows/share/pkgconfig ----------- Called: `P:/dev/vcpkg/downloads/tools/msys2/1e74ca60daa10104/mingw64/bin/pkg-config.exe --modversion harfbuzz` -> 1 stderr: Package harfbuzz was not found in the pkg-config search path. Perhaps you should add the directory containing `harfbuzz.pc' to the PKG_CONFIG_PATH environment variable Package 'harfbuzz' not found -----------
IMO this is expected to work for the combination of vcpkg, meson, harfbuzz. There must be
lib/pkgconfig/harfbuzz.pc
anddebug/lib/pkgconfig/harfbuzz.pc
.
I searched in this path vcpkg/installed/x64-windows/debug/lib/pkgconfig/
and didn't find harfbuzz.pc
file there, so what should i do?
I think there are different problems showing here. vcpkg CI is not affected by the problem, so let's focus on where the difference starts. The problem is that harfbuzz cannot be found.
Run-time dependency harfbuzz found: NO (tried pkgconfig and cmake)
There is another problem with meson detecting dependencies via cmake in vcpkg. But I think you must resolve the pkgconfig part:
Determining dependency 'harfbuzz' with pkg-config executable 'P:/dev/vcpkg/downloads/tools/msys2/1e74ca60daa10104/mingw64/bin/pkg-config.exe' env[PKG_CONFIG]: P:/dev/vcpkg/downloads/tools/msys2/1e74ca60daa10104/mingw64/bin/pkg-config.exe env[PKG_CONFIG_PATH]: P:/dev/vcpkg/installed/x64-windows/debug/lib/pkgconfig;P:/dev/vcpkg/installed/x64-windows/share/pkgconfig ----------- Called: `P:/dev/vcpkg/downloads/tools/msys2/1e74ca60daa10104/mingw64/bin/pkg-config.exe --modversion harfbuzz` -> 1 stderr: Package harfbuzz was not found in the pkg-config search path. Perhaps you should add the directory containing `harfbuzz.pc' to the PKG_CONFIG_PATH environment variable Package 'harfbuzz' not found -----------
IMO this is expected to work for the combination of vcpkg, meson, harfbuzz. There must be
lib/pkgconfig/harfbuzz.pc
anddebug/lib/pkgconfig/harfbuzz.pc
.I searched in this path
vcpkg/installed/x64-windows/debug/lib/pkgconfig/
and didn't findharfbuzz.pc
file there, so what should i do?
Also there is no harfbuzz.pc
file in vcpkg/installed/x64-windows/lib/pkgconfig/
Reinstall harfbuzz.
Reinstall harfbuzz.
I treid 3 times and didn't work, but when i removed open62541 package, it worked fine.
Reinstall harfbuzz.
thanks for your help, i appreciate your every solution give it to me 🤍
I treid 3 times and didn't work, but when i removed open62541 package, it worked fine.
That's surprising, but thanks for reporting it here.
Package: pango:x64-windows@1.50.14#4
Host Environment
To Reproduce
vcpkg install gtkmm
Failure logs
P:\dev\vcpkg\buildtrees\pango\config-x64-windows-dbg-out.log
``` The Meson build system Version: 1.5.1 Source dir: P:\dev\vcpkg\buildtrees\pango\src\1.50.14-36c00a235a.clean Build dir: P:\dev\vcpkg\buildtrees\pango\x64-windows-dbg Build type: native build Project name: pango Project version: 1.50.14 DEPRECATION: None of the values ['gnu99'] are supported by the c compiler. However, the deprecated gnu99 std currently falls back to c99. This will be an error in the future. If the project supports both GNU and MSVC compilers, a value such as "c_std=gnu11,c11" specifies that GNU is preferred but it can safely fallback to plain c11. C compiler for the host machine: P:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe -DWIN32 -D_WINDOWS -utf-8 -MP -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1 (msvc 19.41.34120 "Microsoft (R) C/C++ Optimizing Compiler Version 19.41.34120 for x64") C linker for the host machine: P:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/link.exe link 14.41.34120.0 C++ compiler for the host machine: P:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1 (msvc 19.41.34120 "Microsoft (R) C/C++ Optimizing Compiler Version 19.41.34120 for x64") C++ linker for the host machine: P:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/link.exe link 14.41.34120.0 Host machine cpu family: x86_64 Host machine cpu: x86_64 Compiler for C supports arguments -FImsvc_recommended_pragmas.h: NO Compiler for C supports arguments -utf-8: YES Compiler for C supports arguments -FImsvc_recommended_pragmas.h: NO (cached) Compiler for C supports arguments -utf-8: YES (cached) Message: Enabling various debug infrastructure Library m found: NO Found pkg-config: YES (P:/dev/vcpkg/downloads/tools/msys2/1e74ca60daa10104/mingw64/bin/pkg-config.exe) 2.2.0 Run-time dependency glib-2.0 found: YES 2.78.4 Run-time dependency gobject-2.0 found: YES 2.78.4 Run-time dependency gio-2.0 found: YES 2.78.4 Run-time dependency fribidi found: YES 1.0.13 Dependency libthai skipped: feature libthai disabled Found CMake: P:/dev/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe (3.29.2) Run-time dependency harfbuzz found: NO (tried pkgconfig and cmake) Looking for a fallback subproject for the dependency harfbuzz ..\src\1.50.14-36c00a235a.clean\meson.build:244:15: ERROR: Automatic wrap-based subproject downloading is disabled A full log can be found at P:\dev\vcpkg\buildtrees\pango\x64-windows-dbg\meson-logs\meson-log.txt ```P:\dev\vcpkg\buildtrees\pango\config-x64-windows-dbg-meson-log.txt.log
``` Build started at 2024-08-24T23:44:03.777915 Main binary: P:\dev\vcpkg\downloads\tools\python\python-3.11.8-x64\python.exe Build Options: -Dfontconfig=enabled -Dsysprof=disabled -Dlibthai=disabled -Dcairo=enabled -Dxft=disabled -Dfreetype=enabled -Dgtk_doc=false -Dintrospection=disabled -Doptimization=plain -Ddebug=true '-Dcmake_prefix_path=['"'"'P:/dev/vcpkg/installed/x64-windows/debug'"'"','"'"'P:/dev/vcpkg/installed/x64-windows'"'"','"'"'P:/dev/vcpkg/installed/x64-windows/share'"'"']' -Dprefix=P:/dev/vcpkg/packages/pango_x64-windows/debug -Dincludedir=../include -Dlibdir=lib -Dbackend=ninja -Dwrap_mode=nodownload -Dpkgconfig.relocatable=True '-Dpkg_config_path=['"'"'P:/dev/vcpkg/installed/x64-windows/debug/lib/pkgconfig'"'"','"'"'P:/dev/vcpkg/installed/x64-windows/share/pkgconfig'"'"']' --native-file=P:/dev/vcpkg/buildtrees/pango/meson-x64-windows-dbg.log Python system: Windows The Meson build system Version: 1.5.1 Source dir: P:\dev\vcpkg\buildtrees\pango\src\1.50.14-36c00a235a.clean Build dir: P:\dev\vcpkg\buildtrees\pango\x64-windows-dbg Build type: native build Project name: pango Project version: 1.50.14 ----------- Detecting compiler via: `"P:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe" -DWIN32 -D_WINDOWS -utf-8 -MP -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1 /?` -> 0 stdout: C/C++ COMPILER OPTIONS -OPTIMIZATION- /O1 maximum optimizations (favor space) /O2 maximum optimizations (favor speed) /Ob