problem on generating man pages with newer autotools

Iru Cai vimacs@disroot.org
Fri Nov 26 01:08:53 GMT 2021


Hello,

On 2021/11/26 00:14, Michael Matz wrote:
> That's not the problem.  Rather the problem is that the 2.37 release
> tarball contains wrongly pre-generated man pages (empty ones).  That the
Oh, I can see the pre-generated ones in 2.36.1 are not empty.
> man pages are included in a release tarball is correct: it's supposed to
> have fewer build requirements than random git checkouts, but in this case
> it has the effect that even with the right tools available they aren't
> remade, so the empty ones are used.
>
> Do this in the unpacked source directory:
> rm -f binutils/doc/*.1
> rm -f binutils/doc/cxxfilt.man
> rm -f gprof/*.1
> rm -f gas/doc/*.1
> rm -f ld/*.1

Hmm, I do this before build. And after the build, I go into gas/doc and 
run ``rm as.1; make as.1`` again, and it doesn't require autotools. The 
reason I saw the automake-1.16 thing is that I ran ``make -B`` previously.

Instead, it's this error that make the build system generate empty man 
pages (texi2pod.pl doesn't support --no-split option):

perl ../../../gas/doc/../../etc/texi2pod.pl -I "../../../gas/doc" -I 
"../../../gas/../libiberty" -I "../../../gas/../bfd/doc" -I 
../../bfd/doc --no-split -Dman < ../../../gas/doc/as.texi > as.pod
usage: ../../../gas/doc/../../etc/texi2pod.pl [-D toggle...] [infile 
[outfile]]

Iru


More information about the Binutils mailing list