LINUX.ORG.RU

Circular dependencies при установке gnome-boxes

 ,


0

1

Помогите новичку, пожалуйста, возможно ли в генту установить gnome-boxes. При установке gnome-boxes emerge просит добавить следующие строки в package.use:

>=net-misc/spice-gtk-0.37-r2 smartcard usbredir vala
>=app-emulation/spice-0.14.3 smartcard
>=app-emulation/qemu-5.1.0-r1 spice smartcard usbredir

После чего получаются циклические зависимости. Любая комбинация smartcard и -smartcard, spice и -spice в package.use приводит или к просьбе добавить выключенный флаг, или к циклическим зависимостям.

#emerge -av gnome-extra/gnome-boxes
[ebuild  N     ] gnome-extra/gnome-boxes-3.36.6::gentoo  USE="-rdp" 1 247 KiB
[ebuild  N     ]  net-misc/spice-gtk-0.37-r2::gentoo  USE="gtk3 introspection smartcard usbredir vala -libressl -lz4 -mjpeg -policykit -pulseaudio -sasl -static-libs -webdav" 1 273 KiB
[ebuild  N     ]  app-emulation/libvirt-glib-3.0.0::gentoo  USE="introspection nls vala" 879 KiB
[ebuild  N     ]   app-emulation/libvirt-6.7.0:0/6.7.0::gentoo  USE="caps dbus libvirtd macvtap nls qemu udev vepa -apparmor -audit -dtrace -firewalld -fuse -glusterfs -iscsi -iscsi-direct -libssh -lvm -lxc -nfs -numa (-openvz) -parted -pcap -policykit -rbd -sasl (-selinux) -virt-network -virtualbox -wireshark-plugins -xen -zfs" 8 167 KiB
[ebuild  N     ]  app-emulation/spice-0.14.3::gentoo  USE="smartcard -gstreamer -libressl -lz4 -sasl -static-libs" 1 470 KiB
[ebuild  N     ]   app-emulation/qemu-5.1.0-r1::gentoo  USE="aio alsa bzip2 caps curl fdt filecaps jpeg ncurses nls oss pin-upstream-blobs png seccomp slirp smartcard spice usbredir vhost-net vnc xattr xkb -accessibility (-capstone) -debug -doc -glusterfs -gnutls -gtk -infiniband -io-uring -iscsi -jack -jemalloc -lzo -multipath -nfs -numa -opengl -plugins -pulseaudio -python -rbd -sasl -sdl -sdl-image (-selinux) -snappy -ssh -static -static-user -systemtap -test -usb -vde -vhost-user-fs -virgl -virtfs -vte -xen -xfs -zstd" PYTHON_TARGETS="python3_6 python3_7 -python3_8" QEMU_SOFTMMU_TARGETS="x86_64 -aarch64 -alpha -arm -avr -cris -hppa -i386 -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 -xtensa -xtensaeb" QEMU_USER_TARGETS="-aarch64 -aarch64_be -alpha -arm -armeb -cris -hppa -i386 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64abi32 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -tilegx -x86_64 -xtensa -xtensaeb" 61 438 KiB

Total: 6 packages (6 new), Size of downloads: 74 469 KiB

 * Error: circular dependencies:

(app-emulation/qemu-5.1.0-r1:0/0::gentoo, ebuild scheduled for merge) depends on
 (app-emulation/spice-0.14.3:0/0::gentoo, ebuild scheduled for merge) (buildtime)
  (app-emulation/qemu-5.1.0-r1:0/0::gentoo, ebuild scheduled for merge) (buildtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies. 


Последнее исправление: novus (всего исправлений: 1)

не знаю тему, но насколько я понял. app-emulation/libcacard раньше был частью qemu. Теперь поддержка этого протокола может быть реализована в самом qemu либо в spice. Чтобы избежать кольцевых зависимостей

app-emulation/qemu smartcard spice
app-emulation/spice -smartcard

Но это только если поддержка smartcard вообще нужна.

arrecck ★★★
()
Ответ на: комментарий от Pinkbyte

Да, qemu без spice ставился, а потом при установке gnome-boxes предлагалось добавить это:

>=app-emulation/qemu-5.1.0-r1 smartcard spice

Добавил -smartcard в make.conf, пересобрал мир. Не устанавливалось. Потом, не знаю точно, что я сделал. Пересобрал все пакеты, где упоминается smartcard (из выводa euse -I smartcard), выключив этот флаг, и даже перезагрузился. Попробовал снова, и оно установилось с этими строками в package.use:

>=net-misc/spice-gtk-0.37-r2 usbredir smartcard vala
>=app-emulation/spice-0.14.3 smartcard
>=app-emulation/qemu-5.1.0-r1 usbredir smartcard spice

З.Ы. Интересно, зачем smartcard вообще.
Спасибо, вроде все работает.

novus
() автор топика
Последнее исправление: novus (всего исправлений: 2)
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.