This surely isn't for master where it was fixed 2 years ago: https://git.openembedded.org/meta-openembedded/commit/?id=eab5e822a91ad95cf0e7d2406ba3ab5304748713
If you need this fix in some other branch, then send the cherry-pick of this with correct e-mail subject indicating the branch. On Fri, Nov 10, 2023 at 2:05 PM ashwin.naik via lists.openembedded.org <[email protected]> wrote: > From 23c3517e62158e390617686abd1a5525d27fa223 Mon Sep 17 00:00:00 2001 > From: "ashwin.naik" <[email protected]> > Date: Fri, 3 Nov 2023 15:24:24 +0530 > Subject: [PATCH] SRC_URI master branch is deprecated and main is the new > master branch > > Below failure log is observed while using master branch to fetch. > > ERROR: googletest-1.10.0-r0 do_fetch: Fetcher failure: > Unable to find revision 703bd9caab50b139428cea1aaff9974ebee5742e > in branch master even from upstream > ERROR: googletest-1.10.0-r0 do_fetch: Bitbake Fetcher Error: > FetchError('Unable to fetch URL from any source.', > 'git://github.com/google/googletest.git;branch=master;protocol=https') > > Signed-off-by: ashwin.naik <[email protected]> > --- > meta-oe/recipes-test/googletest/googletest_git.bb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta-oe/recipes-test/googletest/googletest_git.bb > b/meta-oe/recipes-test/googletest/googletest_git.bb > index 898f23faf..35fe1bed0 100644 > --- a/meta-oe/recipes-test/googletest/googletest_git.bb > +++ b/meta-oe/recipes-test/googletest/googletest_git.bb > @@ -11,7 +11,7 @@ PROVIDES += "gmock gtest" > > S = "${WORKDIR}/git" > SRCREV = "703bd9caab50b139428cea1aaff9974ebee5742e" > -SRC_URI = "git:// > github.com/google/googletest.git;branch=master;protocol=https" > +SRC_URI = "git:// > github.com/google/googletest.git;branch=main;protocol=https" > > inherit cmake > > -- > 2.25.1 > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#106547): https://lists.openembedded.org/g/openembedded-devel/message/106547 Mute This Topic: https://lists.openembedded.org/mt/102505851/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
