sys-auth/oath-toolkit-2.6.9 requires dev-build/automake-1.16.5. However this dependency is not called out in the ebuild. One has to manually perform an emerge --oneshot =dev-build/automake-1.16.5-r2 before building oath-toolkit. Reproducible: Always
The real issue is, why is it trying to use automake at all? There's some mess with generated Makefile snippets that I think causes Makefile.in to be rebuilt from Makefile.am. That shouldn't happen in a release...
Ah. It's the patch. When the mtime of the source files is updated, it triggers a bunch of rebuilds that wouldn't happen otherwise, and gets us into the aforementioned Makefile mess. It should be fixed in newer versions. I just added a patch to 2.6.11 and had to fix this before I could push it.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cd7e5165b7750317d42a65b9bc20ce65eec8302 commit 6cd7e5165b7750317d42a65b9bc20ce65eec8302 Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2024-08-31 11:03:45 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2024-08-31 13:18:30 +0000 sys-auth/oath-toolkit: fix the build on musl Add an upstream patch to fix the build on musl, and then fix a new problem introduced by the patch: the build system is extremely sensitive to mtime changes in the source tree, in that patching triggers a rebuild of some Makefile sources, which ultimately tries to invoke automake. We have to fudge the mtime on the patched file to avoid this. Bug: https://bugs.gentoo.org/936309 Closes: https://bugs.gentoo.org/933086 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> .../files/oath-toolkit-2.6.11-fix-musl-build.patch | 24 ++++++++++++++++++++++ sys-auth/oath-toolkit/oath-toolkit-2.6.11.ebuild | 12 +++++++++++ 2 files changed, 36 insertions(+)