Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Issues with circular dependency for gnome-boxes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
cl0q
n00b
n00b


Joined: 04 Aug 2022
Posts: 43

PostPosted: Tue Oct 18, 2022 8:21 pm    Post subject: Issues with circular dependency for gnome-boxes Reply with quote

trying to install gnome-extra/gnome-boxes and getting following error:
Code:
gentoo /usr/src/linux # emerge -a gnome-extra/gnome-boxes

These are the packages that would be merged, in order:

Calculating dependencies... done!


[ebuild  N     ] gnome-extra/gnome-boxes-42.3::gentoo  USE="-rdp" 1,207 KiB
[ebuild  N     ]  net-misc/spice-gtk-0.41::gentoo  USE="gtk3 introspection smartcard usbredir vala wayland -lz4 -mjpeg -policykit -sasl -webdav" 808 KiB
[ebuild  N     ]  app-emulation/spice-0.15.0::gentoo  USE="smartcard -gstreamer -lz4 -sasl -static-libs -test" 1,510 KiB
[ebuild   R    ]   app-emulation/qemu-7.1.0::gentoo  USE="aio alsa bzip2 caps curl fdt filecaps gnutls jack jpeg ncurses nls oss pam pin-upstream-blobs png pulseaudio seccomp slirp smartcard* spice* udev usb usbredir* vhost-net vnc xattr -accessibility -bpf -capstone -debug -doc -fuse -glusterfs -gtk -infiniband -io-uring -iscsi -jemalloc -lzo -multipath -nfs -numa -opengl -plugins -python -rbd -sasl -sdl -sdl-image (-selinux) -snappy -ssh -static -static-user -systemtap -test -vde -vhost-user-fs -virgl -virtfs -vte -xen -zstd" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 -python3_11" QEMU_SOFTMMU_TARGETS="x86_64 -aarch64 -alpha -arm -avr -cris -hppa -i386 -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -xtensa -xtensaeb" QEMU_USER_TARGETS="-aarch64 -aarch64_be -alpha -arm -armeb -cris -hexagon -hppa -i386 -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -x86_64 -xtensa -xtensaeb" 0 KiB

Total: 4 packages (3 new, 1 reinstall), Size of downloads: 3,525 KiB

 * Error: circular dependencies:

(app-emulation/qemu-7.1.0:0/0::gentoo, ebuild scheduled for merge) depends on
 (app-emulation/spice-0.15.0:0/0::gentoo, ebuild scheduled for merge) (buildtime)
  (app-emulation/qemu-7.1.0: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.


i did try to enable/disable certain USE flags (those ending with a * specifically), but it did nothing. Anyone able to help me?
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3959

PostPosted: Tue Oct 18, 2022 8:31 pm    Post subject: Reply with quote

Hi
Try
Code:

USE="-spice" emerge -1av qemu app-emulation/spice
emerge -av gnome-boxes

_________________
:)
Back to top
View user's profile Send private message
cl0q
n00b
n00b


Joined: 04 Aug 2022
Posts: 43

PostPosted: Tue Oct 18, 2022 8:37 pm    Post subject: Reply with quote

thanks that worked!
i initially tried to re-emerge gnome-box with various USE flags disabled, but i didnt think of re-emerging qemu with these flags.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3959

PostPosted: Tue Oct 18, 2022 8:46 pm    Post subject: Reply with quote

You are welcome
Code:

i initially tried to re-emerge gnome-box with various USE flags disabled

gnome-boxes has no USE flags except rdp.
It has hard dependencies instead.
So your applying USE to gnome-boxes wouldn't produce any result.
_________________
:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum