Bug 4971

Summary: sed-native needed for meta-toolchain-sdk build
Product: [Yocto Project Subprojects] ADT Reporter: Steve Arnold <stephen.arnold42>
Component: adtAssignee: Laurentiu Palcu <laurentiu.palcu>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: poky.adt.watcher, poky.watcher, richard.purdie
Version: unspecified   
Target Milestone: 1.5   
Hardware: x86   
OS: arm   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Steve Arnold 2013-08-01 03:34:00 UTC
Building off master, pulled a couple of days ago, images build fine but SDK build failed with a /path/to/native/sysroot/bin/sed no such file or directory.  Doing a bitbake sed-native and restarting the meta-toolchain-sdk succeeds.

Build Configuration:
BB_VERSION        = "1.19.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "raspberrypi"
DISTRO            = "poky"
DISTRO_VERSION    = "1.4+snapshot-20130801"
TUNE_FEATURES     = "armv6 vfp callconvention-hard arm1176jzfs no-thumb-interwork"
TARGET_FPU        = "vfp"
meta
meta-yocto
meta-yocto-bsp    = "master:67864ca79da08df752487a3a4e1a975546da123d"
meta-raspberrypi  = "master:d3cf3c1e054e164be941c18c8df95eab25ee90e2"
meta-oe
meta-gnome
meta-networking
meta-multimedia
meta-efl
meta-xfce         = "master:16fad8e6191fddd372e0791e0b6f3d541ce3b738"
Comment 1 Laurentiu Palcu 2013-09-19 11:26:49 UTC
Does this still happen for you? I just did a meta-toolchain-sdk build and it finished just fine. Here's my configuration:

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-20130919"
TUNE_FEATURES     = "armv5 thumb dsp"
TARGET_FPU        = "soft"
meta
meta-yocto
meta-yocto-bsp    = "master:853bc53cd58a621918f0e5ce662dba263d1befb4"

Can you please try again on latest?
Comment 2 Richard Purdie 2013-09-25 12:34:03 UTC
Do you have the failure log for this available? I looked and spotted some hardcoded paths to sed-native in the build in perl which may be the problem but I'd like to be sure there isn't another issue.
Comment 3 Richard Purdie 2013-09-25 12:35:17 UTC
FWIW I've sent out a patch on the mailing list for the issues I could spot.
Comment 4 Richard Purdie 2013-09-26 16:33:00 UTC
Should be fixed in master http://git.yoctoproject.org/cgit.cgi/poky/patch/?id=32edeb391f2107bb66b361cdcd4b8d4447731c33

Reproduction needed perl-native to be built after sed-native and then for sed-native not to be installed.
Comment 5 Steve Arnold 2013-10-04 14:58:45 UTC
Sorry, I got busy and missed a few of these...  I should be able to back out my fix and test it this weekend.