View previous topic :: View next topic |
Author |
Message |
cwc Veteran
Joined: 20 Mar 2006 Posts: 1375 Location: Tri-Cities, WA USA
|
Posted: Sat Nov 09, 2024 10:18 pm Post subject: dev-lang/rust failure soft blocking dev-lang |
|
|
Failure of dev-lang/rust
Not sure what to do:
[blocks B ] dev-lang/rust:stable ("dev-lang/rust:stable" is soft blocking dev-lang/rust-1.81.0-r100)
Code: | equery depends rust
* These packages depend on rust:
dev-lang/rust-1.81.0 (system-bootstrap ? =dev-lang/rust-1.80*)
(system-bootstrap ? =dev-lang/rust-1.81*)
dev-python/cryptography-43.0.3 (>=virtual/rust-1.56.0)
dev-util/bindgen-0.70.1 (virtual/rust)
(virtual/rust)
(>=virtual/rust-1.53)
dev-util/maturin-1.7.4 (>=virtual/rust-1.53)
gnome-base/librsvg-2.57.3 (>=virtual/rust-1.70.0[abi_x86_64(-)])
(>=virtual/rust-1.53)
virtual/rust-1.81.0-r1 (~dev-lang/rust-1.81.0[profiler?,rustfmt?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
www-client/chromium-129.0.6668.100 (virtual/rust:0/llvm-18[profiler(-)])
(virtual/rust:0/llvm-17[profiler(-)])
yoda ~ #
|
I issued a emerge after failure in world update:
Code: |
merge -av dev-lang/rust
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 21.29 s (backtrack: 0/20).
[ebuild NS ] dev-lang/rust-1.81.0-r100:1.81.0::gentoo [1.81.0:stable/1.81::gentoo] USE="(-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) -lto (-miri) (-nightly) (-parallel-compiler) -rust-analyzer -rust-src -rustfmt (-system-bootstrap) (-system-llvm) -test -verify-sig -wasm (-profiler%*)" 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" 0 KiB
[blocks B ] dev-lang/rust:stable ("dev-lang/rust:stable" is soft blocking dev-lang/rust-1.81.0-r100)
Total: 1 package (1 in new slot), Size of downloads: 0 KiB
Conflict: 1 block (1 unsatisfied)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
(dev-lang/rust-1.81.0:stable/1.81::gentoo, installed) pulled in by
~dev-lang/rust-1.81.0[profiler?,rustfmt?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (~dev-lang/rust-1.81.0[profiler,abi_x86_64(-)]) required by (virtual/rust-1.81.0-r1:0/llvm-18::gentoo, installed) USE="profiler -rustfmt" ABI_X86="(64) -32 (-x32)"
(dev-lang/rust-1.81.0-r100:1.81.0/1.81.0::gentoo, ebuild scheduled for merge) pulled in by
dev-lang/rust
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages
!!! The following installed packages are masked:
- dev-lang/rust-1.81.0::gentoo (masked by: package.mask)
/var/db/repos/gentoo/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.
- virtual/rust-1.81.0-r1::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
|
Code: | yoda ~ # emerge --info '=dev-lang/rust-1.81.0-r100::gentoo'
Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-13, glibc-2.40-r5, 6.6.58-gentoo-r1 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.6.58-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-glibc2.40
KiB Mem: 65792996 total, 41311352 free
KiB Swap: 67108860 total, 67108860 free
Timestamp of repository gentoo: Sat, 09 Nov 2024 13:45:00 +0000
Head commit of repository gentoo: 2f6bde71364536d8696647281647abb4f9595a34
sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p6) 2.42.0
ccache version 4.10.2 [disabled]
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p37::gentoo
dev-build/autoconf: 2.71-r7::gentoo, 2.72-r1::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-r100::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.12.7_p1::gentoo, 3.13.0::gentoo
dev-lang/rust: 1.81.0::gentoo
dev-util/ccache: 4.10.2-r1::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/openrc: 0.54.2::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_p20241025::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/lld: 18.1.8::gentoo
sys-devel/llvm: 18.1.8-r1::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.40-r5::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync11.us.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-max-age: 24
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 1
crossdev
location: /var/db/repos/portage-crossdev
masters: gentoo
priority: 10
volatile: False
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
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-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch 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="http://mirror.leaseweb.com/gentoo/ http://gentoo.gossamerhost.com "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j12"
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="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kf6compat lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf png policykit ppds qml qt5 qt6 readline sdl seccomp sound spell split-usr ssl startup-notification svg test-rust tiff tk truetype udev udisks unicode upower usb vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" 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 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 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" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu radeonsi" 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, 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
yoda ~ #
|
Code: |
25: core::ops::function::FnOnce::call_once
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
finished in 1947.260 seconds
Traceback (most recent call last):
File "/var/tmp/portage/dev-lang/rust-1.81.0-r100/work/rustc-1.81.0-src/./x.py", line 50, in <module>
bootstrap.main()
~~~~~~~~~~~~~~^^
File "/var/tmp/portage/dev-lang/rust-1.81.0-r100/work/rustc-1.81.0-src/src/bootstrap/bootstrap.py", line 1191, in main
bootstrap(args)
~~~~~~~~~^^^^^^
File "/var/tmp/portage/dev-lang/rust-1.81.0-r100/work/rustc-1.81.0-src/src/bootstrap/bootstrap.py", line 1167, in bootstrap
run(args, env=env, verbose=build.verbose, is_bootstrap=True)
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/tmp/portage/dev-lang/rust-1.81.0-r100/work/rustc-1.81.0-src/src/bootstrap/bootstrap.py", line 186, in run
raise RuntimeError(err)
RuntimeError: failed to run: /var/tmp/portage/dev-lang/rust-1.81.0-r100/work/rustc-1.81.0-src/build/bootstrap/debug/bootstrap build -vvv --config=/var/tmp/portage/dev-lang/rust-1.81.0-r100/work/rustc-1.81.0-src/config.toml -j12
* ERROR: dev-lang/rust-1.81.0-r100::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 3751: Called die
* The specific snippet of code:
* RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vvv --config="${S}"/config.toml -j$(makeopts_jobs) || die
*
* If you need support, post the output of `emerge --info '=dev-lang/rust-1.81.0-r100::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/rust-1.81.0-r100::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-lang/rust-1.81.0-r100/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/rust-1.81.0-r100/temp/environment'.
* Working directory: '/var/tmp/portage/dev-lang/rust-1.81.0-r100/work/rustc-1.81.0-src'
* S: '/var/tmp/portage/dev-lang/rust-1.81.0-r100/work/rustc-1.81.0-src'
>>> Failed to emerge dev-lang/rust-1.81.0-r100, Log file:
>>> '/var/tmp/portage/dev-lang/rust-1.81.0-r100/temp/build.log'
* Messages for package dev-lang/rust-1.81.0-r100:
* ERROR: dev-lang/rust-1.81.0-r100::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 3751: Called die
* The specific snippet of code:
* RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vvv --config="${S}"/config.toml -j$(makeopts_jobs) || die
|
_________________ Without diversity there can be no evolution:) |
|
Back to top |
|
|
eschwartz Developer
Joined: 29 Oct 2023 Posts: 220
|
Posted: Sun Nov 10, 2024 10:06 am Post subject: |
|
|
bindgen directly depends on virtual/rust unless you update it as well. A full @world rebuild should fix things too. |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3522
|
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1961
|
Posted: Sun Nov 10, 2024 3:10 pm Post subject: |
|
|
That is not the same thing then. OP's issue is dev-lang/rust failing to build and then it not being able to resume. We need the full log for OP's build failure. |
|
Back to top |
|
|
grumblebear Apprentice
Joined: 26 Feb 2008 Posts: 204
|
Posted: Sun Nov 10, 2024 4:21 pm Post subject: |
|
|
Same for me with rust-1.82.
For me it worked to manually remove virtual/rust.
Code: | emerge -C virtual/rust |
|
|
Back to top |
|
|
cwc Veteran
Joined: 20 Mar 2006 Posts: 1375 Location: Tri-Cities, WA USA
|
Posted: Sun Nov 10, 2024 4:25 pm Post subject: |
|
|
eschwartz wrote: | bindgen directly depends on virtual/rust unless you update it as well. A full @world rebuild should fix things too. |
this is my world update:
emerge -uDNavt @world;
I tried to update bindgen and got the following:
Code: |
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 24.79 s (backtrack: 0/20).
[ebuild NS ] dev-lang/rust-1.81.0-r100 [1.81.0] LLVM_SLOT="18%*"
[ebuild U ] dev-util/bindgen-0.70.1-r1 [0.70.1]
[blocks B ] dev-lang/rust:stable ("dev-lang/rust:stable" is soft blocking dev-lang/rust-1.81.0-r100)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
(dev-lang/rust-1.81.0:stable/1.81::gentoo, installed) pulled in by
~dev-lang/rust-1.81.0[profiler?,rustfmt?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (~dev-lang/rust-1.81.0[profiler,abi_x86_64(-)]) required by (virtual/rust-1.81.0-r1:0/llvm-18::gentoo, installed) USE="profiler -rustfmt" ABI_X86="(64) -32 (-x32)"
(dev-lang/rust-1.81.0-r100:1.81.0/1.81.0::gentoo, ebuild scheduled for merge) pulled in by
dev-lang/rust:1.81.0 required by (dev-util/bindgen-0.70.1-r1:0/0::gentoo, ebuild scheduled for merge) USE="-debug" ABI_X86="(64)"
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages
!!! The following installed packages are masked:
- virtual/rust-1.81.0-r1::gentoo (masked by: package.mask)
/var/db/repos/gentoo/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.
- dev-lang/rust-1.81.0::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
|
_________________ Without diversity there can be no evolution:) |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1961
|
Posted: Sun Nov 10, 2024 5:09 pm Post subject: |
|
|
Please sync, try a full world upgrade, then share the full build.log if anything fails. |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3522
|
Posted: Sun Nov 10, 2024 5:38 pm Post subject: |
|
|
My conjecture...
The old rust has been masked, and we're supposed to move to slotted rust. I don't know how to do that. When I attempt to update world it fails at the first package that requires rust, namely cbindgen-0.27.1-r1. I suspect that cbindgen needs the new slotted rust in order to build properly, but I can't get there because cbindgen fails first. And as mentioned, I'm not sure how to install the new slotted rust, anyway. All of the old stuff is masked.
Code: | # emerge --info '=dev-util/cbindgen-0.27.0-r1::gentoo'
Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-13, glibc-2.40-r5, 6.11.7-gentoo-x86_64 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.11.7-gentoo-x86_64-x86_64-AMD_Ryzen_7_3700X_8-Core_Processor-with-glibc2.40
KiB Mem: 32807796 total, 26338936 free
KiB Swap: 8191996 total, 8191996 free
Head commit of repository gentoo: aea2e004101db8211ee99e7ee85e0e153b165dfa
Timestamp of repository guru: Mon, 06 May 2024 12:03:32 +0000
Head commit of repository guru: 0c6fc8509b84a8fe958dc7915f2d74e88e3c4552
Head commit of repository mrpenguin: 30e634d21898082c58318038c9be55e965b70e38
Head commit of repository steam-overlay: fc142da83eb4eb440c787e9f1befe5945b09f485
Timestamp of repository wayland-desktop: Mon, 29 Apr 2024 20:07:17 +0000
Head commit of repository wayland-desktop: 8cbf21e9d6b7843147aa5079a6b3a22dd1ad58b4
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.72-r1::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-r100::gentoo
dev-build/meson: 1.5.2::gentoo
dev-lang/perl: 5.40.0::gentoo
dev-lang/python: 2.7.18_p16-r2::gentoo, 3.10.15_p1::gentoo, 3.11.10_p1::gentoo, 3.12.7_p1::gentoo, 3.13.0::gentoo
dev-lang/rust: 1.81.0::gentoo, 1.81.0-r100::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/openrc: 0.54.2::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_p20241025::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/lld: 18.1.8::gentoo
sys-devel/llvm: 18.1.8-r1::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.40-r5::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: git
sync-uri: git://git.gentoo.org/repo/gentoo.git
priority: -1000
volatile: True
guru
location: /var/db/repos/guru
sync-type: git
sync-uri: https://github.com/gentoo-mirror/guru.git
masters: gentoo
volatile: False
local
location: /var/db/repos/local
masters: gentoo
volatile: False
mrpenguin
location: /usr/local/portage/mrpenguin
sync-type: git
sync-uri: https://github.com/MrPenguin07/ebuilds.git
masters: gentoo
volatile: True
steam-overlay
location: /var/db/repos/steam-overlay
sync-type: git
sync-uri: https://github.com/anyc/steam-overlay.git
masters: gentoo
volatile: False
wayland-desktop
location: /var/db/repos/wayland-desktop
sync-type: git
sync-uri: https://github.com/gentoo-mirror/wayland-desktop.git
masters: gentoo
volatile: False
x-portage
location: /usr/local/portage
masters: gentoo
priority: 0
volatile: True
Installed sets: @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA Q3AEULA AdobeFlash-11.x DOOM3 Vivaldi OPERA-2018"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind"
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/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps 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 buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch 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="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en es en_US"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
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="X a52 aac acl acpi alsa amd64 branding bzip2 cairo cdda cdr cet crypt cups dri dts dvd dvdr elogind encode eselect-ldso exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kf6compat lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls ogg opencl opengl openmp pam pango pcre pdf png ppds pulseaudio qml qt5 qt6 readline sdl seccomp sound spell split-usr ssl startup-notification svg test-rust tiff tk truetype udev unicode usb vorbis vulkan vulkan-overlay wayland wxwidgets x264 xattr xcb xft xml xv xvid xwayland zlib" ABI_X86="64" ADA_TARGET="gcc_12" ALSA_CARDS="hda-intel" AMDGPU_TARGETS="gfx1010 gfx1011 gfx1012 gfx1030" 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" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_11 python3_12" RUBY_TARGETS="ruby32" SANE_BACKENDS="hp net" VIDEO_CARDS="amdgpu radeonsi" 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 |
Code: | # emerge -pqv '=dev-util/cbindgen-0.27.0-r1::gentoo'
[ebuild U ] dev-util/cbindgen-0.27.0-r1 [0.27.0] USE="-debug -test"
!!! The following installed packages are masked:
- dev-lang/rust-1.81.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.
- virtual/rust-1.81.0-r1::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook. |
The build log is too big to post here. Today I tried out pastebin for the first time, I hope I did it right.
https://pastebin.com/vP680gUi
I'm not sure how long it will stay there. I used defaults and did not set up an id. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
cwc Veteran
Joined: 20 Mar 2006 Posts: 1375 Location: Tri-Cities, WA USA
|
Posted: Sun Nov 10, 2024 6:18 pm Post subject: |
|
|
I removed virtual/rust
Still failure
I might be missing something : https://wiki.gentoo.org/wiki/Rust
emerge -pqv '=dev-lang/rust-1.81.0-r100::gentoo'
Code: |
# emerge -pqv '=dev-lang/rust-1.81.0-r100::gentoo'
[ebuild NS ] dev-lang/rust-1.81.0-r100 [1.81.0] USE="(-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) -lto (-miri) (-nightly) (-parallel-compiler) -rust-analyzer -rust-src -rustfmt (-system-bootstrap) (-system-llvm) -test -verify-sig -wasm (-profiler%*)" 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"
[uninstall ] dev-lang/rust-1.81.0 USE="profiler (-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) -lto (-miri) (-nightly) (-parallel-compiler) -rust-analyzer -rust-src -rustfmt (-system-bootstrap) (-system-llvm) -test -verify-sig -wasm" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" 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"
[blocks b ] dev-lang/rust:stable ("dev-lang/rust:stable" is soft blocking dev-lang/rust-1.81.0-r100)
|
_________________ Without diversity there can be no evolution:) |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1961
|
Posted: Sun Nov 10, 2024 6:42 pm Post subject: |
|
|
Please don't manually remove anything. As I said in another thread, we need to focus on cbindgen. Please file a bug for it with the full build.log at bugs.gentoo.org. Thanks. |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3522
|
Posted: Sun Nov 10, 2024 7:41 pm Post subject: |
|
|
sam_ wrote: | Please don't manually remove anything. As I said in another thread, we need to focus on cbindgen. Please file a bug for it with the full build.log at bugs.gentoo.org. Thanks. |
In my various foolings around with this I've tried to build other rust-based packages besides cbindgen. They all fail with similar rust-related error messages. Notably dev-util/maturin, dev-python/cryptography, dev-python/rpds_py, and gnome-base/librsvg. Note that with those simpler things failing I haven't even bothered to try firefox or thunderbird, which are also due for updates.
edit - I haven't removed anything. I did fool around with package.unmask and package.accept_keywords to the point that it would be willing to rebuild dev-lang/rust and virtual/rust, but I thought that might be getting myself into even more trouble. I've actually changed nothing on my system, I've just been updating what I can around this issue.
second edit - Even though I couldn't completely update, I decided to try "emerge -p --depclean" because I knew I had old kernel sources to get rid of. I found this:
Code: | # emerge -p --depclean
* Always study the list of packages to be cleaned for any obvious
* mistakes. Packages that are part of the world set will always
* be kept. They can be manually added to this set with
* `emerge --noreplace <atom>`. Packages that are listed in
* package.provided (see portage(5)) will be removed by
* depclean, even if they are part of the world set.
*
* As a safety measure, depclean will not remove any packages
* unless *all* required dependencies have been resolved. As a
* consequence of this, it often becomes necessary to run
* `emerge --update --newuse --deep @world` prior to depclean.
Calculating dependencies... done!
>>> Calculating removal order...
>>> These are the packages that would be unmerged:
sys-kernel/gentoo-sources
selected: 6.11.6
protected: none
omitted: 6.11.7
dev-lang/rust
selected: 1.81.0-r100
protected: none
omitted: 1.81.0
dev-lang/rust-common
selected: 1.81.0
protected: none
omitted: none
All selected packages: =dev-lang/rust-common-1.81.0 =dev-lang/rust-1.81.0-r100 =sys-kernel/gentoo-sources-6.11.6
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
|
Some rust-related bits are due for removal, possibly from yesterday's attempted update. That's when things started going wrong. The "emerge --sync" for yesterday was done by cron job at sometime after 3:00am EST. _________________ .sigs waste space and bandwidth
Last edited by depontius on Sun Nov 10, 2024 7:52 pm; edited 1 time in total |
|
Back to top |
|
|
cwc Veteran
Joined: 20 Mar 2006 Posts: 1375 Location: Tri-Cities, WA USA
|
Posted: Sun Nov 10, 2024 7:51 pm Post subject: darn |
|
|
darn. I blindly followed:
Code: |
ame for me with rust-1.82.
For me it worked to manually remove virtual/rust.
Code:
emerge -C virtual/rust
|
_________________ Without diversity there can be no evolution:) |
|
Back to top |
|
|
cwc Veteran
Joined: 20 Mar 2006 Posts: 1375 Location: Tri-Cities, WA USA
|
Posted: Sun Nov 10, 2024 7:57 pm Post subject: |
|
|
Code: |
edit - I haven't removed anything. I did fool around with package.unmask and package.accept_keywords to the point that it would be willing to rebuild dev-lang/rust and virtual/rust, but I thought that might be getting myself into even more trouble. I've actually changed nothing on my system, I've just been updating what I can around this issue.
|
depontius,
I'd like to get virtual/rust back
please provide what you put into package.accept.keyword / package.unmask
Thanks _________________ Without diversity there can be no evolution:) |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22642
|
Posted: Sun Nov 10, 2024 8:03 pm Post subject: |
|
|
I think using package.unmask is premature at this point. I suggest removing relevant package.unmask, package.accept_keywords, and (if any) package.mask entries related to rust, which will get the system closest to the state that the Gentoo developers expect. Next, follow sam_'s request to focus on cbindgen and, if it still fails, report full details.
On its own, virtual/rust doesn't do anything. Virtuals exist to pull in relevant other packages. Let Portage pull in the virtual if and when it needs to do so. |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3522
|
Posted: Sun Nov 10, 2024 8:23 pm Post subject: |
|
|
Here's what I used, but note that it's all commented out.
/etc/portage/package.accept_keywords/tempFix
Code: | # =virtual/rust-1.82.0 ~amd64
# =dev-lang/rust-1.82.0 ~amd64
# #=dev-lang/rust-1.82.0-r100 ~amd64
|
/etc/portage/package.unmask
Code: | =gnome-base/gconf-3.2.6-r6
# =virtual/rust-1.82.0
# =dev-lang/rust-1.82.0
|
At this point I don't even remember what I was doing with gconf - the package isn't on my computer any more and doesn't exist in portage, so I might as well get rid of the entry.
edit - The other thing is that now, after having gone through some of the other thrashing about today, that I clearly don't want to do that. The only thing I might have wanted to do was move all of that back to 1.81.0 - using 1.82.0 calls for updating llvm and presumably the rest that goes along with that. Major changes that I know I don't want.
What I need is to install "slotted rust", however that is done. By the way...
Code: | eselect rust list
Available Rust versions:
[1] rust-1.81.0 *
|
By the way, I think it interesting that I apparently have dev-lang/rust-1.81.0-r100 installed, and that isn't listed by eselect. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
grumblebear Apprentice
Joined: 26 Feb 2008 Posts: 204
|
Posted: Sun Nov 10, 2024 8:32 pm Post subject: |
|
|
After removing virtual/rust you should of course update your @world and not a single package. Then portage should be able to update all packages still depending on virtual/rust. And you should also follow the advice to remove rust from package.unmask. |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3522
|
Posted: Sun Nov 10, 2024 8:47 pm Post subject: |
|
|
Another data point. My problems and postings thus far have been on my computer. I haven't updated my wife's computer in a week or so, so I decided to see what's up there. I know it's not a complete update, but I was going to simply see if cbindgen would build successfully on an otherwise undisturbed machine.
Code: | # emerge -a1tv cbindgen
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
Dependency resolution took 24.94 s (backtrack: 0/20).
[ebuild U ] dev-util/cbindgen-0.27.0-r1::gentoo [0.27.0::gentoo] USE="-debug -test" 0 KiB
[ebuild NS ] dev-lang/rust-1.81.0-r100:1.81.0::gentoo [1.81.0:stable/1.81::gentoo] USE="rustfmt (-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) -lto (-miri) (-nightly) (-parallel-compiler) -rust-analyzer -rust-src (-system-bootstrap) (-system-llvm) -test -verify-sig -wasm (-profiler%)" ABI_X86="32 (64) (-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" 0 KiB
[ebuild N ] dev-lang/rust-common-1.81.0::gentoo USE="-verify-sig" 0 KiB
[blocks B ] dev-lang/rust:stable ("dev-lang/rust:stable" is soft blocking dev-lang/rust-1.81.0-r100, dev-lang/rust-common-1.81.0)
Total: 3 packages (1 upgrade, 1 new, 1 in new slot), Size of downloads: 0 KiB
Conflict: 1 block (1 unsatisfied)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
(dev-lang/rust-1.81.0:stable/1.81::gentoo, installed) pulled in by
~dev-lang/rust-1.81.0[profiler?,rustfmt?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (~dev-lang/rust-1.81.0[abi_x86_32(-),abi_x86_64(-)]) required by (virtual/rust-1.81.0-r1:0/llvm-18::gentoo, installed) USE="-profiler -rustfmt" ABI_X86="32 (64) (-x32)"
(dev-lang/rust-1.81.0-r100:1.81.0/1.81.0::gentoo, ebuild scheduled for merge) pulled in by
dev-lang/rust:1.81.0 required by (dev-util/cbindgen-0.27.0-r1:0/0::gentoo, ebuild scheduled for merge) USE="-debug -test" ABI_X86="(64)"
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages
!!! The following installed packages are masked:
- virtual/rust-1.81.0-r1::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.
- dev-lang/rust-1.81.0::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
|
Having done that I figured I should look at world. It says it will complete, but wants rust-bin as well as updating rust. It seems at least as mysterious as my own machine. The rust-bin is being called in by cbindgen, incidentally. I'm going to update all of the non-rust stuff on her machine so that the list will be more concise, and then get back here.
edit - Done. Everything non-rust on my wife's machine has been updated, and here's what's left. The really weird thing is it wanting to both upgrade dev-lang/rust and install dev-lang/rust-bin. Theoretically this will all work, though I doubt it. I'm not going further until I hear more here. Tomorrow morning I may try updating my machine again to see if anything in portage has changed overnight.
Code: | # emerge -ptuvDN world
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
Dependency resolution took 22.03 s (backtrack: 0/20).
[ebuild U ~] www-client/firefox-132.0.1-r1:rapid::gentoo [132.0:rapid::gentoo] USE="X dbus gmp-autoupdate jumbo-build pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp telemetry wayland -clang -debug -eme-free -gnome-shell -hardened -hwaccel -jack -libproxy -openh264 -pgo (-selinux) -sndio -system-png (-valgrind) -wifi (-lto%)" 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" 0 KiB
[nomerge ] x11-wm/icewm-3.4.1::gentoo USE="alsa gdk-pixbuf nls truetype -ao -bidi -debug -imlib -xinerama"
[ebuild U ] gnome-base/librsvg-2.57.3-r2:2::gentoo [2.57.3:2::gentoo] USE="-debug -gtk-doc -introspection -vala" ABI_X86="32 (64) (-x32)" 0 KiB
[nomerge ] mail-client/thunderbird-115.15.0::gentoo USE="X clang openh264 pulseaudio system-av1 system-harfbuzz system-jpeg system-libevent system-librnp system-libvpx system-webp wayland -dbus -debug -eme-free -hardened -hwaccel -jack -libproxy -lto (-pgo) (-selinux) -sndio (-system-icu) -system-png (-system-python-libs) -wifi" 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"
[nomerge ] virtual/rust-1.81.0-r1:0/llvm-18::gentoo USE="-profiler -rustfmt" ABI_X86="32 (64) (-x32)"
[nomerge ] dev-lang/rust-bin-1.81.0-r100:1.81.0::gentoo USE="(-big-endian) -clippy -doc (-prefix) -rust-analyzer -rust-src -rustfmt -verify-sig" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="18"
[blocks b ] dev-lang/rust:stable ("dev-lang/rust:stable" is soft blocking dev-lang/rust-common-1.81.0, dev-lang/rust-1.81.0-r100, dev-lang/rust-bin-1.81.0-r100)
[uninstall ] dev-lang/rust-1.81.0:stable/1.81::gentoo USE="rustfmt (-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) -lto (-miri) (-nightly) (-parallel-compiler) -profiler -rust-analyzer -rust-src (-system-bootstrap) (-system-llvm) -test -verify-sig -wasm" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" 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"
[nomerge ] x11-wm/icewm-3.4.1::gentoo USE="alsa gdk-pixbuf nls truetype -ao -bidi -debug -imlib -xinerama"
[nomerge ] dev-build/libtool-2.4.7-r4:2::gentoo USE="-vanilla"
[nomerge ] dev-build/automake-1.16.5-r2:1.16::gentoo USE="-test -verify-sig"
[nomerge ] dev-lang/perl-5.40.0:0/5.40::gentoo USE="gdbm -berkdb -doc -minimal" PERL_FEATURES="(-debug) -ithreads -quadmath"
[nomerge ] app-admin/perl-cleaner-2.31-r2::gentoo USE="-pkgcore"
[nomerge ] app-portage/portage-utils-0.97::gentoo USE="openmp qmanifest -static"
[nomerge ] app-crypt/gpgme-1.23.2-r2:1/11.6.15.2::gentoo USE="cxx qt5 qt6 -common-lisp -debug -python -static-libs -test -verify-sig" PYTHON_TARGETS="python3_11 python3_12 -python3_10 (-python3_13)"
[nomerge ] dev-qt/qtbase-6.7.3-r2:6/6.7.3::gentoo USE="X concurrent cups dbus gtk gui icu libinput libproxy network nls opengl sql sqlite ssl udev vulkan wayland widgets xml (zstd) -accessibility -brotli -eglfs -evdev -gles2-only -gssapi -journald -mysql -oci8 -odbc -postgres -renderdoc -sctp -syslog -test -tslib"
[nomerge ] x11-libs/gtk+-3.24.41-r1:3::gentoo USE="X cups introspection wayland (-aqua) -broadway -cloudproviders -colord -examples -gtk-doc -sysprof -test -vim-syntax -xinerama" ABI_X86="(64) -32 (-x32)"
[nomerge ] gnome-base/librsvg-2.57.3-r2:2::gentoo [2.57.3:2::gentoo] USE="-debug -gtk-doc -introspection -vala" ABI_X86="32 (64) (-x32)"
[ebuild NS ] dev-lang/rust-1.81.0-r100:1.81.0::gentoo [1.81.0:stable/1.81::gentoo] USE="rustfmt (-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) -lto (-miri) (-nightly) (-parallel-compiler) -rust-analyzer -rust-src (-system-bootstrap) (-system-llvm) -test -verify-sig -wasm (-profiler%)" ABI_X86="32 (64) (-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" 0 KiB
[ebuild N ] dev-lang/rust-common-1.81.0::gentoo USE="-verify-sig" 0 KiB
[nomerge ] www-client/firefox-132.0.1-r1:rapid::gentoo [132.0:rapid::gentoo] USE="X dbus gmp-autoupdate jumbo-build pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp telemetry wayland -clang -debug -eme-free -gnome-shell -hardened -hwaccel -jack -libproxy -openh264 -pgo (-selinux) -sndio -system-png (-valgrind) -wifi (-lto%)" 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.27.0::gentoo] USE="-debug -test" 0 KiB
[ebuild N ] dev-lang/rust-bin-1.81.0-r100:1.81.0::gentoo USE="(-big-endian) -clippy -doc (-prefix) -rust-analyzer -rust-src -rustfmt -verify-sig" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="18" 218,767 KiB
Total: 6 packages (3 upgrades, 2 new, 1 in new slot, 1 uninstall), Size of downloads: 218,767 KiB
Conflict: 1 block (all satisfied)
The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details)
# required by virtual/rust-1.81.0-r1::gentoo
# required by mail-client/thunderbird-115.15.0::gentoo
# required by @selected
# required by @world (argument)
>=dev-lang/rust-bin-1.81.0-r100 abi_x86_32
* In order to avoid wasting time, backtracking has terminated early
* due to the above autounmask change(s). The --autounmask-backtrack=y
* option can be used to force further backtracking, but there is no
* guarantee that it will produce a solution.
!!! The following installed packages are masked:
- virtual/rust-1.81.0-r1::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.
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
|
_________________ .sigs waste space and bandwidth
Last edited by depontius on Sun Nov 10, 2024 10:58 pm; edited 1 time in total |
|
Back to top |
|
|
cwc Veteran
Joined: 20 Mar 2006 Posts: 1375 Location: Tri-Cities, WA USA
|
Posted: Sun Nov 10, 2024 10:55 pm Post subject: |
|
|
got rust installed with: emerge -a cbindgen
Code: |
Finished `release` profile [optimized] target(s) in 3m 21s
Installing /var/tmp/portage/dev-util/cbindgen-0.27.0-r1/image/usr/bin/cbindgen
Installed package `cbindgen v0.27.0 (/var/tmp/portage/dev-util/cbindgen-0.27.0-r1/work/cbindgen-0.27.0)` (executable `cbindgen`)
warning: be sure to add `/var/tmp/portage/dev-util/cbindgen-0.27.0-r1/image/usr/bin` to your PATH to be able to run the installed binaries
>>> Completed installing dev-util/cbindgen-0.27.0-r1 into /var/tmp/portage/dev-util/cbindgen-0.27.0-r1/image
* Final size of build directory: 329328 KiB (321.6 MiB)
* Final size of installed tree: 6216 KiB ( 6.0 MiB)
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
/usr/bin/cbindgen
>>> Installing (2 of 2) dev-util/cbindgen-0.27.0-r1::gentoo
>>> Recording dev-util/cbindgen in "world" favorites file...
>>> Completed (2 of 2) dev-util/cbindgen-0.27.0-r1::gentoo
* Messages for package dev-lang/rust-1.81.0-r100:
* Install additional packages for optional runtime features:
* app-vim/rust-vim for vim support for rust
* GNU info directory index is up-to-date.
|
Now to update world. Thanks everyone! _________________ Without diversity there can be no evolution:) |
|
Back to top |
|
|
eschwartz Developer
Joined: 29 Oct 2023 Posts: 220
|
Posted: Sun Nov 10, 2024 10:57 pm Post subject: |
|
|
depontius wrote: | The build log is too big to post here. Today I tried out pastebin for the first time, I hope I did it right.
https://pastebin.com/vP680gUi
I'm not sure how long it will stay there. I used defaults and did not set up an id. |
Code: |
error[E0464]: multiple candidates for `dylib` dependency `std` found
--> /var/tmp/portage/dev-util/cbindgen-0.27.0-r1/work/cargo_home/gentoo/rustix-0.38.34/build.rs:221:9
|
221 | std::process::Command::new(rustc)
| ^^^
|
= note: candidate #1: /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-31a6521ae2203fb7.so
= note: candidate #2: /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-418a8e69629e1163.so
|
The implication here is that you have two versions of rust 1.81.0 installed, most likely because portage started installing the new one, and intended to clean up the old one due to runtime blockers but somehow got INTERRUPTED. So you may have loads of untracked orphaned files now.
You'll need to restore consistency of your /usr before proceeding. |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3522
|
Posted: Sun Nov 10, 2024 11:25 pm Post subject: |
|
|
Quote: | The implication here is that you have two versions of rust 1.81.0 installed, most likely because portage started installing the new one, and intended to clean up the old one due to runtime blockers but somehow got INTERRUPTED. So you may have loads of untracked orphaned files now.
You'll need to restore consistency of your /usr before proceeding. |
I believe I mentioned earlier that this died in the midst of an update, so I never got to "emerge -p --depclean". There are indeed two versions of rust installed.
Code: | $ emerge -p --depclean
* Always study the list of packages to be cleaned for any obvious
* mistakes. Packages that are part of the world set will always
* be kept. They can be manually added to this set with
* `emerge --noreplace <atom>`. Packages that are listed in
* package.provided (see portage(5)) will be removed by
* depclean, even if they are part of the world set.
*
* As a safety measure, depclean will not remove any packages
* unless *all* required dependencies have been resolved. As a
* consequence of this, it often becomes necessary to run
* `emerge --update --newuse --deep @world` prior to depclean.
Calculating dependencies... done!
>>> Calculating removal order...
>>> These are the packages that would be unmerged:
dev-lang/rust
selected: 1.81.0-r100
protected: none
omitted: 1.81.0
dev-lang/rust-common
selected: 1.81.0
protected: none
omitted: none
All selected packages: =dev-lang/rust-1.81.0-r100 =dev-lang/rust-common-1.81.0
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
Packages installed: 1456
Packages in world: 256
Packages in system: 49
Required packages: 1454
Number to remove: 2 |
However this wants to remove rust-common, which I don't get.
Code: | $ equery depends rust-common
* These packages depend on rust-common:
dev-lang/rust-1.81.0-r100 (dev-lang/rust-common) |
I just tried removing only rust-1.81.0, leaving rust-common.
Code: | # emerge -acv =dev-lang/rust-1.81.0
Calculating dependencies... done!
dev-lang/rust-1.81.0 pulled in by:
virtual/rust-1.81.0-r1 requires ~dev-lang/rust-1.81.0[abi_x86_32(-),abi_x86_64(-)]
>>> No packages selected for removal by depclean |
We get back to the fact that removing virtual/rust worked for at least one person.
I'm sitting tight until I get further guidance here. If any more information is needed I'm happy to supply it. I've done user support for some CAD stuff in the past and know how frustrating it can be to debug without information.
edit - Offhand, it looks to me as if we're missing virtual/rust-1.81.0-r100 here. I looked at the ebuild and it appears to have exact version-matching in the RDEPEND. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
eschwartz Developer
Joined: 29 Oct 2023 Posts: 220
|
Posted: Sun Nov 10, 2024 11:39 pm Post subject: |
|
|
There isn't *supposed* to be a virtual anymore, as the virtual mainly existed so that ebuilds could depend on virtual/rust if they needed "a rust compiler installed" but now the suggestion is to simply inherit the rust eclass and let it handle that.
You can depclean virtual/rust if nothing depends on it, but keep in mind that you will need --with-bdeps=n if you have any packages installed which *built* with the old rust package. In fact, depcleaning all versions of rust and virtual/rust and then removing leftover stray files in /usr/lib/rust might clean up the current orphaned files issue caused by the interrupted update. |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3522
|
Posted: Sun Nov 10, 2024 11:57 pm Post subject: |
|
|
Thank you, it appears to be working now. It has completed cbindgen and is proceeding on maturin.
I removed dev-lang/rust-1.81.0 and virtual/rust-1.81.0-r1. After doing that an "emerge -p --depclean" wanted to rip out all things rust pretty completely. After cbindgen completed emerging "emerge -p --depclean" returns nothing, so even the odd fact that rust-common was slated for removal earlier is gone. It al looks good for the moment.
Thanks again for your help. This was a pretty weird stumble-into and it appears that others have stumbled into it as well. I'm not sure exactly what went wrong, I suspect at least part of it had to do with how recently the system had last been updated and what other packages were installed. It also looks as if virtual/rust was a big component of the problem as well, because it was what held onto the old rust, causing there to be two versions installed and making subsequent rust builds fail. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
cwc Veteran
Joined: 20 Mar 2006 Posts: 1375 Location: Tri-Cities, WA USA
|
Posted: Mon Nov 11, 2024 3:04 pm Post subject: |
|
|
I found this interesting in reference to virtual/rust
Thanks for all the comments. I repeat {Everyone on this forum is so professional. Espeically with my simple questions.}
My dell laptop running xfce4 with no chromium
Code: |
qed ~ # equery depends virtual/rust
* These packages depend on virtual/rust:
qed ~ #
|
My Rampage 4 running chromium
Code: |
yoda ~ # equery depends virtual/rust
* These packages depend on virtual/rust:
www-client/chromium-129.0.6668.100 (virtual/rust:0/llvm-18[profiler(-)])
(virtual/rust:0/llvm-17[profiler(-)])
|
I'm currently updating chromium . I will see what happens 27 hours from now. _________________ Without diversity there can be no evolution:) |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3522
|
Posted: Mon Nov 11, 2024 3:54 pm Post subject: |
|
|
I have multiple machines here, and after pathfinding on my own, I came down to "emerge -acv --with-bdeps=n virtual/rust" followed by "emerge -a1tv rust", and this seems to be working well. I managed to get past rust and on to other things. I'm now having problems with webkit-gtk not building, but that's clearly a different issue and not relevant here. The rust problems appear to be gone.
Except on the laptop.
Code: | # emerge -cv --with-bdeps=n virtual/rust
--- Couldn't find 'virtual/rust' to depclean.
>>> No packages selected for removal by depclean
corky ~ # emerge -1tv rust
* IMPORTANT: 11 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
Dependency resolution took 23.29 s (backtrack: 0/20).
[ebuild NS ] dev-lang/rust-1.81.0-r100:1.81.0::gentoo [1.81.0:stable/1.81::gentoo] USE="doc (-big-endian) -clippy -debug -dist (-llvm-libunwind) -lto (-miri) (-nightly) (-parallel-compiler) -rust-analyzer -rust-src -rustfmt (-system-bootstrap) (-system-llvm) -test -verify-sig -wasm (-profiler%)" ABI_X86="32 (64) (-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" 0 KiB
[ebuild N ] dev-lang/rust-common-1.81.0::gentoo USE="-verify-sig" 0 KiB
[blocks B ] dev-lang/rust:stable ("dev-lang/rust:stable" is soft blocking dev-lang/rust-common-1.81.0, dev-lang/rust-1.81.0-r100)
Total: 2 packages (1 new, 1 in new slot), Size of downloads: 0 KiB
Conflict: 1 block (1 unsatisfied)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
(dev-lang/rust-1.81.0:stable/1.81::gentoo, installed) pulled in by
dev-lang/rust:stable required by @selected
(dev-lang/rust-1.81.0-r100:1.81.0/1.81.0::gentoo, ebuild scheduled for merge) pulled in by
rust
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages
!!! The following installed packages are masked:
- dev-lang/rust-1.81.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.
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook. |
Not sure why, but unlike all of my other installations, the rust update is still blocked by itself even though I've removed the virtual. Barring other suggestions here my path would be to force the installation of the rust-1.81.0-r100 and then manually remove the older version. (Strange, because at the moment I don't see the "--force" flag in "emerge --help".) I think forcing removal of rust-1.81.0 first and then trying to reinstall would put me into a really bad place, so I think I want to avoid that. I'm going to pause on this for a bit in case a better suggestion comes along.
edit - Found the problem. I had "dev-lang/rust:stable" in "/var/lib/portage/world", and I suspect the ":stable" was incompatible with the new slotted rust. I checked my other systems and it wasn't in them. So I removed that line from the world file on the laptop and it's moving right along now. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
r7l Tux's lil' helper
Joined: 16 Feb 2019 Posts: 90
|
Posted: Tue Nov 12, 2024 8:12 am Post subject: |
|
|
Had the same issues on multiple machines. Every Rust based packages was throwing errors after installing the slotted Rust. Packages like "cbindgen" where just the first ones to throw up. Manually removing the old "dev-lang/rust" and "virtual/rust" fixed the issue and everything went on smoothly. |
|
Back to top |
|
|
|
|
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
|
|