Bug 9074

Summary: uclibc fetch error
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Maksim E. Kozlov <maksim.e.kozlov>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Maksim E. Kozlov 2016-02-08 14:52:03 UTC
Working with the master branch from git://git.openembedded.org/openembedded-core repo, I faced en error during building uclibc

WARNING: Failed to fetch URL git://uclibc-ng.org/git/uclibc-ng;branch=1.0, attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find revision 94493929f674f4410c2743fa3dd82fd37b70c58f in branch 1.0 even from upstream
ERROR: Function failed: Fetcher failure for URL: 'git://uclibc-ng.org/git/uclibc-ng;branch=1.0'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /work/tmp/tmp-uclibc/work/mips32el-oe-linux-uclibc/uclibc-initial/1.0.11+gitAUTOINC+94493929f6-r0/temp/log.do_fetch.11021
ERROR: Task 70 (/work/openembedded/meta/recipes-core/uclibc/uclibc-initial_git.bb, do_fetch) failed with exit code '1'
WARNING: Failed to fetch URL git://uclibc-ng.org/git/uclibc-ng;branch=1.0, attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find revision 94493929f674f4410c2743fa3dd82fd37b70c58f in branch 1.0 even from upstream
ERROR: Function failed: Fetcher failure for URL: 'git://uclibc-ng.org/git/uclibc-ng;branch=1.0'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /work/tmp/tmp-uclibc/work/mips32el-oe-linux-uclibc/uclibc/1.0.11+gitAUTOINC+94493929f6-r0/temp/log.do_fetch.22338
ERROR: Task 4 (/work/openembedded/meta/recipes-core/uclibc/uclibc_git.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 149 tasks of which 0 didn't need to be rerun and 2 failed.
Waiting for 0 running tasks to finish:

Summary: 2 tasks failed:
  /work/openembedded/meta/recipes-core/uclibc/uclibc-initial_git.bb, do_fetch
  /work/openembedded/meta/recipes-core/uclibc/uclibc_git.bb, do_fetch
Summary: There were 2 WARNING messages shown.
Summary: There were 4 ERROR messages shown, returning a non-zero exit code.

During investigation of this trouble I made `git clone git://uclibc-ng.org/git/uclibc-ng' manually and found that there is no branch '1.0' there but  in meta/recipes-core/uclibc/uclibc-git.inc is defined

SRC_URI = "git://uclibc-ng.org/git/uclibc-ng;branch=1.0 \

I look at the same file in the master branch from git://git.yoctoproject.org/poky.git repo and found that it contains the same definitions of SRC_URI and SRCREV but when I try to build uclibc I get just warning:

WARNING: Failed to fetch URL git://uclibc-ng.org/git/uclibc-ng;branch=1.0, attempting MIRRORS if available

and building is completed correctly
Comment 1 Ross Burton 2016-02-08 16:12:39 UTC
Presumably they deleted that branch as it was the same as master.  Well I've submitted a patch to change the SRC_URI.

When it worked it was downloading a mirror from our source mirrors, which contained the branch.
Comment 2 Ross Burton 2016-02-11 14:12:49 UTC
Fixed in oe-core 2d20de8ece480b21c02b6ace2cc12a21c36d0ae3.