| Summary: | lib/bb/fetch2/git.py: print more friendly errors messages when failedlib/bb/fetch2/git.py | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | Robert Yang <liezhi.yang> |
| Component: | bitbake | Assignee: | Chen Qi <Qi.Chen> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | poky.bs.watcher, poky.watcher |
| Version: | 2.2 | ||
| Target Milestone: | 2.2 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Robert Yang
2016-04-12 03:42:18 UTC
I did a little test, it seems that the fetcher can output some meaningful information as required in this bug. Please see the error message below. ERROR: systemd-1_230+gitAUTOINC+1a74d4fc90-r0 do_fetch: Fetcher failure: Unable to find revision 1a74d4fc90cb322a4784a3515bef7118c8f8c5ba in branch master even from upstream ERROR: systemd-1_230+gitAUTOINC+1a74d4fc90-r0 do_fetch: Function failed: Fetcher failure for URL: 'git://github.com/systemd/systemd.git;protocol=git'. Unable to fetch URL from any source. The information in output is correct, thus closing this bug. |