Bug 7768

Summary: python3-io fails to install _ssl* and ssl* modules
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Alejandro Hernandez <alejandro.hernandez>
Component: devtools / tool chainAssignee: Alejandro Hernandez <alejandro.hernandez>
Status: VERIFIED FIXED QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: normal    
Priority: Medium CC: bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher, sgw
Version: 1.9   
Target Milestone: 1.9 M1   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alejandro Hernandez 2015-05-14 20:27:37 UTC
Python 3 fails to compile the ssl module showing the following error:

Python build finished successfully!
The necessary bits to build these optional modules were not found:
_bz2                  _curses_panel         _dbm               
_gdbm                 _lzma                 _sqlite3           
_ssl                  nis                   readline           
zlib


Later, when requesting to install packages that should include such modules, in specific python3-io, no error is shown; but within a running python shell trying to import the ssl library results in an import error, since it was never installed along with the other required modules by python3-io.

ImportError: No module named _ssl
Comment 2 Bogdan Alexandru Voiculescu 2015-10-20 13:03:26 UTC
No errors shown on core-image-sato image build from master:  e35c404537db0b46047fcb2ee7d3645e3e0935c5
when installing python3-io and/or importing in python console these modules: 
_bz2                  _curses_panel         _dbm               
_gdbm                 _lzma                 _sqlite3           
_ssl                  nis                   readline           
zlib