ac/utf8cpp.m4 would not detect system version of dev-libs/utfcpp and would fall back to internal version of this library. https://gitlab.com/mbunkus/mkvtoolnix/blob/master/ac/utf8cpp.m4 Probably 'append-cxxflags -I/usr/include/utf8cpp' or something similar is needed.
I have this in my mkvtoolnix build log: > checking utf8.h usability... yes > checking utf8.h presence... yes > checking for utf8.h... yes > configure: Using the system version of UTF8-CPP Could it be because I had dev-libs/utfcpp-2.3.4 instead of utfcpp-3.1?
utfcpp-2.3.4 has /usr/include/utf8.h so of course it works with that. With utfcpp-3.1 I get > checking utf8.h usability... no > checking utf8.h presence... no > checking for utf8.h... no > configure: Using the internal version of UTF8-CPP and > conftest.cpp:71:10: fatal error: utf8.h: No such file or directory in the config.log too.
Created attachment 587220 [details, diff] Patch Please test this patch.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d52f4db6dc9837c834ac676b602142e83a3ced commit a1d52f4db6dc9837c834ac676b602142e83a3ced Author: David Seifert <soap@gentoo.org> AuthorDate: 2019-09-15 11:36:06 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2019-09-15 11:36:06 +0000 media-video/mkvtoolnix: Version bump to 37.0.0 * Remove C++ compiler check for ancient versions of GCC Bug: https://bugs.gentoo.org/662788 Bug: https://bugs.gentoo.org/692322 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: David Seifert <soap@gentoo.org> media-video/mkvtoolnix/Manifest | 1 + media-video/mkvtoolnix/mkvtoolnix-37.0.0.ebuild | 118 ++++++++++++++++++++++++ 2 files changed, 119 insertions(+)
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47675f57b279b0e994178dfef192f7028a4ef96a commit 47675f57b279b0e994178dfef192f7028a4ef96a Author: David Seifert <soap@gentoo.org> AuthorDate: 2019-09-15 11:36:03 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2019-09-15 11:36:03 +0000 media-video/mkvtoolnix: Update live ebuild Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: David Seifert <soap@gentoo.org>