<div dir="ltr">I think there were selftest failures and I removed it to see what happened, added back again now.<div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 11 December 2017 at 01:10, Chang, Rebecca Swee Fun <span dir="ltr">&lt;<a href="mailto:rebecca.swee.fun.chang@intel.com" target="_blank">rebecca.swee.fun.chang@intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ping again.<br>
I noticed that it was on mut2 2 weeks ago. I think this was dropped somehow at that point. May I know what I can do in order to make it into M1 cycle?<br>
<br>
Thanks,<br>
Rebecca<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 15/11/2017, 10:00 AM, &quot;<a href="mailto:openembedded-core-bounces@lists.openembedded.org">openembedded-core-bounces@<wbr>lists.openembedded.org</a> on behalf of Chang Rebecca Swee Fun&quot; &lt;<a href="mailto:openembedded-core-bounces@lists.openembedded.org">openembedded-core-bounces@<wbr>lists.openembedded.org</a> on behalf of <a href="mailto:rebecca.swee.fun.chang@intel.com">rebecca.swee.fun.chang@intel.<wbr>com</a>&gt; wrote:<br>
<br>
    If you specify &#39;tag=&#39; for a git URL and passed to recipetool create, you<br>
    will get into Bitbake expansion error shown below:<br>
<br>
    ----- snip -----<br>
    $ devtool add --version 2.4.2 mbedtls &quot;git://<a href="http://github.com/ARMmbed/mbedtls;tag=mbedtls-2.4.2" rel="noreferrer" target="_blank">github.com/ARMmbed/<wbr>mbedtls;tag=mbedtls-2.4.2</a>&quot;<br>
    ...<br>
    bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Conflicting revisions (<wbr>abeccb9dbd7e19ae91ac50e1edd380<wbr>3111c5f9b6 from SRCREV and mbedtls-2.4.2 from the url) found, please specify one valid value<br>
    ----- snip -----<br>
<br>
    Assuming the tag is valid, we should get the tag commit hash and<br>
    drop the usage of &#39;tag=&#39; from SRC_URI. By using a commit hash<br>
    corresponding to the tag will prevent bitbake from accessing<br>
    remote repository in order to expand SRCPV.<br>
<br>
    Signed-off-by: Chang Rebecca Swee Fun &lt;<a href="mailto:rebecca.swee.fun.chang@intel.com">rebecca.swee.fun.chang@intel.<wbr>com</a>&gt;<br>
    ---<br>
     scripts/lib/recipetool/create.<wbr>py | 8 ++++----<br>
     1 file changed, 4 insertions(+), 4 deletions(-)<br>
<br>
    diff --git a/scripts/lib/recipetool/<wbr>create.py b/scripts/lib/recipetool/<wbr>create.py<br>
    index 54e7e85..2fc9e0a 100644<br>
    --- a/scripts/lib/recipetool/<wbr>create.py<br>
    +++ b/scripts/lib/recipetool/<wbr>create.py<br>
    @@ -480,7 +480,6 @@ def create_recipe(args):<br>
             if tag:<br>
                 # Keep a copy of tag and append nobranch=1 then remove tag from URL.<br>
                 # Bitbake fetcher unable to fetch when {AUTOREV} and tag is set at the same time.<br>
    -            # We will re-introduce tag argument after bitbake fetcher process is complete.<br>
                 storeTagName = params[&#39;tag&#39;]<br>
                 params[&#39;nobranch&#39;] = &#39;1&#39;<br>
                 del params[&#39;tag&#39;]<br>
    @@ -552,13 +551,11 @@ def create_recipe(args):<br>
<br>
             # Since we might have a value in srcbranch, we need to<br>
             # recontruct the srcuri to include &#39;branch&#39; in params.<br>
    +        scheme, network, path, user, passwd, params = bb.fetch2.decodeurl(srcuri)<br>
             if srcbranch:<br>
    -            scheme, network, path, user, passwd, params = bb.fetch2.decodeurl(srcuri)<br>
                 params[&#39;branch&#39;] = srcbranch<br>
    -            srcuri = bb.fetch2.encodeurl((scheme, network, path, user, passwd, params))<br>
<br>
             if storeTagName and scheme in [&#39;git&#39;, &#39;gitsm&#39;]:<br>
    -            # Re-introduced tag variable from storeTagName<br>
                 # Check srcrev using tag and check validity of the tag<br>
                 cmd = (&#39;git rev-parse --verify %s&#39; % (storeTagName))<br>
                 try:<br>
    @@ -568,6 +565,9 @@ def create_recipe(args):<br>
                     logger.error(str(err))<br>
                     logger.error(&quot;Possibly wrong tag name is provided&quot;)<br>
                     sys.exit(1)<br>
    +            # Drop tag from srcuri as it will have conflicts with SRCREV during recipe parse.<br>
    +            del params[&#39;tag&#39;]<br>
    +        srcuri = bb.fetch2.encodeurl((scheme, network, path, user, passwd, params))<br>
<br>
             if os.path.exists(os.path.join(<wbr>srctree, &#39;.gitmodules&#39;)) and srcuri.startswith(&#39;git://&#39;):<br>
                 srcuri = &#39;gitsm://&#39; + srcuri[6:]<br>
    --<br>
    2.7.4<br>
<br>
    --<br>
    ______________________________<wbr>_________________<br>
    Openembedded-core mailing list<br>
    <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
    <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
<br>
<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</div></div></blockquote></div><br></div>