Repository navigation
api: record qt macro forwards; qt cells stub on hosts whose 7-Zip cannot read rpms (part of #13178) - #14244
Conversation
|
/evidence platforms=["windows_x86_64", "macos_arm64"] task=build scope=//tools/api:forwards_qt Generated by Claude Code |
|
/evidence could not read '"macos_arm64"]'. Use platforms=, task=, scope=, test_timeout=, displays=, android=, qualify=, relocate=, release_cell=, flags=, lock_refresh= or accept_licenses=. |
|
/evidence platforms=["windows_x86_64","macos_arm64"] task=build scope=//tools/api:forwards_qt Generated by Claude Code |
|
Generated by Claude Code |
|
Evidence started on |
|
Generated by Claude Code |
|
Generated by Claude Code |
|
Generated by Claude Code |
|
Generated by Claude Code |
|
Generated by Claude Code |
|
Shard 10 fails on Generated by Claude Code |
|
Shard 25 fails on Generated by Claude Code |
|
Shard 24 fails on the Generated by Claude Code |
|
Shard 23 fails on Generated by Claude Code |
…not read rpms (part of #13178) On Windows the pinned extractor is 7zr.exe, which reads only 7z, xz and lzma. Fetching a linux Qt cell there failed on its rpm runtime packages, so //tools/api:forwards_qt could not load. Those cell repos now write a BUILD file of empty runtime/licenses/sbom filegroups and qt_unsupported targets instead, and qt leaves _FORWARDS_PENDING. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hxb5B17RJ7Rm8gcJL8
5078f31 to
e49219d
Compare
Pull Request
Linked Issue
Part of #13178
Part of #13818
Part of #14050
Changes
qt/private/toolchain/seven_zip.bzl: newseven_zip_hostandseven_zip_reads_rpm. On Windows the pinned extractor is7zr.exe, which reads only 7z, xz and lzma.qt/private/toolchain/repos.bzl: when a cell needs rpm runtime packages (the linux cells) and the host extractor cannot read them,qt_cell_repowritesstub_build(...)instead of downloading: emptylicenses/runtime/sbomfilegroups and aqt_unsupportedtarget for every other hub target the module owns. Loading//tools/api:forwards_qton Windows no longer fails.qt/tests/toolchain_tests.bzl: checks that a stub defines every hub target, refuses libraries and ships no runtime.tools/api/BUILD.bazel: qt leaves_FORWARDS_PENDING. Regeneratedapi/starlark.json(qt macroforwards).Verification
tools/dx check --applyon the touched files: format and typecheck clean. The two lint findings (buildifier/attr-licensesatrepos.bzl:23and intoolchain_tests.bzl) are also on main.Tested:
//qt/tests:metadata,//tools/api:api_testpassed, and//tools/api:forwards_qtbuilds, on linux_x86_64.Not run: the Windows path, which is what this fixes. Kept draft until
/evidencebuilds//tools/api:forwards_qton windows_x86_64.--affectednot run (cloud container, touched packages only).Generated by Claude Code