Bug 298

Summary: groff fails on x86-64 target
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Kevin Tian <kevin.tian>
Component: meta-yoctoAssignee: Xiaofeng Yan <Xiaofeng.yan>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, kevin.tian, poky.bs.watcher, poky.watcher, richard.purdie, sgw
Version: 0.9   
Target Milestone: 0.9 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

Description Kevin Tian 2010-09-08 23:23:25 UTC
| configure: loading site script /home/poky/tasks/poky/meta/site/endian-little
| configure: loading site script /home/poky/tasks/poky/meta/site/common-glibc
| configure: loading site script /home/poky/tasks/poky/meta/site/x86_64-linux
| configure: loading site script /home/poky/tasks/poky/meta/site/common
| configure: loading site script /media/disk/builds/master-x86_64/tmp/sysroots/x86_64-poky-linux/usr/share/x86_64-poky-linux_config_site.d/zlib_config
| configure: loading site script /media/disk/builds/master-x86_64/tmp/sysroots/x86_64-poky-linux/usr/share/x86_64-poky-linux_config_site.d/glibc_config
| /media/disk/builds/master-x86_64/tmp/work/x86_64-poky-linux/groff-1.18.1.4-r0/groff-1.18.1.4/configure: line 2141: GROFF_SRCDIR: command not found
| /media/disk/builds/master-x86_64/tmp/work/x86_64-poky-linux/groff-1.18.1.4-r0/groff-1.18.1.4/configure: line 2142: GROFF_BUILDDIR: command not found
| checking for gcc... x86_64-poky-linux-gcc -march=core2 -m64 --sysroot=/media/disk/builds/master-x86_64/tmp/sysroots/x86_64-poky-linux
| checking whether the C compiler works... yes
| checking for C compiler default output file name... a.out
| checking for suffix of executables...
| checking whether we are cross compiling... configure: error: in `/media/disk/builds/master-x86_64/tmp/work/x86_64-poky-linux/groff-1.18.1.4-r0/groff-1.18.1.4':
| configure: error: cannot run C compiled programs.
| If you meant to cross compile, use `--host'.
| See `config.log' for more details.
Comment 1 Xiaofeng Yan 2010-09-09 20:18:43 UTC
This is a bug, I have modified it.
Comment 3 Kevin Tian 2010-10-21 01:04:14 UTC
verified the build on failure with this package now
Comment 4 Xiaofeng Yan 2010-10-21 18:31:07 UTC
(In reply to comment #3)
> verified the build on failure with this package now

I didn't reappear this error in my machine. I pull the most latest poky and compile it at evening yesterday.
Judging from your error log, this error rose from absent parameter "--host". So you can pull the latest poky and compile it. If this error is still appear, I will add "--host={BUILD_SYS}"  to "EXTRA_OECONF".