Without sys-apps/texinfo installed, sdcc fails to build when USE=sdbinutils. /var/tmp/portage/dev-embedded/sdcc-3.8.0-r1/work/sdcc-3.8.0/support/sdbinutils/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[4]: *** [Makefile:472: bfd.info] Error 127 make[4]: Leaving directory '/var/tmp/portage/dev-embedded/sdcc-3.8.0-r1/work/sdcc-3.8.0/support/sdbinutils/bfd/doc' Reproducible: Always
We could add texinfo to depends but build system should avoid rebuilding already available bfd.info. Let me poke a bit to get the idea why build system tries a rebuild.
Building with 'MAKEOPTS=-d' we see the following trigger in the 'build.log': Finished prerequisites of target file 'bfd.info'. Prerequisite 'bfd.texinfo' is older than target 'bfd.info'. Prerequisite 'aoutx.texi' is older than target 'bfd.info'. Prerequisite 'archive.texi' is older than target 'bfd.info'. Prerequisite 'archures.texi' is older than target 'bfd.info'. Prerequisite 'bfdt.texi' is older than target 'bfd.info'. Prerequisite 'cache.texi' is older than target 'bfd.info'. Prerequisite 'coffcode.texi' is older than target 'bfd.info'. Prerequisite 'core.texi' is older than target 'bfd.info'. Prerequisite 'elf.texi' is older than target 'bfd.info'. Prerequisite 'elfcode.texi' is older than target 'bfd.info'. Prerequisite 'format.texi' is older than target 'bfd.info'. Prerequisite 'libbfd.texi' is older than target 'bfd.info'. Prerequisite 'bfdwin.texi' is older than target 'bfd.info'. Prerequisite 'bfdio.texi' is older than target 'bfd.info'. Prerequisite 'opncls.texi' is older than target 'bfd.info'. Prerequisite 'reloc.texi' is older than target 'bfd.info'. Prerequisite 'section.texi' is older than target 'bfd.info'. Prerequisite 'syms.texi' is older than target 'bfd.info'. Prerequisite 'targets.texi' is older than target 'bfd.info'. Prerequisite 'init.texi' is older than target 'bfd.info'. Prerequisite 'hash.texi' is older than target 'bfd.info'. Prerequisite 'linker.texi' is older than target 'bfd.info'. Prerequisite 'mmo.texi' is older than target 'bfd.info'. -->>>Prerequisite 'bfdver.texi' is newer than target 'bfd.info'. Prerequisite 'bfdsumm.texi' is older than target 'bfd.info'. Must remake target 'bfd.info'. bfdver.texi is updated with a current date: --- a/support/sdbinutils/bfd/doc/bfdver.texi +++ b/support/sdbinutils/bfd/doc/bfdver.texi @@ -1,4 +1,4 @@ @set VERSION 2.30 @set VERSION_PACKAGE (sdbinutils derived from GNU Binutils) -@set UPDATED März 2018 +@set UPDATED January 2020 @set BUGURL @uref{https://sourceforge.net/p/sdcc/bugs/} bfd.info does not have substantial changes: --- a/support/sdbinutils/bfd/doc/bfd.info +++ b/support/sdbinutils/bfd/doc/bfd.info @@ -1,4 +1,4 @@ -This is bfd.info, produced by makeinfo version 6.5 from bfd.texinfo. +This is bfd.info, produced by makeinfo version 6.6 from bfd.texinfo. This file documents the BFD library. Let's see why 'bfdver.texi' changed: Considering target file 'bfdver.texi'. Considering target file 'Makefile.in'. File 'Makefile.in' was considered already. Finished prerequisites of target file 'bfdver.texi'. Prerequisite 'Makefile.in' is newer than target 'bfdver.texi'. Must remake target 'bfdver.texi'. That is the effect of 'eautoreconf' call in ebuild. We should be able to avoid rebuild by touching 'bfdver.texi' and 'bfd.info'.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d842c61b00c64d5859acb1a603a7fe60af0d186 commit 8d842c61b00c64d5859acb1a603a7fe60af0d186 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-01-16 08:29:33 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-01-16 08:30:33 +0000 dev-embedded/sdcc: avoid makeinfo depend eautoreconf triggers sdbinutils bfd.info rebuild and pulls in extra dependency. We don't need it. Reported-by: Daniel M. Weeks Closes: https://bugs.gentoo.org/705424 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild | 5 +++++ dev-embedded/sdcc/sdcc-9999.ebuild | 5 +++++ 2 files changed, 10 insertions(+)