Bug 4736

Summary: populate_sdk compile failures; when run after target build
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jack Mitchell <jack>
Component: devtools / tool chainAssignee: Laurentiu Palcu <laurentiu.palcu>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium+ CC: jack, jessica.zhang, meta.mr.watcher, meta.watcher
Version: unspecified   
Target Milestone: 1.5 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
nativesdk-gettext failure none

Description Jack Mitchell 2013-06-17 09:51:01 UTC
Created attachment 1280 [details]
nativesdk-gettext failure

Ok, this has been happening for a while but I've only just had a chance to write up this bug report.

When I peform the following:

bitbake my-image

bitbake my-sdk -c populate_sdk

I _always_ get build failures. I am running master and these are the packages which appear to consistently fail:

binutils-crosssdk
nativesdk-gettext (log-attached)
nativesdk-gdbm
nativesdk-gmp

To fix the problems, I can either wipe tmp/ or clean the failing recipes and then rebuild. Does anyone know what is causing this and how we could go about fixing it?

I run on master, my target is ARM and host x86_64.
Comment 1 Laurentiu Palcu 2013-06-20 14:10:20 UTC
Hi Jack,

I did tests with both core-image-sato and core-image-minimal (below are the steps) and it worked just fine:

1. start with a clean build dir
1. bitbake core-image-sato
2. bitbake -c populate_sdk core-image-sato

(same for minimal)

Can you please provide more info about this? Like commit you tested with, if it happens also with minimal/sato, etc.

Here is my build configuration:

BB_VERSION        = "1.19.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "qemuarm"
DISTRO            = "poky"
DISTRO_VERSION    = "1.4+snapshot-20130620"
TUNE_FEATURES     = "armv5 thumb dsp" 
TARGET_FPU        = "soft"
meta
meta-yocto
meta-yocto-bsp    = "master:e04e6dab0afa8f72bf001b0cc106cd13b7694a91"
Comment 2 Laurentiu Palcu 2013-06-25 07:20:25 UTC
Since I cannot reproduce this with core-image-sato/core-image-minimal, I'm closing this issue.

Jack, if you have some more info that would help me reproduce it, please reopen it.
Comment 3 Jack Mitchell 2013-06-25 08:14:41 UTC
Hi Laurentiu,

I also tried to reproduce it with a clean build of core-image-minimal and I couldn't. It may have something to do with my slightly different setup.

For example I have:

core-image-dev; which has dbg-pkgs enabled and this is the image I build for the target

then I also have

core-image-sdk; which has dev-pkgs, but not dbg-pkgs and also a slightly different mix of programs.

I'll hold tight on it and update if any light bulbs switch on!