Hello, sys-apps/texinfo-6.8 requires to enable Carp in texi2any.pl to build media-video/ffmpeg-4.4-r1 (the latest in-tree stable version of ffmpeg) docs successfully. USE="doc" emerge ffmpeg ... makeinfo: warning: error loading ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::carp called at /usr/share/texinfo/Texinfo/Convert/HTML.pm line 7308. Compilation failed in require at /usr/bin/makeinfo line 342. ...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=879158d05be754ba8c93c8b54772f7c3264401d7 commit 879158d05be754ba8c93c8b54772f7c3264401d7 Author: Matthew White <mehw.is.me@inventati.org> AuthorDate: 2021-11-11 23:04:48 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2021-11-11 23:48:11 +0000 sys-apps/texinfo: enable Carp This fixes building media-video/ffmpeg docs. makeinfo: warning: error loading ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::carp called at /usr/share/texinfo/Texinfo/Convert/HTML.pm line 7308. Compilation failed in require at /usr/bin/makeinfo line 342. Closes: https://bugs.gentoo.org/823197 Package-Manager: Portage-3.0.28, Repoman-3.0.3-r1 Signed-off-by: Matteo Bianco <mehw.is.me@inventati.org> Closes: https://github.com/gentoo/gentoo/pull/22908 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> .../texinfo/files/texinfo-6.8-enable-Carp.patch | 20 ++++++ sys-apps/texinfo/texinfo-6.8-r1.ebuild | 73 ++++++++++++++++++++++ 2 files changed, 93 insertions(+)
commit 3319a3d356bb473f91bdfbe799dc2ef6cfb4b379 Author: Andreas K. Hüttel <dilfridge@gentoo.org> Date: Sat Nov 13 01:10:27 2021 +0100 Revert "sys-apps/texinfo: enable Carp" If we patch the perl file, the build system tries to rebuild the manpage, and stage builds bail out because of missing dependencies. Fixable, but let's wait for a new texinfo release instead which also should fix the underlying bug. This reverts commit 879158d05be754ba8c93c8b54772f7c3264401d7. Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>