Bug 2488

Summary: apt-native 0.7.14: do_compile failed on FC17 64bit
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Robert Yang <liezhi.yang>
Component: devtools / tool chainAssignee: Robert Yang <liezhi.yang>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: High CC: liang.li2, meta.mr.watcher, meta.watcher, sgw, zhenfeng.zhao
Version: 1.3   
Target Milestone: 1.3 M2   
Hardware: x86   
OS: Multiple   
Whiteboard: (QA testing completed) Done
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Robert Yang 2012-05-24 07:42:54 UTC
apt-native 0.7.14: failed to build on FC17 64bit:


NOTE: Running task 3333 of 4846 (ID: 4329, /buildarea2/lyang1/poky/meta/recipes-graphics/xorg-app/xkbcomp_1.2.4.bb, do_package)
NOTE: Running task 3334 of 4846 (ID: 3577, /buildarea2/lyang1/poky/meta/recipes-graphics/xorg-app/mkfontdir_1.0.7.bb, do_install)
NOTE: Running task 3335 of 4846 (ID: 3548, /buildarea2/lyang1/poky/meta/recipes-extended/shadow/shadow-securetty_4.1.4.3.bb, do_compile)
ERROR: Function failed: do_compile (see /buildarea2/lyang1/testdeb/tmp/work/x86_64-linux/apt-native-0.7.14-r7/temp/log.do_compile.6995 for 
further information)
ERROR: Logfile of failure stored in: /buildarea2/lyang1/testdeb/tmp/work/x86_64-linux/apt-native-0.7.14-r7/temp/log.do_compile.6995
Log data follows:
| DEBUG: Executing shell function do_compile
| ERROR: Function failed: do_compile (see /buildarea2/lyang1/testdeb/tmp/work/x86_64-linux/apt-native-0.7.14-r7/temp/log.do_compile.6995 fo
r further information)
| NOTE: make -j 6
| Compiling deb/deblistparser.cc to /buildarea2/lyang1/testdeb/tmp/work/x86_64-linux/apt-native-0.7.14-r7/apt-0.7.14/obj/apt-pkg/deblistpar
ser.opic
| deb/deblistparser.cc: In member function 'virtual short unsigned int debListParser::VersionHash()':
| deb/deblistparser.cc:212:13: error: redeclaration of 'char* I'
| deb/deblistparser.cc:202:22: error: 'const char** I' previously declared here
| make[2]: *** [/buildarea2/lyang1/testdeb/tmp/work/x86_64-linux/apt-native-0.7.14-r7/apt-0.7.14/obj/apt-pkg/deblistparser.opic] Error 1
| make[1]: *** [all] Error 2
| make: *** [all] Error 2
| ERROR: oe_runmake failed
NOTE: package apt-native-0.7.14-r7: task do_compile: Failed
ERROR: Task 174 (/buildarea2/lyang1/poky/meta/recipes-devtools/apt/apt-native_0.7.14.bb, do_compile) failed with exit code '1'
Comment 2 liang li 2012-06-25 07:15:01 UTC
run "bitbake apt-native",no errors found,so set status to "verified" and do_compile info below:
NOTE: Running task 153 of 159 (ID: 7, /buildarea/poky.ubuntu.new/meta/recipes-devtools/apt/apt-native_0.7.14.bb, do_compile)
NOTE: package apt-native-0.7.14-r8: task do_compile: Started
NOTE: package apt-native-0.7.14-r8: task do_compile: Succeeded
NOTE: Running task 154 of 159 (ID: 2, /buildarea/poky.ubuntu.new/meta/recipes-devtools/apt/apt-native_0.7.14.bb, do_install)

git info: b876f42821383bf0069ee49b607ba06614417fba
git branch: poky/master

host: fedora 17 x86_64
kernel:3.3.4-5.fc17.x86_64 #1 SMP