Bug 9074 - uclibc fetch error
Summary: uclibc fetch error
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: Other Multiple
: Undecided normal
Target Milestone: ---
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-02-08 14:52 UTC by Maksim E. Kozlov
Modified: 2016-02-11 14:12 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.