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 <noreply@anthropic.com>
pull/928/head
diffwireauto 2 months ago
parent 1c23f0d583
commit 3d8ba8ba8d

@ -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)"

Loading…
Cancel
Save

Powered by TurnKey Linux.