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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-17 02:04 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2020-05-25 12:05 UTC (History)
1 user (show)

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


Attachments
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.
https://gitlab.com/mbunkus/mkvtoolnix/blob/master/ac/utf8cpp.m4


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
and 

> 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]
Patch

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):

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(+)
Comment 5 Arfrever Frehtes Taifersar Arahesis 2020-05-25 12:05:09 UTC
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>