Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927380 - media-video/mkvtoolnix-82.0[-gui] fails to compile: configure: error: The Qt library version >= is required for building MKVToolNix
Summary: media-video/mkvtoolnix-82.0[-gui] fails to compile: configure: error: The Qt ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-03-21 06:58 UTC by Agostino Sarubbo
Modified: 2024-04-01 07:18 UTC (History)
8 users (show)

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


Attachments
build.log (build.log,58.34 KB, text/plain)
2024-03-21 06:58 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,44.15 KB, text/plain)
2024-03-21 06:58 UTC, Agostino Sarubbo
Details
Fix compilation of mkvmerge-82.0 with USE='-gui' (ce172cf8bccacf1d358e23707395bb1dbf5f025c.patch,1.11 KB, patch)
2024-03-26 01:42 UTC, Patrice Levesque
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-03-21 06:58:33 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-21 06:58:34 UTC
CC'ing also the author of the commit (d58120752680b16a1f1aaf64618d4e7bcf3ee040)
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-21 06:58:35 UTC
Created attachment 888022 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2024-03-21 06:58:36 UTC
Created attachment 888023 [details]
1-config.log

1-config.log
Comment 4 Patrice Levesque 2024-03-26 01:42:29 UTC
Created attachment 888580 [details, diff]
Fix compilation of mkvmerge-82.0 with USE='-gui'

Original bug is fixed in the mkvmerge-84.0 branch, based on the mkvmerge-83.0 branch:
https://gitlab.com/mbunkus/mkvtoolnix/-/issues/3680

The fix itself is contained in this commit:
https://gitlab.com/mbunkus/mkvtoolnix/-/commit/ce172cf8bccacf1d358e23707395bb1dbf5f025c.patch

The attached patch contains that commit, minus the documentation part that clashes with mkvmerge-82.0.

Dropping the patch in /etc/portage/patches/media-video/mkvtoolnix/ fixes the build for me.
Comment 5 Bernd Feige 2024-03-26 06:56:58 UTC
(In reply to Patrice Levesque from comment #4)
> Created attachment 888580 [details, diff] [details, diff]
> Fix compilation of mkvmerge-82.0 with USE='-gui'
> 
> Original bug is fixed in the mkvmerge-84.0 branch, based on the
> mkvmerge-83.0 branch:
> https://gitlab.com/mbunkus/mkvtoolnix/-/issues/3680
> 
> The fix itself is contained in this commit:
> https://gitlab.com/mbunkus/mkvtoolnix/-/commit/
> ce172cf8bccacf1d358e23707395bb1dbf5f025c.patch
> 
> The attached patch contains that commit, minus the documentation part that
> clashes with mkvmerge-82.0.
> 
> Dropping the patch in /etc/portage/patches/media-video/mkvtoolnix/ fixes the
> build for me.

Thanks! Patch applies cleanly and fixes the issue for me.
Comment 6 Daniel Rozsnyo 2024-03-31 11:55:07 UTC
I have met the same issue, during my desktop update:

[ebuild     U  ] media-video/mkvtoolnix-82.0::gentoo [81.0::gentoo] USE="dvd nls -debug -gui (-pch) -test -verify-sig (-dbus%*) (-qt6%)" 0 KiB


Fails with:

checking fmt... yes
checking for ZLIB... yes
checking for qmake6... using supplied /usr/lib64/qt6/bin/qmake
no: not all of the required Qt6 modules were found (needed: core gui widgets network concurrent svg multimedia)
configure: error: The Qt library version >=  is required for building MKVToolNix.


Saving the above linked commit in portage/patches solves it for me as well, but there is some fuzzing:

 * Applying qt6.patch ...
patching file NEWS.md
Hunk #1 succeeded at 64 with fuzz 2 (offset 57 lines).
patching file ac/qt6.m4                                    [ ok ]
Comment 7 Larry the Git Cow gentoo-dev 2024-04-01 07:18:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=419bad959a2b9c6602edb8dde565365cbc7322a0

commit 419bad959a2b9c6602edb8dde565365cbc7322a0
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2024-03-21 10:18:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-01 07:17:33 +0000

    media-video/mkvtoolnix: drop 82.0
    
    Closes: https://bugs.gentoo.org/927380
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/35851
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/mkvtoolnix/Manifest               |   2 -
 media-video/mkvtoolnix/mkvtoolnix-82.0.ebuild | 134 --------------------------
 2 files changed, 136 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8de73ec9de78a5fb682033e708171fe98c78aee2

commit 8de73ec9de78a5fb682033e708171fe98c78aee2
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2024-03-21 10:17:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-01 07:17:33 +0000

    media-video/mkvtoolnix: add 83.0
    
    Bug: https://bugs.gentoo.org/927380
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/mkvtoolnix/Manifest                    |   2 +
 .../files/mkvtoolnix-83.0.0-fix-disable-gui.patch  |  88 +++++++++++++
 media-video/mkvtoolnix/mkvtoolnix-83.0.ebuild      | 139 +++++++++++++++++++++
 3 files changed, 229 insertions(+)