help2man: can't get `--help' info from automake-1.15 Try `--no-discard-stderr' if option outputs to stderr Makefile:3687: recipe for target 'doc/automake-1.15.1' failed
/********************************************************************** * help2man: can't get `--help' info from automake-1.15 Try `--no-discard-stderr' if option outputs to stderr Makefile:3687: recipe for target 'doc/automake-1.15.1' failed * 说明: * 在Ubuntu 18.04上编译Yocto,出现automake使用错误。 * * 2018-6-13 深圳 宝安西乡 曾剑锋 *********************************************************************/ 一、参考文档: 1. compiling coreutils: help2man: can't get `--help' info from man/cp.td/cp Try `--no-discard-stderr' http://albertcn.blog.163.com/blog/static/2094201452015229784694/ 二、解决方法: 修改Makefile源代码: /home/zengjf/zengjf/fsl-release-bsp/imx6q-x11/tmp/work/x86_64-linux/automake-native/1.15-r0/build/Makefile [...省略] doc/aclocal-$(APIVERSION).1: $(aclocal_script) lib/Automake/Config.pm $(update_mans) aclocal-$(APIVERSION) doc/automake-$(APIVERSION).1: $(automake_script) lib/Automake/Config.pm $(update_mans) automake-$(APIVERSION) --no-discard-stderr [...省略]