Repository navigation
Open
Description
Part of #1864, the same shape as #2417 (Windows) and #2418 (macOS). obs-rust/cef release 8078 now carries linux_x86_64, macos_arm64 and macos_x86_64; Ubuntu aarch64 still pins 7871, so the CEF guard in the nightly Scheduled run fails on it every day:
ubuntu-aarch64: CEF 7871 is older than Chrome's extended stable (Chromium 156, branch 8078)
(Run 41010694789, 2026-10-30. The same job also lists windows-arm64 and windows-x64, which #2417 covers.)
Scope
recipes/cef/linuxin obs-rust/obs-studio-libs: the same CEF branch 8078, at the same commit as the Linux x86_64 recipe, withtarget_cpu="arm64"and the arm64 sysroot (use_sysroot=true,target_sysroot), and the same GN defines:is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome symbol_level=1 chrome_pgo_phase=0.- Cross-build from this Linux x86_64 host if the arm sysroot is enough, otherwise a native arm64 host. Record which one in the issue, as browser: Upgrade the bundled CEF from 7871 (Chromium 150, end of life) to a supported Chromium #1864 did for the other platforms.
- A recipe test like
tests/test_cef_recipe.pythat checks the codec and symbol flags andtarget_cpu. cef_binary_8078_linux_aarch64.tar.xzwith its SHA-256 in the obs-rust/cef 8078 release, then theCMakePresets.jsonhash in obs-studio.
Acceptance criteria
- The recipe test fails on a missing codec flag or the wrong
target_cpu, and passes with them. - The archives satisfy
ci/test_cef_archive_root.py(flat payload,include/cef_version.hat the archive root), as the macOS ones now do after build(cef): strip the top-level directory from the 8078 macOS archives (#2418) #3016. - The Ubuntu aarch64 build lane with
-DENABLE_BROWSER=ONconfigures and builds against the archive. uv run --no-project ci/cef_support.pyno longer reportsubuntu-aarch64.
Notes
- The 7871 aarch64 archive exists, so the layout and the packaging side has a worked example to copy.
- Disk: the x86_64 recipe needs roughly 150 GB under
bosn; a separate arm64 output directory needs room beside it.
Metadata
Metadata
Assignees
Type
Projects
- StatusShow more project fieldsReady
Activity
zackees commentedon Oct 30, 2026
/ready
Triage: meets Ready. The scope follows the worked macOS path (#2418/#3016): recipe in obs-studio-libs, release asset, then the pin. Acceptance criteria are testable: the recipe test with RED on a wrong flag or
target_cpu,ci/test_cef_archive_root.py, the aarch64 browser build, andcef_support.py. No open dependency. P2 (clears one of the three stale pins that red the nightlyCEF Chromium Supportjob), size:L (a full Chromium build). Record cross versus native arm64 here when decided.zackees commentedon Oct 30, 2026
Claiming: linux aarch64 CEF 8078 (recipe, release asset, pin)
Plan:
recipes/cef/linux/build.sh+Dockerfile: takearm64|x86_64(default x86_64, unchanged),--arm64-build,target_cpu="arm64"inGN_DEFINES, its own out directory andcef_binary_8078_linux_aarch64pack name; a recipe test that fails on the missing arm64 flags (RED) and passes with them (GREEN).sync+buildunder bosn on this Linux x86_64 host (re-run to the 4 h cap until ninja finishes), thenpackwith the glibc floor and codec guards.cef_binary_8078_linux_aarch64.tar.xz+ SHA-256 to the obs-rust/cef8078release, then theCMakePresets.jsonpin in obs-studio and theubuntu-aarch64line of the CEF guard.First PR: step 1 (recipe + test) within a day; the archive needs the build host, so the pin follows separately.
Checked before claiming: CEF's pinned
automate-git.py(8078) accepts--arm64-buildon Linux (build_dir->Release_GN_arm64), and this host has 344 GB free / 16 cores for the checkout, which the x86_64 recipe puts at ~150 GB.Disk check first:
out/cefis empty here, so the arm64 build needs a fresh Chromium sync; I will report the free-space figure on the PR rather than fill the box.zackees commentedon Oct 30, 2026
Design note from reading the existing recipe before starting the edit (so the next tick does not have to rediscover it):
recipes/cef/linux/build.shhardcodes--x64-build,Release_GN_x64,linux64and the archive name; it needs anarm64|x86_64argument likerecipes/cef/macos/build.shalready has (defaultx86_64, so the current archive is unchanged).target_cpu="arm64"inGN_DEFINES(the Linux recipe never setstarget_cpu, so it follows the host) and thelinuxarm64minimal distribution; the pin name on the obs-studio side iscef_binary_8078_linux_aarch64.tar.xz(ci/test_cef_pin.py).packstep runscmake+ninja libcef_dll_wrapperagainst the distribution, which builds for the host by default. For arm64 that wrapper must be arm64, so pack needs the same clang target + Chromium arm64 sysroot as the build, or the wrapper has to come from the build tree; I will settle that against the real build tree rather than guess.install-build-deps.shis called with--no-armtoday; that flag is the 32-bit ARM host set, not arm64, so the arm64 sysroot is expected to come from the depot_tools sysroot hook fortarget_cpu="arm64". Also to confirm on the real sync.Next: branch
infra/3062-cef-linux-arm64in obs-studio-libs with the RED recipe test, then the build itself.zackees commentedon Oct 30, 2026
First PR (draft, recipe only): obs-rust/obs-studio-libs#26 —
recipes/cef/linuxtakesx86_64|arm64(default x86_64), uses--arm64-build+target_cpu=arm64, packscef_binary_8078_linux_aarch64.tar.xz, andpackrefuses an args.gn built for the wrong arch. RED3194d0a, GREEN86b35cb,uv run pytest -q47 passed.Still open on this issue: the real
sync/build/pack arm64on the build host (~150 GB checkout; 344 GB free here,out/cefempty), then the archive + SHA-256, then the obs-studio pin and the guard line.recipe(cef): build Linux arm64 from the x86_64 host (#3062) (#26)
zackees commentedon Oct 30, 2026
Tick progress (worker,
obs-studio4):09dd939onmain("recipe(cef): build Linux arm64 from the x86_64 host"). Marked ready after re-running the branch suite here:uv run --project . pytest -q→ 47 passed on86b35cb; the arm64 flag tests are RED on3194d0aand GREEN on86b35cb.main:bosn run --task cef-linux-sync(log~/dev/obs-rust/cef-sync-3062.log,out/cefon the host, 1.2 GB of the checkout after 2 min, 300 GB free before the run). Sync is hours;buildthen resumes under bosn's 4 h cap until ninja finishes, thenpack arm64.cef_binary_8078_linux_aarch64.tar.xz+ SHA-256 upload to the obs-rust/cef8078release, theCMakePresets.jsonubuntu-aarch64pin, and the browser: Upgrade the bundled CEF from 7871 (Chromium 150, end of life) to a supported Chromium #1864 version-floor guard line.test(cef): an arm64 build must install the arm64 sysroot (RED)
recipe(cef): add the arm64 bosn tasks (#3062) (#27)
test(cef): sync must forward automate flags for a moved branch (RED)
zackees commentedon Oct 30, 2026
Tick progress (worker,
obs-studio4) — the arm64 half could not actually be launched, and now can.Two recipe bugs found by trying to run it, both fixed in obs-rust/obs-studio-libs#27:
bosn run --tasktakes no arguments. The merged recipe reads the architecture as$2, but the threecef-linuxtasks callbuild.sh <step>with no architecture, so every launch built the x86_64 default. obs-ffmpeg: Fix SVT-AV1 rate-control options #27 addscef-linux-{sync,build,pack}-arm64(build.sh <step> arm64) on the same stack. Verified in the container:cef-linux-pack-arm64now reachesbuild.shand reportsno linuxarm64 minimal distribution, which is the correct pre-build state.cef-linux-build-arm64got throughinstall-build-depsand all 117 CEF patches, then died:Path does not exist: /cef/work/chromium/src/out/Release_GN_arm64/args.gn.cef/tools/gn_args.pyonly generates a cpu's configuration whenbuild/linux/debian_bullseye_<cpu>-sysrootexists, and the gclient hook installs only the architecture it synced.build_depsnow runs Chromium's ownsysroot_scripts/install-sysroot.py --arch=arm64for arm64 (confirmed: it downloaded and installeddebian_bullseye_arm64-sysroot).Blocker on the actual build, upstream: branch
8078'sCHROMIUM_BUILD_COMPATIBILITY.txtmoved fromrefs/tags/156.0.8078.48to.80between the sync and the next run, and--no-chromium-historyrefuses a tree at the old tag (Current Chromium checkout with --no-chromium-history is incorrect ... Add --force-clean or --force-update). #27 also letssyncforward flags toautomate-git.pyand addscef-linux-sync-arm64-force. That forced sync is running now (~/dev/obs-rust/cef-sync-arm64-force-3062.log): it re-cloneschromium/srcat 156.0.8078.80, thenbuild_depsreinstalls the arm64 sysroot under the new tree.Still open on this issue: the arm64
cef-linux-build(hours, bosn's 4 h cap per run, resume until ninja finishes), thencef-linux-pack-arm64→cef_binary_8078_linux_aarch64.tar.xz, the SHA-256 upload to obs-rust/cef release8078, and the obs-studio pin bump for ubuntu-aarch64 (that half stays in #1864/#3062 and needs the archive first).Note for the record: the archive will now be Chromium 156.0.8078.80, not
.48like the existing x86_64 archive. If the pins must match exactly, the x86_64 archive has to be rebuilt on the same tag — say so and I will queue that instead of uploading.zackees commentedon Oct 30, 2026
Correction to the comment above: #27 merged the arm64 tasks and the arm64 sysroot only — it landed at 21:29Z, before the
--force-updatepair existed. That pair is obs-rust/obs-studio-libs#28 (sync forwards flags toautomate-git.py+cef-linux-sync-arm64-force), and the forced sync now running uses that recipe from the working tree, not from main.Status of the run:
bosn run --task cef-linux-sync-arm64-forceis at thegclient syncre-clone ofchromium/srcat 156.0.8078.80 (log~/dev/obs-rust/cef-sync-arm64-force-3062.log), 316 GB free. Nothing to upload yet; the arm64buildfollows in a later run because it outlives one bosn 4 h cap.test(cef): sync must forward automate flags for a moved branch (RED)
recipe(cef): forward automate flags from sync, with an arm64 refresh …
zackees commentedon Oct 31, 2026
Worker tick status (2026-10-31 04:50Z,
obs-studio4): the arm64 sync from the last tick did not die of a gclient fault, and the next attempt has one concrete prerequisite.Why the run ended.
bosn run --task cef-linux-sync-arm64-force(job 34) was cancelled by bosn, not by gclient: the run record is~/.local/state/bosn/runs/65cb5f31-…/end.json→{"state":"cancelled"}, and the log's tail isbosn run: stopping; cancelling job 34/manifest app task ended early: setup task was cancelled. A foregroundbosn runlives only as long as the command that started it, so the job died when the tick that launched it ended — five minutes in.The
STALL DETECTED: gclient has been silent for 5 minutesline is not the failure. That string comes from depot_tools'gclient_utils.py(_print_stall_diagnostics,stall_timeout = 300 s): it prints the diagnostics and then keeps waiting. A freshchromium/srcclone is exactly that quiet, so it does not mean the sync wedged and it is not a reason to change the recipe.What the next attempt needs.
--detach(bosn run --task cef-linux-sync-arm64-force --detach), so the sync outlives the tick, then poll the run. Disk is the other half: 229 GB free (87 % used) right now; the earlier arm64 attempts started at 300–316 GB, and a sync plus arm64 build of 156.0.8078.80 needs that headroom.soldr cache prune-target target --forceinobs-studio4recovered only 3 GB this tick. So the job should start once the box is back above ~300 GB free — I am not starting a multi-hour 100 GB+ sync into 229 GB unattended.Still to do after the sync:
cef-linux-build-arm64, thencef-linux-pack-arm64, then uploadlinux_aarch64to the8078release. No tree change was made for this comment.zackees commentedon Oct 31, 2026
Worker tick status (2026-10-31 ~06:20Z,
obs-studio5): the arm64 sync is still disk-blocked, and I reclaimed what was safe.cancelled, not a gclient fault.docker builder prune -f→ 7.1 GB,soldr cache prune-target target --forcein this checkout → 0 B (nothing stale),uv cache prunetimed out at 180 s and is not counted. Free space is 241–246 GB now.bosn gc/volume-gcreport "daemon unavailable", the 83 GB of reclaimable volumes and 50 GB of images belong to live bosn stacks and the other three worker slots, anddocker system pruneis forbidden.chromium/srcsync at 156.0.8078.80 plus the arm64out/Release_GN_arm64needs on the order of 100 GB, and the previous attempts on this issue started with 300–316 GB free. Starting it at 241 GB unattended risks filling a shared box that runs four workers.Next step is unchanged: once free space is back above ~300 GB, run
bosn run --task cef-linux-sync-arm64-force --detach(so the sync outlives the tick), thencef-linux-build-arm64,cef-linux-pack-arm64, and thelinux_aarch64upload to the8078release.For the maintainer: the disk pressure is the only thing in the way of this issue; the recipe half (#26, #27, #28 in obs-rust/obs-studio-libs) is already merged.
zackees commentedon Oct 31, 2026
Worker tick status (2026-10-31 ~14:00Z,
obs-studio4): the arm64 sync is running, and the first attempt exposed a recipe bug that is now fixed.Disk cleared the bar. 314 GB free at the start of the tick (the earlier ticks were blocked at 229–246 GB), so the previously documented next step ran.
First run (job 56) died in one second, and not of disk: it was the leftover of the cancelled attempt, whose killed clone left
/cef/work/chromium/srcwith only.git:automate-git.py reads the existing tree's version for the
--no-chromium-historycheck before it reaches the--force-updatebranch that would delete and re-clonechromium/src, so--force-updatecould never do its job on a half-cloned tree.Fix merged: obs-rust/obs-studio-libs#29 (squash
95baaf5).recipes/cef/linux/build.sh syncnow removes$WORK/chromiumwhenchromium/srcexists withoutchrome/VERSIONand--force-updatewas passed; without the flag a partial tree is still an error, so a normal sync does not discard a checkout it did not ask to replace. RED test first, then the guard;pytest51 passed,ruff check/format --checkclean,bash -nclean.Re-synced for real. With the 387 MB partial tree removed,
bosn run --task cef-linux-sync-arm64-force --detachis job 58, running under the bosn daemon (so it outlives this tick) and fetchingsrcat 156.0.8078.80:chromium/went 183 MB → 1.3 GB in three minutes, no stall, 314 GB free.Next: poll job 58 (
bosn job logs --job-id 58), thencef-linux-build-arm64,cef-linux-pack-arm64, and thelinux_aarch64upload to the8078release. Acceptance criteria in this issue are unchanged and still unmet.zackees commentedon Oct 31, 2026
Worker tick status (2026-10-31 ~14:15Z,
obs-studio4): the arm64 sync finished green, and the arm64 build is running as job 60.cef-linux-sync-arm64-force(job 58) endedsuccessafter ~12 min on the fixed recipe (ci: adopt zackees/ci.yml cpp ecosystem; bump ci-lint pin to 1a970f0 #29):gclient sync --nohooks --no-historyat Chromium156.0.8078.80, CEFcf671c072(origin/8078),gclient runhooksclean, andinstall-sysroot.py --arch=arm64installeddebian_bullseye_arm64-sysroot. The checkout is 29 GB underout/cef; the host has 284 GB free.bosn run --task cef-linux-build-arm64 --detach= job 60. It is the--arm64-buildcross build (target_cpu=arm64,use_sysroot=true,Release_GN_arm64), so it is the long leg; bosn's per-run cap means it will likely need a re-run to resume (ninjaresumes).ninjacompile output (an early GN/sysroot failure would show in minutes), thencef-linux-pack-arm64and thelinux_aarch64upload to the8078release.Acceptance criteria on this issue are unchanged and still unmet.
zackees commentedon Oct 31, 2026
Build confirmed compiling (job 60, ~14:32Z):
[4591/136091]targets, both toolchains active —clang_arm64for the target andclang_x64_v8_arm64for the host tools, e.g.clang_x64/obj/third_party/icu/icui18n/number_modifiers.oandobj/third_party/boringssl/boringssl/p_dsa.o. No GN or sysroot error: the arm64 sysroot installed by the sync is the oneuse_sysroot=trueresolves.At that rate the 136k-target build exceeds one bosn run, so expect to re-run
cef-linux-build-arm64to resume;packrefuses until theRelease_GN_arm64/libcef_dll_wrapper/libcef_dll_wrapper.aexists.zackees commentedon Oct 31, 2026
Worker tick (2026-10-31 ~15:20Z,
obs-studio5): the arm64 build is still running and healthy.bosn jobsshows job 60cef-linux-build-arm64(manifest-app-task:cef-linux, workspace~/dev/obs-rust/obs-studio-libs)running, age 1h15m, not idle.out/cef/work/chromium/src/out/Release_GN_arm64)siso ninja --offline -C out/Release_GN_arm64 cefsimple chrome_sandboxis alive (pid 2686627) and.ninja_logis still being appended (52,799 edges, 12,385.oon disk, 5.1 GB in the out dir).libcef_dll_wrapper/libcef_dll_wrapper.adoes not exist yet, sopackstill refuses.No action needed from the maintainer. Next tick: if job 60 has ended, re-run
bosn run --task cef-linux-build-arm64 --detachto resume the remaining edges, and pack only onceRelease_GN_arm64/libcef_dll_wrapper/libcef_dll_wrapper.ais present.zackees commentedon Oct 31, 2026
Worker tick (2026-10-31 ~15:37Z,
obs-studio5): job 60cef-linux-build-arm64is still running and advancing.bosn jobs: job 60manifest-app-task:cef-linux, workspace~/dev/obs-rust/obs-studio-libs,running, age 1h30m, idle 0s.out/cef/work/chromium/src/out/Release_GN_arm64:.ninja_loggrew 64,477 → 66,750 edges in 45 s (+2,273, ~50 edges/s) and the object count 26,437 → 27,105, so the remaining edges are being compiled, not stalled. Out dir 6.0 GB.autoninja -C out/Release_GN_arm64 cefsimple chrome_sandbox(pid 2686560) alive; both toolchains still present (clang_arm64target,clang_x64_v8_arm64host), no GN/sysroot/toolchain error in the tree.libcef_dll_wrapper/libcef_dll_wrapper.astill absent, so packing still refuses.No action needed from the maintainer. Next tick: if job 60 has ended, resume with
bosn run --task cef-linux-build-arm64 --detach; pack only onceRelease_GN_arm64/libcef_dll_wrapper/libcef_dll_wrapper.aexists.