Bug 4736 - populate_sdk compile failures; when run after target build
Summary: populate_sdk compile failures; when run after target build
Status: RESOLVED WORKSFORME
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.5 M2
Assignee: Laurentiu Palcu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-06-17 09:51 UTC by Jack Mitchell
Modified: 2013-06-25 08:14 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
nativesdk-gettext failure (65.14 KB, application/octet-stream)
2013-06-17 09:51 UTC, Jack Mitchell
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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!