Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913692 - dev-qt/qtwayland-6.5.2-r2 one or more CMake variables were not used by the project
Summary: dev-qt/qtwayland-6.5.2-r2 one or more CMake variables were not used by the pr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 913699 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-09-05 13:50 UTC by Agostino Sarubbo
Modified: 2023-09-09 16:22 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,35.37 KB, application/x-xz)
2023-09-05 13:51 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 2023-09-05 13:50:59 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-qt/qtwayland-6.5.2-r2 one or more CMake variables were not used by the project.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-09-05 13:51:01 UTC
Created attachment 869863 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Ionen Wolkens gentoo-dev 2023-09-05 14:35:39 UTC
Meh, this is only triggered when qtdeclarative is not installed (aka the very thing we are trying not to find -- so it's just noise), basically need a has_version dev-qt/qtdeclarative and then not pass this for silence.

Maybe I'll do a eclass helper for if qml is in_iuse and automate this, imagine will get duplicates meanwhile.
Comment 3 Ionen Wolkens gentoo-dev 2023-09-05 14:40:08 UTC
(In reply to Ionen Wolkens from comment #2)
> Meh, this is only triggered when qtdeclarative is not installed (aka the
> very thing we are trying not to find -- so it's just noise)
Oh wait, I see. I could just make the check more precise.

Disabling Qt6Qml prevents it from finding Quick and is nice and streamlined, but QtWayland itself is looking for Quick and then get noise.
Comment 4 Larry the Git Cow gentoo-dev 2023-09-05 15:28:47 UTC
The bug has been closed via the following commit(s):

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

commit d5e8c51236e3c44100afb0de09ea0d5df7523cdb
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-09-05 15:14:50 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-09-05 15:28:27 +0000

    dev-qt/qtwayland: adjust qml check
    
    Works either way but Qt6Qml produces cmake noise if
    qtdeclarative is not installed.
    
    Closes: https://bugs.gentoo.org/913692
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qtwayland/qtwayland-6.5.2-r2.ebuild | 2 +-
 dev-qt/qtwayland/qtwayland-6.5.9999.ebuild | 2 +-
 dev-qt/qtwayland/qtwayland-6.9999.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

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

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

commit d855d9ed1a76dc147b67787a1af08f9db35d8c48
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-09-05 15:14:32 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-09-05 15:28:26 +0000

    dev-qt/qtwebsockets: adjust qml check
    
    Works either way but Qt6Qml produces cmake noise if
    qtdeclarative is not installed.
    
    Bug: https://bugs.gentoo.org/913692
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qtwebsockets/qtwebsockets-6.5.2-r1.ebuild | 2 +-
 dev-qt/qtwebsockets/qtwebsockets-6.5.9999.ebuild | 2 +-
 dev-qt/qtwebsockets/qtwebsockets-6.9999.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

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

commit a2b7cc29cbb6ac57ff4cddbc39c50a060e8cac66
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-09-05 15:14:06 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-09-05 15:28:26 +0000

    dev-qt/qtwebchannel: adjust qml check
    
    Works either way but Qt6Qml produces cmake noise if
    qtdeclarative is not installed.
    
    Bug: https://bugs.gentoo.org/913692
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qtwebchannel/qtwebchannel-6.5.2-r1.ebuild | 2 +-
 dev-qt/qtwebchannel/qtwebchannel-6.5.9999.ebuild | 2 +-
 dev-qt/qtwebchannel/qtwebchannel-6.9999.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46d578c01178e7992c5142b965db04183f4202d4

commit 46d578c01178e7992c5142b965db04183f4202d4
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-09-05 15:12:07 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-09-05 15:28:26 +0000

    dev-qt/qt5compat: adjust qml check
    
    Works either way but Qt6Qml produces cmake noise if
    qtdeclarative is not installed.
    
    Bug: https://bugs.gentoo.org/913692
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qt5compat/qt5compat-6.5.2-r1.ebuild | 2 +-
 dev-qt/qt5compat/qt5compat-6.5.9999.ebuild | 2 +-
 dev-qt/qt5compat/qt5compat-6.9999.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Comment 5 Ionen Wolkens gentoo-dev 2023-09-05 20:50:11 UTC
*** Bug 913699 has been marked as a duplicate of this bug. ***
Comment 6 Larry the Git Cow gentoo-dev 2023-09-09 16:22:47 UTC
The bug has been referenced in the following commit(s):

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

commit e9ed045ffa2d1fcd41997826519b0b619c8193b4
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-09-08 21:59:16 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-09-09 16:06:32 +0000

    dev-qt/qtwebchannel: adjust qml check again
    
    Package only checks for Quick in top level CMakeLists.txt, but then uses
    Qt::Qml (implicit from Quick) anyway. Current disable method does block
    Quick target stuff but does not fully prevent from linking with Qt6Qml.
    
    Revert, but do a has_version to avoid noise.
    
    Bug: https://bugs.gentoo.org/913692
    Fixes: a2b7cc29cbb6ac57ff4cddbc39c50a060e8cac66
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../{qtwebchannel-6.5.2-r1.ebuild => qtwebchannel-6.5.2-r2.ebuild}   | 5 ++---
 dev-qt/qtwebchannel/qtwebchannel-6.5.9999.ebuild                     | 5 ++---
 dev-qt/qtwebchannel/qtwebchannel-6.9999.ebuild                       | 5 ++---
 3 files changed, 6 insertions(+), 9 deletions(-)