Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806256 - media-video/mkvtoolnix-60.0.0 fails to compile
Summary: media-video/mkvtoolnix-60.0.0 fails to compile
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:
Depends on:
Blocks:
 
Reported: 2021-08-03 09:15 UTC by Agostino Sarubbo
Modified: 2021-08-03 13:37 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,47.72 KB, text/plain)
2021-08-03 09:15 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,40.92 KB, text/plain)
2021-08-03 09:15 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-08-03 09:15:49 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-video/mkvtoolnix-60.0.0 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-08-03 09:15:51 UTC
Created attachment 729850 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-08-03 09:15:53 UTC
Created attachment 729852 [details]
1-config.log

1-config.log
Comment 3 Agostino Sarubbo gentoo-dev 2021-08-03 09:15:54 UTC
Possible context of error(s):

configure: error: The Qt library is required for building MKVToolNix.
Comment 4 Bernd Feige 2021-08-03 12:19:04 UTC
Here, with -qt5 but QT libraries installed, configure fails with "cmark library not found".

I think I found the problem: The ebuild has $(use_enable qt5 qt) but current mkvtoolnix supports --enable-qt5 and --enable-qt6 flags as well as --enable-gui defaulting to "yes". And, as you noted, "non-gui" QT libraries are needed in any case and we can apparently only switch between qt5 and qt6.
Comment 5 Larry the Git Cow gentoo-dev 2021-08-03 13:37:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aec44868aca30ce8f391400c38253c0431c2c2f

commit 2aec44868aca30ce8f391400c38253c0431c2c2f
Author:     Alexis Ballier <aballier@gentoo.org>
AuthorDate: 2021-08-03 12:42:36 +0000
Commit:     Alexis Ballier <aballier@gentoo.org>
CommitDate: 2021-08-03 13:37:34 +0000

    media-video/mkvtoolnix: drop qt5 useflag
    
    It is now mandatory.
    
    Closes: https://bugs.gentoo.org/806256
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Alexis Ballier <aballier@gentoo.org>

 media-video/mkvtoolnix/mkvtoolnix-60.0.0.ebuild | 39 ++++++++++----------
 media-video/mkvtoolnix/mkvtoolnix-9999.ebuild   | 47 ++++++++++++-------------
 2 files changed, 40 insertions(+), 46 deletions(-)