Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ruby:31 & Ruby:34 package slot issues
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
abduct
Apprentice
Apprentice


Joined: 19 Mar 2015
Posts: 218

PostPosted: Sun Mar 02, 2025 11:16 pm    Post subject: Ruby:31 & Ruby:34 package slot issues Reply with quote

Hello everyone. I am facing issues upgrading my system.
Ruby is creating slot conflicts for some of it's packages between ruby 3.1 and ruby 3.4. My current RUBY_TARGETS was "ruby31 ruby32 ruby33" but on the world upgrade, it requested ruby34 (specifically RUBY_TARGETS_RUBY34), so I added it to the list. I thought once the world succeeded I would remove ruby31 from my targets and run depclean. No suck luck.

My upgrade command is: emerge -a --update --newuse --changed-use --deep --keep-going --backtrack=9999 --exclude www-servers/caddy @world

When ran, it gives me a list of packages it wishes to upgrade, but then tyoeprof gives a slot conflict error due to ruby31 and ruby34 being installed.

What is the best way to handle this?

Thanks!

Emerge output:

Code:
Dependency resolution took 195.19 s (backtrack: 18/9999).

[ebuild     U  ] app-arch/ncompress-5.0-r2 [5.0-r1]
[ebuild     U  ] media-libs/alsa-ucm-conf-1.2.13 [1.2.12]
[ebuild     U  ] sys-apps/which-2.23 [2.21]
[ebuild     U  ] dev-libs/ell-0.73 [0.67]
[ebuild  NS    ] dev-dotnet/dotnet-runtime-nugets-6.0.36 [6.0.32, 7.0.20, 8.0.7]
[ebuild  NS    ] dev-dotnet/dotnet-runtime-nugets-9.0.1 [6.0.32, 7.0.20, 8.0.7]
[ebuild  NS    ] dev-dotnet/dotnet-runtime-nugets-8.0.12 [6.0.32, 7.0.20, 8.0.7]
[ebuild     U  ] app-arch/unrar-7.1.4 [7.0.9]
[ebuild     U  ] app-text/tree-2.2.1 [2.1.1-r1]
[ebuild   R    ] net-wireless/wireless-regdb-20240508 [20240508] USE="-pentoo%"
[ebuild     U  ] dev-libs/libpipeline-1.5.8 [1.5.7]
[ebuild     U  ] net-p2p/mktorrent-1.1_p20210130-r1 [1.1_p20210130]
[ebuild     U  ] sys-libs/efivar-39-r1 [39]
[ebuild     U  ] app-admin/checksec-2.7.1-r1 [2.7.1]
[ebuild     U  ] x11-libs/libXv-1.0.13 [1.0.12]
[ebuild     U  ] sci-libs/openblas-0.3.29 [0.3.26-r1]
[ebuild     U  ] cross-armv7a-hardfloat-linux-gnueabi/linux-headers-6.12 [6.6-r1]
[ebuild     U  ] dev-perl/Text-CSV_XS-1.600.0 [1.550.0]
[ebuild     U  ] dev-perl/Text-CSV-2.50.0 [2.40.0]
[ebuild     U  ] sys-process/parallel-20241022 [20240522]
[ebuild     U  ] sys-apps/kbd-2.7.1 [2.6.4]
[ebuild   R    ] dev-python/typing-extensions-4.12.2  PYTHON_TARGETS="-pypy3_11% -python3_13t%"
[ebuild     U  ] dev-python/pyproject-hooks-1.2.0 [1.1.0] PYTHON_TARGETS="-pypy3_11% -python3_13t%"
[ebuild     U  ] dev-python/truststore-0.10.1 [0.9.2] PYTHON_TARGETS="-pypy3_11%"
[ebuild   R    ] dev-python/mdurl-0.1.2  PYTHON_TARGETS="-pypy3_11%"
[ebuild   R    ] dev-python/alabaster-1.0.0  PYTHON_TARGETS="-pypy3_11%"
[ebuild     U  ] net-misc/wget-1.25.0 [1.24.5]
[ebuild     U  ] app-text/dos2unix-7.5.2 [7.5.1]
[ebuild     U  ] net-misc/axel-2.17.14 [2.17.13]
[ebuild     U  ] www-client/lynx-2.9.2 [2.9.0]
[ebuild     U  ] app-editors/vim-core-9.1.0794 [9.1.0470]
[ebuild     U  ] sys-apps/sysvinit-3.14 [3.09]
[ebuild     U  ] sys-apps/less-668 [661]
[ebuild     U  ] sys-process/lsof-4.99.4 [4.99.3]
[ebuild     U  ] media-libs/alsa-lib-1.2.13-r2 [1.2.12] PYTHON_SINGLE_TARGET="-python3_13%"
[ebuild     U  ] dev-util/cppunit-1.15.1_p20240106 [1.15.1-r3]
[ebuild     U  ] sys-kernel/linux-firmware-20250211 [20240811]
[ebuild     U  ] media-libs/libmediainfo-24.11 [23.10]
[ebuild     U  ] dev-util/lttng-ust-2.12.10 [2.12.9]
[ebuild     U  ] app-portage/eix-0.36.9 [0.36.7-r1]
[ebuild     U  ] dev-debug/strace-6.13 [6.9] USE="-verify-sig%"
[ebuild     U  ] net-ftp/lftp-4.9.3 [4.9.2-r1]
[ebuild     U  ] net-libs/libtorrent-0.14.0 [0.13.8-r3]
[ebuild     U  ] net-misc/iputils-20240905 [20240117]
[ebuild     U  ] media-libs/dav1d-1.5.0 [1.4.2]
[ebuild     U  ] sys-apps/usbutils-018 [017] PYTHON_SINGLE_TARGET="-python3_13%"
[ebuild   R    ] net-libs/nodejs-22.14.0  USE="npm*"
[ebuild     U  ] dev-libs/xmlrpc-c-1.59.03 [1.54.06]
[ebuild  r  U  ] dev-libs/json-c-0.18 [0.17] USE="-doc% -static-libs* -test%"
[ebuild  r  U  ] media-libs/x265-3.6-r1 [3.5-r4]
[ebuild     U  ] dev-cpp/gtest-1.15.2 [1.14.0-r1] USE="(-abseil)"
[ebuild     U  ] media-libs/openjpeg-2.5.3 [2.5.2]
[ebuild     U  ] net-p2p/rtorrent-0.10.0 [0.9.8-r3]
[ebuild     U  ] dev-util/opencl-headers-2024.10.24 [2024.05.08]
[ebuild  r  U  ] dev-cpp/abseil-cpp-20240722.0 [20240116.2-r4]
[ebuild  r  U  ] dev-libs/protobuf-29.2 [27.2] USE="-debug%"
[ebuild   R    ] dev-python/colorama-0.4.6  PYTHON_TARGETS="-pypy3_11%"
[ebuild  NS    ] dev-dotnet/dotnet-sdk-bin-9.0.102-r1 [8.0.107]
[ebuild  NS    ] virtual/dotnet-sdk-9.0 [8.0]
[ebuild     U  ] app-text/asciidoc-10.2.1 [10.2.0] USE="-test%" PYTHON_SINGLE_TARGET="-python3_13%"
[ebuild   R    ] dev-python/distro-1.9.0  PYTHON_TARGETS="-pypy3_11%"
[ebuild     U  ] dev-python/msgpack-1.1.0 [1.0.8] PYTHON_TARGETS="-pypy3_11%"
[ebuild   R    ] dev-python/pycparser-2.22  PYTHON_TARGETS="-pypy3_11%"
[ebuild     U  ] dev-python/distlib-0.3.9 [0.3.8] PYTHON_TARGETS="-pypy3_11%"
[ebuild     U  ] dev-python/resolvelib-1.1.0 [1.0.1] PYTHON_TARGETS="-pypy3_11%"
[ebuild     U  ] dev-python/fastjsonschema-2.21.1 [2.20.0] PYTHON_TARGETS="-pypy3_11%"
[ebuild   R    ] dev-python/lark-1.2.2  PYTHON_TARGETS="-pypy3_11%"
[ebuild   R    ] dev-python/uc-micro-py-1.0.3  PYTHON_TARGETS="-pypy3_11%"
[ebuild     U  ] dev-python/babel-2.17.0 [2.16.0] PYTHON_TARGETS="-pypy3_11%"
[ebuild   R    ] dev-python/imagesize-1.4.1  PYTHON_TARGETS="-pypy3_11%"
[ebuild   R    ] dev-python/snowballstemmer-2.2.0-r1  PYTHON_TARGETS="-pypy3_11%"
[ebuild   R    ] app-misc/asciinema-2.4.0  PYTHON_TARGETS="-python3_13%"
[ebuild     U  ] dev-util/ROPgadget-7.6 [7.4] PYTHON_TARGETS="-python3_13%"
[ebuild     U  ] dev-python/six-1.17.0 [1.16.0-r1] PYTHON_TARGETS="-pypy3_11% -python3_13t%"
[ebuild     U  ] dev-python/cffi-1.17.1 [1.17.0]
[ebuild     U  ] dev-python/cachecontrol-0.14.1 [0.14.0] PYTHON_TARGETS="-pypy3_11%"
[ebuild     U  ] dev-python/poetry-core-2.1.1 [1.9.0] PYTHON_TARGETS="-pypy3_11%"
[ebuild   R    ] dev-python/linkify-it-py-2.0.3  PYTHON_TARGETS="-pypy3_11%"
[ebuild     U  ] app-admin/eclean-kernel-2.99.10 [2.99.8] PYTHON_TARGETS="-python3_13%"
[ebuild     U  ] net-vpn/tor-0.4.8.14 [0.4.8.12]
[ebuild     U  ] dev-python/pycryptodome-3.21.0 [3.20.0] PYTHON_TARGETS="-pypy3_11%"
[ebuild   R    ] dev-python/markdown-it-py-3.0.0  PYTHON_TARGETS="-pypy3_11%"
[ebuild     U  ] dev-python/rich-13.9.4 [13.7.1] PYTHON_TARGETS="-pypy3_11%"
[ebuild     U  ] net-misc/yt-dlp-2025.02.19 [2025.01.15] PYTHON_TARGETS="-pypy3_11%"
[ebuild     U  ] dev-python/pip-25.0.1-r1 [24.2-r1] PYTHON_TARGETS="-pypy3_11%"
[ebuild     U  ] sys-apps/xdg-dbus-proxy-0.1.6 [0.1.5]
[ebuild     U  ] app-arch/p7zip-17.05-r2 [17.05-r1] USE="-test%"
[ebuild     U  ] media-libs/libass-0.17.1-r2 [0.17.1] USE="-libunibreak%"
[ebuild  rR    ] net-wireless/bluez-5.79
[ebuild     U  ] media-gfx/imagemagick-7.1.1.38-r2 [7.1.1.25]
[ebuild     U  ] app-editors/vim-9.1.0794 [9.1.0470] PYTHON_SINGLE_TARGET="-python3_13%"
[ebuild     U  ] sys-apps/openrc-0.56 [0.54.2]
[ebuild     U  ] net-misc/netifrc-0.7.12 [0.7.8-r1]
[ebuild     U  ] virtual/service-manager-1-r3 [1-r2]
[ebuild  NS    ] dev-lang/ruby-3.4.2 [3.1.6-r3, 3.2.7, 3.3.7-r1]
[ebuild   R    ] virtual/ruby-ssl-15  RUBY_TARGETS="ruby34*"
[ebuild   R    ] dev-ruby/rubygems-3.6.3  RUBY_TARGETS="ruby34*"
[ebuild   R    ] virtual/rubygems-21-r1  RUBY_TARGETS="ruby34*"
[ebuild  N     ] dev-ruby/getoptlong-0.2.1  USE="-doc -test" RUBY_TARGETS="ruby31 ruby32 ruby33 ruby34"
[ebuild   R    ] dev-ruby/matrix-0.4.2  RUBY_TARGETS="ruby31* ruby34*"
[ebuild   R    ] dev-ruby/power_assert-2.0.5  RUBY_TARGETS="ruby34*"
[ebuild  N     ] dev-ruby/nkf-0.2.0  USE="-doc -test" RUBY_TARGETS="ruby31 ruby32 ruby33 ruby34"
[ebuild  N     ] dev-ruby/csv-3.3.2  USE="-test" RUBY_TARGETS="ruby31 ruby32 ruby33 ruby34"
[ebuild  N     ] dev-ruby/bigdecimal-3.1.9  USE="-doc -test" RUBY_TARGETS="ruby31 ruby32 ruby33 ruby34"
[ebuild   R    ] dev-ruby/did_you_mean-2.0.0  RUBY_TARGETS="ruby34*"
[ebuild  N     ] dev-ruby/syslog-0.2.0  USE="-doc -test" RUBY_TARGETS="ruby31 ruby32 ruby33 ruby34"
[ebuild  N     ] dev-ruby/observer-0.1.2  USE="-doc -test" RUBY_TARGETS="ruby31 ruby32 ruby33 ruby34"
[ebuild   R    ] dev-ruby/rake-13.2.1  RUBY_TARGETS="ruby34*"
[ebuild   R    ] dev-ruby/json-2.9.1  RUBY_TARGETS="ruby34*"
[ebuild   R    ] dev-ruby/racc-1.8.1  RUBY_TARGETS="ruby34*"
[ebuild  N     ] dev-ruby/mutex_m-0.3.0  USE="-doc -test" RUBY_TARGETS="ruby31 ruby32 ruby33 ruby34"
[ebuild   R    ] dev-ruby/test-unit-3.6.7  RUBY_TARGETS="ruby34*"
[ebuild  N     ] dev-ruby/base64-0.2.0  USE="-doc -test" RUBY_TARGETS="ruby31 ruby32 ruby33 ruby34"
[ebuild  N     ] dev-ruby/abbrev-0.1.2  USE="-doc -test" RUBY_TARGETS="ruby31 ruby32 ruby33 ruby34"
[ebuild   R    ] dev-ruby/minitest-5.25.4  RUBY_TARGETS="ruby34*"
[ebuild   R    ] dev-ruby/bundler-2.6.3  RUBY_TARGETS="ruby34*"
[ebuild  N     ] dev-ruby/ruby2_keywords-0.0.5-r1  USE="-doc -test" RUBY_TARGETS="ruby31 ruby32 ruby33 ruby34"
[ebuild  N     ] dev-ruby/drb-2.2.1  USE="-doc -test" RUBY_TARGETS="ruby31 ruby32 ruby33 ruby34"
[ebuild   R    ] dev-ruby/logger-1.6.6  RUBY_TARGETS="ruby34*"
[ebuild   R    ] dev-ruby/rbs-3.8.1  RUBY_TARGETS="ruby34*"
[ebuild   R    ] dev-ruby/strscan-3.1.2  RUBY_TARGETS="ruby34*"
[ebuild   R    ] dev-ruby/rexml-3.4.1  RUBY_TARGETS="ruby34*"
[ebuild   R    ] dev-ruby/rss-0.3.1  RUBY_TARGETS="ruby34*"
[ebuild   R    ] dev-ruby/date-3.4.1  RUBY_TARGETS="ruby34*"
[ebuild  N     ] dev-ruby/prism-1.3.0  USE="-test" RUBY_TARGETS="ruby31 ruby32 ruby33 ruby34"
[ebuild     U  ] dev-ruby/typeprof-0.30.1-r1 [0.21.11] RUBY_TARGETS="ruby34%*"
[ebuild  N     ] dev-ruby/repl_type_completor-0.1.10  USE="-doc -test" RUBY_TARGETS="ruby31 ruby32 ruby33 ruby34"
[ebuild   R    ] dev-ruby/forwardable-1.3.3  RUBY_TARGETS="ruby31* ruby34*"
[ebuild   R    ] dev-ruby/kpeg-1.3.3  RUBY_TARGETS="ruby34*"
[ebuild   R    ] dev-ruby/stringio-3.1.5  RUBY_TARGETS="ruby34*"
[ebuild   R    ] dev-ruby/psych-5.2.3  RUBY_TARGETS="ruby34*"
[ebuild   R    ] dev-ruby/rdoc-6.12.0  RUBY_TARGETS="ruby34*"
[ebuild   R    ] dev-ruby/io-console-0.8.0  RUBY_TARGETS="ruby34*"
[ebuild   R    ] dev-ruby/reline-0.6.0  RUBY_TARGETS="ruby34*"
[ebuild   R    ] dev-ruby/irb-1.14.3  RUBY_TARGETS="ruby34*"
[ebuild   R    ] dev-ruby/debug-1.10.0  RUBY_TARGETS="ruby31* ruby34*"
[ebuild   R    ] dev-ruby/singleton-0.3.0  RUBY_TARGETS="ruby31* ruby34*"
[ebuild   R    ] dev-ruby/prime-0.1.3  RUBY_TARGETS="ruby31* ruby34*"
[ebuild   R    ] dev-ruby/time-0.4.1  RUBY_TARGETS="ruby31* ruby34*"
[ebuild  N     ] dev-ruby/ipaddr-1.2.7  USE="-doc -test" RUBY_TARGETS="ruby31 ruby32 ruby33 ruby34"
[ebuild  N     ] dev-ruby/rinda-0.2.0  USE="-doc -test" RUBY_TARGETS="ruby31 ruby32 ruby33 ruby34"
[ebuild  N     ] dev-ruby/resolv-0.6.0-r1  USE="-doc -test" RUBY_TARGETS="ruby31 ruby32 ruby33 ruby34"
[ebuild  N     ] dev-ruby/resolv-replace-0.1.1  USE="-doc -test" RUBY_TARGETS="ruby31 ruby32 ruby33 ruby34"
[ebuild   R    ] dev-ruby/timeout-0.4.3  RUBY_TARGETS="ruby31* ruby34*"
[ebuild   R    ] dev-ruby/net-protocol-0.2.2  RUBY_TARGETS="ruby31* ruby34*"
[ebuild   R    ] dev-ruby/net-smtp-0.5.1  RUBY_TARGETS="ruby31* ruby34*"
[ebuild   R    ] dev-ruby/net-imap-0.5.6  RUBY_TARGETS="ruby31* ruby34*"
[ebuild   R    ] dev-ruby/net-ftp-0.3.8  RUBY_TARGETS="ruby31* ruby34*"
[ebuild   R    ] dev-ruby/net-pop-0.1.2  RUBY_TARGETS="ruby31* ruby34*"
[ebuild     U  ] dev-util/shards-0.19.1 [0.18.0]
[ebuild  rR    ] media-video/ffmpeg-6.1.2
[ebuild  rR    ] media-libs/opencv-4.10.0
[ebuild     U  ] media-video/mediainfo-24.11 [23.10]
[ebuild     U  ] www-apps/jellyfin-bin-10.10.6 [10.9.9]
[ebuild     U  ] app-portage/gentoolkit-0.6.8 [0.6.7]
[ebuild     U  ] sys-devel/crossdev-20250106 [20240702]
[ebuild     U  ] app-admin/syslog-ng-4.8.1-r1 [4.7.1]
[ebuild  NS    ] cross-armv7a-hardfloat-linux-gnueabi/gcc-14.2.1_p20241221 [13.3.1_p20240614] USE="-rust% (-time64)"
[ebuild     U  ] net-misc/radvd-2.20 [2.19-r7]
[ebuild     U  ] sys-apps/iproute2-6.13.0 [6.10.0]
[ebuild     U  ] app-admin/sudo-1.9.16_p2-r1 [1.9.15_p5]
[ebuild     U  ] sys-devel/bc-1.08.1 [1.07.1-r6]
[ebuild     U  ] sys-apps/man-pages-6.10 [6.06] L10N="-ko%"
[ebuild     U  ] sys-kernel/genkernel-4.3.16-r3 [4.3.16] USE="-systemd%"
[ebuild  NS    ] sys-kernel/gentoo-sources-6.13.5 [6.10.6]

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

dev-ruby/typeprof:0

  (dev-ruby/typeprof-0.30.1-r1:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby32 ruby33 ruby34" pulled in by
    >=dev-ruby/typeprof-0.30.1[ruby_targets_ruby34(-)] required by (dev-lang/ruby-3.4.2:3.4/3.4::gentoo, ebuild scheduled for merge) USE="gdbm ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
    ^^                  ^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         

  (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-r3: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 packages are causing rebuilds:

  (dev-libs/json-c-0.18:0/5.1::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (net-wireless/bluez-5.79:0/3::gentoo, ebuild scheduled for merge)
  (media-libs/x265-3.6-r1:0/209::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (media-video/ffmpeg-6.1.2:0/58.60.60::gentoo, ebuild scheduled for merge)
  (dev-libs/protobuf-29.2:0/29.2.0::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (media-libs/opencv-4.10.0:0/4.10.0::gentoo, ebuild scheduled for merge)
  (dev-cpp/abseil-cpp-20240722.0:0/2407.0.0::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (dev-libs/protobuf-29.2:0/29.2.0::gentoo, ebuild scheduled for merge)


--info output

Code:
Portage 3.0.67 (python 3.12.9-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-14, glibc-2.41, 6.10.6-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.10.6-gentoo-x86_64-x86_64-Intel-R-_Xeon-R-_CPU_E5-2643_0_@_3.30GHz-with-glibc2.41
KiB Mem:    65906492 total,   6226056 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 28 Feb 2025 02:15:00 +0000
Head commit of repository gentoo: c9f268ba37eb4752739680a0385a54d9b76a01e0
Head commit of repository dotnet: ebacf672bc550ba9005206e0809d407602b4c20e

Timestamp of repository guru: Thu, 27 Feb 2025 12:03:25 +0000
Head commit of repository guru: 33ed067a3b7b6eeb6359cfe792767dd7e9626e2c

Timestamp of repository overseerr-overlay: Mon, 17 Feb 2025 22:03:50 +0000
Head commit of repository overseerr-overlay: b7f672aa5df4b923e55c20499172dfed4e739b68

Timestamp of repository pentoo: Fri, 28 Feb 2025 01:33:23 +0000
Head commit of repository pentoo: 238649aed2006bbf654443400b39940ad8b07445

Timestamp of repository science: Wed, 26 Feb 2025 14:03:42 +0000
Head commit of repository science: dc84ed1f39d34ed6b3e0184efc7f06557c816440

Timestamp of repository stefantalpalaru: Sun, 21 Jul 2024 15:48:52 +0000
Head commit of repository stefantalpalaru: 264a6c277eb53610f500c185f9f5a581d3b2b32a

sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r2::gentoo
dev-build/cmake:           3.31.6::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.0::gentoo
dev-lang/perl:             5.40.1::gentoo
dev-lang/python:           3.10.16_p2::gentoo, 3.11.11_p2::gentoo, 3.12.9::gentoo, 3.13.2::gentoo
dev-lang/rust-bin:         1.80.1-r103::gentoo, 1.85.0-r1::gentoo
llvm-core/clang:           19.1.7::gentoo
llvm-core/llvm:            19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.45::gentoo
sys-devel/binutils:        2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.13::gentoo (virtual/os-headers)
sys-libs/glibc:            2.41::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-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:

dotnet
    location: /var/db/repos/dotnet
    sync-type: git
    sync-uri: https://github.com/gentoo/dotnet
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

overseerr-overlay
    location: /var/db/repos/overseerr-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/overseerr-overlay.git
    masters: gentoo
    volatile: False

pentoo
    location: /var/db/repos/pentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pentoo.git
    masters: gentoo
    volatile: False

science
    location: /var/db/repos/science
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/science.git
    masters: gentoo
    volatile: False

stefantalpalaru
    location: /var/db/repos/stefantalpalaru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/stefantalpalaru.git
    masters: gentoo guru
    volatile: False

crossdev
    location: /usr/local/portage-crossdev
    masters: gentoo
    priority: 10
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=sandybridge -O2 -pipe -fstack-protector-strong"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=16 --load-average=1.5"
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 buildpkg-live candy config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait metadata-transfer multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j16 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet cli context crypt cups dbus dnssec docker dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kf6compat lcms libass libnotify librtmp libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp otr pam pango pcre pdf png policykit ppds qml qt5 qt6 readline script sdl seccomp sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vaapi vorbis vulkan wxwidgets x264 x265 xattr xcb xft xml xmlrpc xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python2_7 python3_10 python3_11 python3_12" QEMU_SOFTMMU_TARGETS="arm x86_64 mips mips64 mips64el mipsel avr" QEMU_USER_TARGETS="arm x86_64 mips mips64 mips64el mipsel mipsn32 mipsn32el" RUBY_TARGETS="ruby31 ruby32 ruby33 ruby34" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" 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
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31518
Location: here

PostPosted: Mon Mar 03, 2025 7:16 am    Post subject: Reply with quote

it seems that you cannot have ruby31 and ruby34 active at the same time because of the dev-ruby/typeprof package.
Do you really need the ruby31 target? Even in the stable branch it is no longer active by default.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
abduct
Apprentice
Apprentice


Joined: 19 Mar 2015
Posts: 218

PostPosted: Tue Mar 04, 2025 5:38 am    Post subject: Reply with quote

fedeliallalinea wrote:
it seems that you cannot have ruby31 and ruby34 active at the same time because of the dev-ruby/typeprof package.
Do you really need the ruby31 target? Even in the stable branch it is no longer active by default.


No I do not, but I have not been able to figure out how to remove ruby:3.1.

When I remove the ruby31 target from make.conf and run 'emerge -a --depclean ruby:3.1' it states no packages are selected for removal by depclean.

When I run a world upgrade with my initial command after I remove ruby31 targets I receive: https://pastebin.com/U2DYuD8D

So for some reason even with ruby31 target removed, packages are still wanting to bring it in?

Is there a way to rebuilt everything ruby related at once so it may resolve its dependencies? Or what is the proper procedure for dropping support for older ruby versions and removing it from the system.

I've tried following: https://wiki.gentoo.org/wiki/Ruby#Removing_an_old_implementation but it yields the same results as just removing the target from my make.conf.

pvc yields:

Code:
 # emerge -pvc ruby:3.1

Calculating dependencies                                   ... done!
  dev-lang/ruby-3.1.6-r3 pulled in by:
    dev-ruby/bundler-2.6.3 requires dev-lang/ruby:3.1
    dev-ruby/date-3.4.1 requires dev-lang/ruby:3.1
    dev-ruby/did_you_mean-2.0.0 requires dev-lang/ruby:3.1
    dev-ruby/io-console-0.8.0 requires dev-lang/ruby:3.1
    dev-ruby/irb-1.14.3 requires dev-lang/ruby:3.1
    dev-ruby/json-2.9.1 requires dev-lang/ruby:3.1
    dev-ruby/kpeg-1.3.3 requires dev-lang/ruby:3.1
    dev-ruby/logger-1.6.6 requires dev-lang/ruby:3.1
    dev-ruby/minitest-5.25.4 requires dev-lang/ruby:3.1
    dev-ruby/power_assert-2.0.5 requires dev-lang/ruby:3.1
    dev-ruby/psych-5.2.3 requires dev-lang/ruby:3.1
    dev-ruby/racc-1.8.1 requires dev-lang/ruby:3.1
    dev-ruby/rake-13.2.1 requires dev-lang/ruby:3.1
    dev-ruby/rbs-3.8.1 requires dev-lang/ruby:3.1
    dev-ruby/rdoc-6.12.0 requires dev-lang/ruby:3.1
    dev-ruby/reline-0.6.0 requires dev-lang/ruby:3.1
    dev-ruby/rexml-3.4.1 requires dev-lang/ruby:3.1
    dev-ruby/rss-0.3.1 requires dev-lang/ruby:3.1
    dev-ruby/rubygems-3.6.3 requires dev-lang/ruby:3.1
    dev-ruby/stringio-3.1.5 requires dev-lang/ruby:3.1
    dev-ruby/strscan-3.1.2 requires dev-lang/ruby:3.1
    dev-ruby/test-unit-3.6.7 requires dev-lang/ruby:3.1
    dev-ruby/typeprof-0.21.11 requires dev-lang/ruby:3.1
    virtual/ruby-ssl-15 requires dev-lang/ruby:3.1, dev-lang/ruby:3.1[ssl]
    virtual/rubygems-21-r1 requires dev-lang/ruby:3.1

>>> No packages selected for removal by depclean
Packages installed:   851
Packages in world:    126
Packages in system:   49
Required packages:    851
Number to remove:     0


Can I somehow use this to remove each package one by one until nothing depends on ruby31?

My package.use and other directories have no trace of ruby31 target so the only location for it is in my make.conf.

Not entirely sure how to proceed in order to remove ruby31 from my system so I can finish my world rebuild. Should I attempt some kind of emptytree rebuild?

Thanks


Last edited by abduct on Tue Mar 04, 2025 6:16 am; edited 1 time in total
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2789

PostPosted: Tue Mar 04, 2025 5:51 am    Post subject: Reply with quote

Code:
wgetpaste /var/lib/portage/world
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31518
Location: here

PostPosted: Tue Mar 04, 2025 6:07 am    Post subject: Reply with quote

Post also grep -ri ruby31 /etc/portage output.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
abduct
Apprentice
Apprentice


Joined: 19 Mar 2015
Posts: 218

PostPosted: Tue Mar 04, 2025 6:12 am    Post subject: Reply with quote

Only reference is an old backup of my make file from who knows when. It was one of the first things I've checked thinking that it may be some kind of flag pollution.

Code:
 # grep -ri ruby31 /etc/portage
/etc/portage/make.conf.euse_backup:RUBY_TARGETS="ruby27 ruby30 ruby31"


world packages:

https://bpa.st/H5TA

Also I noticed ruby:3.3 isnt in my world. Weird, but unrelated.


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


Joined: 22 Feb 2018
Posts: 2789

PostPosted: Tue Mar 04, 2025 6:38 am    Post subject: Reply with quote

Emerge --deselect all ruby's from your world. Later I'll find a script to clean up your world, now I'm in the middle of something
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2789

PostPosted: Tue Mar 04, 2025 7:33 am    Post subject: Reply with quote

It looks like there's no need for cleanup scripts, but I'll comment on the contents of your world:

Code:
app-admin/checksec
app-admin/cpulimit
app-admin/eclean-kernel
app-admin/logrotate
app-admin/sudo
app-admin/syslog-ng
app-arch/dpkg
app-arch/libarchive
app-arch/p7zip
app-arch/unrar
app-arch/unzip
app-arch/zip
app-containers/containerd #this might not be necessary, docker pulls it in
app-containers/docker
app-editors/vim
app-emulation/libvirt
app-emulation/qemu
app-eselect/eselect-repository
app-forensics/aflplusplus
app-misc/asciinema
app-misc/binwalk
app-misc/binwalk:0
app-misc/colordiff
app-misc/dtach
app-misc/screen
app-portage/eix
app-portage/gentoolkit
app-text/aha
app-text/dos2unix
app-text/tree
app-text/wgetpaste
cross-armv7a-hardfloat-linux-gnueabi/binutils
cross-armv7a-hardfloat-linux-gnueabi/gcc
cross-armv7a-hardfloat-linux-gnueabi/glibc
cross-armv7a-hardfloat-linux-gnueabi/linux-headers
dev-db/sqlite
dev-debug/gdb
dev-debug/ltrace
dev-debug/peda
dev-debug/strace
dev-lang/crystal
dev-lang/go
dev-lang/python-exec #this should not be necessary, I don't have it, portage should pull it in
dev-lang/ruby #deselect
dev-lang/ruby:3.1 #deselect
dev-lang/ruby:3.2 #deselect
dev-lang/rust-bin
dev-lang/rust-bin:1.80.1 #deselect
dev-libs/libsodium #should be pulled in by something else, deselect and see if it will be depcleaned, emerge --noreplace it if you need it
dev-libs/openssl #same as above
dev-python/ansi2html
dev-python/pip
dev-ruby/psych
dev-ruby/rubygems
dev-ruby/typeprof
dev-util/ROPgadget
dev-util/debootstrap
dev-util/shards
dev-vcs/git
media-gfx/imagemagick
#make dure you need the following libs as libs are the usual suspect that should not be in world
media-libs/gd
media-libs/opencv
media-libs/opus
media-video/ffmpeg
media-video/mediainfo
net-analyzer/speedtest++
net-analyzer/tcpdump
net-analyzer/traceroute
net-dns/dnsmasq
net-firewall/iptables
net-fs/curlftpfs
net-ftp/lftp
net-irc/irssi
net-libs/nodejs
net-misc/axel
net-misc/curl
net-misc/ntp
net-misc/openssh
net-misc/proxychains
net-misc/sshpass
net-misc/whois
net-misc/yt-dlp
net-p2p/mktorrent
net-p2p/rtorrent
net-proxy/torsocks
net-vpn/tor
net-vpn/wireguard-tools
net-wireless/wireless-regdb
#also make sure you need those libs as mentioned above
sci-libs/gsl
sci-libs/lapack
sci-libs/openblas
sci-visualization/gnuplot
sys-apps/firejail
sys-apps/lm-sensors
sys-apps/lshw
sys-apps/pciutils
sys-apps/portage
sys-apps/usbutils
sys-apps/yarn
sys-boot/grub:2
sys-devel/crossdev
sys-fs/btrfs-progs
sys-fs/dosfstools
sys-fs/ext4magic
sys-fs/extundelete
sys-fs/fuse
sys-fs/inotify-tools
sys-fs/mdadm
sys-fs/ntfs3g
sys-fs/sasquatch
sys-fs/squashfs-tools
sys-fs/udev
sys-kernel/genkernel
sys-kernel/gentoo-sources
sys-kernel/linux-firmware
sys-libs/ncurses #again this should be pulled by something else unless you're using it in your own software
sys-process/htop
sys-process/lsof
sys-process/parallel
virtual/dotnet-sdk
virtual/libcrypt
virtual/opencl
virtual/perl-File-Temp # this should be checked as there's cleanup of perl virtuals which will be replace with direct perl dependency. If problem arise with that in the future, deselect it.
www-apps/jellyfin-bin
www-client/elinks
www-client/lynx
www-servers/caddy


That's it. I don't see anything particularly disturbing. Make sure you alwayse run emerge with -1/--oneshot when you run it to fix something. Forgetting it is the way those things ended up in world.

I would also delete that make.conf backup. Also it looks like you've been adjusting USE in make.conf which is not a good idea. See if you can reduce its contents and put whatever is necessary in package.use. Of course there will be some flags in USE in make.conf, but you should not put package specific flags there.

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