Fedora Account System
Red Hat Associate
Red Hat Customer
Hi, installing qemu-char-spice pulls in a lot of unexpected packages. I have no opinion on whether this is a bug or by design, but we (Cockpit) have been made aware of this and we are considering dropping our "Recommends: qemu-char-spice" for this reason. # dnf --setopt=install_weak_deps=False install qemu-char-spice Updating and loading repositories: Repositories loaded. Package Arch Version Repository Size Installing: qemu-char-spice x86_64 2:9.2.4-1.fc42 updates 20.4 KiB Installing dependencies: cdparanoia-libs x86_64 10.2-47.fc42 fedora 117.5 KiB graphene x86_64 1.10.6-10.fc42 fedora 162.4 KiB gstreamer1-plugins-base x86_64 1.26.5-1.fc42 updates 7.3 MiB gtk3 x86_64 3.24.49-2.fc42 fedora 23.1 MiB iso-codes noarch 4.17.0-2.fc42 fedora 20.3 MiB libX11-xcb x86_64 1.8.12-1.fc42 updates 10.9 KiB libXv x86_64 1.0.13-2.fc42 fedora 30.0 KiB libXxf86vm x86_64 1.1.6-2.fc42 fedora 29.2 KiB libdecor x86_64 0.2.3-5.fc42 updates 165.2 KiB libepoxy x86_64 1.5.10-9.fc42 fedora 1.1 MiB libglvnd x86_64 1:1.7.0-7.fc42 fedora 530.2 KiB libglvnd-egl x86_64 1:1.7.0-7.fc42 fedora 68.7 KiB libglvnd-glx x86_64 1:1.7.0-7.fc42 fedora 609.2 KiB libtheora x86_64 1:1.1.1-39.fc42 fedora 481.3 KiB libvisual x86_64 1:0.4.2-1.fc42 updates 494.1 KiB libwayland-client x86_64 1.24.0-1.fc42 updates 62.0 KiB libwayland-cursor x86_64 1.24.0-1.fc42 updates 37.3 KiB libwayland-egl x86_64 1.24.0-1.fc42 updates 12.4 KiB libwayland-server x86_64 1.24.0-1.fc42 updates 78.5 KiB libxshmfence x86_64 1.3.2-6.fc42 fedora 12.4 KiB lm_sensors-libs x86_64 3.6.0-22.fc42 fedora 85.8 KiB mesa-dri-drivers x86_64 25.1.7-1.fc42 updates 46.6 MiB mesa-filesystem x86_64 25.1.7-1.fc42 updates 3.6 KiB mesa-libEGL x86_64 25.1.7-1.fc42 updates 335.0 KiB mesa-libGL x86_64 25.1.7-1.fc42 updates 306.2 KiB mesa-libgbm x86_64 25.1.7-1.fc42 updates 19.7 KiB orc x86_64 0.4.41-1.fc42 fedora 726.3 KiB qemu-ui-opengl x86_64 2:9.2.4-1.fc42 updates 36.3 KiB qemu-ui-spice-core x86_64 2:9.2.4-1.fc42 updates 59.8 KiB spice-server x86_64 0.15.1-8.fc42 fedora 1.1 MiB spirv-tools-libs x86_64 2025.2-2.fc42 updates 5.8 MiB Transaction Summary: Installing: 32 packages Total size of inbound packages is 28 MiB. Need to download 28 MiB. After this operation, 110 MiB extra will be used (install 110 MiB, remove 0 B). Is this ok [y/N]: Reproducible: Always
This is caused undesirable packaging in the libvisual RPM. libvisual is a dependency of gstreamer-plugins-base, and libvisual depends on SDL, which in turn pulls in GTK. This was fixed in rawhide/f43 recently commit f02be59c0d31d0daaafc9801d56e6a6f766f19d8 Author: Yaakov Selkowitz <yselkowi> Date: Fri Jul 25 13:09:39 2025 -0400 Separate subpackage for tools lv-tools has a dependency on sdl12-compat. Because libvisual is a dependency of gstreamer1-plugins-base, this ends up pulling in the SDL stack (sdl12-compat->sdl2-compat->SDL3) into many things where it is otherwise unnecessary.
Thank you!
For the record, it looks like this now on Fedora 44. I think this is a regression, as it now also pulls in llvm-libs. (For a 3D software renderer, maybe?) Gtk is gone, but all the rest is still there. I am not re-opening this since I want to extract myself from this problem. :-) root@localhost:~# dnf --setopt=install_weak_deps=False install qemu-char-spice Updating and loading repositories: Repositories loaded. Package Arch Version Repository Size Installing: qemu-char-spice x86_64 2:10.2.2-1.fc44 fedora 20.3 KiB Installing dependencies: alsa-lib x86_64 0:1.2.16.1-1.fc44 updates 1.5 MiB cairo x86_64 0:1.18.4-6.fc44 fedora 1.8 MiB cdparanoia-libs x86_64 0:10.2-50.fc44 fedora 113.3 KiB fontconfig x86_64 0:2.17.0-4.fc44 fedora 776.4 KiB freetype x86_64 0:2.14.3-1.fc44 updates 918.3 KiB fribidi x86_64 0:1.0.16-4.fc44 fedora 190.0 KiB graphene x86_64 0:1.10.8-4.fc44 fedora 158.3 KiB graphite2 x86_64 0:1.3.14-20.fc44 fedora 191.5 KiB gstreamer1 x86_64 0:1.28.7-1.fc44 updates 5.5 MiB gstreamer1-plugins-base x86_64 0:1.28.7-1.fc44 updates 7.5 MiB harfbuzz x86_64 0:14.1.0-2.fc44 updates 2.8 MiB ipxe-roms-qemu noarch 0:20240119-5.gitde8a0821.fc44 fedora 2.7 MiB iso-codes noarch 0:4.20.1-3.fc44 fedora 22.3 MiB libX11 x86_64 0:1.8.13-1.fc44 fedora 1.3 MiB libX11-common noarch 0:1.8.13-1.fc44 fedora 1.1 MiB libX11-xcb x86_64 0:1.8.13-1.fc44 fedora 10.8 KiB libXau x86_64 0:1.0.12-4.fc44 fedora 72.8 KiB libXext x86_64 0:1.3.6-5.fc44 fedora 89.8 KiB libXft x86_64 0:2.3.8-10.fc44 fedora 168.3 KiB libXi x86_64 0:1.8.3-1.fc44 updates 80.6 KiB libXrender x86_64 0:0.9.12-4.fc44 fedora 49.9 KiB libXv x86_64 0:1.0.13-4.fc44 fedora 25.9 KiB libXxf86vm x86_64 0:1.1.6-4.fc44 fedora 25.1 KiB libdatrie x86_64 0:0.2.14-2.fc44 fedora 61.7 KiB libepoxy x86_64 0:1.5.10-12.fc44 fedora 1.1 MiB libglvnd x86_64 1:1.7.0-9.fc44 fedora 526.5 KiB libglvnd-egl x86_64 1:1.7.0-9.fc44 fedora 68.6 KiB libglvnd-glx x86_64 1:1.7.0-9.fc44 fedora 601.0 KiB libjpeg-turbo x86_64 0:3.1.3-1.fc44 fedora 818.2 KiB libogg x86_64 2:1.3.6-2.fc44 fedora 45.6 KiB libpng x86_64 2:1.6.58-1.fc44 updates 249.6 KiB libthai x86_64 0:0.1.30-2.fc44 fedora 800.9 KiB libtheora x86_64 1:1.1.1-41.fc44 fedora 480.9 KiB libvisual x86_64 1:0.4.2-4.fc44 fedora 464.5 KiB libvorbis x86_64 1:1.3.7-14.fc44 fedora 837.0 KiB libwayland-client x86_64 0:1.26.0-1.fc44 updates 66.0 KiB libwayland-cursor x86_64 0:1.26.0-1.fc44 updates 37.2 KiB libwayland-egl x86_64 0:1.26.0-1.fc44 updates 12.3 KiB libxcb x86_64 0:1.17.0-7.fc44 fedora 1.1 MiB libxshmfence x86_64 0:1.3.2-8.fc44 fedora 12.3 KiB llvm-filesystem x86_64 0:22.1.8-4.fc44 updates 0.0 B llvm-libs x86_64 0:22.1.8-4.fc44 updates 140.5 MiB lm_sensors-libs x86_64 0:3.6.0-24.fc44 fedora 85.7 KiB mesa-dri-drivers x86_64 0:26.1.8-1.fc44 updates 52.3 MiB mesa-filesystem x86_64 0:26.1.8-1.fc44 updates 3.6 KiB mesa-libEGL x86_64 0:26.1.8-1.fc44 updates 394.4 KiB mesa-libGL x86_64 0:26.1.8-1.fc44 updates 374.0 KiB mesa-libgbm x86_64 0:26.1.8-1.fc44 updates 19.5 KiB opus x86_64 0:1.6-2.fc44 fedora 467.7 KiB orc x86_64 0:0.4.41-3.fc44 fedora 721.9 KiB pango x86_64 0:1.57.1-1.fc44 fedora 1.0 MiB qemu-common x86_64 2:10.2.2-1.fc44 fedora 2.6 MiB qemu-ui-opengl x86_64 2:10.2.2-1.fc44 fedora 36.1 KiB qemu-ui-spice-core x86_64 2:10.2.2-1.fc44 fedora 67.8 KiB spice-server x86_64 0:0.16.0-2.fc43 fedora 1.2 MiB spirv-tools-libs x86_64 0:2026.1-1.fc44 fedora 6.1 MiB xml-common noarch 0:0.6.3-68.fc44 fedora 78.4 KiB Transaction Summary: Installing: 58 packages Total size of inbound packages is 68 MiB. Need to download 68 MiB. After this operation, 262 MiB extra will be used (install 262 MiB, remove 0 B). Is this ok [y/N]: n Operation aborted by the user.
Cockpit-machines plans to drop its "Recommends: qemu-char-spice" from Fedora 46 onward: https://github.com/cockpit-project/cockpit-machines/pull/2279
> For the record, it looks like this now on Fedora 44. I think this is a regression, as it now also pulls in llvm-libs. (For a 3D software renderer, maybe?) Gtk is gone, but all the rest is still there. This all looks normal to me, the chain is: qemu-char-spice -> qemu-ui-spice-core -> qemu-ui-opengl -> libglvnd-glx -> mesa-libGL -> mesa-dir-drivers -> llvm-libs IOW, since SPICE needs 3rd libs, the chain looks unavoidable.