Message ID | 9B6z.1699621499757734697.wXhd@lists.openembedded.org |
---|---|
State | Changes Requested |
Headers | show |
Series | [master] SRC_URI master branch is deprecated and main is the new master branch | expand |
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 <ashwin.naik=sasken.com@lists.openembedded.org> wrote: > From 23c3517e62158e390617686abd1a5525d27fa223 Mon Sep 17 00:00:00 2001 > From: "ashwin.naik" <ashwin.naik@sasken.com> > 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 <ashwin.naik@sasken.com> > --- > 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 (#106546): > https://lists.openembedded.org/g/openembedded-devel/message/106546 > Mute This Topic: https://lists.openembedded.org/mt/102505851/3617156 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ > martin.jansa@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > >
And even dunfell already has it since 6 months ago: https://git.openembedded.org/meta-openembedded/commit/?id=29e3a918ac80f98f3bad70eec50a9ada1a47fc41 so maybe you're on some even older release which isn't supported anymore. On Fri, Nov 10, 2023 at 2:22 PM Martin Jansa <martin.jansa@gmail.com> wrote: > 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 > <ashwin.naik=sasken.com@lists.openembedded.org> wrote: > >> From 23c3517e62158e390617686abd1a5525d27fa223 Mon Sep 17 00:00:00 2001 >> From: "ashwin.naik" <ashwin.naik@sasken.com> >> 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 <ashwin.naik@sasken.com> >> --- >> 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 (#106546): >> https://lists.openembedded.org/g/openembedded-devel/message/106546 >> Mute This Topic: https://lists.openembedded.org/mt/102505851/3617156 >> Group Owner: openembedded-devel+owner@lists.openembedded.org >> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ >> martin.jansa@gmail.com] >> -=-=-=-=-=-=-=-=-=-=-=- >> >>
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