xdg-mime query filetype «file» attempts to invoke kmimetypefinder (when it detects a plasma DE) which isn't installed and thus fails. Unfortunately it fails silently, I had to bash -x /usr/bin/xdg-mime … to find out why. kmimetypefinder is provided by kde-plasma/kde-cli-tools xdg-utils[plasma] should either depend on kde-plasma/kde-cli-tools, or it should not assume that kmimetypefinder is available simply because $XDG_CURRENT_DESKTOP=KDE
I must point out that kde-plasma/plasma-meta already pulls in kde-cli-tools. Nevertheless, this should be covered I guess.
> I must point out that kde-plasma/plasma-meta already pulls in kde-cli-tools. I don't grab plasma-meta because it pulls a bunch of stuff I don't want or need (eg kde5, kwallet, wallpapers, sound themes), and generally I find that Gentoo package dependencies are sufficiently complete that just merging the individual pieces I want works fine. This is a rare case where they are not, thus warranting a bug report. --- $ emerge -pvtDUu @world … Nothing to merge, quitting. $ emerge -pvt plasma-meta | grep -v nomerge These are the packages that would be merged: Calculating dependencies ... done! Dependency resolution took 6.01 s (backtrack: 0/100). [ebuild N ] kde-plasma/plasma-meta-6.2.4:6::gentoo USE="-accessibility bluetooth browser-integration -colord crash-handler crypt cups -discover display-manager elogind (-firewall) -flatpak grub gtk kwallet -networkmanager -oxygen-theme -plymouth pulseaudio (qt5) rdp sddm -sdk smart -systemd -thunderbolt -unsupported -wacom wallpapers -webengine xwayland" 0 KiB [ebuild R ] kde-plasma/breeze-6.2.4:6::gentoo USE="-debug qt5*" 0 KiB [ebuild R ] sys-auth/polkit-qt-0.200.0::gentoo USE="qt5* qt6" 0 KiB [ebuild R ] app-crypt/qca-2.3.9:2::gentoo USE="-botan -debug -doc -examples -gcrypt -gpg -logger -nss -pkcs11 qt5* qt6 sasl -softstore ssl -test" 0 KiB [ebuild NS ] kde-frameworks/frameworkintegration-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug -test" 0 KiB [ebuild NS ] kde-frameworks/kconfig-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="dbus -debug -doc qml -test" 0 KiB [ebuild NS ] kde-frameworks/kconfigwidgets-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug -designer -doc man%* -test" 0 KiB [ebuild NS ] kde-frameworks/kauth-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug -doc (policykit) -test" 0 KiB [ebuild NS ] kde-frameworks/kcoreaddons-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="dbus -debug -doc (-fam) -test" 0 KiB [ebuild NS ] dev-qt/qttranslations-5.15.14:5::gentoo [6.7.3:6/6.7.3::gentoo] USE="-debug% -test%" 0 KiB [ebuild NS ] kde-frameworks/kcodecs-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug -doc -test" 0 KiB [ebuild NS ] kde-frameworks/kguiaddons-5.116.0-r1:5/5.116::gentoo [6.7.0-r1:6/6.7::gentoo] USE="X dbus -debug -doc kf6compat%* -test wayland" 0 KiB [ebuild N ] dev-qt/qtwaylandscanner-5.15.14:5::gentoo USE="-debug -test" 0 KiB [ebuild NS ] kde-frameworks/ki18n-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug -doc -test" PYTHON_SINGLE_TARGET="-python3_10 -python3_11 python3_12 -python3_13" 0 KiB [ebuild NS ] kde-frameworks/kwidgetsaddons-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug -designer -doc -test" 0 KiB [ebuild NS ] kde-frameworks/kdoctools-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug nls -test" 0 KiB [ebuild NS ] kde-frameworks/karchive-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug -doc -test zstd" 0 KiB [ebuild NS ] kde-frameworks/kiconthemes-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug -designer -doc -test" 0 KiB [ebuild NS ] kde-frameworks/knewstuff-5.116.0:5/5.116::gentoo [6.7.0-r1:6/6.7::gentoo] USE="-debug -designer -doc -opds" 0 KiB [ebuild NS ] kde-frameworks/attica-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug -doc -test" 0 KiB [ebuild NS ] kde-frameworks/kcompletion-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug -designer -doc -test" 0 KiB [ebuild NS ] kde-frameworks/kio-5.116.0-r3:5/5.116::gentoo [6.7.0-r1:6/6.7::gentoo] USE="X acl -debug -designer -doc handbook -kerberos% kwallet -test (-wayland%)" 0 KiB [ebuild NS ] kde-frameworks/kbookmarks-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug -doc -test" 0 KiB [ebuild NS ] kde-frameworks/kxmlgui-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug -designer -doc -test" 0 KiB [ebuild NS ] kde-frameworks/kglobalaccel-5.116.0-r1:5/5.116::gentoo [6.7.0-r1:6/6.7::gentoo] USE="(-X%*) -debug -doc kf6compat%* -test" 0 KiB [ebuild NS ] kde-frameworks/kcrash-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="X -debug -doc -test" 0 KiB [ebuild NS ] kde-frameworks/kdbusaddons-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="X -debug -doc -test" 0 KiB [ebuild NS ] kde-frameworks/kwindowsystem-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="X -debug -doc -test wayland" 0 KiB [ebuild N ] kde-plasma/kwayland-integration-6.2.4:5::gentoo USE="-debug" 26 KiB [ebuild NS ] kde-plasma/kwayland-5.116.0:5/5.116::gentoo [6.2.4:6::gentoo] USE="-debug -doc% -test" 0 KiB [ebuild NS ] kde-frameworks/kitemviews-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug -designer -doc -test" 0 KiB [ebuild NS ] kde-frameworks/kjobwidgets-5.116.0:5/5.116::gentoo [6.7.0-r1:6/6.7::gentoo] USE="X -debug -doc -test" 0 KiB [ebuild NS ] kde-frameworks/knotifications-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="X%* dbus%* -debug -doc -phonon% qml%* -speech%" 0 KiB [ebuild N ] dev-libs/libdbusmenu-qt-0.9.3_pre20160218-r3::gentoo 0 KiB [ebuild NS ] kde-frameworks/kservice-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug -doc man -test" 0 KiB [ebuild NS ] kde-frameworks/ktextwidgets-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug -designer -doc -speech -test" 0 KiB [ebuild NS ] kde-frameworks/sonnet-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-aspell -debug -designer -doc hunspell qml -test" 0 KiB [ebuild NS ] kde-frameworks/solid-5.116.0-r1:5/5.116::gentoo [6.7.0-r1:6/6.7::gentoo] USE="-debug -doc -ios -test" 0 KiB [ebuild NS ] kde-frameworks/kwallet-5.116.0-r1:5/5.116::gentoo [6.7.0-r1:6/6.7::gentoo] USE="-debug -doc -gpg kf6compat%* man -test" 0 KiB [ebuild NS ] kde-frameworks/kded-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug man" 0 KiB [ebuild R ] kde-plasma/plasma-integration-6.2.4:6::gentoo USE="-debug qt5*" 0 KiB [ebuild N ] dev-qt/qtquickcontrols2-5.15.14:5/5.15::gentoo USE="-debug -test widgets" 0 KiB [ebuild N ] dev-qt/qtgraphicaleffects-5.15.14:5::gentoo USE="-debug -test" 0 KiB [ebuild NS ] kde-frameworks/kpackage-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug -doc -man -test" 0 KiB [ebuild NS ] kde-frameworks/kirigami-5.116.0-r2:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug (-examples%) openmp -test" 0 KiB [ebuild NS ] kde-frameworks/kcmutils-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug -doc -test" 0 KiB [ebuild NS ] kde-frameworks/kdeclarative-5.116.0:5/5.116::gentoo [6.7.0:6/6.7::gentoo] USE="-debug -doc" 0 KiB [ebuild N ] kde-plasma/kmenuedit-6.2.4:6::gentoo USE="-debug handbook" 857 KiB [ebuild N ] kde-plasma/kwrited-6.2.4:6::gentoo USE="-debug" 24 KiB [ebuild N ] kde-plasma/ocean-sound-theme-6.2.4:6::gentoo USE="-debug" 2,065 KiB [ebuild N ] kde-plasma/plasma-welcome-6.2.4:6::gentoo USE="-debug" 678 KiB [ebuild N ] kde-plasma/qqc2-breeze-style-6.2.4:6::gentoo USE="-debug" 65 KiB [ebuild N ] kde-plasma/plasma-browser-integration-6.2.4:6::gentoo USE="-debug" 218 KiB [ebuild N ] kde-plasma/drkonqi-6.2.4:6::gentoo USE="-debug -systemd -test" PYTHON_SINGLE_TARGET="-python3_11 python3_12 -python3_13" 863 KiB [ebuild N ] dev-python/pygdbmi-0.11.0.0::gentoo USE="-test" PYTHON_TARGETS="-python3_11 python3_12 -python3_13" 0 KiB [ebuild N ] kde-plasma/plasma-vault-6.2.4:6::gentoo USE="-debug -networkmanager" 197 KiB [ebuild N ] sys-fs/cryfs-0.11.4::gentoo USE="-test" 0 KiB [ebuild N ] dev-libs/crypto++-8.9.0:0/8.9.0::gentoo USE="asm -static-libs -verify-sig" 0 KiB [ebuild N ] dev-cpp/range-v3-0.12.0::gentoo USE="-test" 0 KiB [ebuild N ] net-print/cups-meta-1::gentoo USE="browsed foomatic pdf poppler postscript zeroconf" 0 KiB [ebuild N ] net-print/cups-browsed-2.0.1::gentoo USE="-ldap -test zeroconf" 418 KiB [ebuild N ] kde-plasma/breeze-grub-6.2.4:6::gentoo 1,413 KiB [ebuild N ] kde-plasma/breeze-gtk-6.2.4:6::gentoo USE="-debug" 40 KiB [ebuild N ] sys-apps/xdg-desktop-portal-gtk-1.14.1::gentoo USE="X -wayland" 0 KiB [ebuild N ] x11-misc/appmenu-gtk-module-24.05-r2::gentoo USE="-gtk2 -test -wayland" 41 KiB [ebuild N ] kde-plasma/kwallet-pam-6.2.4:6::gentoo USE="-debug" 22 KiB [ebuild N ] net-misc/socat-1.8.0.0::gentoo USE="ipv6 readline ssl -tcpd" 551 KiB [ebuild N ] kde-plasma/krdp-6.2.4:6::gentoo USE="-debug -examples -test" 93 KiB [ebuild N ] dev-libs/qtkeychain-0.14.3:0/1::gentoo USE="-keyring -qt5 qt6" 0 KiB [ebuild N ] kde-plasma/plasma-disks-6.2.4:6::gentoo USE="-debug handbook" 101 KiB [ebuild N ] kde-plasma/plasma-workspace-wallpapers-6.2.4:6::gentoo 108,795 KiB [ebuild N ] gui-apps/xwaylandvideobridge-0.4.0::gentoo USE="-debug" 0 KiB Total: 72 packages (31 new, 37 in new slots, 4 reinstalls), Size of downloads: 116,458 KiB The following USE changes are necessary to proceed: (see "package.use" in the portage(5) man page for more details) # required by kde-plasma/plasma-meta-6.2.4::gentoo # required by plasma-meta (argument) >=kde-plasma/breeze-6.2.4 qt5 # required by kde-plasma/plasma-meta-6.2.4::gentoo # required by plasma-meta (argument) >=kde-plasma/plasma-integration-6.2.4 qt5 # required by kde-frameworks/kauth-5.116.0::gentoo # required by kde-frameworks/kcmutils-5.116.0::gentoo # required by kde-plasma/breeze-6.2.4::gentoo[qt5] # required by kde-plasma/breeze-gtk-6.2.4::gentoo # required by kde-plasma/plasma-meta-6.2.4::gentoo[gtk] # required by plasma-meta (argument) >=sys-auth/polkit-qt-0.200.0 qt5 # required by kde-frameworks/kwallet-5.116.0-r1::gentoo # required by kde-frameworks/kio-5.116.0-r3::gentoo[kwallet] # required by kde-frameworks/knewstuff-5.116.0::gentoo # required by kde-frameworks/frameworkintegration-5.116.0::gentoo # required by kde-plasma/breeze-6.2.4::gentoo[qt5] # required by kde-plasma/breeze-gtk-6.2.4::gentoo # required by kde-plasma/plasma-meta-6.2.4::gentoo[gtk] # required by plasma-meta (argument) >=app-crypt/qca-2.3.9 qt5 --- My KDE desktop does everything I need it to without these extras fwiw. > Nevertheless, this should be covered I guess. Yes please 😁
Please do not paste unrelated output in bugs. This is not forums.gentoo.org.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b12f7c904dd4c3dcae6b9dae00429af781ae67ee commit b12f7c904dd4c3dcae6b9dae00429af781ae67ee Author: Sam James <sam@gentoo.org> AuthorDate: 2025-01-04 16:32:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-01-04 16:34:05 +0000 x11-misc/xdg-utils: depend on kde-plasma/kde-cli-tools for USE=plasma Needed for `xdg-mime query filetype XXX` -> `kmimetypefinder`. Put in PDEPEND because it feels likely a circular dep will crop up here again (if there isn't already one w/o this in PDEPEND). Closes: https://bugs.gentoo.org/945892 Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/arm/package.use.mask | 6 +++++- profiles/arch/loong/package.use.mask | 6 +++++- profiles/arch/powerpc/ppc64/package.use.stable.mask | 6 +++++- profiles/arch/x86/package.use.stable.mask | 4 ++++ .../{xdg-utils-1.2.1-r6.ebuild => xdg-utils-1.2.1-r7.ebuild} | 3 ++- 5 files changed, 21 insertions(+), 4 deletions(-)