Bug 907 - slang qa sanity failure in poky-image-lsb
Summary: slang qa sanity failure in poky-image-lsb
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.0
Hardware: x86 Multiple
: High major
Target Milestone: 1.0 M4
Assignee: Kai Kang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-03-18 01:31 UTC by Kevin Tian
Modified: 2011-03-18 18:26 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Tian 2011-03-18 01:31:58 UTC
| ERROR: 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 '/media/builds/master/d659e62-lsb/tmp/work/i586-poky-linux/slang-2.2.2-r1/slang-2.2.2'
| ERROR: Function 'do_qa_configure' failed

there's some hardcoded X11 header path in the configure which refers to the host include (check ac_x_header_files)
Comment 1 Kevin Tian 2011-03-18 01:33:29 UTC
there's configuration like "-x-includes" which may be used to solve this issue. I'll bake some initial patch to make sure poky-image-lsb build fine, and then leave to Kai to verify whether logic is broken since I know little about slang
Comment 2 Kai Kang 2011-03-18 02:10:36 UTC
(In reply to comment #0)
> | ERROR: 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
> '/media/builds/master/d659e62-lsb/tmp/work/i586-poky-linux/slang-2.2.2-r1/slang-2.2.2'
> | ERROR: Function 'do_qa_configure' failed
> 
> there's some hardcoded X11 header path in the configure which refers to the
> host include (check ac_x_header_files)

Hi Kevin,

Would you tell me more details, such as platform, or send me(kai.kang@windriver.com) the full log, because I can't recur when build for qemux86.

Thanks.
Comment 3 Kevin Tian 2011-03-18 02:15:10 UTC
(In reply to comment #2)
> Hi Kevin,
> Would you tell me more details, such as platform, or send
> me(kai.kang@windriver.com) the full log, because I can't recur when build for
> qemux86.
> Thanks.

my environment is x86-64 Ubuntu 10.10, and I'm building qemux86. the error info is simple, and the problem is that ac_x_header_files are hard coded to host path (/usr/X11/...) which causes the trouble.

there's an option called (--x-includes) to specify where to look at X header files. I'm trying with that option now.
Comment 4 Kevin Tian 2011-03-18 03:00:30 UTC
patch sent out
Comment 5 Richard Purdie 2011-03-18 18:26:35 UTC
Fixed in master and bernard: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=34869c6d61a9729e977ced19897b713213fd620b