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

[skia] Build failure on x64-linux #43076

Closed
dflock opened this issue Jan 3, 2025 · 2 comments
Closed

[skia] Build failure on x64-linux #43076

dflock opened this issue Jan 3, 2025 · 2 comments
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@dflock
Copy link

dflock commented Jan 3, 2025

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

Host Environment

  • Host: x64-linux
  • Compiler: Clang 18.1.8
  • vcpkg-tool version: 2024-12-09-1005b78fa1bf1dde1a20c2734cba4ea61ca94d9a
    vcpkg-scripts version: b322364 2024-12-16 (3 weeks ago)

To Reproduce

vcpkg install --no-print-usage

Failure logs

-- Using cached google-skia-501e9efaa2fc929ec67c44da6dbaf9335264b559.tar.gz.
-- Cleaning sources at /home/duncan/dev/ladybird/Build/vcpkg/buildtrees/skia/src/335264b559-747e4e3c5f.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/duncan/dev/ladybird/Build/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
-- Applying patch skparagraph-gni.diff
-- Using source at /home/duncan/dev/ladybird/Build/vcpkg/buildtrees/skia/src/335264b559-747e4e3c5f.clean
CMake Warning at /home/duncan/dev/ladybird/Meta/CMake/vcpkg/overlay-ports/skia/skia-functions.cmake:15 (message):
  Dependency dng_sdk diverges from upstream.  Upstream:
  "https://android.googlesource.com/platform/external/dng_sdk.git@c8d0c9b1d16bfda56f15165d39e0ffa360a11123",
  Actual:
  "https://android.googlesource.com/platform/external/dng_sdk.git@679499cc9b92cfb0ae1dccbfd7e97ce719d23576"
Call Stack (most recent call first):
  /home/duncan/dev/ladybird/Meta/CMake/vcpkg/overlay-ports/skia/portfile.cmake:39 (declare_external_from_git)
  scripts/ports.cmake:196 (include)


-- Creating third_party/externals/dng_sdk
-- Fetching https://android.googlesource.com/platform/external/dng_sdk.git 679499cc9b92cfb0ae1dccbfd7e97ce719d23576...
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: /usr/bin/git fetch https://android.googlesource.com/platform/external/dng_sdk.git 679499cc9b92cfb0ae1dccbfd7e97ce719d23576 --depth 1 -n
    Working Directory: /home/duncan/dev/ladybird/Build/vcpkg/downloads/git-tmp
    Error code: 128
    See logs for more information:
      /home/duncan/dev/ladybird/Build/vcpkg/buildtrees/skia/git-fetch-x64-linux-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_from_git.cmake:86 (vcpkg_execute_required_process)
  /home/duncan/dev/ladybird/Meta/CMake/vcpkg/overlay-ports/skia/skia-functions.cmake:62 (vcpkg_from_git)
  /home/duncan/dev/ladybird/Meta/CMake/vcpkg/overlay-ports/skia/portfile.cmake:243 (get_externals)
  scripts/ports.cmake:196 (include)



/home/duncan/dev/ladybird/Build/vcpkg/buildtrees/skia/git-fetch-x64-linux-err.log
fatal: unable to access 'https://android.googlesource.com/platform/external/dng_sdk.git/': Failed to connect to android.googlesource.com port 443 after 5 ms: Couldn't connect to server

Additional context

vcpkg.json
{
  "builtin-baseline": "b322364f06308bdd24823f9d8f03fe0cc86fd46f",
  "dependencies": [
    {
      "name": "angle",
      "platform": "osx"
    },
    {
      "name": "curl",
      "features": [
        "brotli",
        "http2"
      ]
    },
    {
      "name": "dirent",
      "platform": "windows"
    },
    {
      "name": "ffmpeg",
      "platform": "!android",
      "features": [
        "avcodec",
        "avformat",
        "dav1d",
        "openh264",
        "opus",
        "webp",
        "theora",
        "vorbis",
        "vpx",
        "zlib"
      ]
    },
    {
      "name": "fontconfig",
      "platform": "linux | freebsd | openbsd | osx | windows"
    },
    {
      "name": "harfbuzz",
      "platform": "linux | freebsd | openbsd | windows",
      "features": [
        "freetype",
        "icu"
      ]
    },
    {
      "name": "harfbuzz",
      "platform": "osx",
      "features": [
        "coretext",
        "icu"
      ]
    },
    "icu",
    "libjpeg-turbo",
    "libjxl",
    {
      "name": "libpng",
      "features": [
        "apng"
      ]
    },
    "libproxy",
    {
      "name": "libavif",
      "features": [
        "dav1d"
      ]
    },
    {
      "name": "libwebp",
      "features": [
        "anim",
        "libwebpmux",
        "simd"
      ]
    },
    {
      "name": "mman",
      "platform": "windows"
    },
    "openssl",
    {
      "name": "pthread",
      "platform": "windows"
    },
    "simdutf",
    {
      "name": "skia",
      "platform": "osx",
      "features": [
        "metal",
        "fontconfig",
        "harfbuzz",
        "icu"
      ]
    },
    {
      "name": "skia",
      "platform": "linux | freebsd | openbsd | windows",
      "features": [
        "freetype",
        "fontconfig",
        "harfbuzz",
        "icu",
        "vulkan"
      ]
    },
    {
      "name": "skia",
      "platform": "android"
    },
    "sqlite3",
    {
      "name": "vulkan",
      "platform": "!android"
    },
    {
      "name": "vulkan-headers",
      "platform": "!android"
    },
    "woff2"
  ],
  "overrides": [
    {
      "name": "angle",
      "version": "chromium_5414#9"
    },
    {
      "name": "curl",
      "version": "8.10.1#0"
    },
    {
      "name": "dirent",
      "version": "1.24#0"
    },
    {
      "name": "ffmpeg",
      "version": "6.1.1#11"
    },
    {
      "name": "fontconfig",
      "version": "2.14.2#1"
    },
    {
      "name": "icu",
      "version": "74.2#2"
    },
    {
      "name": "libjpeg-turbo",
      "version": "3.1.0#0"
    },
    {
      "name": "libjxl",
      "version": "0.11.1"
    },
    {
      "name": "libpng",
      "version": "1.6.43#3"
    },
    {
      "name": "libproxy",
      "version": "0.4.18#3"
    },
    {
      "name": "libavif",
      "version": "1.0.4#1"
    },
    {
      "name": "libwebp",
      "version": "1.4.0#1"
    },
    {
      "name": "mman",
      "version": "git-f5ff813#5"
    },
    {
      "name": "openssl",
      "version": "3.4.0#0"
    },
    {
      "name": "simdutf",
      "version": "5.6.0#0"
    },
    {
      "name": "skia",
      "version": "129#0"
    },
    {
      "name": "sqlite3",
      "version": "3.47.2#0"
    },
    {
      "name": "woff2",
      "version": "1.0.2#4"
    }
  ]
}

@WangWeiLin-MV WangWeiLin-MV added the requires:repro The issue is not currently repro-able label Jan 3, 2025
@WangWeiLin-MV
Copy link
Contributor

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

Please check your network or the proxy setting.

@dflock
Copy link
Author

dflock commented Jan 3, 2025

Sorry, my bad!

@dflock dflock closed this as completed Jan 3, 2025
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