Skip to content

fix(ci): install gperf build deps in Linux AppImage workflow - #523

Draft
mberrys wants to merge 2 commits into
cdx/session-07-package-prooffrom
cursor/fix-linux-appimage-gperf-5319
Draft

fix(ci): install gperf build deps in Linux AppImage workflow#523
mberrys wants to merge 2 commits into
cdx/session-07-package-prooffrom
cursor/fix-linux-appimage-gperf-5319

Conversation

@mberrys

@mberrys mberrys commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Problem

Linux AppImage

Linux_AppImage fails at VCPKG: Install Project Dependencies when vcpkg tries to build gperf:x64-linux@3.3 (a fontconfig dependency). The vcpkg port requires system packages that are not installed on the runner:

gperf currently requires the following programs from the system package manager:
    autoconf autoconf-archive automake libtoolize

On Debian and Ubuntu derivatives:
    sudo apt install autoconf autoconf-archive automake libtool

Observed on runs 33613203166, 33612490967, and 33612887274.

Windows MSI

Windows_MSI fails at Validate staged install tree on run 33612493911 (SHA 20baab09). scripts/smoke-test-install.ps1 calls & $pdfTool --version before $pdfTool is assigned, which throws under Set-StrictMode.

Fix

  1. Add autoconf, autoconf-archive, automake, and libtool to the Install dependencies step in .github/workflows/LinuxInstall.yml.
  2. Initialize $pdfTool immediately after the required-file assertions in scripts/smoke-test-install.ps1, before the version/capabilities probes.

Verification

  • python3 scripts/agent/check-change.py --base origin/cdx/session-07-package-proof — pass
  • Linux apt packages confirmed available on ubuntu-24.04 runners

Notes

  • Minimal workflow/script fixes only; no packaging redesign.
  • Targets cdx/session-07-package-proof so Session 07 package re-runs pick up the fix.
Open in Web Open in Cursor 

cursoragent and others added 2 commits September 2, 2026 09:25
vcpkg's gperf port requires autoconf, autoconf-archive, automake, and
libtool (libtoolize) from the system package manager. Without them the
Linux_AppImage workflow fails at 'VCPKG: Install Project Dependencies'
when building fontconfig's gperf dependency.

Co-authored-by: michael berry <mberrys@users.noreply.github.com>
The version and capabilities probes run before $pdfTool was assigned,
causing Windows_MSI to fail at Validate staged install tree under
Set-StrictMode. Move the Join-Path assignment above the first use.

Co-authored-by: michael berry <mberrys@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants