Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692322 - media-video/mkvtoolnix-35.0.0 uses internal copy of dev-libs/utfcpp
Summary: media-video/mkvtoolnix-35.0.0 uses internal copy of dev-libs/utfcpp
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: media-video herd
Depends on:
Reported: 2019-08-17 02:04 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2019-09-15 11:36 UTC (History)
1 user (show)

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

Patch (mkvtoolnix.patch,2.07 KB, patch)
2019-08-17 20:06 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2019-08-17 02:04:13 UTC
ac/utf8cpp.m4 would not detect system version of dev-libs/utfcpp and would fall back to internal version of this library.

Probably 'append-cxxflags -I/usr/include/utf8cpp' or something similar is needed.
Comment 1 Jouni Kosonen 2019-08-17 09:10:26 UTC
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?
Comment 2 Jouni Kosonen 2019-08-17 10:10:27 UTC
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

> conftest.cpp:71:10: fatal error: utf8.h: No such file or directory
in the config.log too.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2019-08-17 20:06:25 UTC
Created attachment 587220 [details, diff]

Please test this patch.
Comment 4 Larry the Git Cow gentoo-dev 2019-09-15 11:36:25 UTC
The bug has been referenced in the following commit(s):

commit a1d52f4db6dc9837c834ac676b602142e83a3ced
Author:     David Seifert <>
AuthorDate: 2019-09-15 11:36:06 +0000
Commit:     David Seifert <>
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
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: David Seifert <>

 media-video/mkvtoolnix/Manifest                 |   1 +
 media-video/mkvtoolnix/mkvtoolnix-37.0.0.ebuild | 118 ++++++++++++++++++++++++
 2 files changed, 119 insertions(+)