media-gfx/nomacs-3.19.1-r1 incorrectly depends on dev-qt/qtbase[cups] I noticed the Cups USE flag was suddenly forced on for QT, but this nomacs package merely requires QT "PrintSupport", which is enough. no need for cups. & According to the migration notes linked, is confirmed @ https://wiki.gentoo.org/wiki/Project:Qt/Qt6_migration_notes the code uses QPrinter(); and the Cmake says PrintSupport https://github.com/nomacs/nomacs/blob/master/ImageLounge/cmake/Utils.cmake#L26 Expected: Remove the Cups use dep, keep printsupport
Created attachment 915792 [details] ouhput of emerge --info
I actully was going to file a bug, but have found that it is already filed, so I add my bug report here. I do not use cups and have set -cups flag globally. Yesterday, after successful emerge -A sync I started emerge --update --deep --with-bdeps=y --newuse --backtrack=120 --ask world and got The following USE changes are necessary to proceed: (see "package.use" in the portage(5) man page for more details) # required by media-gfx/nomacs-3.19.1-r1::gentoo # required by @selected # required by @world (argument) >=dev-qt/qtbase-6.8.1 cups eix nomacs [U] media-gfx/nomacs Available versions: 3.19.1-r1^t {+opencv plugins raw test +tiff zip} Installed versions: 3.16.224-r6(06:00:04 PM 12/15/2024)(opencv tiff zip -plugins -raw) Homepage: https://nomacs.org/ Description: Qt-based image viewer So, updating from nomacs-3.16.224-r6 to nomacs-3.19.1-r1 forces me to install cups, which is definitely a bug.
Temporary fix: cd /var/db/repos/gentoo/media-gfx/nomacs gvim nomacs-3.19.1-r1.ebuild Find "cups," and delete it. ebuild nomacs-3.19.1-r1.ebuild manifest emerge nomacs P.S. The fix is temporary in the sense that it will last till the next emaint -A sync not in the sense that you will need it temporary. Just to the contrary: you will most probably will need it forever. :(
(In reply to gevisz@gmail.com from comment #3) > Just to the contrary: you will most probably will need it forever. :( Such remarks aren't really helpful.
(In reply to gevisz@gmail.com from comment #2) > So, updating from nomacs-3.16.224-r6 to nomacs-3.19.1-r1 > forces me to install cups, which is definitely a bug. Note that it, by those facts, is not definitely a bug. It turns out that it is, but it was not necessarily a bug that the Qt 6 port could've introduced new actual dependencies.