Building automake in current master fails with help2man error

Building current fails with "help2man: can't get `--help' info from automake-1.15" Perl-threads is installed, here's the build log -

So, the error comes from compiling the devel/automake package, right?
Buildbot seems to compile it ok.

(What is the relevance of perl-threads that you mention?)

I tried building it, but failed, just like you. One curious part is that the error log references both automake-1.15 and automake-1.15.1

/bin/mkdir -p doc && { PATH='/Openwrt/r7800/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/automake-1.15/t/wrap:'$PATH && export PATH; } && /Openwrt/r7800/staging_dir/host/bin/perl ./doc/help2man --output=doc/automake-1.15.1 automake-1.15
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
make[3]: *** [doc/automake-1.15.1] Error 255
make[3]: Leaving directory '/Openwrt/r7800/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/automake-1.15'

toolchain has already 1.15.1, but the packages feed has still 1.15

I wonder if the build somehow mixes toolchain and packages feed automakes.

1 Like

Appears so, I read that missing perl::threads caused the help2man error and it wasn't installed so I installed it. This is the first time I'm building with any dev tools and I think that error may be semantics?

$ automake-1.15 --version
automake (GNU automake) 1.15.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <>
       and Alexandre Duret-Lutz <>.

One solution might be to edit the build options in Makefile:

Try `--no-discard-stderr' if option outputs to stderr

I am also curious why there is no error report in the buildbot.

Note that you should also be able to install automake with opkg to the router.

1 Like

Just did a clean/download/compile off a fresh pull on Ubuntu 16.04.4 LTS. ar71xx (Archer C7)

jeff@ubuntu:~/Documents/devel/lede_source$ dpkg --get-selections | egrep 'auto|help2man|thread'
autoconf						install
autoconf-archive				install
autogen							install
autogen-doc						install
automake						install
autotools-dev					install
avahi-autoipd					install
libautodie-perl					install
libpthread-stubs0-dev:amd64		install
libwinpr-thread0.1:amd64		install
$ automake --version
automake (GNU automake) 1.15

I don't see an upgrade for automake available through apt

git hashes

lede_source$ for gd in $( find . -path './build_dir' -prune -o -name .git -print ) ; do echo $gd ; (cd $gd ; git describe --always ; git branch --contains ) ; echo ; done
* master

* devel

* master

* master

* master

* master

I can post config.seed or the like if either of you think it worthwhile.

So. Any news?
Anyone no how to fix it?
Downgrading, upgrading, something?