<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">I was on the HEAD of sumo(<span style="background:white">commit d012a9acdc3dce014705224a1261145628e75931)</span> so that commit was already included when I had the issue.&nbsp; Just generated another test today and the issue was still there.&nbsp;
 If I remove native-python3-misc from <span style="background:white">TOOLCHAIN_HOST_TASK it fails on installing the SDK.&nbsp; With it there it succeeds.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Mike<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Alejandro Enedino Hernandez Samaniego [mailto:alejandr@xilinx.com]
<br>
<b>Sent:</b> Monday, April 16, 2018 8:07 PM<br>
<b>To:</b> Davis, Michael; openembedded-core@lists.openembedded.org<br>
<b>Subject:</b> RE: [OE-CORE][sumo][python3] Generated SDK missing sqlite3<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Which commit are you using?<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4379b29e7eede727993ee68c9eba2bdebace5108">https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4379b29e7eede727993ee68c9eba2bdebace5108</a><o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">In any case, that one should&#8217;ve solved it.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Alejandro<o:p></o:p></p>
<p class="MsoNormal"><a name="_MailEndCompose"><o:p>&nbsp;</o:p></a></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> <a href="mailto:openembedded-core-bounces@lists.openembedded.org">
openembedded-core-bounces@lists.openembedded.org</a> <a href="mailto:[mailto:openembedded-core-bounces@lists.openembedded.org]">
[mailto:openembedded-core-bounces@lists.openembedded.org]</a> <b>On Behalf Of </b>
Davis, Michael<br>
<b>Sent:</b> Monday, April 16, 2018 11:19 AM<br>
<b>To:</b> Davis, Michael &lt;<a href="mailto:michael.davis@essvote.com">michael.davis@essvote.com</a>&gt;;
<a href="mailto:openembedded-core@lists.openembedded.org">openembedded-core@lists.openembedded.org</a><br>
<b>Subject:</b> Re: [OE-core] [OE-CORE][sumo][python3] Generated SDK missing sqlite3<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Adding python3-misc to the SDK seems to have solved the issue.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I saw some commits about separating the two so perhaps this is a side effect?</span><span style="font-family:&quot;Courier New&quot;;color:black;background:white"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Davis, Michael
<br>
<b>Sent:</b> Monday, April 16, 2018 11:04 AM<br>
<b>To:</b> 'openembedded-core@lists.openembedded.org'<br>
<b>Subject:</b> [OE-CORE][sumo][python3] Generated SDK missing sqlite3<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Testing out the upcoming sumo release and ran into an issue.&nbsp; Whenever I attempt to generate an sdk-ext with sumo I get a failure about missing sqlite3.<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;color:black;background:white">Traceback (most recent call last):
</span><span style="font-family:&quot;Courier New&quot;"><br>
&nbsp;File &quot;/home/mdavis/core_sdk/sysroots/x86_64-pokysdk-linux/usr/bin/devtool&quot;, line 344, in &lt;module&gt;
<br>
&nbsp;&nbsp;&nbsp;ret = main() <br>
&nbsp;File &quot;/home/mdavis/core_sdk/sysroots/x86_64-pokysdk-linux/usr/bin/devtool&quot;, line 285, in main
<br>
&nbsp;&nbsp;&nbsp;scriptutils.logger_setup_color(logger, global_args.color) <br>
&nbsp;File &quot;/home/mdavis/core_sdk/layers/core/scripts/lib/scriptutils.py&quot;, line 38, in logger_setup_color
<br>
&nbsp;&nbsp;&nbsp;from bb.msg import BBLogFormatter <br>
&nbsp;File &quot;/home/mdavis/core_sdk/layers/core/bitbake/lib/bb/__init__.py&quot;, line 79, in &lt;module&gt;
<br>
&nbsp;&nbsp;&nbsp;from bb import fetch2 as fetch <br>
&nbsp;File &quot;/home/mdavis/core_sdk/layers/core/bitbake/lib/bb/fetch2/__init__.py&quot;, line 39, in &lt;module&gt;
<br>
&nbsp;&nbsp;&nbsp;import bb.persist_data, bb.utils <br>
&nbsp;File &quot;/home/mdavis/core_sdk/layers/core/bitbake/lib/bb/persist_data.py&quot;, line 33, in &lt;module&gt;
<br>
&nbsp;&nbsp;&nbsp;sqlversion = sqlite3.sqlite_version_info <br>
AttributeError: module 'sqlite3' has no attribute 'sqlite_version_info'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal">The issue seems to be isolated only to python3. The sdk partially installs and I am able to source it.&nbsp; I created a small python sqlite app and was able to run it properly with python2, but not 3.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>