Bug 7264 - binutils-cross/crosssdk/cross-canadian sometimes fails to build
Summary: binutils-cross/crosssdk/cross-canadian sometimes fails to build
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.7
Hardware: All Multiple
: Medium normal
Target Milestone: 1.8 M3
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-01-29 11:33 UTC by Paul Eggleton
Modified: 2015-02-02 13:10 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Cooker log for failed build (64.31 KB, text/plain)
2015-01-29 11:33 UTC, Paul Eggleton
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2015-01-29 11:33:19 UTC
Created attachment 2377 [details]
Cooker log for failed build

Intermittently over at least the last year I have been receiving errors when building the SDK where do_compile for binutils-cross, binutils-crosssdk or binutils-cross-canadian would fail to build, usually when building an SDK. Here's the most recent error:

http://errors.yoctoproject.org/Errors/Search/Details/8024/1/10/4348

The cooker log is also attached. I was first blinded by the fact that configure was rerunning during do_compile; according to Richard that is normal for binutils however. Looking closely at the errors though and what other tasks were executing at the same time, it became clear that this was caused by sed-native rebuilding while the configure script was rerunning.

Digging through "git blame", sed-native was added as a dependency for SDK builds a very long time ago - back in 2006 in OE-Classic. There are no clear statements as such, but from what I can tell at that time the host sed couldn't be relied upon. That's no longer the case, so I think the easiest thing is just to remove the dependency and probably drop the BBCLASSEXTEND of sed to native at the same time.