Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
world update shows rust with circular deps
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
rburcham
Apprentice
Apprentice


Joined: 20 Mar 2003
Posts: 249

PostPosted: Sat Nov 16, 2024 5:40 pm    Post subject: world update shows rust with circular deps Reply with quote

Trying to update world and seeing

Quote:
* Error: circular dependencies:

(dev-lang/rust-1.80.1-r100:1.80.1/1.80.1::gentoo, ebuild scheduled for merge) depends on
(dev-lang/rust-1.80.1-r100:1.80.1/1.80.1::gentoo, ebuild scheduled for merge) (buildtime)



I also noticed:

Quote:
- dev-lang/rust-1.82.0::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Matt Jolly <kangie@gentoo.org> (2024-11-09)
# The legacy Rust ebuilds are no longer maintained and have been
# replaced by the new slotted Rust. Removal in 30 days.


Shall I just emerge -C rust and then update world? There's no eselect news item that i can see...
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2522

PostPosted: Sat Nov 16, 2024 5:59 pm    Post subject: Re: world update shows rust with circular deps Reply with quote

rburcham wrote:

Shall I just emerge -C rust and then update world? There's no eselect news item that i can see...


I'm not sure. This is rust, you can't break something beyond repair. After all you can build it again and there's rust bin to the rescue.

Bore that however, read the following threads:

https://forums.gentoo.org/viewtopic-t-1171687.html
https://forums.gentoo.org/viewtopic-t-1171685.html

Best Regards,
Georgi
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2037

PostPosted: Sat Nov 16, 2024 8:23 pm    Post subject: Reply with quote

Please share the full output of emerge -p -uvDU @world. Please don't ever unmerge (-C). You probably have a mask on rust-bin you need to remove.
Back to top
View user's profile Send private message
rburcham
Apprentice
Apprentice


Joined: 20 Mar 2003
Posts: 249

PostPosted: Sat Nov 16, 2024 11:13 pm    Post subject: Reply with quote

No mask on rust-bin. I unmerged the offending rust and reran the world update.

That slot-merged both

Quote:
2024-11-16 12:23:40 46 dev-lang/rust-bin-1.81.0-r100
2024-11-16 12:25:23 49 dev-lang/rust-bin-1.82.0-r100


and the world update continues apace.

Given the evidence of difficulty (the other threads referenced above) regarding the move to the slotted rust, there might be cause for a news item on it.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2037

PostPosted: Sat Nov 16, 2024 11:33 pm    Post subject: Reply with quote

It's hard to know what such a news item should contain given that you didn't provide the information needed to understand what your case actually was, and that information has now been destroyed by the unmerge command you ran.

We already made changes in response to previous reports so there's no known issues left.
Back to top
View user's profile Send private message
fastijum
n00b
n00b


Joined: 29 Aug 2009
Posts: 7

PostPosted: Fri Dec 06, 2024 9:52 pm    Post subject: New case Reply with quote

I just hit this myself. I neglected syncing for a long time on this box, now I’m hitting this as part of what’s likely going to be a long and painful update (deprecated profile, too-old Python, tons of USE flag changes).

Anyway here it goes:

Code:

[ebuild     U ~] www-client/firefox-133.0:rapid::gentoo [121.0:rapid::gentoo] USE="X clang gmp-autoupdate jumbo-build openh264 pgo system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-png system-webp telemetry -dbus -debug -eme-free -gnome-shell% -hardened -hwaccel -jack -libproxy -pulseaudio (-selinux) -sndio (-valgrind) -wasm% -wayland -wifi (-geckodriver%) (-lto%*) (-screencast%) (-system-python-libs%)" L10N="-ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fur -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -sc -sco -si -sk -skr% -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" LLVM_SLOT="18%* -17% -19%" 568,536 KiB
[ebuild     U  ] media-video/vlc-3.0.21:0/5-9::gentoo [3.0.18-r3:0/5-9::gentoo] USE="X alsa dav1d dvbpsi encode ffmpeg fontconfig gcrypt gui jpeg libnotify libsamplerate matroska mp3 mpeg ogg opus png ssl svg theora truetype udev v4l vpx x264 x265 -a52 -aom -archive -aribsub -bidi -bluray -cddb -chromaprint -chromecast -dbus -dc1394 -debug (-directx) -dts -dvd -faad -fdk -flac -fluidsynth -gme -gstreamer -ieee1394 -jack -kate -keyring -libass -libcaca -libtar -libtiger -linsys -lirc -live -lua -macosx-notifications -mad -modplug -mtp -musepack -ncurses -nfs -omxil -optimisememory -projectm -pulseaudio -rdp -run-as-root -samba -sdl-image -sftp -shout -sid -skins -soxr -speex -srt -taglib -test -tremor -twolame -upnp -vaapi -vdpau -vnc -wayland -xml -zeroconf -zvbi" CPU_FLAGS_X86="mmx sse" LUA_SINGLE_TARGET="lua5-1" 25,049 KiB
[ebuild     U  ] media-gfx/gthumb-3.12.6::gentoo [3.12.3::gentoo] USE="exif lcms svg tiff webp -cdr -colord -gstreamer -heif -jpegxl -keyring -raw -slideshow (-webkit)" 7,439 KiB
[ebuild     U  ] media-gfx/gimp-2.10.38-r1:0/2::gentoo [2.10.36:0/2::gentoo] USE="jpeg2k jpegxl openexr webp xpm -aalib -alsa (-aqua) -debug -doc -gnome -heif -mng -postscript -test -udev -unwind -vector-icons -wmf" CPU_FLAGS_X86="mmx sse" 30,956 KiB
[ebuild  NS    ] media-gfx/blender-4.2.1:4.2::gentoo [3.3.8:3.3::gentoo] USE="bullet cycles cycles-bin-kernels%* embree ffmpeg fftw fluid gmp jpeg2k nls oidn openexr openmp openpgl%* opensubdiv otf%* potrace pugixml sndfile tbb tiff vulkan%* webp%* -X% -alembic -collada -color-management (-cuda) -debug -doc -experimental% -gnome% (-hip) -jack -jemalloc -man -nanovdb* -ndof -oneapi% -openal -openvdb -optix -osl -pdf -pulseaudio -renderdoc% -sdl -test -valgrind -wayland% (-dds%*) (-headless%) (-openimageio%*)" LLVM_SLOT="18%* -15% -16% -17%" PYTHON_SINGLE_TARGET="python3_11* -python3_12% (-python3_10%*)" 71,084 KiB
[ebuild     U ~] mail-client/thunderbird-128.5.1::gentoo [115.6.0::gentoo] USE="X clang dbus* eme-free lto rust-extensions%* system-av1 system-harfbuzz system-jpeg system-libevent system-librnp system-libvpx system-png system-webp -debug -hardened -hwaccel -jack -libproxy (-pgo) -pulseaudio (-selinux) -sndio (-system-icu) -wayland -wifi (-openh264%) (-system-python-libs%)" L10N="-af -ar -ast -be -bg -br -ca -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -es-AR -es-ES -es-MX -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -id -is -it -ja -ka -kab -kk -ko -lt -lv -ms -nb -nl -nn -pa -pl -pt-BR -pt-PT -rm -ro -ru -sk -sl -sq -sr -sv -th -tr -uk -uz -vi -zh-CN -zh-TW" LLVM_SLOT="18%* -17% -19%" 662,782 KiB
[ebuild     U  ]  media-video/ffmpeg-6.1.1-r8:0/58.60.60::gentoo [6.0-r9:0/58.60.60::gentoo] USE="X alsa bzip2 dav1d encode fontconfig gmp gnutls gpl iconv jpeg2k kvazaar lcms libdrm libv4l lzma mp3 network opencl opengl openh264 opus pic* postproc rav1e svg theora threads truetype v4l vorbis vpx vulkan webp x264 x265 xvid zlib -amf -amr -amrenc (-appkit) -bluray -bs2b -cdio -chromaprint -chromium -codec2 -cpudetection (-cuda) -debug -doc -fdk -flite -frei0r -fribidi -gcrypt -glslang% -gme -gsm -hardcoded-tables -iec61883 -ieee1394 -jack -jpegxl -ladspa -libaom -libaribb24 -libass -libcaca -libilbc -libplacebo -librtmp -libsoxr -libtesseract -libxml2 -lv2 (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -modplug -nvenc -openal -openssl -oss -pulseaudio (-qsv) -rubberband -samba -sdl -shaderc% -snappy -sndio -soc% -speex -srt -ssh -static-libs -svt-av1 -test -twolame -vaapi -vdpau -verify-sig -vidstab (-vmaf) -zeromq -zimg -zvbi (-mmal%)" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -fma4 -xop" FFTOOLS="-aviocat -cws2fws -ffescape -ffeval -ffhash -fourcc2pixfmt -graph2dot -ismindex -pktdumper -qt-faststart -sidxindex -trasher" 10,214 KiB
[ebuild     U  ]   media-video/rav1e-0.7.1-r1:0/0.7::gentoo [0.6.6:0/0::gentoo] USE="capi -debug" 34,193 KiB
[ebuild     U  ]    dev-util/cargo-c-0.10.4-r1::gentoo [0.9.14::gentoo] USE="-debug" 50,075 KiB
[nomerge       ] xfce-base/xfdesktop-4.18.1::gentoo  USE="libnotify thunar"
[nomerge       ]  xfce-base/thunar-4.18.11:0/3::gentoo [4.18.8:0/3::gentoo] USE="libnotify trash-panel-plugin -exif -introspection -pcre -udisks"
[nomerge       ]   gnome-base/gvfs-1.52.2::gentoo [1.52.1::gentoo] USE="http udev -afp -archive -bluray -cdda -elogind -fuse -gnome-online-accounts -google -gphoto2 -ios -keyring -mtp -nfs -policykit -samba -systemd -test -udisks -zeroconf"
[nomerge       ]    app-crypt/gcr-3.41.1-r2:0/1::gentoo  USE="gtk -gtk-doc -introspection -systemd -test -vala"
[nomerge       ]     app-crypt/gnupg-2.4.5-r2::gentoo [2.2.41::gentoo] USE="nls readline ssl tofu* -bzip2 -doc -ldap (-selinux) -smartcard -test -tools -tpm% -usb -user-socket -verify-sig -wks-server"
[nomerge       ]      app-crypt/pinentry-1.3.1::gentoo [1.2.1-r3::gentoo] USE="X gtk ncurses -caps -efl -emacs -keyring -qt5 -qt6% -verify-sig -wayland"
[nomerge       ]       app-crypt/gcr-4.2.1:4/gcr-4.4-gck-2.2::gentoo [3.41.1-r2:0/1::gentoo] USE="gtk -gtk-doc -introspection -systemd -test -vala"
[nomerge       ]        gui-libs/gtk-4.14.4-r1:4::gentoo  USE="X cups (-aqua) -broadway -cloudproviders -colord -examples -gstreamer -introspection -sysprof -test (-vulkan) -wayland" CPU_FLAGS_X86="f16c"
[nomerge       ]         media-libs/mesa-24.2.6-r2::gentoo [23.1.9::gentoo] USE="X llvm opencl (opengl%*) proprietary-codecs vulkan zstd -d3d9 -debug -lm-sensors -osmesa (-selinux) -test -unwind -vaapi -valgrind -vdpau -vulkan-overlay -wayland -xa (-gles1%) (-gles2%*) (-zink%)" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="18%* -15% -16% -17%" VIDEO_CARDS="radeonsi -d3d12 (-freedreno) -intel -lavapipe (-lima) -nouveau -nvk% (-panfrost) -r300 -r600 -radeon (-v3d) (-vc4) -virgl (-vivante) -vmware -zink%"
[ebuild     U  ]          dev-util/bindgen-0.70.1-r1::gentoo [0.68.1::gentoo] USE="-debug" ABI_X86="(-32%) (-64%*) (-x32%)" 3,324 KiB
[nomerge       ] www-client/firefox-133.0:rapid::gentoo [121.0:rapid::gentoo] USE="X clang gmp-autoupdate jumbo-build openh264 pgo system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-png system-webp telemetry -dbus -debug -eme-free -gnome-shell% -hardened -hwaccel -jack -libproxy -pulseaudio (-selinux) -sndio (-valgrind) -wasm% -wayland -wifi (-geckodriver%) (-lto%*) (-screencast%) (-system-python-libs%)" L10N="-ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fur -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -sc -sco -si -sk -skr% -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" LLVM_SLOT="18%* -17% -19%"
[ebuild     U  ]  dev-util/cbindgen-0.27.0-r1::gentoo [0.26.0::gentoo] USE="-debug -test%" 2,218 KiB
[nomerge       ] x11-terms/xfce4-terminal-1.1.3::gentoo [1.1.1::gentoo] USE="X -utempter -wayland"
[nomerge       ]  x11-libs/vte-0.74.2:2.91::gentoo [0.72.2:2.91::gentoo] USE="crypt icu -debug -gtk-doc -introspection -systemd -vala -vanilla"
[nomerge       ]   gui-libs/vte-common-0.74.2:2.91::gentoo [0.72.2:2.91::gentoo] USE="-systemd"
[nomerge       ]    gui-libs/gtk-4.14.4-r1:4::gentoo  USE="X cups (-aqua) -broadway -cloudproviders -colord -examples -gstreamer -introspection -sysprof -test (-vulkan) -wayland" CPU_FLAGS_X86="f16c"
[ebuild     U  ]     x11-themes/adwaita-icon-theme-45.0::gentoo [44.0::gentoo] USE="branding" 4,196 KiB
[ebuild     U  ]      gnome-base/librsvg-2.57.3-r2:2::gentoo [2.56.3:2::gentoo] USE="-debug -gtk-doc -introspection -vala" ABI_X86="(64) -32 (-x32)" 18,249 KiB
[ebuild  NS    ]       dev-lang/rust-1.81.0-r100:1.81.0::gentoo [1.71.1:stable/1.71::gentoo] USE="lto rustfmt (-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) (-miri) (-nightly) (-parallel-compiler) -rust-analyzer -rust-src (-system-llvm) -test -verify-sig -wasm (-profiler%) (-system-bootstrap%)" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="(18%*)" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARC% -ARM -AVR -BPF -CSKY% -DirectX% -Hexagon -Lanai -LoongArch -M68k% -MSP430 -Mips -NVPTX -PowerPC -RISCV -SPIRV% -Sparc -SystemZ -VE -WebAssembly -XCore -Xtensa%" 211,664 KiB
[ebuild     U  ] www-client/google-chrome-131.0.6778.108::gentoo [120.0.6099.129::gentoo] USE="-qt5 -qt6 (-selinux)" L10N="-af -am -ar -bg -bn -ca -cs -da -de -el -en-GB -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -ur -vi -zh-CN -zh-TW" 109,744 KiB
[ebuild     U  ] app-office/libreoffice-24.2.6.2::gentoo [7.5.6.2::gentoo] USE="branding cups custom-cflags dbus gtk mariadb pdfimport vulkan -accessibility -base -bluetooth -clang (-coinmp) -debug -eds (-firebird) -googledrive -gstreamer -java -kde -ldap -odk -postgres -qt5% -qt6% -test -valgrind" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_10 -python3_11 -python3_12% -python3_13%" 448,820 KiB
[ebuild     U  ] app-emulation/qemu-8.2.3::gentoo [8.0.4::gentoo] USE="aio alsa curl fdt filecaps gnutls gtk jpeg ncurses nfs nls opengl pin-upstream-blobs png sdl seccomp slirp udev usb vhost-net virgl virtfs vnc vte xattr zstd -accessibility -bpf -bzip2 -capstone -debug -doc -fuse -glusterfs -infiniband -io-uring -iscsi -jack -jemalloc -keyutils% -lzo -multipath -numa -oss -pam -pipewire% -plugins -pulseaudio -python -rbd -sasl -sdl-image (-selinux) -smartcard -snappy -spice -ssh -static-user -systemtap -test -usbredir -vde -xen" PYTHON_TARGETS="python3_10 python3_11* -python3_12" QEMU_SOFTMMU_TARGETS="aarch64 arm avr i386 ppc x86_64 -alpha -cris -hppa -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -nios2 -or1k -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" 129,239 KiB
[ebuild     U  ]  media-libs/mesa-24.2.6-r2::gentoo [23.1.9::gentoo] USE="X llvm opencl (opengl%*) proprietary-codecs vulkan zstd -d3d9 -debug -lm-sensors -osmesa (-selinux) -test -unwind -vaapi -valgrind -vdpau -vulkan-overlay -wayland -xa (-gles1%) (-gles2%*) (-zink%)" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="18%* -15% -16% -17%" VIDEO_CARDS="radeonsi -d3d12 (-freedreno) -intel -lavapipe (-lima) -nouveau -nvk% (-panfrost) -r300 -r600 -radeon (-v3d) (-vc4) -virgl (-vivante) -vmware -zink%" 29,135 KiB

Total: 18 packages (16 upgrades, 2 in new slots), Size of downloads: 2,416,908 KiB

 * Error: circular dependencies:

(dev-lang/rust-1.81.0-r100:1.81.0/1.81.0::gentoo, ebuild scheduled for merge) depends on
 (dev-lang/rust-1.81.0-r100:1.81.0/1.81.0::gentoo, ebuild scheduled for merge) (buildtime)

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

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

x11-base/xorg-server:0

  (x11-base/xorg-server-21.1.14:0/21.1.14::gentoo, ebuild scheduled for merge) USE="udev xnest xorg xvfb -debug -elogind -minimal (-selinux) -suid -systemd -test -unwind -xcsecurity -xephyr" ABI_X86="(64)" pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (x11-base/xorg-server-21.1.10-r1:0/21.1.10::gentoo, installed) USE="udev xnest xorg xvfb -debug -elogind -minimal (-selinux) -suid -systemd -test -unwind -xcsecurity -xephyr" ABI_X86="(64)" pulled in by
    x11-base/xorg-server:0/21.1.10= required by (x11-drivers/xf86-video-amdgpu-23.0.0:0/0::gentoo, installed) USE="udev" ABI_X86="(64)"
                        ^^^^^^^^^^^                                                                                                                                                                             


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


Note that the list of packages to update should be a lot longer, so I guess the conflict caused emerge to abort.

As I mentioned, I’ll be busy fixing other builds for a while before I get to Rust (i.e. until I get to mesa or Firefox), so you have a day or two to ask for information before I too resort to emerge -C like OP did (which was my guess too for a way to fix it btw).

I already checked, I don’t have any reference to rust in all the /etc/portage/package.*/* files.
Back to top
View user's profile Send private message
fastijum
n00b
n00b


Joined: 29 Aug 2009
Posts: 7

PostPosted: Fri Dec 06, 2024 11:55 pm    Post subject: Reply with quote

Once I added --exclude dev-lang/rust, and a few more USE fixes later, emerge unexpectedly gave me the option to go ahead with the update (656 packages lol), so I did. I noticed it has now selected rust-bin because of the dependencies.
Back to top
View user's profile Send private message
Duncan Mac Leod
Guru
Guru


Joined: 02 May 2004
Posts: 314
Location: Germany

PostPosted: Sun Dec 22, 2024 6:07 pm    Post subject: Reply with quote

fastijum wrote:
--exclude dev-lang/rust


A real life-saver! Helps me to get away from compiling rust. Thanks.
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