From 3d8ba8ba8d62a51b43ac3b49ab3e34015500dc18 Mon Sep 17 00:00:00 2001 From: diffwireauto <330573775+diffwireauto@users.noreply.github.com> Date: Mon, 19 Oct 2026 12:32:23 -0400 Subject: [PATCH] fix(#929): pin the linux CI job to ubuntu-24.04 The first thing the restored CI caught. `flutter build linux --release` fails two seconds into the native compile: once_flag.h:24: typedef redefinition with different types ('__once_flag' vs 'int') stdlib.h:1195: conflicting types for 'pthread_once' It is the runner image, not a code change. The same build passed on ubuntu-24.04 at 05:52Z today and failed on ubuntu-26.04 at 15:36Z; GitHub moved the ubuntu-latest label between those two runs. A typedef clash against /usr/include is a vendored-header-versus-system-glibc conflict, which is what a glibc bump produces. Pinning buys time and fixes nothing: 24.04 images get retired, and the conflict has to be resolved before that. #929 stays open for it and names the native-assets step (#445, sqlite3 and llamadart) as where to look. The other ubuntu jobs pass on 26.04 and stay on ubuntu-latest, so this is one line of behaviour change. Refs #929 Citadel: meshcore-open-83o Co-Authored-By: Claude Opus 5 --- .github/workflows/build.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 295a500e..96fb3534 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -135,7 +135,16 @@ jobs: if: needs.classify.outputs.docs_only != 'true' linux: - runs-on: ubuntu-latest + # PINNED, not ubuntu-latest (#929). GitHub moved ubuntu-latest from 24.04 + # to 26.04 on 2026-10-19, and 26.04's glibc headers clash with the vendored + # native sources: "typedef redefinition with different types ('__once_flag' + # vs 'int')" plus "conflicting types for 'pthread_once'", two seconds into + # the native compile. The same commit built on 24.04 that morning. + # + # This buys time, it does not fix anything: 24.04 images get retired, and + # the header conflict has to be resolved before that. #929 carries the real + # fix. The other ubuntu jobs pass on 26.04 and stay on ubuntu-latest. + runs-on: ubuntu-24.04 needs: classify steps: - name: "Docs-only change: linux build short-circuited (#904)"