Hello, The binutils 2.34 release tarballs are missing the pre-generated manuals, causing a build failure if "makeinfo" is unavailable: /tmp/guix-build-binutils-2.34.drv-0/binutils-2.34/missing: line 81: makeinfo: command not found WARNING: 'makeinfo' is missing on your system. You should only need it if you modified a '.texi' file, or any other file indirectly affecting the aspect of the manual. You might want to install the Texinfo package: <http://www.gnu.org/software/texinfo/> The spurious makeinfo call might also be the consequence of using a buggy 'make' (AIX, DU, IRIX), in which case you might want to install GNU make: <http://www.gnu.org/software/make/> make[3]: *** [Makefile:474: binutils.info] Error 127 make[3]: Leaving directory '/tmp/guix-build-binutils-2.34.drv-0/binutils-2.34/binutils/doc'
I ran into this as well. I think it is caused by this commit: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=2b44a6a237320a390284b1a8237a6bed67d5401f;hp=89ae5e692398f008d06a8e38d1b531131f41a683 It doesn't seem like removal of the pre-generated binutils.info was intended.
Oh, so anything requiring makeinfo should not be cleaned with `clean`, but with `maintainer-clean`? It seems like my patch should be reverted then.
Patch posted here: https://www.sourceware.org/ml/binutils/2020-03/msg00156.html
The master branch has been updated by Simon Marchi <simark@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9979ab666354f355da46ba826a3efeef9fbb8b24 commit 9979ab666354f355da46ba826a3efeef9fbb8b24 Author: Simon Marchi <simon.marchi@efficios.com> Date: Fri Mar 6 22:06:34 2020 -0500 binutils: doc: move artifacts back to MAINTAINERCLEANFILES In commit 2b44a6a237 (" binutils: doc: make `make clean` clean more things"), I moved the doc build artifacts to MOSTLYCLEANFILES, which made them get removed by "make clean". Because generating binutils.info requires makeinfo, and we do not want to require makeinfo when building from the tarball, binutils.info should not get removed by "make clean" (otherwise, it won't be included in the tarball). And to be consistent with other projects (e.g. ld and gas), we also want to ship the built man pages in the tarball. This patch puts back all these in MAINTAINERCLEANFILES, so that they are bundled in the tarball, and only cleaned if you use "make maintainer-clean". Tested by building a source release and confirming they are present. binutils/ChangeLog: PR 25491 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES. * doc/Makefile.in: Re-generate.
Fixed by patch mentioned above.
*** Bug 25644 has been marked as a duplicate of this bug. ***