Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why 'dev-lang/rust' compiling from 74 to 81?
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
gangstervano
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2016
Posts: 93

PostPosted: Thu Jan 02, 2025 1:56 pm    Post subject: Why 'dev-lang/rust' compiling from 74 to 81? Reply with quote

Hi,

I run update

Code:
 emerge -a --update --newuse --deep --with-bdeps=y @world


I waited for more than 8 hours, but rust still did not compile.

I looked into the log, and there


Code:
1735787274:  === (68 of 574) Merging (dev-lang/rust-bin-1.74.1-r101::/usr/portage/dev-lang/rust-bin/rust-bin-1.74.1-r101.ebuild)
1735797032:  === (185 of 574) Merging (dev-lang/rust-1.74.1-r100::/usr/portage/dev-lang/rust/rust-1.74.1-r100.ebuild)
1735804399:  === (195 of 574) Merging (dev-lang/rust-1.75.0-r100::/usr/portage/dev-lang/rust/rust-1.75.0-r100.ebuild)
1735810313:  === (197 of 574) Merging (dev-lang/rust-1.76.0-r100::/usr/portage/dev-lang/rust/rust-1.76.0-r100.ebuild)
1735816180:  === (198 of 574) Merging (dev-lang/rust-1.77.1-r100::/usr/portage/dev-lang/rust/rust-1.77.1-r100.ebuild)
1735822131:  === (199 of 574) Merging (dev-lang/rust-1.78.0-r100::/usr/portage/dev-lang/rust/rust-1.78.0-r100.ebuild)


Why 'dev-lang/rust' compiling from 74 to 81?

I used binhost

Code:
https://mirror.yandex.ru/gentoo-distfiles/releases/amd64/binpackages/23.0/x86-64/


Why isn't rust from binhost used?

What can I do to speed up the rust update time?


Code:

emerge --info
Portage 3.0.65 (python 3.12.8-final-0, default/linux/amd64/23.0/split-usr/desktop/plasma, gcc-13, glibc-2.40-r5, 6.6.38-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.6.38-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i5-3470_CPU_@_3.20GHz-with-glibc2.40
KiB Mem:    16340616 total,    234304 free
KiB Swap:    8388604 total,   7536380 free
Timestamp of repository gentoo: Thu, 02 Jan 2025 00:45:01 +0000
Head commit of repository gentoo: 5bfccbe0d250369a25c0cc4341d5f89e25248f98
sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils:        1.3.8::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.6::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.11.9-r1::gentoo, 3.12.8::gentoo, 3.13.1::gentoo
dev-lang/rust:             1.74.1-r100::gentoo, 1.75.0-r100::gentoo, 1.76.0-r100::gentoo, 1.77.1-r100::gentoo, 1.78.0-r100::gentoo, 1.81.0::gentoo
dev-lang/rust-bin:         1.74.1-r101::gentoo
llvm-core/clang:           18.1.8::gentoo
llvm-core/llvm:            18.1.8-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, 2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo, 14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.11::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: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50
    volatile: True

Binary Repositories:

binhost
    priority: 9999
    sync-uri: https://mirror.yandex.ru/gentoo-distfiles/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=ivybridge -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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="-march=ivybridge -O2 -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 binpkg-request-signature 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 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.yandex.ru/gentoo-distfiles/ http://gentoo.bloodhost.ru/ ftp://gentoo.bloodhost.ru/ rsync://gentoo.bloodhost.ru/gentoo-distfiles ftp://xeon.gentoo.ru/mirrors/gentoo/distfiles/"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j5"
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 activities alsa amd64 branding bzip2 cairo cdda cdr cet corefonts crypt cups dbus declarative display-manager dri dts dvd dvdr elogind encode exif ffmpeg fftw flac gdbm gif gpm grub gtk gui iconv icu ipv6 jpeg kde kf6compat kwallet lcms libkms libnotify libtirpc mad mediacenter mmx mmxext mng mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma plymouth png policykit ppds pulseaudio qml qt5 qt6 readline screencast sddm sdk sdl seccomp semantic-desktop sound spell split-usr sse sse2 sse3 ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb video vorbis vulkan wallpapers wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_13" 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="mmx mmxext sse sse2 sse3" 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="evdev synaptics" KERNEL="linux" L10N="en en-US" 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" SANE_BACKENDS="hp" 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, 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
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22924

PostPosted: Thu Jan 02, 2025 2:56 pm    Post subject: Reply with quote

I think this is, at least in part, a duplicate of dev-lang/rust slots selection.

As for why you are not using the binhost, there is not enough information to answer that. Is there a suitable version of dev-lang/rust available on the binhost you are using? What is the output of emerge --pretend --verbose --getbinpkgonly dev-lang/rust?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20552

PostPosted: Thu Jan 02, 2025 3:29 pm    Post subject: Re: Why 'dev-lang/rust' compiling from 74 to 81? Reply with quote

gangstervano wrote:
I run update

Code:
 emerge -a --update --newuse --deep --with-bdeps=y @world
gangstervano wrote:
I used binhost

Code:
https://mirror.yandex.ru/gentoo-distfiles/releases/amd64/binpackages/23.0/x86-64/


Why isn't rust from binhost used?
My guess is because you didn't use --getbinpkg. From the news announcement:
Quote:
Note 2: In case you are already familiar with binary packages, you should be
able to add "--getbinpkg" to the emerge calls to speed things up.
The use of binary packages is completely optional though, and also not
as much tested as the source-based upgrade path yet.
https://www.gentoo.org/support/news-items/2024-03-22-new-23-profiles.html

Not included in the announcement:
https://wiki.gentoo.org/wiki/Gentoo_Binary_Host_Quickstart#--getbinpkg_.28-g.29
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
gangstervano
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2016
Posts: 93

PostPosted: Thu Jan 02, 2025 4:45 pm    Post subject: Reply with quote

Hu wrote:
...What is the output of emerge --pretend --verbose --getbinpkgonly dev-lang/rust?


Code:
emerge --pretend --verbose --getbinpkgonly dev-lang/rust

Local copy of remote index is up-to-date and will be used.

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

Calculating dependencies... done!
Dependency resolution took 25.06 s (backtrack: 0/20).

[binary  NS    ] dev-lang/rust-1.82.0-r101-4:1.82.0::gentoo [1.74.1-r100:1.74.1::gentoo, 1.75.0-r100:1.75.0::gentoo, 1.76.0-r100:1.76.0::gentoo, 1.77.1-r100:1.77.1::gentoo, 1.78.0-r100:1.78.0::gentoo, 1.79.0-r100:1.79.0::gentoo, 1.80.1-r100:1.80.1::gentoo, 1.81.0:stable/1.81::gentoo] USE="clippy* lto* rustfmt* (-big-endian) -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="(19%*)" 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" 80860 KiB
[blocks B      ] dev-lang/rust:stable ("dev-lang/rust:stable" is soft blocking dev-lang/rust-1.82.0-r101)

Total: 1 package (1 in new slot, 1 binary), Size of downloads: 80860 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.82.0-r101-4:1.82.0/1.82.0::gentoo, binary scheduled for merge) pulled in by
    dev-lang/rust
    dev-lang/rust:1.82.0 required by (dev-lang/rust-1.82.0-r101-4:1.82.0/1.82.0::gentoo, binary scheduled for merge) USE="clippy lto rustfmt (-big-endian) -debug -dist -doc (-llvm-libunwind) (-miri) (-nightly) (-parallel-compiler) -rust-analyzer -rust-src (-system-llvm) -test -verify-sig -wasm" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="(19)" 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"


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.

- sys-auth/polkit-124-r1::gentoo (masked by: package.mask)
/usr/portage/profiles/base/package.mask:
# Sam James <sam@gentoo.org> (2024-11-10)
# Breaks suspend on elogind systems (bug #934314, bug #923614)
# https://github.com/polkit-org/polkit/issues/451

- 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.




Quote:
pjp wrote:

Why isn't rust from binhost used?
My guess is because you didn't use --getbinpkg. From the news announcement:
Quote:
Note 2: In case you are already familiar with binary packages, you should be
able to add "--getbinpkg" to the emerge calls to speed things up.
The use of binary packages is completely optional though, and also not
as much tested as the source-based upgrade path yet.
https://www.gentoo.org/support/news-items/2024-03-22-new-23-profiles.html

Not included in the announcement:
https://wiki.gentoo.org/wiki/Gentoo_Binary_Host_Quickstart#--getbinpkg_.28-g.29


Why do most other packages use binhost?

I used in make.conf:

Code:
FEATURES="buildpkg getbinpkg binpkg-request-signature"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"


Last edited by gangstervano on Thu Jan 02, 2025 4:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22924

PostPosted: Thu Jan 02, 2025 4:53 pm    Post subject: Reply with quote

You have virtual/rust installed, which is preventing Portage from removing the old pre-slot Rust. Does emerge --ask --verbose --depclean remove virtual/rust? If not, what is the output of emerge -pvc virtual/rust?
Back to top
View user's profile Send private message
gangstervano
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2016
Posts: 93

PostPosted: Thu Jan 02, 2025 5:06 pm    Post subject: Reply with quote

Hu wrote:
You have virtual/rust installed, which is preventing Portage from removing the old pre-slot Rust. Does emerge --ask --verbose --depclean remove virtual/rust? If not, what is the output of emerge -pvc virtual/rust?



Code:
 emerge --ask --verbose --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!
 * Dependencies could not be completely resolved due to
 * the following required packages not being installed:
 *
 *   dev-libs/json-c:0/5= pulled in by:
 *     media-libs/libmypaint-1.6.1-r3
 *
 *   dev-libs/icu:0/74.1= pulled in by:
 *     dev-db/postgresql-16.4
 *
 *   dev-libs/boost:0/1.84.0=[nls] pulled in by:
 *     app-office/libreoffice-bin-7.6.7.2
 *
 *   dev-libs/icu:0/74.1= pulled in by:
 *     dev-qt/qtbase-6.7.2-r5
 *
 *   dev-libs/icu:0/74.1= pulled in by:
 *     dev-qt/qtcore-5.15.14
 *
 *   ~dev-qt/qttranslations-6.7.2:6 pulled in by:
 *     dev-qt/qtbase-6.7.2-r5
 *
 *   dev-libs/icu:0/74.1= pulled in by:
 *     dev-qt/qt5compat-6.7.2
 *
 *   dev-libs/icu:0/74.1= pulled in by:
 *     kde-plasma/plasma-desktop-6.1.5-r1
 *
 *   dev-libs/icu:0/74.1= pulled in by:
 *     kde-plasma/kdeplasma-addons-6.1.5
 *
 *   >=dev-libs/icu-51.2-r1:0/74.1=[abi_x86_32(-),abi_x86_64(-)] pulled in by:
 *     media-libs/harfbuzz-9.0.0
 *
 *   >=dev-libs/boost-1.76.0:0/1.84.0= pulled in by:
 *     net-ftp/filezilla-3.67.1
 *
 *   dev-libs/icu:0/74.1= pulled in by:
 *     kde-apps/konsole-24.08.1
 *
 *   dev-libs/boost:0/1.84.0 pulled in by:
 *     app-office/libreoffice-bin-7.6.7.2
 *
 *   dev-libs/boost:0/1.84.0= pulled in by:
 *     sys-fs/cryfs-0.11.4
 *
 *   dev-libs/icu:0/74.1 pulled in by:
 *     app-office/libreoffice-bin-7.6.7.2
 *
 *   dev-libs/protobuf:0/27.2.0= pulled in by:
 *     media-libs/tg_owt-0_pre20240804-r1
 *
 *   dev-libs/icu:0/74.1= pulled in by:
 *     dev-qt/qtwebengine-6.7.2
 *
 *   sci-libs/libqalculate:0/23.2= pulled in by:
 *     kde-plasma/plasma-workspace-6.1.5-r3
 *
 *   dev-libs/json-c:0/5= pulled in by:
 *     sys-libs/libnvme-1.10
 *
 *   =app-office/libreoffice-l10n-7.6.7.2* pulled in by:
 *     app-office/libreoffice-bin-7.6.7.2
 *
 *   media-libs/assimp:0/5.4.2= pulled in by:
 *     dev-qt/qtquick3d-6.7.2
 *
 *   dev-libs/icu:0/74.1=[abi_x86_64(-)] pulled in by:
 *     net-fs/samba-4.19.7
 *
 *   dev-libs/icu:0/74.1= pulled in by:
 *     kde-plasma/plasma-workspace-6.1.5-r3
 *
 *   dev-libs/icu:0/74.1=[abi_x86_64(-)] pulled in by:
 *     media-libs/raptor-2.0.16
 *
 *   dev-libs/boost:0/1.84.0= pulled in by:
 *     media-video/mkvtoolnix-83.0
 *
 *   dev-libs/icu:0/74.1= pulled in by:
 *     app-text/gspell-1.12.2
 *
 *   dev-libs/icu:0/74.1= pulled in by:
 *     app-office/libreoffice-bin-7.6.7.2
 *
 *   dev-libs/protobuf:0/27.2.0=[abi_x86_64(-)] pulled in by:
 *     media-libs/opencv-4.9.0-r2
 *
 * Have you forgotten to do a complete update prior to depclean? The
 * most comprehensive command for this purpose is as follows:
 *
 *   emerge --update --newuse --deep --with-bdeps=y @world
 *
 * Note that the --with-bdeps=y option is not required in many
 * situations. Refer to the emerge manual page (run `man emerge`)
 * for more information about --with-bdeps.
 *
 * Also, note that it may be necessary to manually uninstall
 * packages that no longer exist in the repository, since it may not
 * be possible to satisfy their dependencies.


I think this is because "emerge" is working now.
The last 81st rast remains. I think it's better to wait for it, then do the analysis.

Code:
emerge -pvc virtual/rust

Calculating dependencies... done!
  virtual/rust-1.81.0-r1 pulled in by:
    gnome-base/librsvg-2.57.3 requires >=virtual/rust-1.53, >=virtual/rust-1.70.0[abi_x86_32(-),abi_x86_64(-)]

>>> No packages selected for removal by depclean
Packages installed:   1589
Packages in world:    222
Packages in system:   49
Required packages:    1589
Number to remove:     0
Back to top
View user's profile Send private message
gangstervano
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2016
Posts: 93

PostPosted: Fri Jan 03, 2025 3:13 am    Post subject: Reply with quote

gangstervano wrote:

Code:
 emerge --ask --verbose --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!
 * Dependencies could not be completely resolved due to
 * the following required packages not being installed:
 *
 *   dev-libs/json-c:0/5= pulled in by:
 *     media-libs/libmypaint-1.6.1-r3
 *
 *   dev-libs/icu:0/74.1= pulled in by:
 *     dev-db/postgresql-16.4
 *
 *   dev-libs/boost:0/1.84.0=[nls] pulled in by:
 *     app-office/libreoffice-bin-7.6.7.2
 *
 *   dev-libs/icu:0/74.1= pulled in by:
 *     dev-qt/qtbase-6.7.2-r5
 *
 *   dev-libs/icu:0/74.1= pulled in by:
 *     dev-qt/qtcore-5.15.14
 *
 *   ~dev-qt/qttranslations-6.7.2:6 pulled in by:
 *     dev-qt/qtbase-6.7.2-r5
 *
 *   dev-libs/icu:0/74.1= pulled in by:
 *     dev-qt/qt5compat-6.7.2
 *
...


After the update, this problem remained D:
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2555

PostPosted: Fri Jan 03, 2025 5:17 am    Post subject: Reply with quote

gangstervano wrote:

[code]

After the update, this problem remained D:


Put that aside for now. Let's try to find out why all that rebuilding happened. What does emerge -pvg rust say?

Best Regards,

Georgi
Back to top
View user's profile Send private message
gangstervano
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2016
Posts: 93

PostPosted: Fri Jan 03, 2025 1:55 pm    Post subject: Reply with quote

Code:
emerge -pvg rust

Local copy of remote index is up-to-date and will be used.

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

Calculating dependencies... done!
Dependency resolution took 6.10 s (backtrack: 0/20).

[ebuild   R    ] dev-lang/rust-1.82.0-r101:1.82.0::gentoo  USE="(-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) -lto (-miri) (-nightly) (-parallel-compiler) -rust-analyzer -rust-src -rustfmt (-system-llvm) -test -verify-sig -wasm" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="(19)" 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

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

!!! The following binary packages have been ignored due to non matching USE:

    =dev-lang/rust-1.82.0-r101 -abi_x86_32 clippy lto rustfmt
    =dev-lang/rust-1.82.0-r101 -abi_x86_32 clippy rustfmt
    =dev-lang/rust-1.82.0-r101 -abi_x86_32 lto
    =dev-lang/rust-1.82.0-r101 -abi_x86_32

NOTE: The --binpkg-respect-use=n option will prevent emerge
      from ignoring these binary packages if possible.
      Using --binpkg-respect-use=y will silence this warning.


Maybe something was done wrong when updating to KDE 6...
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2555

PostPosted: Fri Jan 03, 2025 2:01 pm    Post subject: Reply with quote

gangstervano wrote:
Code:


!!! The following binary packages have been ignored due to non matching USE:

    =dev-lang/rust-1.82.0-r101 -abi_x86_32 clippy lto rustfmt
    =dev-lang/rust-1.82.0-r101 -abi_x86_32 clippy rustfmt
    =dev-lang/rust-1.82.0-r101 -abi_x86_32 lto
    =dev-lang/rust-1.82.0-r101 -abi_x86_32
rning.


Maybe something was done wrong when updating to KDE 6...


It's the 32-bit ABI. Portage was unable to find a suitable binary package in the binrepo and proceeded to build one.

However there are a lot of rust-bin's I wonder why it didn't pick a later one. Also you can see what emerge command you executed in /var/log/emerge.log. Check if you forgot to add -g

Now you can freely depclean the unnecessary packages. But should you keep the 32-bit ABI, you'll have to build every single rust version from source.

Best Regards,
Georgi
Back to top
View user's profile Send private message
gangstervano
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2016
Posts: 93

PostPosted: Sat Jan 04, 2025 12:16 am    Post subject: Reply with quote

Quote:
Check if you forgot to add -g


In /var/log/emerge.log

Code:
1735785441:  *** emerge --newuse --update --ask --deep --with-bdeps=y --regex-search-auto=y --getbinpkg --usepkg @world



I am trying to update the "dev-qt/qtwebengine", but the system did not receive it from the binary host.

emerge -pv dev-qt/qtwebengine

Code:
[ebuild     U  ] dev-qt/qtwebengine-6.8.1:6/6.8.1::gentoo [6.7.2:6/6.7.2::gentoo] USE="alsa bindist* jumbo-build* opengl pulseaudio qml system-icu vulkan widgets -accessibility -custom-cflags -designer -geolocation -kerberos -pdfium -screencast* -test -vaapi -webdriver" 0 KiB


I downloaded qtwebengine-6.8.1-r1-3.pkg.tar from the binary host and checked the "USE" flags:

Code:
abi_x86_64 alsa amd64 bindist elibc_glibc jumbo-build kernel_linux opengl pulseaudio qml system-icu vulkan widgets


then I added all flags to package.use, but emerge still doesn't use binhost.

Is it also related to the 32 ABI?

Quote:
But should you keep the 32-bit ABI, you'll have to build every single rust version from source.


How can I upgrade to 64 bit ABI?

Now I use profile

Code:
[48]  default/linux/amd64/23.0/split-usr/desktop/plasma (stable) *
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2555

PostPosted: Sat Jan 04, 2025 9:17 am    Post subject: Reply with quote

The excerpt from emerge output above shows different options. You should have the same for qtwebengibe. If you can't figure it out, paste it here.

Best Regards,
Georgi
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