<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 2 June 2015 at 20:49, Aníbal Limón <span dir="ltr"><<a href="mailto:anibal.limon@linux.intel.com" target="_blank">anibal.limon@linux.intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":17z" class="" style="overflow:hidden">Aníbal Limón (4):<br>
recipeutils: Add get_recipe_upstream_version and<br>
get_recipe_pv_without_srcpv functions<br>
distrodata: Remove unnecessary include of package_regex.inc<br>
distrodata: checkpkg make usage of<br>
oe.recipeutils.get_recipe_upstream_version<br>
distrodata: Use Python CSV instead of did by hand<br></div></blockquote><div><br></div><div>This series is causing this error if I run core-image-sato -c checkpkgall:</div><div><br></div><div>ERROR: Error executing a python function in /home/ross/Yocto/poky/meta/recipes-graphics/xorg-lib/<a href="http://libxcalibrate_git.bb">libxcalibrate_git.bb</a>:</div><div><br></div><div>The stack trace of python calls that resulted in this exception/failure was:</div><div>File: 'do_checkpkg', lineno: 126, function: <module></div><div> 0122: f.close()</div><div> 0123: bb.utils.unlockfile(lf)</div><div> 0124:</div><div> 0125:</div><div> *** 0126:do_checkpkg(d)</div><div> 0127:</div><div>File: 'do_checkpkg', lineno: 87, function: do_checkpkg</div><div> 0083: """Set upstream version status"""</div><div> 0084: if not pupver:</div><div> 0085: pupver = "N/A"</div><div> 0086: else:</div><div> *** 0087: pv, _, _ = oe.recipeutils.get_recipe_pv_without_srcpv(pversion, uri_type)</div><div> 0088: upv, _, _ = oe.recipeutils.get_recipe_pv_without_srcpv(pupver, uri_type)</div><div> 0089:</div><div> 0090: cmp = vercmp_string(pv, upv)</div><div> 0091: if cmp == -1:</div><div>File: '/home/ross/Yocto/poky/meta/lib/oe/recipeutils.py', lineno: 641, function: get_recipe_pv_without_srcpv</div><div> 0637: pfx = ''</div><div> 0638: sfx = ''</div><div> 0639:</div><div> 0640: if uri_type == 'git':</div><div> *** 0641: rd_tmp = rd.createCopy()</div><div> 0642:</div><div> 0643: rd_tmp.setVar('SRCPV', '')</div><div> 0644: pv = rd_tmp.getVar('PV', True)</div><div> 0645:</div><div>Exception: AttributeError: 'str' object has no attribute 'createCopy'</div><div><br></div><div>Ross </div></div></div></div>