Bug 575 - mtd-utils_1.4.1 fails to build
Summary: mtd-utils_1.4.1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 arm
: Medium normal
Target Milestone: 1.0 M4
Assignee: Ke Yu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-12-09 05:20 UTC by Wolfgang Denk
Modified: 2011-02-25 08:38 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

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