Bug 1726

Summary: libzypp compile failed for qemumips on autobuilder
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jiajun Xu <jiajun.xu>
Component: coreAssignee: Jiajun Xu <jiajun.xu>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: High CC: ke.yu, meta.mr.watcher, meta.watcher, sgw, yi.zhao
Version: unspecified   
Target Milestone: 1.2 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Jiajun Xu 2011-11-03 00:39:45 UTC
MACHINE: qemumips
poky/branch:master 9b76e6a2cfc5a4d779f3b06e3acc5ff7b8275470

On autobuilder, latest qemumips build failed due to compile failed for libzypp.
The error log as below:

Detailed log could be found on http://autobuilder.pokylinux.org:8010/builders/nightly-mips/builds/125/steps/shell_12/logs/stdio.

#####
| make -f CMakeFiles/Makefile2 all
| make[1]: Entering directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git'
| make -f zypp/CMakeFiles/zypp.dir/build.make zypp/CMakeFiles/zypp.dir/depend
| make -f vendor/mongoose/CMakeFiles/mongoose.dir/build.make vendor/mongoose/CMakeFiles/mongoose.dir/depend
| make[2]: Entering directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git'
| cd /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git && /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_depends "Unix Makefiles" /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git/vendor/mongoose /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git/vendor/mongoose /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git/vendor/mongoose/CMakeFiles/mongoose.dir/DependInfo.cmake --color=
| make[2]: Leaving directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git'
| make -f vendor/mongoose/CMakeFiles/mongoose.dir/build.make vendor/mongoose/CMakeFiles/mongoose.dir/build
| make[2]: Entering directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git'
| make[2]: Nothing to be done for `vendor/mongoose/CMakeFiles/mongoose.dir/build'.
| make[2]: Leaving directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git'
| /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_progress_report /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightERROR: Function 'do_install' failed (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/temp/log.do_install.379 for further information)
| ly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git/CMakeFiles
| [  0%] Built target mongoose
| make[2]: Entering directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git'
| cd /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git && /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_depends "Unix Makefiles" /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git/zypp /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git/zypp /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git/zypp/CMakeFiles/zypp.dir/DependInfo.cmake --color=
| make[2]: Leaving directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git'
| make -f zypp/CMakeFiles/zypp.dir/build.make zypp/CMakeFiles/zypp.dir/build
| make[2]: Entering directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git'
| make[2]: *** No rule to make target `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/sysroots/qemumips/usr/include/ansidecl.h', needed by `zypp/CMakeFiles/zypp.dir/parser/xml/Node.cc.o'.  Stop.
| make[2]: Leaving directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git'
| make[1]: *** [zypp/CMakeFiles/zypp.dir/all] Error 2
| make[1]: Leaving directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/qemumips-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r15/git'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
#####
Comment 1 Mark Hatle 2011-11-15 16:11:53 UTC
Status:  I attempted to build qemumips using oe-core as of 11-15-2001 -- da8425174529f10e16cde21fbea7f804284c38ae

I did not encounter any issues while building libzypp or the other zypper components.

I will move to trying to reproduce the issue w/ poky.
Comment 2 Mark Hatle 2011-11-16 12:40:57 UTC
I was unable to reproduce this on poky -- revision: fa81f8dfb7a342e355b608aa4204cf23ed2b251c

If this failure continues to occur for you, it is likely due to a build ordering issue -- or an old component being in your sysroot.  I'm not sure how we'll be able to diagnose it, other then try to find the actual error message in the log that is failing and track back from there on what is in use.

I'm sending this back to the reporter.
Comment 3 Jiajun Xu 2011-11-16 17:04:20 UTC
(In reply to comment #2)
> I was unable to reproduce this on poky -- revision:
> fa81f8dfb7a342e355b608aa4204cf23ed2b251c
> If this failure continues to occur for you, it is likely due to a build
> ordering issue -- or an old component being in your sysroot.  I'm not sure how
> we'll be able to diagnose it, other then try to find the actual error message
> in the log that is failing and track back from there on what is in use.
> I'm sending this back to the reporter.

I did not notice same issue on autobuilder against recent commit. So let's mark the bug as fixed and will open it if we could reproduce it in future.