<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12933</bug_id>
          
          <creation_ts>2018-09-25 19:42:42 +0000</creation_ts>
          <short_desc>python-sqlite3 is packaged incorrectly</short_desc>
          <delta_ts>2018-10-01 15:15:41 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>2.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>2.6 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeroen Hofstee">jhofstee</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>81622</commentid>
    <comment_count>0</comment_count>
    <who name="Jeroen Hofstee">jhofstee</who>
    <bug_when>2018-09-25 19:42:42 +0000</bug_when>
    <thetext>On current master e3f5ceec690379 &quot;build-appliance-image: Update to master head revision&quot; /usr/lib/python2.7/sqlite3 ends up in the python-misc package and not
in python-sqlite3. Hence when only installing python-sqlite3, import sqlite3 throws an &quot;ImportError: No module named sqlite3&quot; exception. Importing _sqlite (with an underscore) does work.

get_module_deps2.py does see that python2.7/sqlite3/__init__.pyc is needed and replaces it with ${libdir}/python2.7/sqlite3, but it doesn&apos;t get written to the manifest file (also not after regenerating it) and hence ends up in misc.

Simply adding &quot;${libdir}/python2.7/sqlite3&quot; seems to manifest file seems to work, also after regeneration, but that includes then sqlite3/test as well, which doesn&apos;t seem to be the intend.

Setting severity to major, since I assume you want this fixed in a release. Feel free to lower it. There is a easy workaround, just install python-misc as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81636</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-09-26 11:55:44 +0000</bug_when>
    <thetext>Patch on the list. The test thing is already resolved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81680</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-10-01 15:15:41 +0000</bug_when>
    <thetext>Fixed as of oe-core 9c2b1a0bfc8783052b5dda344cc334b9c13736f5.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>