Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] : yocto fetch fail because of master branch #4626

Open
denny1105kim opened this issue Oct 16, 2024 · 3 comments
Open

[Bug] : yocto fetch fail because of master branch #4626

denny1105kim opened this issue Oct 16, 2024 · 3 comments

Comments

@denny1105kim
Copy link

denny1105kim commented Oct 16, 2024

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 703bd9c 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

@gvatsal60
Copy link

@denny1105kim Try to switch from master to main

@Dashlalit
Copy link

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.

@AVer-V001598
Copy link

AVer-V001598 commented Nov 4, 2024

@Dashlalit I encountered the same issue, and it worked for me as well. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants