Bug 6107

Summary: python: build error with Readline 6.3
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Chong Lu <chong.lu>
Component: devtools / tool chainAssignee: Chong Lu <chong.lu>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, meta.mr.watcher, meta.watcher
Version: 1.6   
Target Milestone: 1.6 M5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Chong Lu 2014-04-03 07:05:12 UTC
Here is the build log showing the errors:

Python-2.7.3/Modules/readline.c: In function 'setup_readline':
Python-2.7.3/Modules/readline.c:889:24: error: 'Function' undeclared (first use in this function)
Python-2.7.3/Modules/readline.c:889:24: note: each undeclared identifier is reported only once for each function it appears in
Python-2.7.3/Modules/readline.c:889:34: error: expected expression before ')' token
Python-2.7.3/Modules/readline.c:891:36: error: expected expression before ')' token
Python-2.7.3/Modules/readline.c:894:41: error: 'CPPFunction' undeclared (first use in this function)
Python-2.7.3/Modules/readline.c:894:54: error: expected expression before ')' token
Python-2.7.3/Modules/readline.c: At top level:
Python-2.7.3/Modules/readline.c:739:1: warning: 'on_startup_hook' defined but not used [-Wunused-function]
Python-2.7.3/Modules/readline.c:746:1: warning: 'on_pre_input_hook' defined but not used [-Wunused-function]
Python-2.7.3/Modules/readline.c:841:1: warning: 'flex_complete' defined but not used [-Wunused-function]
Comment 1 Chong Lu 2014-04-08 08:46:47 UTC
This issue was fixed.