Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ruby packages dependency conflict [SOLVED]
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
apiaio
Guru
Guru


Joined: 04 Dec 2008
Posts: 426

PostPosted: Wed Oct 09, 2024 4:13 pm    Post subject: Ruby packages dependency conflict [SOLVED] Reply with quote

Recently, when updating world, emerge reports
https://bpa.st/OIX54
I can update, everything works fine, but something is wrong with ruby. And I do not know what.

Code:
 # emerge --info
Portage 3.0.65 (python 3.12.6-final-0, default/linux/amd64/23.0/split-usr, gcc-13, glibc-2.39-r6, 6.6.8-gentoo x86_64)
=================================================================
System uname: Linux-6.6.8-gentoo-x86_64-12th_Gen_Intel-R-_Core-TM-_i7-12700-with-glibc2.39
KiB Mem:    65595328 total,  49138656 free
KiB Swap:  134217724 total, 134217724 free
Timestamp of repository gentoo: Wed, 09 Oct 2024 15:00:00 +0000
Head commit of repository gentoo: 4230b66e82599532633725926ef233d48756dc45
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.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.2::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.1::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.11.10_p1::gentoo, 3.12.6_p4::gentoo
dev-lang/rust-bin:         1.80.1::gentoo
sys-apps/baselayout:       2.15::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_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=alderlake -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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="-march=alderlake -O2 -pipe"
DISTDIR="/usr/portage/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 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://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://tux.rainside.sk/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="sk cz en"
MAKEOPTS="-j20"
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 acl additions alisp alsa amd64 apache2 bzip2 calendar cet crypt dbus elogind fileinfo gdbm glamor gudev headless iconv ipv6 jpeg json kf6compat libtirpc mp3 multilib mysqli ncurses nls ogg openmp pam pcre png policykit pulseaudio python qt3support qt5 qt6 readline seccomp sndfile split-usr sse sse2 ssl test-rust udev unicode usb vorbis xattr ymmx zlib" ABI_X86="64 32" 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 avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="evdev keyboard mouse" 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_11" PYTHON_TARGETS="python3_12 python3_11" RUBY_TARGETS="ruby32" VIDEO_CARDS="intel" 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, 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


Last edited by apiaio on Wed Oct 09, 2024 5:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2323

PostPosted: Wed Oct 09, 2024 4:36 pm    Post subject: Reply with quote

Hello,

Either there's something that still isn't ready for ruby 3.2 or you have entries in package.use that cause trouble or you have world pollution.

Please share the following:

Code:
wgetpaste -c 'grep -r -E "ruby|RUBY" /etc/portage; echo "world: "; cat /var/lib/portage/world'


Best Regards,
Georgi
Back to top
View user's profile Send private message
apiaio
Guru
Guru


Joined: 04 Dec 2008
Posts: 426

PostPosted: Wed Oct 09, 2024 5:08 pm    Post subject: Reply with quote

https://bpa.st/ZUVV4
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2323

PostPosted: Wed Oct 09, 2024 5:13 pm    Post subject: Reply with quote

Remove all those ruby_targets_ruby31 lines. They are causing the conflicts. If portage says it needs to add those back, please post the message.

Also remove RUBY_TARGETS from make.conf. If you need to add specific ruby targets, use do it in package.use.

Best Regards,
Georgi
Back to top
View user's profile Send private message
apiaio
Guru
Guru


Joined: 04 Dec 2008
Posts: 426

PostPosted: Wed Oct 09, 2024 5:33 pm    Post subject: Reply with quote

logrusx wrote:
Remove all those ruby_targets_ruby31 lines. They are causing the conflicts. If portage says it needs to add those back, please post the message.

Best Regards,
Georgi

Thank you. It works now.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2323

PostPosted: Wed Oct 09, 2024 5:37 pm    Post subject: Reply with quote

logrusx wrote:

Also remove RUBY_TARGETS from make.conf. If you need to add specific ruby targets, use do it in package.use.

Best Regards,
Georgi
Back to top
View user's profile Send private message
JustAnother
Apprentice
Apprentice


Joined: 23 Sep 2016
Posts: 191

PostPosted: Wed Oct 16, 2024 1:52 am    Post subject: Reply with quote

Here is my situation: https://bpa.st/NJVQ

I tried all the advise here: package.use, make.conf, but still have the problem.

Are there any obvious problems here?

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

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


Total: 0 packages, Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-ruby/irb:0

  (dev-ruby/irb-1.13.2:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" conflicts with
    >=dev-ruby/irb-1.4.1[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                               

dev-ruby/minitest:5

  (dev-ruby/minitest-5.25.1:5/5::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" conflicts with
    >=dev-ruby/minitest-5.15.0[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                     

dev-ruby/power_assert:0

  (dev-ruby/power_assert-2.0.3:0/0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" conflicts with
    >=dev-ruby/power_assert-2.0.1[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                         
    dev-ruby/power_assert[ruby_targets_ruby31(-)] required by (dev-ruby/test-unit-3.6.2:2/2::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                                 

dev-ruby/rake:0

  (dev-ruby/rake-13.2.1:0/0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" conflicts with
    >=dev-ruby/rake-13.0.6-r2[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                     
    dev-ruby/rake[ruby_targets_ruby31(-)] required by (dev-ruby/rdoc-6.6.3.1-r1:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                         
    dev-ruby/rake[ruby_targets_ruby31(-)] required by (dev-ruby/json-2.7.2-r1:2/2::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                         

dev-ruby/rbs:0

  (dev-ruby/rbs-3.5.3:0/0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" conflicts with
    >=dev-ruby/rbs-1.8.1[ruby_targets_ruby31(-)] required by (dev-ruby/typeprof-0.21.11:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    >=dev-ruby/rbs-2.1.0[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                               

dev-ruby/rexml:3

  (dev-ruby/rexml-3.3.7:3/3::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" conflicts with
    dev-ruby/rexml[ruby_targets_ruby31(-)] required by (dev-ruby/rss-0.3.1:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                         
    >=dev-ruby/rexml-3.2.5[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                 

dev-ruby/rss:0

  (dev-ruby/rss-0.3.1:0/0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" conflicts with
    >=dev-ruby/rss-0.2.9[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                               

dev-ruby/test-unit:2

  (dev-ruby/test-unit-3.6.2:2/2::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" conflicts with
    >=dev-ruby/test-unit-3.5.3[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                     

dev-ruby/typeprof:0

  (dev-ruby/typeprof-0.21.11:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" conflicts with
    >=dev-ruby/typeprof-0.12.2[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                     

dev-ruby/bundler:2

  (dev-ruby/bundler-2.4.22:2/2::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31" conflicts with
    >=dev-ruby/bundler-2.3.3[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                   

dev-ruby/did_you_mean:2.6

  (dev-ruby/did_you_mean-1.6.3:2.6/2.6::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" conflicts with
    >=dev-ruby/did_you_mean-1.6.1[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                         

dev-ruby/json:2

  (dev-ruby/json-2.7.2-r1:2/2::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" conflicts with
    >=dev-ruby/json-2.6.1[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                 

dev-ruby/rdoc:0

  (dev-ruby/rdoc-6.6.3.1-r1:0/0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" conflicts with
    >=dev-ruby/rdoc-4.0.0[ruby_targets_ruby31(-)] required by (dev-ruby/irb-1.13.2:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                                 
    >=dev-ruby/rdoc-6.3.3[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                 

dev-ruby/psych:5

  (dev-ruby/psych-5.1.2:5/5::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" conflicts with
    >=dev-ruby/psych-4.0.0[ruby_targets_ruby31(-)] required by (dev-ruby/rdoc-6.6.3.1-r1:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                                 

dev-ruby/kpeg:1

  (dev-ruby/kpeg-1.3.3:1/1::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" conflicts with
    >=dev-ruby/kpeg-1.1.0-r1[ruby_targets_ruby31(-)] required by (dev-ruby/rdoc-6.6.3.1-r1:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                                   

dev-ruby/stringio:0

  (dev-ruby/stringio-3.1.1:0/0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" conflicts with
    dev-ruby/stringio[ruby_targets_ruby31(-)] required by (dev-ruby/psych-5.1.2:5/5::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                             

dev-ruby/strscan:3

  (dev-ruby/strscan-3.1.0:3/3::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" conflicts with
    dev-ruby/strscan[ruby_targets_ruby31(-)] required by (dev-ruby/rexml-3.3.7:3/3::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           

dev-ruby/logger:0

  (dev-ruby/logger-1.6.1:0/0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" conflicts with
    dev-ruby/logger[ruby_targets_ruby31(-)] required by (dev-ruby/rbs-3.5.3:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           

dev-ruby/reline:0

  (dev-ruby/reline-0.5.10:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" conflicts with
    >=dev-ruby/reline-0.4.2[ruby_targets_ruby31(-)] required by (dev-ruby/irb-1.13.2:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                                   

dev-ruby/io-console:0

  (dev-ruby/io-console-0.7.2:0/0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" conflicts with
    >=dev-ruby/io-console-0.5.0:0[ruby_targets_ruby31(-)] required by (dev-ruby/reline-0.5.10:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                                         

virtual/rubygems:0

  (virtual/rubygems-19:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31" conflicts with
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-vcs/subversion-1.14.2-r1:0/0::gentoo, installed) USE="nls perl ruby -apache2 -berkdb -debug -doc -extras -java -keyring -kwallet -plaintext-password-storage -sasl -test" ABI_X86="(64)"
                                           
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/typeprof-0.21.11:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/rss-0.3.1:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/io-console-0.7.2:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/psych-5.1.2:5/5::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/rexml-3.3.7:3/3::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                           
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/kpeg-1.3.3:1/1::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/did_you_mean-1.6.3:2.6/2.6::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/test-unit-3.6.2:2/2::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/irb-1.13.2:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/strscan-3.1.0:3/3::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/logger-1.6.1:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/minitest-5.25.1:5/5::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/power_assert-2.0.3:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/bundler-2.4.22:2/2::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32"
                                               
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/rdoc-6.6.3.1-r1:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/rbs-3.5.3:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/reline-0.5.10:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/rake-13.2.1:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/json-2.7.2-r1:2/2::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-vcs/subversion-1.14.2-r1:0/0::gentoo, installed) USE="nls perl ruby -apache2 -berkdb -debug -doc -extras -java -keyring -kwallet -plaintext-password-storage -sasl -test" ABI_X86="(64)"
                                               
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/rss-0.3.1:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/stringio-3.1.1:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/io-console-0.7.2:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/rexml-3.3.7:3/3::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/typeprof-0.21.11:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/psych-5.1.2:5/5::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                               
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/did_you_mean-1.6.3:2.6/2.6::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/kpeg-1.3.3:1/1::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/test-unit-3.6.2:2/2::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/irb-1.13.2:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/minitest-5.25.1:5/5::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/strscan-3.1.0:3/3::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/logger-1.6.1:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/power_assert-2.0.3:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/rdoc-6.6.3.1-r1:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           
    =virtual/rubygems-19[ruby_targets_ruby31(-)] required by (dev-ruby/json-2.7.2-r1:2/2::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                               
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/bundler-2.4.22:2/2::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32"
                                           
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/rbs-3.5.3:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/reline-0.5.10:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/rake-13.2.1:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           
    virtual/rubygems[ruby_targets_ruby31(-)] required by (dev-ruby/stringio-3.1.1:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                           

dev-ruby/rubygems:0

  (dev-ruby/rubygems-3.4.22:0/0::gentoo, ebuild scheduled for merge) USE="-server -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31" conflicts with
    >=dev-ruby/rubygems-3.3.0[ruby_targets_ruby31] required by (virtual/rubygems-19:0/0::gentoo, installed) USE="" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32"
                              ^^^^^^^^^^^^^^^^^^^

virtual/ruby-ssl:0

  (virtual/ruby-ssl-13:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31" conflicts with
    virtual/ruby-ssl[ruby_targets_ruby31(-)] required by (dev-ruby/rubygems-3.4.22:0/0::gentoo, installed) USE="-server -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32"
                                           
    =virtual/ruby-ssl-13[ruby_targets_ruby31(-)] required by (dev-ruby/rubygems-3.4.22:0/0::gentoo, installed) USE="-server -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32"
                                               


Nothing to merge; quitting.

Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2323

PostPosted: Wed Oct 16, 2024 4:00 am    Post subject: Reply with quote

Post your emerge --info and the complete command you're running.

Best Regards,
Georgi

p.s. next time open a new thread.
Back to top
View user's profile Send private message
JustAnother
Apprentice
Apprentice


Joined: 23 Sep 2016
Posts: 191

PostPosted: Wed Oct 16, 2024 4:13 am    Post subject: Reply with quote

cmd:
Code:
emerge -uDUva --with-bdeps=y  @world 2>&1 | tee emerge.log; date


Code:
emerge --info


Code:
Portage 3.0.65 (python 3.12.6-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-13, glibc-2.39-r6, 6.6.52-gentoo_2024-09-24 x86_64)
=================================================================
System uname: Linux-6.6.52-gentoo_2024-09-24-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-glibc2.39
KiB Mem:     1957900 total,    825364 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Mon, 14 Oct 2024 17:00:00 +0000
Head commit of repository gentoo: 9a8c2e9da5c778ddf3ab665417149ec97ab31613
Head commit of repository brother-overlay: c7e774490529149a447a06da85da595dc0ba4615

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.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.2::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.1::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-bin:         1.80.1::gentoo
sys-apps/baselayout:       2.15::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/gcc:             13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:

brother-overlay
    location: /usr/local/overlay/brother-overlay
    sync-type: git
    sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE Vivaldi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -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/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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/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 buildpkg-live clean-logs 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 split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.rackspace.com/gentoo/ https://mirror.rackspace.com/gentoo/ http://gentoo-mirror.flux.utah.edu/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j2"
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"
PYTHONPATH="/root/app/code/python"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bash-completion bluetooth branding bzip2 cairo cdda cdr cet crypt cscope cups dbus dri dts dvd dvdr egl elogind encode exif flac gdbm gif gpm gtk gui hddtemp iconv icu ipv6 jpeg kf6compat lcms libgda libinput libnotify libtirpc lm-sensors mad mng mp3 mp4 mpeg multilib ncurses nls objc ogg opengl openmp pam pango pcre pdf perl php png policykit postscript ppds python qml qt5 qt6 raw readline ruby samba sdl seccomp sockets sound spell split-usr sqlite ssl startup-notification svg symlink syslog test-rust tiff tokenizer 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="3dnow 3dnowext mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip 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_11" PYTHON_TARGETS="python3_11 python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="nouveau" 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, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


I see RUBY_TARGETS="ruby32" in there, but not in make.conf.
I ran
Code:
eselect ruby set 2
(and 1) to try 3.2 and 3.1. Neither work.

To double check I tried this:
Code:
find /etc/portage -type f | xargs egrep RUBY_TARGET


Nothing. So the question is: where is this being set?
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2323

PostPosted: Wed Oct 16, 2024 5:10 am    Post subject: Reply with quote

Ruby 32 is the default now, but where does ruby31 come from in your emerge output?

Have you run depclean recently?

Also why are you putting this --with-bdeps=y at the command line?

Best Regards,
Georgi
Back to top
View user's profile Send private message
JustAnother
Apprentice
Apprentice


Joined: 23 Sep 2016
Posts: 191

PostPosted: Thu Oct 17, 2024 3:06 am    Post subject: Reply with quote

Yes I did depclean it. Makes no difference.

I found this technique on the Internet, claiming it can fix this sort of thing:

Code:
emerge --ask -1 --verbose-conflicts $( equery l 'dev-ruby/*' -F '$category/$name' )


Code:
 * IMPORTANT: 2 config files in '/etc/portage' need updating.

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

Calculating dependencies   * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
....... done!
Dependency resolution took 20.47 s (backtrack: 0/20).

[ebuild   R    ] dev-ruby/rubygems-3.4.22
[ebuild   R    ] dev-ruby/rake-13.2.1
[ebuild   R    ] dev-ruby/power_assert-2.0.3
[ebuild   R    ] dev-ruby/date-3.3.4
[ebuild   R    ] dev-ruby/kpeg-1.3.3  RUBY_TARGETS="-ruby31*"
[ebuild   R    ] dev-ruby/minitest-5.25.1
[ebuild   R    ] dev-ruby/bundler-2.4.22  RUBY_TARGETS="-ruby31*"
[ebuild   R    ] dev-ruby/did_you_mean-1.6.3  RUBY_TARGETS="-ruby31*"
[ebuild   R    ] dev-ruby/forwardable-1.3.3
[ebuild   R    ] dev-ruby/io-console-0.7.2
[ebuild   R    ] dev-ruby/logger-1.6.1
[ebuild   R    ] dev-ruby/matrix-0.4.2
[ebuild   R    ] dev-ruby/singleton-0.2.0
[ebuild   R    ] dev-ruby/stringio-3.1.1
[ebuild   R    ] dev-ruby/strscan-3.1.0
[ebuild   R    ] dev-ruby/timeout-0.4.1
[ebuild   R    ] dev-ruby/abbrev-0.1.2  RUBY_TARGETS="-ruby31*"
[ebuild   R    ] dev-ruby/net-protocol-0.2.2
[ebuild   R    ] dev-ruby/rbs-3.5.3
[ebuild   R    ] dev-ruby/rexml-3.3.7
[ebuild   R    ] dev-ruby/reline-0.5.10
[ebuild   R    ] dev-ruby/psych-5.1.2
[ebuild   R    ] dev-ruby/racc-1.8.1
[ebuild   R    ] dev-ruby/test-unit-3.6.2
[ebuild   R    ] dev-ruby/json-2.7.2-r1  RUBY_TARGETS="-ruby31*"
[ebuild   R    ] dev-ruby/prime-0.1.2-r1
[ebuild   R    ] dev-ruby/time-0.4.0
[ebuild   R    ] dev-ruby/rdoc-6.6.3.1-r1  RUBY_TARGETS="-ruby31*"
[ebuild   R    ] dev-ruby/rss-0.3.1
[ebuild   R    ] dev-ruby/net-ftp-0.3.7
[ebuild   R    ] dev-ruby/net-imap-0.4.16
[ebuild   R    ] dev-ruby/net-pop-0.1.2
[ebuild   R    ] dev-ruby/net-smtp-0.5.0
[ebuild   R    ] dev-ruby/typeprof-0.21.11  RUBY_TARGETS="-ruby31*"
[ebuild   R    ] dev-ruby/irb-1.13.2  RUBY_TARGETS="-ruby31*"
[ebuild   R    ] dev-ruby/debug-1.9.2

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

dev-ruby/rdoc:0

  (dev-ruby/rdoc-6.6.3.1-r1:0/0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" pulled in by
    dev-ruby/rdoc (Argument)

  (dev-ruby/rdoc-6.6.3.1-r1:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)" pulled in by
    >=dev-ruby/rdoc-4.0.0[ruby_targets_ruby31(-)] required by (dev-ruby/irb-1.13.2:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                                                                                                                                                             
    >=dev-ruby/rdoc-6.3.3[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                                                                                                                                                                                                                           

dev-ruby/json:2

  (dev-ruby/json-2.7.2-r1:2/2::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" pulled in by
    dev-ruby/json (Argument)

  (dev-ruby/json-2.7.2-r1:2/2::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)" pulled in by
    >=dev-ruby/json-2.6.1[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                                                                                                                                                                                                                           

dev-ruby/did_you_mean:2.6

  (dev-ruby/did_you_mean-1.6.3:2.6/2.6::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" pulled in by
    dev-ruby/did_you_mean (Argument)

  (dev-ruby/did_you_mean-1.6.3:2.6/2.6::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)" pulled in by
    >=dev-ruby/did_you_mean-1.6.1[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                                                                                                                                                                                                                                   

dev-ruby/bundler:2

  (dev-ruby/bundler-2.4.22:2/2::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31" pulled in by
    dev-ruby/bundler (Argument)

  (dev-ruby/bundler-2.4.22:2/2::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32" pulled in by
    >=dev-ruby/bundler-2.3.3[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                                                                                                                                                                                                                               

dev-ruby/typeprof:0

  (dev-ruby/typeprof-0.21.11:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" pulled in by
    dev-ruby/typeprof (Argument)

  (dev-ruby/typeprof-0.21.11:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)" pulled in by
    >=dev-ruby/typeprof-0.12.2[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                                                                                                                                                                                                                                 

dev-ruby/irb:0

  (dev-ruby/irb-1.13.2:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" pulled in by
    dev-ruby/irb (Argument)

  (dev-ruby/irb-1.13.2:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)" pulled in by
    >=dev-ruby/irb-1.4.1[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                                                                                                                                                                                                                           


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

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


The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-lang/ruby-3.1.6-r1::gentoo
# required by dev-ruby/io-console-0.7.2::gentoo[ruby_targets_ruby31]
# required by dev-ruby/reline-0.5.10::gentoo[ruby_targets_ruby32]
# required by dev-ruby/debug-1.9.2::gentoo[ruby_targets_ruby32]
# required by dev-ruby/debug (argument)
>=dev-ruby/power_assert-2.0.3 ruby_targets_ruby31
# required by dev-ruby/reline-0.5.10::gentoo[ruby_targets_ruby31]
# required by dev-ruby/debug-1.9.2::gentoo[ruby_targets_ruby32]
# required by dev-ruby/debug (argument)
>=dev-ruby/io-console-0.7.2 ruby_targets_ruby31
# required by virtual/rubygems-19::gentoo[ruby_targets_ruby31]
# required by dev-ruby/typeprof-0.21.11::gentoo
# required by dev-ruby/typeprof (argument)
>=dev-ruby/rubygems-3.4.22 ruby_targets_ruby31

Would you like to add these changes to your config files? [Yes/No]
Autounmask changes successfully written.

 * IMPORTANT: 3 config files in '/etc/portage' need updating.

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

emerge: there are no ebuilds built with USE flags to satisfy ">=dev-ruby/rubygems-3.3.0[ruby_targets_ruby31]".
!!! One of the following packages is required to complete your request:
- dev-ruby/rubygems-3.3.26::gentoo (Change USE: +ruby_targets_ruby31)
(dependency required by "virtual/rubygems-19::gentoo[ruby_targets_ruby31]" [installed])
(dependency required by "dev-ruby/reline-0.5.10::gentoo[ruby_targets_ruby32,-test]" [ebuild])
(dependency required by "dev-ruby/debug-1.9.2::gentoo[ruby_targets_ruby32]" [ebuild])
(dependency required by "dev-ruby/debug" [argument])
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.


So I run etc-update and make the changes. And get this:


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

Calculating dependencies  ....... .... ...... done!
Dependency resolution took 40.81 s (backtrack: 1/20).

[ebuild   R    ] dev-ruby/rubygems-3.4.22
[ebuild   R    ] dev-ruby/rake-13.2.1
[ebuild   R    ] dev-ruby/power_assert-2.0.3
[ebuild   R    ] dev-ruby/date-3.3.4
[ebuild   R    ] dev-ruby/kpeg-1.3.3  RUBY_TARGETS="-ruby31*"
[ebuild   R    ] dev-ruby/minitest-5.25.1
[ebuild   R    ] dev-ruby/bundler-2.4.22  RUBY_TARGETS="-ruby31*"
[ebuild   R    ] dev-ruby/did_you_mean-1.6.3  RUBY_TARGETS="-ruby31*"
[ebuild   R    ] dev-ruby/forwardable-1.3.3
[ebuild   R    ] dev-ruby/io-console-0.7.2
[ebuild   R    ] dev-ruby/logger-1.6.1
[ebuild   R    ] dev-ruby/matrix-0.4.2
[ebuild   R    ] dev-ruby/singleton-0.2.0
[ebuild   R    ] dev-ruby/stringio-3.1.1
[ebuild   R    ] dev-ruby/strscan-3.1.0
[ebuild   R    ] dev-ruby/timeout-0.4.1
[ebuild   R    ] dev-ruby/abbrev-0.1.2  RUBY_TARGETS="-ruby31*"
[ebuild   R    ] dev-ruby/net-protocol-0.2.2
[ebuild   R    ] dev-ruby/rbs-3.5.3
[ebuild   R    ] dev-ruby/rexml-3.3.7
[ebuild   R    ] dev-ruby/reline-0.5.10
[ebuild   R    ] dev-ruby/psych-5.1.2
[ebuild   R    ] dev-ruby/racc-1.8.1
[ebuild   R    ] dev-ruby/test-unit-3.6.2
[ebuild   R    ] dev-ruby/json-2.7.2-r1  RUBY_TARGETS="-ruby31*"
[ebuild   R    ] dev-ruby/prime-0.1.2-r1
[ebuild   R    ] dev-ruby/time-0.4.0
[ebuild   R    ] dev-ruby/rdoc-6.6.3.1-r1  RUBY_TARGETS="-ruby31*"
[ebuild   R    ] dev-ruby/rss-0.3.1
[ebuild   R    ] dev-ruby/net-ftp-0.3.7
[ebuild   R    ] dev-ruby/net-imap-0.4.16
[ebuild   R    ] dev-ruby/net-pop-0.1.2
[ebuild   R    ] dev-ruby/net-smtp-0.5.0
[ebuild   R    ] dev-ruby/typeprof-0.21.11  RUBY_TARGETS="-ruby31*"
[ebuild   R    ] dev-ruby/irb-1.13.2  RUBY_TARGETS="-ruby31*"
[ebuild   R    ] dev-ruby/debug-1.9.2

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

dev-ruby/rdoc:0

  (dev-ruby/rdoc-6.6.3.1-r1:0/0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" pulled in by
    dev-ruby/rdoc (Argument)

  (dev-ruby/rdoc-6.6.3.1-r1:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)" pulled in by
    >=dev-ruby/rdoc-4.0.0[ruby_targets_ruby31(-)] required by (dev-ruby/irb-1.13.2:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)"
                                                                                                                                                                             
    >=dev-ruby/rdoc-6.3.3[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                                                                                                                                                                                                                           

dev-ruby/json:2

  (dev-ruby/json-2.7.2-r1:2/2::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" pulled in by
    dev-ruby/json (Argument)

  (dev-ruby/json-2.7.2-r1:2/2::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)" pulled in by
    >=dev-ruby/json-2.6.1[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                                                                                                                                                                                                                           

dev-ruby/did_you_mean:2.6

  (dev-ruby/did_you_mean-1.6.3:2.6/2.6::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" pulled in by
    dev-ruby/did_you_mean (Argument)

  (dev-ruby/did_you_mean-1.6.3:2.6/2.6::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)" pulled in by
    >=dev-ruby/did_you_mean-1.6.1[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                                                                                                                                                                                                                                   

dev-ruby/bundler:2

  (dev-ruby/bundler-2.4.22:2/2::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31" pulled in by
    dev-ruby/bundler (Argument)

  (dev-ruby/bundler-2.4.22:2/2::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32" pulled in by
    >=dev-ruby/bundler-2.3.3[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                                                                                                                                                                                                                               

dev-ruby/typeprof:0

  (dev-ruby/typeprof-0.21.11:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" pulled in by
    dev-ruby/typeprof (Argument)

  (dev-ruby/typeprof-0.21.11:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)" pulled in by
    >=dev-ruby/typeprof-0.12.2[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                                                                                                                                                                                                                                 

dev-ruby/irb:0

  (dev-ruby/irb-1.13.2:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby32 -ruby31 (-ruby33)" pulled in by
    dev-ruby/irb (Argument)

  (dev-ruby/irb-1.13.2:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 (-ruby33)" pulled in by
    >=dev-ruby/irb-1.4.1[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r1:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                                                                                                                                                                                                                           


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

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


So I'm still stuck. The notation in the output is a little too cryptic
to make sense to me.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2323

PostPosted: Thu Oct 17, 2024 3:52 am    Post subject: Reply with quote

What's the output of
Code:
emerge -pvc ruby:3.1
?

Best Regards,
Georgi
Back to top
View user's profile Send private message
JustAnother
Apprentice
Apprentice


Joined: 23 Sep 2016
Posts: 191

PostPosted: Thu Oct 17, 2024 3:55 am    Post subject: Reply with quote

Code:
emerge -pvc ruby:3.1

Calculating dependencies  ...... done!
  dev-lang/ruby-3.1.6-r1 pulled in by:
    dev-ruby/abbrev-0.1.2 requires dev-lang/ruby:3.1
    dev-ruby/bundler-2.4.22 requires dev-lang/ruby:3.1
    dev-ruby/did_you_mean-1.6.3 requires dev-lang/ruby:3.1
    dev-ruby/io-console-0.7.2 requires dev-lang/ruby:3.1
    dev-ruby/irb-1.13.2 requires dev-lang/ruby:3.1
    dev-ruby/json-2.7.2-r1 requires dev-lang/ruby:3.1
    dev-ruby/kpeg-1.3.3 requires dev-lang/ruby:3.1
    dev-ruby/logger-1.6.1 requires dev-lang/ruby:3.1
    dev-ruby/minitest-5.25.1 requires dev-lang/ruby:3.1
    dev-ruby/power_assert-2.0.3 requires dev-lang/ruby:3.1
    dev-ruby/psych-5.1.2 requires dev-lang/ruby:3.1
    dev-ruby/rake-13.2.1 requires dev-lang/ruby:3.1
    dev-ruby/rbs-3.5.3 requires dev-lang/ruby:3.1
    dev-ruby/rdoc-6.6.3.1-r1 requires dev-lang/ruby:3.1
    dev-ruby/reline-0.5.10 requires dev-lang/ruby:3.1
    dev-ruby/rexml-3.3.7 requires dev-lang/ruby:3.1
    dev-ruby/rss-0.3.1 requires dev-lang/ruby:3.1
    dev-ruby/rubygems-3.4.22 requires dev-lang/ruby:3.1
    dev-ruby/stringio-3.1.1 requires dev-lang/ruby:3.1
    dev-ruby/strscan-3.1.0 requires dev-lang/ruby:3.1
    dev-ruby/test-unit-3.6.2 requires dev-lang/ruby:3.1
    dev-ruby/typeprof-0.21.11 requires dev-lang/ruby:3.1
    dev-vcs/subversion-1.14.2-r1 requires dev-lang/ruby:3.1
    virtual/ruby-ssl-13 requires dev-lang/ruby:3.1[ssl], dev-lang/ruby:3.1
    virtual/rubygems-19 requires dev-lang/ruby:3.1

>>> No packages selected for removal by depclean
Packages installed:   1491
Packages in world:    235
Packages in system:   49
Required packages:    1491
Number to remove:     0
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2323

PostPosted: Thu Oct 17, 2024 4:02 am    Post subject: Reply with quote

I suspect having ruby in global use in make.conf might be the problem, but this is just a guess. Try removing it and see how and update and depclean goes. And remove those entries in package.use you added.

Best Regards,
Georgi
Back to top
View user's profile Send private message
JustAnother
Apprentice
Apprentice


Joined: 23 Sep 2016
Posts: 191

PostPosted: Thu Oct 17, 2024 4:46 am    Post subject: Reply with quote

I did this, and:

Code:
emerge -uDUva --with-bdeps=y   @world

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

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

[ebuild   R    ] app-text/docbook-xsl-stylesheets-1.79.1-r4::gentoo  USE="-ruby*" 0 KiB
[ebuild   R    ] app-text/docbook-xsl-ns-stylesheets-1.79.1::gentoo  USE="-ruby*" 0 KiB
[ebuild   R    ] dev-vcs/subversion-1.14.2-r1::gentoo  USE="nls perl -apache2 -berkdb -debug -doc -extras -java -keyring -kwallet -plaintext-password-storage -ruby* -sasl -test" 0 KiB
[ebuild   R    ] app-text/enscript-1.6.6-r1::gentoo  USE="nls -ruby*" 0 KiB
[ebuild   R    ] app-editors/gvim-9.1.0366::gentoo  USE="acl crypt cscope nls perl python sound -debug -lua -minimal -motif -netbeans -racket -ruby* (-selinux) -session -tcl" LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4 -luajit" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" 0 KiB


--CLIP--
I did not update the ebuild files before this.
The only thing these seemingly random packages have in common is the -ruby*.

Code:
emerge --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...

 dev-ruby/abbrev
    selected: 0.1.2
   protected: none
     omitted: none

 dev-java/javatoolkit
    selected: 0.6.7-r1
   protected: none
     omitted: none

 dev-util/ragel
    selected: 7.0.4-r3
   protected: none
     omitted: none

 dev-util/colm
    selected: 0.14.7-r3
   protected: none
     omitted: none

 dev-ruby/racc
    selected: 1.8.1
   protected: none
     omitted: none

 virtual/ruby-ssl
    selected: 13
   protected: none
     omitted: none

 dev-ruby/kpeg
    selected: 1.3.3
   protected: none
     omitted: none

 dev-ruby/typeprof
    selected: 0.21.11
   protected: none
     omitted: none

 dev-ruby/test-unit
    selected: 3.6.2
   protected: none
     omitted: none

 dev-ruby/rss
    selected: 0.3.1
   protected: none
     omitted: none

 dev-ruby/rexml
    selected: 3.3.7
   protected: none
     omitted: none

 dev-ruby/strscan
    selected: 3.1.0
   protected: none
     omitted: none

 dev-ruby/rbs
    selected: 3.5.3
   protected: none
     omitted: none

 dev-ruby/logger
    selected: 1.6.1
   protected: none
     omitted: none

 dev-ruby/rake
    selected: 13.2.1
   protected: none
     omitted: none

 dev-ruby/prime
    selected: 0.1.2-r1
   protected: none
     omitted: none

 dev-ruby/singleton
    selected: 0.2.0
   protected: none
     omitted: none

 dev-ruby/forwardable
    selected: 1.3.3
   protected: none
     omitted: none

 dev-ruby/power_assert
    selected: 2.0.3
   protected: none
     omitted: none

 dev-ruby/net-smtp
    selected: 0.5.0
   protected: none
     omitted: none

 dev-ruby/net-pop
    selected: 0.1.2
   protected: none
     omitted: none

 dev-ruby/net-imap
    selected: 0.4.16
   protected: none
     omitted: none

 dev-ruby/net-ftp
    selected: 0.3.7
   protected: none
     omitted: none

 dev-ruby/time
    selected: 0.4.0
   protected: none
     omitted: none

 dev-ruby/net-protocol
    selected: 0.2.2
   protected: none
     omitted: none

 dev-ruby/timeout
    selected: 0.4.1
   protected: none
     omitted: none

 dev-ruby/date
    selected: 3.3.4
   protected: none
     omitted: none

 dev-ruby/minitest
    selected: 5.25.1
   protected: none
     omitted: none

 dev-ruby/matrix
    selected: 0.4.2
   protected: none
     omitted: none

 dev-ruby/json
    selected: 2.7.2-r1
   protected: none
     omitted: none

 dev-ruby/did_you_mean
    selected: 1.6.3
   protected: none
     omitted: none

 dev-ruby/debug
    selected: 1.9.2
   protected: none
     omitted: none

 dev-ruby/irb
    selected: 1.13.2
   protected: none
     omitted: none

 dev-ruby/reline
    selected: 0.5.10
   protected: none
     omitted: none

 dev-ruby/io-console
    selected: 0.7.2
   protected: none
     omitted: none

 dev-ruby/rdoc
    selected: 6.6.3.1-r1
   protected: none
     omitted: none

 dev-ruby/psych
    selected: 5.1.2
   protected: none
     omitted: none

 dev-ruby/stringio
    selected: 3.1.1
   protected: none
     omitted: none

 dev-ruby/bundler
    selected: 2.4.22
   protected: none
     omitted: none

 virtual/rubygems
    selected: 19
   protected: none
     omitted: none

 dev-ruby/rubygems
    selected: 3.4.22
   protected: none
     omitted: none

 dev-lang/ruby
    selected: 3.2.4-r1
   protected: none
     omitted: none

 dev-lang/ruby
    selected: 3.1.6-r1
   protected: none
     omitted: none

 app-eselect/eselect-ruby
    selected: 20231226
   protected: none
     omitted: none

All selected packages: =dev-ruby/io-console-0.7.2 =dev-ruby/net-smtp-0.5.0 =dev-ruby/minitest-5.25.1 =dev-ruby/net-ftp-0.3.7 =dev-ruby/net-imap-0.4.16 =app-eselect/eselect-ruby-20231226 =dev-ruby/rexml-3.3.7 =dev-ruby/rbs-3.5.3 =dev-ruby/bundler-2.4.22 =virtual/rubygems-19 =dev-ruby/time-0.4.0 =dev-ruby/rdoc-6.6.3.1-r1 =dev-lang/ruby-3.2.4-r1 =dev-ruby/rss-0.3.1 =dev-ruby/debug-1.9.2 =dev-ruby/rake-13.2.1 =dev-ruby/json-2.7.2-r1 =dev-ruby/kpeg-1.3.3 =dev-ruby/singleton-0.2.0 =dev-ruby/rubygems-3.4.22 =dev-ruby/net-pop-0.1.2 =dev-ruby/timeout-0.4.1 =virtual/ruby-ssl-13 =dev-ruby/reline-0.5.10 =dev-ruby/abbrev-0.1.2 =dev-ruby/irb-1.13.2 =dev-util/ragel-7.0.4-r3 =dev-ruby/typeprof-0.21.11 =dev-ruby/forwardable-1.3.3 =dev-ruby/did_you_mean-1.6.3 =dev-ruby/prime-0.1.2-r1 =dev-ruby/psych-5.1.2 =dev-ruby/net-protocol-0.2.2 =dev-ruby/date-3.3.4 =dev-ruby/strscan-3.1.0 =dev-ruby/matrix-0.4.2 =dev-ruby/test-unit-3.6.2 =dev-java/javatoolkit-0.6.7-r1 =dev-lang/ruby-3.1.6-r1 =dev-ruby/racc-1.8.1 =dev-util/colm-0.14.7-r3 =dev-ruby/stringio-3.1.1 =dev-ruby/power_assert-2.0.3 =dev-ruby/logger-1.6.1

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1>>> Unmerging (1 of 44) dev-ruby/abbrev-0.1.2...

>>> Unmerging (2 of 44) dev-java/javatoolkit-0.6.7-r1...
>>> Unmerging (3 of 44) dev-util/ragel-7.0.4-r3...
>>> Unmerging (4 of 44) dev-util/colm-0.14.7-r3...
>>> Unmerging (5 of 44) dev-ruby/racc-1.8.1...
>>> Unmerging (6 of 44) virtual/ruby-ssl-13...
>>> Unmerging (7 of 44) dev-ruby/kpeg-1.3.3...
>>> Unmerging (8 of 44) dev-ruby/typeprof-0.21.11...
>>> Unmerging (9 of 44) dev-ruby/test-unit-3.6.2...
>>> Unmerging (10 of 44) dev-ruby/rss-0.3.1...
>>> Unmerging (11 of 44) dev-ruby/rexml-3.3.7...
>>> Unmerging (12 of 44) dev-ruby/strscan-3.1.0...
>>> Unmerging (13 of 44) dev-ruby/rbs-3.5.3...
>>> Unmerging (14 of 44) dev-ruby/logger-1.6.1...
>>> Unmerging (15 of 44) dev-ruby/rake-13.2.1...
>>> Unmerging (16 of 44) dev-ruby/prime-0.1.2-r1...
>>> Unmerging (17 of 44) dev-ruby/singleton-0.2.0...
>>> Unmerging (18 of 44) dev-ruby/forwardable-1.3.3...
>>> Unmerging (19 of 44) dev-ruby/power_assert-2.0.3...
>>> Unmerging (20 of 44) dev-ruby/net-smtp-0.5.0...
>>> Unmerging (21 of 44) dev-ruby/net-pop-0.1.2...
>>> Unmerging (22 of 44) dev-ruby/net-imap-0.4.16...
>>> Unmerging (23 of 44) dev-ruby/net-ftp-0.3.7...
>>> Unmerging (24 of 44) dev-ruby/time-0.4.0...
>>> Unmerging (25 of 44) dev-ruby/net-protocol-0.2.2...
>>> Unmerging (26 of 44) dev-ruby/timeout-0.4.1...
>>> Unmerging (27 of 44) dev-ruby/date-3.3.4...
>>> Unmerging (28 of 44) dev-ruby/minitest-5.25.1...
>>> Unmerging (29 of 44) dev-ruby/matrix-0.4.2...
>>> Unmerging (30 of 44) dev-ruby/json-2.7.2-r1...
>>> Unmerging (31 of 44) dev-ruby/did_you_mean-1.6.3...
>>> Unmerging (32 of 44) dev-ruby/debug-1.9.2...
>>> Unmerging (33 of 44) dev-ruby/irb-1.13.2...
>>> Unmerging (34 of 44) dev-ruby/reline-0.5.10...
>>> Unmerging (35 of 44) dev-ruby/io-console-0.7.2...
>>> Unmerging (36 of 44) dev-ruby/rdoc-6.6.3.1-r1...
>>> Unmerging (37 of 44) dev-ruby/psych-5.1.2...
>>> Unmerging (38 of 44) dev-ruby/stringio-3.1.1...
>>> Unmerging (39 of 44) dev-ruby/bundler-2.4.22...
>>> Unmerging (40 of 44) virtual/rubygems-19...
>>> Unmerging (41 of 44) dev-ruby/rubygems-3.4.22...
>>> Unmerging (42 of 44) dev-lang/ruby-3.2.4-r1...
Marking the latest still installed version as default...
!!! Warning: Could not set gem symlink
It appears you do not have RubyGems installed for this profile.
If you need RubyGems, emerge dev-ruby/rubygems with the appropriate RUBY_TARGETS setting.

Successfully switched to profile:
  ruby31
>>> Unmerging (43 of 44) dev-lang/ruby-3.1.6-r1...
No ruby profiles left on the system. Stale symlinks removed.
>>> Unmerging (44 of 44) app-eselect/eselect-ruby-20231226...
Packages installed:   1447
Packages in world:    235
Packages in system:   49
Required packages:    1447
Number removed:       44

 * GNU info directory index is up-to-date.


This fixed two machines that had the same problem.

Thanks for helping me get through this. This was a tough one.

My question is: did I do something wrong by putting ruby in the make.conf USE list,
or is this some kind of gentoo glitch? I thought if general support for a language
was desired that the name belonged in make.conf.
I don't remember ever putting that key in make.conf in the first place.

Also, now that that we have gone down the rabbit hole with this thing, perhaps
somebody can explain just what went wrong. None of this behavior is obvious.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2323

PostPosted: Thu Oct 17, 2024 5:40 am    Post subject: Reply with quote

JustAnother wrote:

My question is: did I do something wrong by putting ruby in the make.conf USE list,


Well, you kind of did. For this particular case.

JustAnother wrote:
or is this some kind of gentoo glitch?


Most certainly no. Portage functioned as expected.

JustAnother wrote:
I thought if general support for a language
was desired that the name belonged in make.conf.


That's not correct. Ruby flag may mean many things. What caused the problem is that some of the packages required specific version of ruby to enable it's ruby related features. (Actually this might be a problem in those ebuilds, but the objective truth is there simply aren't enough package maintainers. Or it might be upstream does not support ruby 3.2 too) But those features are not consistent across all packages having them. They are different things across different packages and that's what's wrong in putting a USE flag not considered global in make.conf. A USE flag is considered global if it affects at least a few packages in a consistent way without exceptions, so the mistake is in considering ruby a global USE flag.

Also another facet of a global USE flag is all ebuilds having it would be taken care of so there are no conflicts. At least this is my expectation.

JustAnother wrote:
I don't remember ever putting that key in make.conf in the first place.


Well, many problems arise because of not remembering something :)


JustAnother wrote:
Also, now that that we have gone down the rabbit hole with this thing, perhaps
somebody can explain just what went wrong. None of this behavior is obvious.


I think my comments above explained it. Certainly the issue is multi-layered, not only technical. If you have more questions, ask them.
And many things are not obvious when it comes to such a complex task as handling packages with support for multiple slots, source based builds, binary packages, handling stable and unstable states and what not that portage supports.

p.s. maybe I should have asked you to add --tree to your command. I suspect it would have revealed the issue earlier.
p.s.2 I'm unable to reproduce the situation locally. Some of your depcleaned packages complain about ruby 3.1 but I'm lazy to find out which. All of the packages from your world update do not complain. Putting USE="ruby" on the command line before a @world update do not pull ruby 3.1. My best guess (based on what I know of graph theory) is there was some kind of circular dependency between two or more of the depcleaned packages which prevented them from being rebuilt and let go of ruby target 3.1. Removing the ruby USE flag from global USE made it possible to get rid of those circular dependencies altogether.

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