| 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.
This is a bug, I have modified it.
http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=23bfe02542e83c14948d791f45ff04159244a4b5
verified the build on failure with this package now
(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".