问题
I am beginner to yocto. I am trying to build edison images on ubuntu 17.10.
I am following this link.
But It fails in native autmake.
I have linked recipe ERROR over here.
RE-EDIT
I have made changes for removing automake error, followed by patch. Now it's failed in native ncurses-5.9. Log file is attached Log_file.
Thanks,
Pritam
回答1:
Something wrong with generation man docs for automake in the command line:
: && /bin/mkdir -p doc && { PATH='/home/prityaa/documents/boards/intel/edison/tools/yocto/iot-devkit-yp-poky-edison-20160606/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/x86_64-linux/automake-native/1.14.1-r0/build/t/wrap':$PATH && export PATH; } && /usr/bin/perl /home/prityaa/documents/boards/intel/edison/tools/yocto/iot-devkit-yp-poky-edison-20160606/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/x86_64-linux/automake-native/1.14.1-r0/automake-1.14.1/doc/help2man --output=doc/automake-1.14.1 automake-1.14
The real error is not printed but just truncated to:
help2man: can't get `--help' info from automake-1.14
You can follow advice to:
Try `--no-discard-stderr' if option outputs to stderr
but I don't think you really want generate automake docs so much :)
So, I suggest just workaround it with creating fake output docs to please the make. Run on your machine :
$ touch /home/prityaa/documents/boards/intel/edison/tools/yocto/iot-devkit-yp-poky-edison-20160606/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/x86_64-linux/automake-native/1.14.1-r0/automake-1.14.1/doc/automake-1.14.1
$ touch /home/prityaa/documents/boards/intel/edison/tools/yocto/iot-devkit-yp-poky-edison-20160606/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/x86_64-linux/automake-native/1.14.1-r0/automake-1.14.1/doc/aclocal-1.14.1
This should disable help2man invoking for automake building. Yes, it's a bit ugly and it'd better to fix real issue but enough to keep going and build image.
来源:https://stackoverflow.com/questions/48373815/yocto-fails-to-build-images-for-intel-edison-in-ubuntu-17-1064-bit