Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947363 - media-gfx/nomacs-3.19.1-r1 incorrectly depends on dev-qt/qtbase[cups]
Summary: media-gfx/nomacs-3.19.1-r1 incorrectly depends on dev-qt/qtbase[cups]
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-02 20:04 UTC by genBTC
Modified: 2025-01-28 18:09 UTC (History)
2 users (show)

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


Attachments
ouhput of emerge --info (emerge-info.txt,6.53 KB, text/plain)
2025-01-04 08:39 UTC, gevisz@gmail.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description genBTC 2025-01-02 20:04:41 UTC
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
Comment 1 gevisz@gmail.com 2025-01-04 08:39:28 UTC
Created attachment 915792 [details]
ouhput of emerge --info
Comment 2 gevisz@gmail.com 2025-01-04 08:41:10 UTC
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.
Comment 3 gevisz@gmail.com 2025-01-28 17:51:31 UTC Comment hidden (obsolete)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-28 17:56:01 UTC Comment hidden (obsolete)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-28 18:09:35 UTC
(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.