[OE-core] [OE-CORE][sumo][python3] Generated SDK missing sqlite3
Davis, Michael
michael.davis at essvote.com
Tue Apr 17 13:50:38 UTC 2018
I was on the HEAD of sumo(commit d012a9acdc3dce014705224a1261145628e75931) so that commit was already included when I had the issue. Just generated another test today and the issue was still there. If I remove native-python3-misc from TOOLCHAIN_HOST_TASK it fails on installing the SDK. With it there it succeeds.
Mike
From: Alejandro Enedino Hernandez Samaniego [mailto:alejandr at xilinx.com]
Sent: Monday, April 16, 2018 8:07 PM
To: Davis, Michael; openembedded-core at lists.openembedded.org
Subject: RE: [OE-CORE][sumo][python3] Generated SDK missing sqlite3
Which commit are you using?
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4379b29e7eede727993ee68c9eba2bdebace5108
In any case, that one should've solved it.
Alejandro
From: openembedded-core-bounces at lists.openembedded.org<mailto:openembedded-core-bounces at lists.openembedded.org> [mailto:openembedded-core-bounces at lists.openembedded.org]<mailto:[mailto:openembedded-core-bounces at lists.openembedded.org]> On Behalf Of Davis, Michael
Sent: Monday, April 16, 2018 11:19 AM
To: Davis, Michael <michael.davis at essvote.com<mailto:michael.davis at essvote.com>>; openembedded-core at lists.openembedded.org<mailto:openembedded-core at lists.openembedded.org>
Subject: Re: [OE-core] [OE-CORE][sumo][python3] Generated SDK missing sqlite3
Adding python3-misc to the SDK seems to have solved the issue.
I saw some commits about separating the two so perhaps this is a side effect?
From: Davis, Michael
Sent: Monday, April 16, 2018 11:04 AM
To: 'openembedded-core at lists.openembedded.org'
Subject: [OE-CORE][sumo][python3] Generated SDK missing sqlite3
Testing out the upcoming sumo release and ran into an issue. Whenever I attempt to generate an sdk-ext with sumo I get a failure about missing sqlite3.
Traceback (most recent call last):
File "/home/mdavis/core_sdk/sysroots/x86_64-pokysdk-linux/usr/bin/devtool", line 344, in <module>
ret = main()
File "/home/mdavis/core_sdk/sysroots/x86_64-pokysdk-linux/usr/bin/devtool", line 285, in main
scriptutils.logger_setup_color(logger, global_args.color)
File "/home/mdavis/core_sdk/layers/core/scripts/lib/scriptutils.py", line 38, in logger_setup_color
from bb.msg import BBLogFormatter
File "/home/mdavis/core_sdk/layers/core/bitbake/lib/bb/__init__.py", line 79, in <module>
from bb import fetch2 as fetch
File "/home/mdavis/core_sdk/layers/core/bitbake/lib/bb/fetch2/__init__.py", line 39, in <module>
import bb.persist_data, bb.utils
File "/home/mdavis/core_sdk/layers/core/bitbake/lib/bb/persist_data.py", line 33, in <module>
sqlversion = sqlite3.sqlite_version_info
AttributeError: module 'sqlite3' has no attribute 'sqlite_version_info'
The issue seems to be isolated only to python3. The sdk partially installs and I am able to source it. I created a small python sqlite app and was able to run it properly with python2, but not 3.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180417/f4445ec7/attachment-0002.html>
More information about the Openembedded-core
mailing list