<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageReplySection">On Nov 12, 2019, 1:50 PM -0700, Alan Kozlay <alan.kozlay@ves-solutions.com>, wrote:<br />
<blockquote type="cite" class="spark_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">
<div dir="ltr">
<div>In:</div>
<div><font face="monospace">oe-core/meta/lib/oe/sstatesig.py</font></div>
<div><font face="monospace"><br /></font></div>
<div>The <font face="monospace">find_sstate_manifest</font> function will search for a manifest assuming a number of potential paths based on various package architecture names.  However, a few of the choices appear to have needed to be queried from the bitbake database but their bb database variable <i>names</i> are used, instead.  That yields search paths which could never be correct:</div>
<div><br /></div>
<div><font face="monospace">        pkgarchs = [<font color="#FF0000">'${MACHINE_ARCH}'</font>]<br />
        pkgarchs = pkgarchs + list(reversed(d2.getVar("PACKAGE_EXTRA_ARCHS").split()))<br />
        pkgarchs.append('allarch')<br />
        pkgarchs.append(<font color="#FF0000">'${SDK_ARCH}_${SDK_ARCH}-${SDKPKGSUFFIX}'</font>)<br /></font></div>
<div><font face="monospace"><br /></font></div>
<div><font face="monospace">        for pkgarch in pkgarchs:<br />
                manifest = d2.expand("${SSTATE_MANIFESTS}/manifest-%s-%s.%s" % (pkgarch, taskdata, taskname)) <br /></font></div>
</div>
</blockquote>
<div><br /></div>
<div dir="auto">d2.expand() expands all the variable references from pkgarch, so unless it’s also used later on and *isn’t* passed to expand(), this isn’t an issue.</div>
<div dir="auto"><br /></div>
<div dir="auto">-Chris</div>
</div>
</body>
</html>