Bug 7540

Summary: configure cross-compile sanity test has bad message
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: coreAssignee: Maxin B. John <maxin.john>
Status: VERIFIED FIXED QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: minor    
Priority: Medium CC: bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher
Version: 1.8   
Target Milestone: 2.1   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2015-03-30 17:00:59 UTC
If the configure script emits cross-compilation warnings like this:

cc1: warning: include location "/usr/local/include" is unsafe for cross-compilation [-Wpoison-system-directories]

Then the do_qa_configure() sanity tests will catch that but output it badly:

"This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.  Rerun configure task after fixing this. The path was '%s'"

Where %s is the root of the work directory.

The message should either not tell the user a misleading path (the work directory path), or tell the user the actual path that upset gcc.  (probably the former)
Comment 3 Bogdan Alexandru Voiculescu 2016-01-11 15:43:48 UTC
Verified: path removed.