Bug 271918 - deskutils/plasma5-xdg-desktop-portal-kde requires CUPS but not depends on it
Summary: deskutils/plasma5-xdg-desktop-portal-kde requires CUPS but not depends on it
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2023-06-09 07:34 UTC by mord0d
Modified: 2024-06-08 13:44 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (kde)


Attachments
plasma5-xdg-desktop-portal-kde-5.27.5.log (175.36 KB, text/plain)
2023-06-09 07:34 UTC, mord0d
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description mord0d 2023-06-09 07:34:58 UTC
Created attachment 242698 [details]
plasma5-xdg-desktop-portal-kde-5.27.5.log
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2023-06-10 21:29:58 UTC
> deskutils/plasma5-xdg-desktop-portal-kde requires CUPS but not depends on it

(In reply to mord0d from comment #0)

> Jail OSVERSION: 1302001

If it helps … from a run of poudriere in a 1400090 jail, 

poudriere bulk -j main -J 1 -Ctv deskutils/plasma5-xdg-desktop-portal-kde

> [00:07:23] print/qt5-printsupport depends on print/cups> [00:08:14] x11-toolkits/gtk30 depends on print/cups> [00:09:08] print/ghostscript9-agpl-base depends on print/cups
Comment 2 mord0d 2023-06-11 06:09:06 UTC
(In reply to Graham Perrin from comment #1)

> [00:07:23] print/qt5-printsupport depends on print/cups
> [00:08:14] x11-toolkits/gtk30 depends on print/cups
> [00:09:08] print/ghostscript9-agpl-base depends on print/cups

In my setup, CUPS disabled globally (lines 161-166 in the attached log).

Here [1] we can see that deskutils/plasma5-xdg-desktop-portal-kde requires print/qt5-printsupport with CUPS enabled.

I think, the problem is solved, Charlie Li already eplained [2] that it's not possible to control dependencies/options of another ports.

-

[1] https://github.com/gentoo/gentoo/blob/master/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.27.5.ebuild#L28

[2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269163#c3
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2024-06-08 13:44:47 UTC
I found that setting CUPS=on for print/qt5-printsupport seem to fix this issue.