Repository navigation
build(cef): strip the top-level directory from the 8078 macOS archives (#2418) - #3016
Merged
Merged
Conversation
check_cef_archive_root extracts a nested CEF archive through buildspec_common.cmake and expects include/cef_version.h under the destination. RED: _obs_extract_dependency does not exist yet, so all three cases fail with 'Unknown CMake command'.
The CEF 8078 macOS archives keep cef_binary_8078_macos_<arch>/ at the root, unlike 7871 and the obs-deps archives. Extracting into .deps/<destination> left CEF_ROOT_DIR without include/cef_version.h, and every macOS configure failed with CEF_LIBRARY_RELEASE-NOTFOUND (Scheduled run 41010694789). Extract into a staging directory and move the payload up, keeping dotfiles and flat archives unchanged.
Member
Author
|
macOS validation dispatched on this branch: Scheduled 41016847416. The PR waits on its |
zackees
commented
Oct 30, 2026
zackees
left a comment
Member
Author
There was a problem hiding this comment.
Coordinator review: LGTM, and it fixes master. Every macOS lane has been red since the #2994 pin landed; this is the cause I commented on #2994.
- RED → GREEN with a cmake
-Ptest covering the nested layout, the flat layout and a stale destination, plus a check against the real 8078 arm64 archive (pinned SHA,CEF_VERSION_MAJOR 156, framework present). - Moving a lone top-level directory up is safe for CEF: the flat 7871 archives have many root entries, so they never match. obs-deps and Qt6 still take the old path.
- Dotfiles are moved too (
.bazelversionis asserted).
The Scheduled dispatch on this branch is the end-to-end proof. Queuing on green PR CI, because it can only improve master's macOS lanes.
Member
Author
|
macOS is green with this change: the dispatched Scheduled 41016847416 passed |
This was referenced Oct 30, 2026
This was referenced Oct 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The CEF 8078 macOS archives keep a top-level
cef_binary_8078_macos_arm64/directory at the archive root; the 7871 archives and obs-deps are flat.buildspec_common.cmakeextracted every CEF archive withDESTINATION .deps/<destination>, so after the #2994 pin macOS gotand
FindCEFreportedCEF_LIBRARY_RELEASE-NOTFOUND/Found unsuitable version "0.0.0". Every macOS lane on master is red for this: Scheduled 41010694789 failsAnalyze 🔬 / macOS 🍏,Build 🧱 / macOS 🍏 (arm64)and(x86_64), and the branch validation run on #2994 (41004532761) had already shown it.RED
4f067ea11addsci/test_cef_archive_root.py, which extracts a synthetic nested archive and a synthetic flat one throughbuildspec_common.cmakeand requiresinclude/cef_version.h, the framework and.bazelversionunder.deps/<destination>:GREEN
186f63cd4adds_obs_extract_dependency: extract into.extract-<destination>, and when the staging directory holds exactly one entry and that entry is a directory, treat it as the payload wrapper and move its contents up. Flat archives keep their current layout; dotfiles (.bazelversion,.ninja_deps) are counted and moved. CEF goes through it; the obs-deps/Qt6 paths are unchanged.Checked against the real archive, not only the fixture:
./lintpasses gersemi on the changed CMake file andtest_cef_archive_root.py; its only failure is the pre-existingtest_check_changes.py(git: command not foundin its subprocess environment) that also fails on master in this checkout.Validation
PR CI does not build the macOS app (schedule/dispatch only), so I am dispatching
scheduled.yamlon this branch.Refs #2418until that macOS lane is green.Not covered here: the three remaining stale CEF pins (
ubuntu-aarch64,windows-x64,windows-arm64stay on 7871) are #2417 and the aarch64 slice of #1864, unchanged by this PR.