Bug 2172 - python-core has missing implicit dependencies
Summary: python-core has missing implicit dependencies
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.2
Hardware: x86 Multiple
: Undecided major
Target Milestone: ---
Assignee: Nitin Kamble
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-03-24 12:29 UTC by Gary Thomas
Modified: 2012-03-29 11:07 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Thomas 2012-03-24 12:29:36 UTC

    
Comment 1 Gary Thomas 2012-03-24 12:32:58 UTC
Installing only python-core to a minimal system, e.g. build core-image-minimal
and add this line to local.conf
  CORE_IMAGE_EXTRA_INSTALL = "python-core"
will create a broken python installation.

Running this image:

$ runqemu qemuarm core-image-minimal serial
   ...
Yocto (Built by Poky 6.0) 1.1+snapshot-20120324 qemuarm ttyAMA0

qemuarm login: root
root@qemuarm:~# python
Traceback (most recent call last):
  File "/usr/lib/python2.7/site.py", line 64, in <module>
    import traceback
ImportError: No module named traceback

I have a proposed solution already sent to oe-core as
  http://lists.linuxtogo.org/pipermail/openembedded-core/2012-March/019904.html
Comment 2 Richard Purdie 2012-03-29 11:07:54 UTC
Fixed in master with: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=4a0720fd32ec5f5f76e6c8e859af1d7364bec23d thanks to a patch from Gary.