On 2 June 2015 at 20:49, Aníbal Limón <[email protected]> wrote:
> Aníbal Limón (4):
> recipeutils: Add get_recipe_upstream_version and
> get_recipe_pv_without_srcpv functions
> distrodata: Remove unnecessary include of package_regex.inc
> distrodata: checkpkg make usage of
> oe.recipeutils.get_recipe_upstream_version
> distrodata: Use Python CSV instead of did by hand
>
This series is causing this error if I run core-image-sato -c checkpkgall:
ERROR: Error executing a python function in
/home/ross/Yocto/poky/meta/recipes-graphics/xorg-lib/libxcalibrate_git.bb:
The stack trace of python calls that resulted in this exception/failure was:
File: 'do_checkpkg', lineno: 126, function: <module>
0122: f.close()
0123: bb.utils.unlockfile(lf)
0124:
0125:
*** 0126:do_checkpkg(d)
0127:
File: 'do_checkpkg', lineno: 87, function: do_checkpkg
0083: """Set upstream version status"""
0084: if not pupver:
0085: pupver = "N/A"
0086: else:
*** 0087: pv, _, _ =
oe.recipeutils.get_recipe_pv_without_srcpv(pversion, uri_type)
0088: upv, _, _ =
oe.recipeutils.get_recipe_pv_without_srcpv(pupver, uri_type)
0089:
0090: cmp = vercmp_string(pv, upv)
0091: if cmp == -1:
File: '/home/ross/Yocto/poky/meta/lib/oe/recipeutils.py', lineno: 641,
function: get_recipe_pv_without_srcpv
0637: pfx = ''
0638: sfx = ''
0639:
0640: if uri_type == 'git':
*** 0641: rd_tmp = rd.createCopy()
0642:
0643: rd_tmp.setVar('SRCPV', '')
0644: pv = rd_tmp.getVar('PV', True)
0645:
Exception: AttributeError: 'str' object has no attribute 'createCopy'
Ross
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core