Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933417 - media-video/mkvtoolnix-84.0 fails to compile: fatal error: no template named 'result_of' in namespace 'std'; did you mean 'boost::result_of'?
Summary: media-video/mkvtoolnix-84.0 fails to compile: fatal error: no template named ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-06-02 10:51 UTC by David Carlos Manuelda
Modified: 2024-06-09 06:24 UTC (History)
2 users (show)

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


Attachments
Full build log (build.log,796.19 KB, text/x-log)
2024-06-02 10:51 UTC, David Carlos Manuelda
Details
emerge --info (emerge.txt,21.25 KB, text/plain)
2024-06-02 10:52 UTC, David Carlos Manuelda
Details
Patch to fix correct namespace usage (0001-Fixed-correct-boost-namespace.patch,888 bytes, patch)
2024-06-02 10:54 UTC, David Carlos Manuelda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Carlos Manuelda 2024-06-02 10:51:28 UTC
When updating system I found that this version of mkvtoolnix does not compile with the error "fatal error: no template named 'result_of' in namespace 'std'; did you mean 'boost::result_of'?"

Reproducible: Always
Comment 1 David Carlos Manuelda 2024-06-02 10:51:46 UTC
Created attachment 894945 [details]
Full build log
Comment 2 David Carlos Manuelda 2024-06-02 10:52:08 UTC
Created attachment 894946 [details]
emerge --info
Comment 3 David Carlos Manuelda 2024-06-02 10:54:41 UTC
Created attachment 894948 [details, diff]
Patch to fix correct namespace usage
Comment 4 Alfred Wingate 2024-06-02 10:59:30 UTC
I dont think that simple as it works on gcc, its most likely something related to clang-18. Will see about replicating on my llvm system.
Comment 6 Larry the Git Cow gentoo-dev 2024-06-09 06:24:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cdacfa91764b6ef1ae7789e64d853c27d92b23d

commit 6cdacfa91764b6ef1ae7789e64d853c27d92b23d
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2024-06-02 11:33:31 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-06-09 06:24:01 +0000

    media-video/mkvtoolnix: fix libcxx incompatibility
    
    Closes: https://bugs.gentoo.org/933417
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/36973
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../files/mkvtoolnix-84.0.0-fix-libcxx-c++20.patch | 44 ++++++++++++++++++++++
 ...olnix-84.0.ebuild => mkvtoolnix-84.0-r1.ebuild} |  4 ++
 2 files changed, 48 insertions(+)