microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.31k stars 6.44k forks source link

[skia] Build failure on x64-linux #41978

Open davidkennedydev opened 2 weeks ago

davidkennedydev commented 2 weeks ago

Package: skia[core,fontconfig,freetype,gl,harfbuzz,icu,vulkan]:x64-linux@129

Host Environment

To Reproduce

vcpkg install --no-print-usage

Failure logs

-- Using cached google-skia-501e9efaa2fc929ec67c44da6dbaf9335264b559.tar.gz.
-- Cleaning sources at /opt/ladybird/Toolchain/Tarballs/vcpkg/buildtrees/skia/src/335264b559-a895e3b511.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /opt/ladybird/Toolchain/Tarballs/vcpkg/downloads/google-skia-501e9efaa2fc929ec67c44da6dbaf9335264b559.tar.gz
-- Applying patch disable-msvc-env-setup.patch
-- Applying patch skia-include-string.patch
-- Applying patch bentleyottmann-build.patch
-- Applying patch graphite.patch
-- Applying patch vulkan-headers.patch
-- Applying patch pdfsubsetfont-uwp.diff
-- Using source at /opt/ladybird/Toolchain/Tarballs/vcpkg/buildtrees/skia/src/335264b559-a895e3b511.clean
-- Creating third_party/externals/dng_sdk
-- Using cached /opt/ladybird/Toolchain/Tarballs/vcpkg/downloads/skia-c8d0c9b1d16bfda56f15165d39e0ffa360a11123.tar.gz
-- Extracting source /opt/ladybird/Toolchain/Tarballs/vcpkg/downloads/skia-c8d0c9b1d16bfda56f15165d39e0ffa360a11123.tar.gz
-- Using source at /opt/ladybird/Toolchain/Tarballs/vcpkg/buildtrees/skia/src/a360a11123-b01459b940.clean
-- Creating third_party/externals/piex
-- Using cached /opt/ladybird/Toolchain/Tarballs/vcpkg/downloads/skia-bb217acdca1cc0c16b704669dd6f91a1b509c406.tar.gz
-- Extracting source /opt/ladybird/Toolchain/Tarballs/vcpkg/downloads/skia-bb217acdca1cc0c16b704669dd6f91a1b509c406.tar.gz
-- Using source at /opt/ladybird/Toolchain/Tarballs/vcpkg/buildtrees/skia/src/a1b509c406-e204f39399.clean
-- Creating third_party/externals/wuffs
-- Using cached /opt/ladybird/Toolchain/Tarballs/vcpkg/downloads/skia-e3f919ccfe3ef542cfc983a82146070258fb57f8.tar.gz
-- Extracting source /opt/ladybird/Toolchain/Tarballs/vcpkg/downloads/skia-e3f919ccfe3ef542cfc983a82146070258fb57f8.tar.gz
-- Using source at /opt/ladybird/Toolchain/Tarballs/vcpkg/buildtrees/skia/src/0258fb57f8-7a7a00491c.clean
CMake Error at /opt/ladybird/Build/ladybird/vcpkg_installed/x64-linux/share/vcpkg-pkgconfig-get-modules/x_vcpkg_pkgconfig_get_modules.cmake:31 (execute_process):
  execute_process failed command indexes:

    1: "Abnormal exit with child return code: Segmentation fault"

Call Stack (most recent call first):
  buildtrees/versioning_/versions/skia/76a242d24e0e810ad8c78e3deaef69d4b634e8fc/skia-functions.cmake:92 (x_vcpkg_pkgconfig_get_modules)
  buildtrees/versioning_/versions/skia/76a242d24e0e810ad8c78e3deaef69d4b634e8fc/skia-functions.cmake:73 (third_party_from_pkgconfig)
  buildtrees/versioning_/versions/skia/76a242d24e0e810ad8c78e3deaef69d4b634e8fc/portfile.cmake:242 (get_externals)
  scripts/ports.cmake:192 (include)

Additional context

vcpkg.json ``` { "builtin-baseline": "2960d7d80e8d09c84ae8abf15c12196c2ca7d39a", "dependencies": [ { "name": "curl", "features": [ "brotli", "http2" ] }, { "name": "dirent", "platform": "windows" }, { "name": "fontconfig", "platform": "linux | freebsd | openbsd | osx | windows" }, "harfbuzz", "icu", "libjpeg-turbo", "libjxl", { "name": "libpng", "features": [ "apng" ] }, { "name": "libavif", "features": [ "dav1d" ] }, { "name": "libwebp", "features": [ "anim", "libwebpmux", "simd" ] }, "simdutf", { "name": "skia", "platform": "osx", "features": [ "metal", "fontconfig" ] }, { "name": "skia", "platform": "linux | freebsd | openbsd | windows", "features": [ "vulkan" ] }, { "name": "skia", "platform": "android" }, "sqlite3", { "name": "vulkan", "platform": "!android" }, { "name": "vulkan-headers", "platform": "!android" }, "woff2" ], "overrides": [ { "name": "curl", "version": "8.10.1#0" }, { "name": "fontconfig", "version": "2.14.2#1" }, { "name": "icu", "version": "74.2#2" }, { "name": "libjpeg-turbo", "version": "3.0.2" }, { "name": "libjxl", "version": "0.11.0" }, { "name": "libpng", "version": "1.6.43#1" }, { "name": "libavif", "version": "1.0.4#1" }, { "name": "libwebp", "version": "1.4.0#1" }, { "name": "simdutf", "version": "5.5.0#0" }, { "name": "skia", "version": "129#0" }, { "name": "sqlite3", "version": "3.46.1" }, { "name": "woff2", "version": "1.0.2#4" } ] } ```
jimwang118 commented 2 weeks ago

Sorry, i cannot reproduce this issue locally. Image

dg0yt commented 2 weeks ago

CMake Error at /opt/ladybird/Build/ladybird/vcpkg_installed/x64-linux/share/vcpkg-pkgconfig-get-modules/x_vcpkg_pkgconfig_get_modules.cmake:31 (execute_process):
 execute_process failed command indexes:

   1: "Abnormal exit with child return code: Segmentation fault"

AFAICT the failing command is pkg-config, a system command. This should be investigated on your system.

Sorry, i cannot reproduce this issue locally.

Surprise! It builds in vcpkg CI.