Summary: | media-video/mkvtoolnix-84.0-r1 fails to compile: configure: error: The Qt library version >= 6.2.0 is required for building MKVToolNix | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | parona, sam, scott.wl.furry |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=787032 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
mkvtoolnix-83.0 config.log |
Description
Agostino Sarubbo
![]() CC'ing also the author of the commit (8de73ec9de78a5fb682033e708171fe98c78aee2) Created attachment 889236 [details]
build.log
build log and emerge --info
Confirming problem exists here, also. Qt 6.7.0 installed. Output from emerge: checking for Qt 6... no: could not compile a test program configure: error: The Qt library version >= 6.2.0 is required for building MKVToolNix. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/media-video/mkvtoolnix-83.0/work/mkvtoolnix-83.0/config.log * ERROR: media-video/mkvtoolnix-83.0::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 2361: Called econf '--disable-debug' '--disable-precompiled-headers' '--enable-gui' '--with-dvdread' '--with-gettext' '--disable-update-check' '--disable-optimization' '--with-boost=/usr' '--with-boost-libdir=/usr/lib64' '--with-qmake6=/usr/lib64/qt6/bin/qmake' * phase-helpers.sh, line 732: Called __helpers_die 'econf failed' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" * * S: '/var/tmp/portage/media-video/mkvtoolnix-83.0/work/mkvtoolnix-83.0' * (In reply to Scott Furry from comment #3) > Confirming problem exists here, also. Qt 6.7.0 installed. > Output from emerge: > checking for Qt 6... no: could not compile a test program > configure: error: The Qt library version >= 6.2.0 is required for building > MKVToolNix. > > !!! Please attach the following file when seeking support: > !!! > /var/tmp/portage/media-video/mkvtoolnix-83.0/work/mkvtoolnix-83.0/config.log > * ERROR: media-video/mkvtoolnix-83.0::gentoo failed (configure phase): > * econf failed > * > * Call stack: > * ebuild.sh, line 136: Called src_configure > * environment, line 2361: Called econf '--disable-debug' > '--disable-precompiled-headers' '--enable-gui' '--with-dvdread' > '--with-gettext' '--disable-update-check' '--disable-optimization' > '--with-boost=/usr' '--with-boost-libdir=/usr/lib64' > '--with-qmake6=/usr/lib64/qt6/bin/qmake' > * phase-helpers.sh, line 732: Called __helpers_die 'econf failed' > * isolated-functions.sh, line 112: Called die > * The specific snippet of code: > * die "$@" > * > * S: '/var/tmp/portage/media-video/mkvtoolnix-83.0/work/mkvtoolnix-83.0' > * Could you include /var/tmp/portage/media-video/mkvtoolnix-83.0/work/mkvtoolnix-83.0/config.log? Created attachment 890058 [details]
mkvtoolnix-83.0 config.log
Attaching requested config.log file.
(In reply to Scott Furry from comment #5) > Created attachment 890058 [details] > mkvtoolnix-83.0 config.log > > Attaching requested config.log file. Your issue is https://bugs.gentoo.org/927497 again. Long story short building qtbase with clang effects the flags that qmake uses in other builds meaning it tries to add clang flags to them all, no matter if gcc is used instead or not. I cannot be certain that its the same as what the tinderbox found due to it not including a config.log. So Ill go with the assumption that its different. https://bugs.gentoo.org/927497#c3 https://bugs.gentoo.org/927497#c5 (In reply to Alfred Wingate from comment #6) > Your issue is https://bugs.gentoo.org/927497 again. > > Long story short building qtbase with clang effects the flags that qmake > uses in other builds meaning it tries to add clang flags to them all, no > matter if gcc is used instead or not. I've setup a directive in package.env to force the issue using clang for mkvtoolnix. That I got passed the configure phase and emerge is happily crunching away bits, your assessment sounds solid to me. Thanks for the help in filtering my noise on this bug. ci has reproduced this issue with version 84.0 - Updating summary. It is possible that there is a problem configuring against qt5 in Gentoo. Since enabling the USE flag `qt6` explicitly for this package and establishing an env directive to build package with same compiler as qt6 (llvm/clang), I have not had a problem. As bug report was posted, I was in the process of building latest (v 84.0) successfully. Qt5 support was completely dropped in mkvtoolnix-82 by upstream. This is (most likely) unrelated to your clang bug as the tinderbox doesn't claim to build anything with clang. I've been unable to reproduce this myself in a container and last time I asked about getting a config.log it didn't go anywhere. At the time it was theorised by ago that this was https://bugs.gentoo.org/787032. ci has reproduced this issue with version 84.0-r1 - Updating summary. |