[Bug] : yocto fetch fail because of master branch
Describe the issue
I am using the package in Yocto(version is kirkstone), and the fetch was good before, but suddenly the following error is occurring.
I found that there fetched master branch few weeks before, but from now on, there has no master branch, only main branch.
Is there any change?
Steps to reproduce the problem
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') ERROR: Logfile of failure stored in: /home/gwk1013/work/build/tmp/work/aarch64-poky-linux/googletest/1.10.0-r0/temp/log.do_fetch.1641848 ERROR: Task (/home/gwk1013/work/sources/meta-openembedded/meta-oe/recipes-test/googletest/googletest_git.bb:do_fetch) failed with exit code '1'
What version of GoogleTest are you using?
Yocto(Kirkstone)
What operating system and version are you using?
1.10.0
What compiler and version are you using?
gcc version 9.5.0 (Ubuntu 9.5.0-1ubuntu1~22.04)
What build system are you using?
cmake version 3.22.1
Additional context
No response
@denny1105kim Try to switch from master to main
If you are using googletest-1.10.x update the link in the bb file for downloading. "git://github.com/google/googletest.git;protocol=https;branch=v1.10.x" with same revision. It solved my issue.
@Dashlalit I encountered the same issue, and it worked for me as well. Thank you.