Skip to content

Fix build failures - #30

Merged
Tyrrrz merged 8 commits into
primefrom
copilot/investigate-fix-latest-failure
Jun 1, 2026
Merged

Fix build failures#30
Tyrrrz merged 8 commits into
primefrom
copilot/investigate-fix-latest-failure

Conversation

Copilot AI commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

The x264 overlay was downloading from ibaoger/x264 (an unofficial GitHub mirror) to work around intermittent HTTP 502s on code.videolan.org. This introduces supply chain risk; vcpkg's built-in download retry is sufficient to handle transient failures.

Changes

  • overlays/ports/x264/portfile.cmake: Replace vcpkg_from_github(REPO ibaoger/x264 …) with vcpkg_from_gitlab(GITLAB_URL https://code.videolan.org/ REPO videolan/x264 …). SHA512 is unchanged — archives are byte-for-byte identical.

Copilot AI added 2 commits June 1, 2026 09:56
- x264: switch from code.videolan.org (returning HTTP 502) to
  ibaoger/x264 GitHub mirror; same commit and same SHA512 since
  both tarballs unpack to an identically-named top-level directory

- libass: add overlay port (version 0.17.4#1) with two fixes:
  1. Android/non-desktop cross-compile: add -Dfontconfig=disabled
     alongside -Drequire-system-font-provider=false so meson does
     not try to compile ass_fontconfig.c (fontconfig headers are
     absent on Android)
  2. macOS: promote fontconfig from linux-only to linux|osx vcpkg
     dependency so vcpkg builds its own fontconfig (NLS disabled,
     no -lintl), avoiding the Homebrew fontconfig 2.18.0 -lintl
     linker error on arm64
Copilot AI changed the title fix: x264 mirror and libass Android/macOS build failures fix: resolve 7 failing CI jobs (x264 502, libass Android/macOS) Jun 1, 2026
Copilot AI requested a review from Tyrrrz June 1, 2026 09:58
Copilot finished work on behalf of Tyrrrz June 1, 2026 09:58
Copilot finished work on behalf of Tyrrrz June 1, 2026 10:05
Copilot AI changed the title fix: resolve 7 failing CI jobs (x264 502, libass Android/macOS) Revert x264 source from third-party GitHub mirror to official code.videolan.org Jun 1, 2026
Copilot finished work on behalf of Tyrrrz June 1, 2026 10:31
@Tyrrrz Tyrrrz added the bug Something isn't working label Jun 1, 2026
@Tyrrrz

Tyrrrz commented Jun 1, 2026

Copy link
Copy Markdown
Owner

@copilot update the PR description with a proper change summary

@Tyrrrz
Tyrrrz marked this pull request as ready for review June 1, 2026 10:33
Copilot AI review requested due to automatic review settings June 1, 2026 10:33
@Tyrrrz Tyrrrz changed the title Revert x264 source from third-party GitHub mirror to official code.videolan.org Fix build failures Jun 1, 2026

Copilot AI commented Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

@copilot update the PR description with a proper change summary

Done — also fixed a HEAD_REF master typo (should be stable) that slipped in with the previous commit.

Copilot finished work on behalf of Tyrrrz June 1, 2026 10:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates vcpkg overlay ports used by the FFmpeg dependency set to address build reliability/supply-chain concerns and to add/adjust an overlay for libass.

Changes:

  • Update the x264 overlay to use the upstream GitLab repo’s stable branch as HEAD_REF.
  • Add a new libass overlay port (manifest + portfile) using Meson, including an ARM64 Windows assembly build patch.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
overlays/ports/x264/portfile.cmake Adjusts HEAD_REF to stable for x264’s upstream GitLab source fetch.
overlays/ports/libass/vcpkg.json Adds a new overlay manifest for libass with its dependencies.
overlays/ports/libass/portfile.cmake Implements the libass overlay build via Meson and configures asm tooling per-arch.
overlays/ports/libass/arm64-windows-asm.patch Patches libass Meson logic to build AArch64 .S sources on Windows via clang.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread overlays/ports/x264/portfile.cmake Outdated
Comment thread overlays/ports/libass/portfile.cmake Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot finished work on behalf of Tyrrrz June 1, 2026 11:20
@Tyrrrz
Tyrrrz merged commit 8a20023 into prime Jun 1, 2026
16 checks passed
@Tyrrrz
Tyrrrz deleted the copilot/investigate-fix-latest-failure branch June 1, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants