Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 823197 - sys-apps/texinfo-6.8: enable Carp to build media-video/ffmpeg-4.4-r1 docs
Summary: sys-apps/texinfo-6.8: enable Carp to build media-video/ffmpeg-4.4-r1 docs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-11-11 23:14 UTC by mehw
Modified: 2024-01-07 08:16 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mehw 2021-11-11 23:14:13 UTC
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.
...
Comment 1 Larry the Git Cow gentoo-dev 2021-11-11 23:48:22 UTC
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(+)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-02 00:39:50 UTC
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>