Fixed
Created: May 1, 2014
Updated: Dec 3, 2018
Resolved Date: Jun 19, 2014
Found In Version: 6.0
Fix Version: 6.0.0.9
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config
The following is a community bug that appears to affect our customers. Below is the original bug description from the Yocto Project bugzilla. See https://bugzilla.yoctoproject.org/show_bug.cgi?id=6258.
.../qfx/build/qfx/bitbake_build $ bitbake --version
BitBake Build Tool Core version 1.20.0, bitbake version 1.20.0
.../qfx/build/qfx/bitbake_build $
When you create a SVN branch , the last changed revision exist only on the parent branch or trunk. so the svn fetch fails
I had a svn trunk
Path: .
Working Copy Root Path: /svn/yocto-src
URL: http://pkg.dcbg.juniper.net/fsgtools/yocto/trunk/yocto-src/qfx/initscripts
Repository Root: http://pkg.dcbg.juniper.net/fsgtools/yocto
Repository UUID: 33bd5da9-22e9-4ec1-aba5-5ffc8ebe5f2c
Revision: 73
Node Kind: directory
Schedule: normal
Last Changed Author: sbalraj
Last Changed Rev: 71
Last Changed Date: 2014-04-29 13:26:17 -0700 (Tue, 29 Apr 2014)
~/svn/yocto-src $
I created a branch PVT_AMBALAKKAT_BRANCH from the trunk
Path: .
Working Copy Root Path: /test/initscripts
URL: http://pkg.dcbg.juniper.net/fsgtools/yocto/branches/PVT_AMBALAKKAT_BRANCH/yocto-src/qfx/initscripts
Repository Root: http://pkg.dcbg.juniper.net/fsgtools/yocto
Repository UUID: 33bd5da9-22e9-4ec1-aba5-5ffc8ebe5f2c
Revision: 75
Node Kind: directory
Schedule: normal
Last Changed Author: sbalraj
Last Changed Rev: 71
Last Changed Date: 2014-04-29 13:26:17 -0700 (Tue, 29 Apr 2014)
Failed with error during fetch
|
| WARNING: Fetcher failure: Fetch command failed with exit code 1, output:
| svn: E170000: URL 'http://pkg.dcbg.juniper.net/fsgtools/yocto/branches/PVT_AMBALAKKAT_BRANCH/yocto-src/qfx/initscripts' doesn't exist
|
| DEBUG: Python function base_do_fetch finished
| DEBUG: Python function do_fetch finished
| ERROR: Function failed: Fetcher failure for URL: 'svn://pkg.dcbg.juniper.net/fsgtools/yocto/branches/PVT_AMBALAKKAT_BRANCH;module=yocto-src/qfx/initscripts;protocol=http'. Unable to fetch URL from any source.
ERROR: Task 0 (/workspace/wrlinux/qfx/layers/meta-qfx/recipes-qfx/platform-scripts/platform-scripts_0.1.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 236 tasks of which 235 didn't need to be rerun and 1 failed.
The bitbake picks "Last Changed Rev: 71" when SRC_REV is $(AUTOREV) for SRC_URI and then the fetch fails.
The rev 71 exist only on the trunk not on the branch.