Bug 370

Summary: on 32-bit Fedora 13, can't build ncurses-native for qemuarm
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Dexuan Cui <dexuan.cui>
Component: meta-yoctoAssignee: Dexuan Cui <dexuan.cui>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, josh, ke.yu, kevin.tian, poky.bs.watcher, poky.watcher, richard.purdie, sgw
Version: 0.9   
Target Milestone: 0.9 M4   
Hardware: x86   
OS: arm   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

Description Dexuan Cui 2010-09-30 04:09:27 UTC
Based on today's poky.git's  master (commit 7f7c185c) plus Kevin's fix to gcc
(commit 843d9daf), I met with the failure when building eglibc-nativesdk -- after the failure occurred, "bitbake ncurses-native" had the same failure(I modified the file to show what error the ImportError is actually):

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Full skip list set([])
Traceback (most recent call last):
  File "/opt/dcui/p/scripts/..//bitbake//bin/bitbake-runtask", line 8, in <module>
    import cPickle as pickle
ImportError: /usr/lib/python2.6/cPickle.so: undefined symbol: PyUnicodeUCS4_DecodeRawUnicodeEscape
NOTE: Running task 335 of 457 (ID: 12, virtual:native:/opt/dcui/p/meta/recipes-core/ncurses/ncurses_5.4.bb, do_package)
ERROR: Task 12 (virtual:native:/opt/dcui/p/meta/recipes-core/ncurses/ncurses_5.4.bb, do_package) failed with 1
ERROR: 'virtual:native:/opt/dcui/p/meta/recipes-core/ncurses/ncurses_5.4.bb' failed

Here cPickle can't be imported in *bitbake einvoronment*.
Looks the issue is Fedora 13 related(Fedora-specifid python?) because Liping, who uses Ubuntu, can build fine with the same poky source and config.

I'll further look into the issue.
Comment 1 Joshua Lock - Disabled 2010-09-30 06:22:02 UTC
I'm running F13 x86_64 on several machines used to build Poky and have not seen such issues.
Comment 2 Jessica 2010-10-04 13:14:02 UTC
A duplicate of bug 335 which is verified

*** This bug has been marked as a duplicate of bug 335 ***
Comment 3 Dexuan Cui 2010-10-07 20:18:08 UTC
Yes, I can also verify the fix ("Commenting out LD_LIBRARY_PATH fix the
problem").