Apparently the linking of /usr/bin/rustc provided by dev-lang/rust-1.80.1 breaks as soon as dev-lang/rust-bin-1.81.0 is installed in parallel. Other version combinations do not seem to be affected. Reproducible: Always Steps to Reproduce: 1. emerge -1 =dev-lang/rust-1.80.1 =dev-lang/rust-bin-1.81.0 2. eselect rust set rust-1.80.1 3. rustc -V Actual Results: Output: rustc: error while loading shared libraries: librustc_driver-06db74bcd3736db8.so: cannot open shared object file: No such file or directory Expected Results: Output: rustc 1.80.1 (3f5fd8dd4 2024-08-06) (gentoo) ldd shows the following: linux-vdso.so.1 (0x00007fffe91f5000) librustc_driver-06db74bcd3736db8.so => not found libstd-aa35babf0b4bbde6.so => not found libc.so.6 => /usr/lib64/libc.so.6 (0x00007f51da518000) /lib64/ld-linux-x86-64.so.2 (0x00007f51da728000) qlist -e dev-lang/rust | grep -E lib(std|rustc_driver) yields /usr/lib/rust/1.80.1/lib/libstd-aa35babf0b4bbde6.so /usr/lib/rust/1.80.1/lib/librustc_driver-06db74bcd3736db8.so /usr/lib/rust/1.80.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-ec6e439b4eb997d0.rlib /usr/lib/rust/1.80.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-aa35babf0b4bbde6.so /usr/lib/rust/1.80.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-aa35babf0b4bbde6.rlib /usr/lib/rust/1.80.1/lib/rustlib/i686-unknown-linux-gnu/lib/libstd_detect-c75231acd690e470.rlib /usr/lib/rust/1.80.1/lib/rustlib/i686-unknown-linux-gnu/lib/libstd-0c48060941855a6c.so /usr/lib/rust/1.80.1/lib/rustlib/i686-unknown-linux-gnu/lib/libstd-0c48060941855a6c.rlib emerge --info Portage 3.0.65 (python 3.12.6-final-0, default/linux/amd64/23.0/hardened, gcc-13, glibc-2.39-r6, 6.6.51-gentoo-dist-hardened x86_64) ================================================================= System uname: Linux-6.6.51-gentoo-dist-hardened-x86_64-AMD_Ryzen_Threadripper_3990X_64-Core_Processor-with-glibc2.39 KiB Mem: 263748800 total, 196451548 free KiB Swap: 268435452 total, 268435452 free Timestamp of repository gentoo: Wed, 23 Oct 2024 00:45:00 +0000 Timestamp of repository arx-libertatis: Tue, 08 Oct 2024 15:50:46 +0000 Head commit of repository arx-libertatis: 5408b817f90db2a2ddb63bd74068e68910d769da Timestamp of repository average: Tue, 08 Oct 2024 15:51:14 +0000 Head commit of repository average: 932cb6f41955b3c7cd950a36512d047ec430e96e Timestamp of repository guru: Wed, 23 Oct 2024 10:33:32 +0000 Head commit of repository guru: b7ef6fb5333583e4ddfda9745529676425612831 Timestamp of repository kde: Mon, 21 Oct 2024 22:03:21 +0000 Head commit of repository kde: ea317e317d42b93379008da0763dc3d49d1a2ccc Timestamp of repository myrvolay: Mon, 14 Oct 2024 12:50:45 +0000 Head commit of repository myrvolay: cf370c46af0ae2e9acc232d0c8ed5d4865c70bdf Timestamp of repository nest: Fri, 18 Oct 2024 18:03:42 +0000 Head commit of repository nest: c970d6027fe0e0b948d7cf9c6ea5906d38e74780 Timestamp of repository pf4public: Tue, 22 Oct 2024 21:03:14 +0000 Head commit of repository pf4public: b830792f2d09cca1187c47fadfd1422a3b7d3f95 Timestamp of repository pg_overlay: Tue, 22 Oct 2024 17:03:08 +0000 Head commit of repository pg_overlay: da41a3fd94d4550400920ef0de772b3eeebda35f Timestamp of repository robert7k: Mon, 21 Oct 2024 13:48:20 +0000 Head commit of repository robert7k: 3ab49e469ae7f15b3bf8c97a8a1842374e808244 Timestamp of repository steam-overlay: Tue, 08 Oct 2024 15:50:59 +0000 Head commit of repository steam-overlay: 1dc5a0d57c688eacd472d714a0621b6c277a9385 Timestamp of repository tastytea: Tue, 22 Oct 2024 07:04:38 +0000 Head commit of repository tastytea: 2c136a107e0fbbc2e190ac340dc132ae1a2c6269 Timestamp of repository vaacus: Mon, 14 Oct 2024 12:50:47 +0000 Head commit of repository vaacus: 0813f6e2a29cc51fd774b0343ca02b954db3ad66 Timestamp of repository vapoursynth: Mon, 14 Oct 2024 12:50:29 +0000 Head commit of repository vapoursynth: c1f67efc44eab565ea32ef3d210139a77ced672f Timestamp of repository xoores: Thu, 17 Oct 2024 18:33:24 +0000 Head commit of repository xoores: bce507f6e2db80bfa6808326e546ff04884e12ea Timestamp of repository xwing: Sun, 20 Oct 2024 16:03:26 +0000 Head commit of repository xwing: 46b93ddceb566ec461d47a62faf1f814c16a3e23 sh bash 5.2_p37 ld GNU ld (Gentoo 2.42 p6) 2.42.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p37::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.30.5::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.5.2::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.40.0::gentoo dev-lang/python: 3.11.10_p1::gentoo, 3.12.6_p4::gentoo dev-lang/rust: 1.80.1::gentoo dev-lang/rust-bin: 1.80.1::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/openrc: 0.55.1::gentoo sys-apps/sandbox: 2.39::gentoo sys-devel/binutils: 2.42-r2::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/clang: 18.1.8::gentoo sys-devel/gcc: 13.3.1_p20240614::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 18.1.8::gentoo sys-devel/llvm: 18.1.8-r4::gentoo sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.39-r6::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: webrsync sync-uri: https://ftp.fau.de/gentoo-portage priority: -1000 volatile: False sync-webrsync-verify-signature: yes arx-libertatis location: /var/db/repos/arx-libertatis sync-type: git sync-uri: https://github.com/gentoo-mirror/arx-libertatis.git masters: gentoo volatile: False average location: /var/db/repos/average sync-type: git sync-uri: https://github.com/gentoo-mirror/average.git masters: gentoo volatile: False guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False kde location: /var/db/repos/kde sync-type: git sync-uri: https://github.com/gentoo-mirror/kde.git masters: gentoo volatile: False myrvolay location: /var/db/repos/myrvolay sync-type: git sync-uri: https://github.com/gentoo-mirror/myrvolay.git masters: gentoo volatile: False nest location: /var/db/repos/nest sync-type: git sync-uri: https://github.com/gentoo-mirror/nest.git masters: gentoo volatile: False pf4public location: /var/db/repos/pf4public sync-type: git sync-uri: https://github.com/gentoo-mirror/pf4public.git masters: gentoo volatile: False pg_overlay location: /var/db/repos/pg_overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/pg_overlay.git masters: gentoo volatile: False robert7k location: /var/db/repos/robert7k sync-type: git sync-uri: https://github.com/gentoo-mirror/robert7k.git masters: gentoo volatile: False steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo volatile: False tastytea location: /var/db/repos/tastytea sync-type: git sync-uri: https://github.com/gentoo-mirror/tastytea.git masters: guru gentoo volatile: False vaacus location: /var/db/repos/vaacus sync-type: git sync-uri: https://github.com/gentoo-mirror/vaacus.git masters: gentoo volatile: False vapoursynth location: /var/db/repos/vapoursynth sync-type: git sync-uri: https://github.com/gentoo-mirror/vapoursynth.git masters: gentoo volatile: False xoores location: /var/db/repos/xoores sync-type: git sync-uri: https://github.com/gentoo-mirror/xoores.git masters: gentoo volatile: False xwing location: /var/db/repos/xwing sync-type: git sync-uri: https://github.com/gentoo-mirror/xwing.git masters: gentoo volatile: False zeuch location: /var/db/repos/zeuch masters: gentoo volatile: False crossdev location: /var/db/repos/crossdev masters: gentoo priority: 10 volatile: False Binary Repositories: fau-bin priority: 9999 sync-uri: https://ftp.fau.de/gentoo/releases/amd64/binpackages/23.0/x86-64_hardened bytemark-bin priority: 9998 sync-uri: https://mirror.bytemark.co.uk/gentoo/releases/amd64/binpackages/23.0/x86-64_hardened Installed sets: @steam ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mtune=native -pipe -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf /usr/share/sddm/scripts/Xsetup" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -mtune=native -pipe -O2" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS=" --autounmask-unrestricted-atoms=y --autounmask-keep-masks=y --autounmask=y --autounmask-continue=y --autounmask-write=y --buildpkg-exclude 'acct-*/* virtual/* sys-kernel/*-sources' --jobs=10 --load-average=10.0 --with-bdeps=y --usepkg=y" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ https://mirror.dogado.de/gentoo https://ftp.agdsn.de/gentoo https://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ https://ftp.gwdg.de/pub/linux/gentoo/ https://ftp.uni-hannover.de/gentoo/ https://mirror.netcologne.de/gentoo/ https://mirror.netzwerge.de/gentoo/ https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ https://ftp.halifax.rwth-aachen.de/gentoo/ https://ftp.tu-ilmenau.de/mirror/gentoo/ https://ftp.fau.de/gentoo https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ https://ftp.uni-stuttgart.de/gentoo-distfiles/" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" LINGUAS="de de_DE en_US en" MAKEOPTS="-j128 -l96.0" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="a52 aac acl acpi alsa amd64 audiofile avi berkdb bzip2 cairo cdda cddb cdparanoia cdr cet clang cracklib crypt css cue cups cxx dbus dist-kernel djvu dri dv elogind emacs encode exif faac ffmpeg flac fontconfig fontforge foomaticdb ftp gd gdbm gif glamor gpm graphicsmagick gstreamer gtk gtk3 hardened iconv id3tag irc jpeg jpeg2k kf6compat ladspa libass libnotify libtirpc libwww lm_sensors logrotate lto lzo mad matroska mbox mng modules mp3 mpeg mtp multilib ncurses networkmanager nfs nls nptl nsplugin ogg oggvorbis openal opencl openexr opengl openmp oscar pam pcre pdf pgo pic pie png policykit portaudio python_single_targets_python3_12 qml qt6 raw readline samba sasl sdl seccomp session smp spell ssl ssp svg tcpd test-rust theora threads tiff udev udisks unicode usb v4l v4l2 vaapi vcd verify-sig vhosts vorbis vulkan wavpack wayland wimax wmf x264 x265 xattr xml xpm xtpax xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" AMDGPU_TARGETS="gfx1100" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="pc efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput evdev" KERNEL="linux" L10N="de en-US en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="X86 AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12 python3_11" RUBY_TARGETS="ruby32" VIDEO_CARDS="radeon radeonsi amdgpu zink" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Please run `. /etc/profile` after running `eselect rust set`.
> Please run `. /etc/profile` after running `eselect rust set`. Okay, thanks for the pointer. . /etc/profile does not help though. Steps to Reproduce: 1. emerge -1 =dev-lang/rust-1.80.1 =dev-lang/rust-bin-1.81.0 2. eselect rust set rust-1.80.1 3. . /etc/profile 4. rustc -V Tested this from within and without a tmux session: host ~ # eselect rust list Available Rust versions: [1] rust-1.80.1 * [2] rust-bin-1.81.0 host ~ # eselect rust set 2 host ~ # . /etc/profile host ~ # rustc -V rustc 1.81.0 (eeb90cda1 2024-09-04) host ~ # eselect rust set 1 host ~ # . /etc/profile host ~ # rustc -V rustc: error while loading shared libraries: librustc_driver-06db74bcd3736db8.so: cannot open shared object file: No such file or directory host ~ #
Could you show me the output of `env`?
Sure, I found the issue in the meantime though: In this case env-update && . /etc/profile was needed. Iām not sure why other version combinations did not show the issue, but still it is fixed. Sorry for bothering the team and have a nice day. If you still suspect something being wrong here, feel free to reopen. SHELL=/bin/bash CSF_MDTVTexturesDirectory=/usr/share/opencascade/resources/Textures XDG_CONFIG_DIRS=/etc/xdg:/usr/share LESS=-R -M --shift 5 JDK_HOME=/etc/java-config-2/current-system-vm CLUTTER_BACKEND=wayland CONFIG_PROTECT_MASK=/etc/sandbox.d /etc/fonts/fonts.conf /etc/gentoo-release /etc/dconf /etc/ca-certificates.conf /etc/texmf/web2c /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/revdep-rebuild JAVA_HOME=/etc/java-config-2/current-system-vm VDPAU_DRIVER=radeonsi CSF_MIGRATION_TYPES=/usr/share/opencascade/resources/StdResource/MigrationSheet.txt ANT_HOME=/usr/share/ant LIBVA_DRIVER_NAME=radeonsi CSF_STEPDefaults=/usr/share/opencascade/resources/XSTEPResource EDITOR=/usr/local/bin/edit PWD=/root CONFIG_PROTECT=/usr/share/maven-bin-3.9/conf /usr/share/gnupg/qualified.txt /usr/share/config LOGNAME=root QT_QPA_PLATFORMTHEME=qt5ct MANPATH=/etc/java-config-2/current-system-vm/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/13/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.42/man:/etc/java-config-2/current-system-vm/man/:/usr/local/share/man:/usr/share/man:/usr/lib/rust/man:/usr/lib/llvm/18/share/man:/etc/eselect/wine/share/man AWT_TOOLKIT=MToolkit CSF_StandardLiteDefaults=/usr/share/opencascade/resources/StdResource _JAVA_AWT_WM_NONPARENTING=1 GRIM_DEFAULT_DIR=/mnt/platz/Bilder/Screenshots WINEARCH=win32 HOME=/root LANG=de_DE.utf8 RUSTICL_ENABLE=radeonsi LS_COLORS= CSF_GraphicShr=/usr/lib64/opencascade/libTKOpenGl.so OPENGL_PROFILE=xorg-x11 CSF_ShadersDirectory=/usr/share/opencascade/resources/Shaders PRELINK_PATH_MASK=/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so:/opt/bin/skype CSF_XmlOcafResource=/usr/share/opencascade/resources/XmlOcafResource QT_QPA_PLATFORM=wayland;xcb XDG_CACHE_HOME=/tmp/root/.cache INFOPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/13/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.42/info:/usr/share/autoconf-2.71/info:/usr/share/autoconf-2.13/info:/usr/share/automake-1.16.5/info:/usr/share/info:/usr/share/info/emacs-29 MOZ_GMP_PATH=/usr/lib64/nsbrowser/plugins/gmp-gmpopenh264/system-installed CSF_SHMessage=/usr/share/opencascade/resources/SHMessage JAVAC=/etc/java-config-2/current-system-vm/bin/javac STUDIO_JDK=/opt/android-studio/jbr TERM=alacritty LESSOPEN=|lesspipe %s USER=root SDL_VIDEODRIVER=wayland MPD_PORT=6734 CSF_StandardDefaults=/usr/share/opencascade/resources/StdResource CSF_IGESDefaults=/usr/share/opencascade/resources/XSTEPResource MANPAGER=manpager NPM_CONFIG_GLOBALCONFIG=/etc/npm/npmrc CSF_XCAFDefaults=/usr/share/opencascade/resources/StdResource SHLVL=1 PAGER=/usr/bin/less LEX=flex OCL_ICD_FILENAMES=/etc/OpenCL/vendors/amdocl64.icd CSF_PluginDefaults=/usr/share/opencascade/resources/StdResource CASROOT=/usr GCC_SPECS= VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.i686.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json GSETTINGS_BACKEND=dconf CSF_XSMessage=/usr/share/opencascade/resources/XSMessage XDG_DATA_DIRS=/usr/local/share:/usr/share:/etc/eselect/wine/share CSF_UnitsDefinition=/usr/share/opencascade/resources/UnitsAPI/Units.dat PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/18/bin:/etc/eselect/wine/bin:/usr/lib64/opencascade/bin:/home/manu/.local/bin LV2_PATH=/usr/lib64/lv2 CALIBRE_USE_SYSTEM_THEME=1 SHELL_SETS_TITLE=0 LADSPA_PATH=/usr/lib64/ladspa _=/usr/bin/env