Wind River Support Network


LIN6-10361 : WRL6 bitbake svn fetch failure with AUTOREV and branches

Created: Sep 18, 2015    Updated: Dec 3, 2018
Resolved Date: Oct 8, 2015
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config


The client encounters some errors when using bitbake with WRL6 related to svn fetch with AUTOREV on branches.

Here's the error he encounters:

WARNING: Failed to fetch URL svn://;module=cputest;name=cputest;subdir=raperca/device;protocol=https, attempting MIRRORS if available
WARNING: Fetcher failure: Fetch command failed with exit code 1, output:
Updating '.':

svn: E160005: Target path '/genesis/branches/release-4.0/device/cputest' does not exist

The problem is because the svn path /genesis/branches/release-4.0/device/cputest is a branch, the root of the branch is higher in the hierarchy (it is /genesis/branches/release-4.0/), there has been no modification since the revision where it was branched and AUTOREV is enabled.

As AUTOREV is enabled bitbake's svn fetcher uses "svn info" to get the "Last Changed Rev", except that in this case svn will return the revision of the last change to the file contents, which is before the branching revision.

It will then use this revision to fetch the source from the branch, but at that revision the branch did not exist, hence the error.

He mentioned that there is already an upstream fix available here:

Can this fix be implemented?

He laso added that this would be a better solution for LIN6-7306 as he blieves that the fix for that one breaks builds where paths have been deleted from subversion at a revision later than the revision being fetched. There is a clone of this defect at LIN6-7742.

Other Downloads

Live chat