mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-08-25 05:21:31 +00:00
perfetto: fix protobuf do_fetch failure, pin to 31.x maintenance branch
The bundled protobuf dependency pins SRCREV
74211c0dfc2777318ab53c2cd2c317a2ef9012de ("Updating version.json and
repo version numbers to: 31.1", i.e. protobuf v31.1), but the SRC_URI
specified branch=main. That commit lives on the 31.x maintenance
branch and is not an ancestor of main, so do_fetch fails:
ERROR: perfetto-57.2-r0 do_fetch: Fetcher failure: Unable to find
revision 74211c0dfc2777318ab53c2cd2c317a2ef9012de in branch main
even from upstream
Point the protobuf SRC_URI at branch=31.x, which contains the pinned
commit.
Verified via `bitbake -c fetch perfetto`: all sub-fetches, including
protobuf, now succeed.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b06e43f2e368eb8663632d529232353 \
|
||||
|
||||
# Dependencies from perfetto/tools/install-build-deps
|
||||
SRC_URI:append = " \
|
||||
git://github.com/protocolbuffers/protobuf.git;branch=main;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/protobuf;name=protobuf \
|
||||
git://github.com/protocolbuffers/protobuf.git;branch=31.x;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/protobuf;name=protobuf \
|
||||
git://github.com/abseil/abseil-cpp.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/abseil-cpp;name=abseil \
|
||||
git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/libcxx;branch=main;name=libcxx \
|
||||
git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/libcxxabi;branch=main;name=libcxxabi \
|
||||
|
||||
Reference in New Issue
Block a user