Bug 4829

Summary: [Test Case 340] Build core-image-minimal with build-appliance-image
Product: [Build System, Metadata & Runtime] Runtime Reporter: Yi Zhao <yi.zhao>
Component: build-applianceAssignee: Cristian Iorga <cristian.iorga>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: Medium+ CC: alexandru.c.georgescu, ke.zou, ning.zhang, sgw
Version: 1.5   
Target Milestone: 1.5 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
log.do_compile none

Description Yi Zhao 2013-07-09 08:15:21 UTC
STATUS: FAILED
BUILD: master: eaa5df34af42b6a37f6506847d0f3ef6ba0d298a
ENVIRONMENT: qemu-kvm on Ubuntu 12.04 libvirt
STEPS TO REPRODUCE: 
1. Build with AUTOREV or download from Autobuilder an image for Yocto Build Appliance.
2. Boot the image under VMWare Player.
3. Build qemux86 core-image-minimal using Hob in the build-appliance-image
4. Launch the image just built from within Hob.


EXPECTED OUTCOME: core-image-minimal should build and boot.

Fail to build gcc-cross-initial:
##############
In file included from /home/builder/poky/build/tmp/work-shared/gcc-4.8.1-r0/gcc-4.8.1/gcc/genhooks.c:21:0:
/home/builder/poky/build/tmp/work-shared/gcc-4.8.1-r0/gcc-4.8.1/gcc/system.h:205:20: fatal error: cstring: No such file or directory
 # include <cstring>
                    ^
compilation terminated.
make[1]: *** [build/genhooks.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from /home/builder/poky/build/tmp/work-shared/gcc-4.8.1-r0/gcc-4.8.1/gcc/genchecksum.c:21:0:
/home/builder/poky/build/tmp/work-shared/gcc-4.8.1-r0/gcc-4.8.1/gcc/system.h:205:20: fatal error: cstring: No such file or directory
 # include <cstring>
                    ^
compilation terminated.
make[1]: *** [build/genchecksum.o] Error 1
In file included from /home/builder/poky/build/tmp/work-shared/gcc-4.8.1-r0/gcc-4.8.1/gcc/genenums.c:21:0:
/home/builder/poky/build/tmp/work-shared/gcc-4.8.1-r0/gcc-4.8.1/gcc/system.h:205:20: fatal error: cstring: No such file or directory
 # include <cstring>
                    ^
##################

Please see the attachment log.do_compile

This bug is similar with bug 4812
Comment 1 Yi Zhao 2013-07-09 08:16:13 UTC
Created attachment 1321 [details]
log.do_compile
Comment 2 Saul Wold 2013-07-09 16:52:31 UTC
These are the same issues, once 4812 is fixed this issue will go away

*** This bug has been marked as a duplicate of bug 4812 ***
Comment 3 Alexandru Georgescu 2013-10-17 11:11:10 UTC
verified as per above comments. and 4812 is fixed and verified.