Bug 575

Summary: mtd-utils_1.4.1 fails to build
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Wolfgang Denk <wd>
Component: devtools / tool chainAssignee: Ke Yu <ke.yu>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: ke.yu, kevin.tian, meta.mr.watcher, meta.watcher, nitin.a.kamble, richard.purdie, sgw
Version: unspecified   
Target Milestone: 1.0 M4   
Hardware: x86   
OS: arm   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Wolfgang Denk 2010-12-09 05:20:41 UTC
Trying to run "bitbake mtd-utils" on current top of tree fails with this error:

ERROR: Task failed: Fetch failed: Unable to fetch URL git://git.infradead.org/mtd-utils.git;protocol=git;tag=v1.4.1 from any source.
NOTE: package mtd-utils-1.4.1-r0: task do_fetch: Failed
Comment 1 Ke Yu 2010-12-09 16:56:27 UTC
it is due to that fetcher can not handle the SRC_URI with ";", we will fix this at fetcher overhaul
Comment 2 Ke Yu 2010-12-13 00:28:34 UTC
duplicate of 573: http fetcher cannot handle ';' in the url

*** This bug has been marked as a duplicate of bug 573 ***
Comment 3 Nitin Kamble 2010-12-13 08:59:41 UTC
These kinds of src_uri are valid, and used in other recipes in the poky. So this is not duplicate of #572.

These urls do not have ';' in the url, they have it in SRC_URI.

While bug #572 is about having ';' in the url itself.

In this case url is : git://git.infradead.org/mtd-utils.git
and rest of the information (protocol=git, tag=v1.4.1) is for the git fetcher to do git checkout.
Comment 4 Richard Purdie 2011-02-25 08:38:50 UTC
This bug was due to the old fetcher code having issues with the tag as it was treating it as a git hash. The new fetcher code has resolved this issue.

Regardless, mtd-utils now has a hash in the recipe for different reasons too.