View previous topic :: View next topic |
Author |
Message |
snowman30 n00b

Joined: 11 Feb 2025 Posts: 17
|
Posted: Wed Jun 04, 2025 12:16 pm Post subject: World update conflicts due to removal of python 3.10 |
|
|
Hi,
I just wanted to update my system via emerge -uDvpN world. Last world-update was several weeks/months ago.
I had python_targets and python_single_targets both set to python3_10.
This is not available anymore and now I can't seem to find any update route, as there are several conflicts, which seem to be all linked to the python3_10 issue.
What I now have is */* PYTHON_TARGETS: -* python3_12 python3_13
*/* PYTHON_SINGLE_TARGET: -* python3_12
But this still results in conflicts. How can I update my system? |
|
Back to top |
|
 |
Banana Moderator


Joined: 21 May 2004 Posts: 2050 Location: Germany
|
Posted: Wed Jun 04, 2025 3:32 pm Post subject: |
|
|
Well, the result of your emerge command is helpful, so please provide. Also the exact emerge command you used and the output of emerge --info
A general advice about the PYTHON_TARGETS, use them only if really needed and only package specific and not globally. _________________ Forum Guidelines
PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Last edited by Banana on Thu Jun 05, 2025 5:47 am; edited 1 time in total |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23540
|
Posted: Wed Jun 04, 2025 3:47 pm Post subject: |
|
|
If your last update was several months ago, why is the system still pinned on python3.10? The Gentoo standard switched to python3.11 on 2023-05-01, and then switched to python3.12 on 2024-06-01. You may need to go back in time and update to a newer python target using an older Portage tree. The exact output of the failure may tell us more. |
|
Back to top |
|
 |
CaptainBlood Advocate


Joined: 24 Jan 2010 Posts: 4071
|
Posted: Wed Jun 04, 2025 5:59 pm Post subject: |
|
|
Just for the sake a completeness, you could try Code: | */* PYTHON_TARGETS: -* python3_11 python3_12
*/* PYTHON_SINGLE_TARGET: -* python3_11 | to check if it raises same set of issues as with configuration reported in OP.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
 |
snowman30 n00b

Joined: 11 Feb 2025 Posts: 17
|
Posted: Sat Jun 07, 2025 7:15 am Post subject: |
|
|
Hi,
Thanks for your answers.
The emerge output was so lengthy, that I couldn't post it here, and even pastebin complained about the length.
So anyway, as suggested, I went back in time and checked out an older portage tree from end of April this year. Currently, I am compiling with
Code: | */* PYTHON_TARGETS: -* python3_10 python3_12 python3_13
*/* PYTHON_SINGLE_TARGET: -* python3_12 |
This seems to work so far, but will still take some time. Eventually, I will remove python3_10, if everything works out.
Will keep you posted. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55326 Location: 56N 3W
|
Posted: Sat Jun 07, 2025 10:23 am Post subject: |
|
|
snowman30,
--depcean will remove orphan packages, including python(s).
It should be part of your update routine. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
snowman30 n00b

Joined: 11 Feb 2025 Posts: 17
|
Posted: Mon Jun 09, 2025 7:09 am Post subject: |
|
|
Current status: I was able to finish a world update (there was a qtwebengine package ) with the old portage tree.
However, there are still a lot of dependency conflicts.
Code: | */* PYTHON_TARGETS: -* python3_12 python3_13
*/* PYTHON_SINGLE_TARGET: -* python3_12
|
emerge -uDvpN world : https://pastebin.com/1CzkWVJu
emerge --info
Code: | Portage 3.0.67 (python 3.13.3-final-0, default/linux/amd64/23.0/split-usr/no-multilib, gcc-14, glibc-2.40-r8, 6.6.38-gentoo x86_64)
=================================================================
System uname: Linux-6.6.38-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700T_CPU_@_2.80GHz-with-glibc2.40
KiB Mem: 16280892 total, 9805140 free
KiB Swap: 1048572 total, 820808 free
sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
distcc 3.4 x86_64-pc-linux-gnu [enabled]
ccache version 4.10.2 [disabled]
app-misc/pax-utils: 1.3.8::gentoo
app-shells/bash: 5.2_p37::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake: 1.17-r1::gentoo
dev-build/cmake: 3.31.5::gentoo
dev-build/libtool: 2.5.4::gentoo
dev-build/make: 4.4.1-r100::gentoo
dev-build/meson: 1.7.0::gentoo
dev-java/java-config: 2.3.4::gentoo
dev-lang/perl: 5.40.2::gentoo
dev-lang/python: 3.10.17::gentoo, 3.12.10::gentoo, 3.13.3::gentoo
dev-lang/rust-bin: 1.85.1::gentoo
dev-util/ccache: 4.10.2-r1::gentoo
llvm-core/clang: 19.1.7::gentoo
llvm-core/lld: 19.1.7::gentoo
llvm-core/llvm: 19.1.7::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/openrc: 0.56::gentoo
sys-apps/sandbox: 2.39::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.12::gentoo (virtual/os-headers)
sys-libs/glibc: 2.40-r8::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://server/gentoo-portage
priority: -1000
volatile: True
sync-rsync-verify-max-age: 24
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 8
sync-rsync-verify-metamanifest: yes
crossdev
location: /usr/local/portage-crossdev
masters: gentoo
priority: 10
volatile: True
Installed sets: @lineage, @openwrt-pre
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE linux-fw-redistributable no-source-code unRAR xgraph linux-firmware raspberrypi-videocore-bin cadsoft-2 NPSL NPSL-0.94 NPSL-0.95 PUEL PUEL-11 PUEL-12"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/fhem /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/sddm/scripts/Xsetup /var/bind /var/lib/fhem"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=skylake -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 distcc 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="de en"
MAKEOPTS="-j20 -l8"
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 acpi alsa amd64 bluetooth bzip2 cdr cet crypt cups dbus dvd elogind fuse gdbm grub iconv ipv6 libtirpc ncurses nls opengl openmp pam pcre policykit powermanagement pulseaudio qt6 readline seccomp split-usr ssl test-rust unicode usb vaapi xattr xinerama 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 avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de en" 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="postgres17" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12 python3_13" QEMU_USER_TARGETS="aarch64 arm" RUBY_TARGETS="ruby32" SANE_BACKENDS="epson epson2" VIDEO_CARDS="intel i965" 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
|
|
|
Back to top |
|
 |
logrusx Advocate


Joined: 22 Feb 2018 Posts: 3057
|
Posted: Mon Jun 09, 2025 6:07 pm Post subject: |
|
|
Just to clarify, you were able to successfully update the system to the end of April?
Two months is not so much time, the update should go smoothly. It's not even two months. Perhaps you have world pollution. Post the contents of your /var/lib/portage/world file.
Also why did you set those python targets?
Best Regards,
Georgi |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55326 Location: 56N 3W
|
Posted: Mon Jun 09, 2025 8:21 pm Post subject: |
|
|
snowman30,
This suggests that your would update wan not as successful as you think.
Code: | WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
dev-python/gpep517:0
(dev-python/gpep517-17:0/0::gentoo, ebuild scheduled for merge) USE="-test" PYTHON_TARGETS="python3_12 python3_13 (-pypy3) (-pypy3_11) -python3_10 -python3_11 (-python3_13t)" conflicts with
>=dev-python/gpep517-16[python_targets_python3_10(-),python_targets_python3_12(-),python_targets_python3_13(-)] required by (dev-python/pyzmq-26.4.0:0/0::gentoo, installed) USE="-debug -drafts -test" PYTHON_TARGETS="python3_10 python3_12 python3_13 (-pypy3) (-pypy3_11) -python3_11"
>=dev-python/gpep517-16[python_targets_python3_10(-),python_targets_python3_12(-),python_targets_python3_13(-)] required by (dev-python/python-lsp-jsonrpc-1.1.2:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_10 python3_12 python3_13 (-pypy3) (-pypy3_11) -python3_11"
>=dev-python/gpep517-16[python_targets_python3_10(-),python_targets_python3_12(-),python_targets_python3_13(-)] required by (dev-python/sphinxcontrib-devhelp-2.0.0:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_10 python3_12 python3_13 (-pypy3) (-pypy3_11) -python3_11"
>=dev-python/gpep517-16[python_targets_python3_10(-),python_targets_python3_12(-),python_targets_python3_13(-)] required by (dev-python/six-1.17.0:0/0::gentoo, installed) USE="-doc -test" PYTHON_TARGETS="python3_10 python3_12 python3_13 (-pypy3) (-pypy3_11) -python3_11 (-python3_13t)"
>=dev-python/gpep517-16[python_targets_python3_10(-),python_targets_python3_12(-),python_targets_python3_13(-)] required by (dev-python/jsonschema-4.23.0:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_10 python3_12 python3_13 (-pypy3) (-pypy3_11) -python3_11"
...
|
To focus a bit ...
Code: | ...
required by (dev-python/jsonschema-4.23.0:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_10 python3_12 python3_13 (-pypy3) (-pypy3_11) -python3_11"
|
Why are things built with PYTHON_TARGETS="python3_10 python3_12 python3_13 ?
That python3_10 should not be there. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
snowman30 n00b

Joined: 11 Feb 2025 Posts: 17
|
Posted: Tue Jun 10, 2025 6:56 am Post subject: |
|
|
To clarify about the recent status:
- portage tree is now again up-to-date
- ran emerge -uDN world
- ran emerge @preserved-rebuild
Code: | grep -ir python_ /etc/portage/*
/etc/portage/package.use/python:*/* PYTHON_TARGETS: -* python3_12 python3_13
/etc/portage/package.use/python:*/* PYTHON_SINGLE_TARGET: -* python3_12
|
Now emerge -uDNpv yields, e.g.,
Code: |
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
dev-python/packaging:0
(dev-python/packaging-25.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" PYTHON_TARGETS="python3_12 python3_13 (-pypy3_11) -python3_11 (-python3_13t) (-python3_14) (-python3_14t)" conflicts with
dev-python/packaging[python_targets_python3_10(-),python_targets_python3_12(-),python_targets_python3_13(-)] required by (dev-python/setuptools-scm-8.2.1:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_10 python3_12 python3_13 -pypy3 (-pypy3_11) -python3_11 (-python3_13t)"
|
Full output: https://pastebin.com/e6NB6QX1
So some packages are still on python3_10 and won't rebuild. Did I miss something? |
|
Back to top |
|
 |
logrusx Advocate


Joined: 22 Feb 2018 Posts: 3057
|
Posted: Tue Jun 10, 2025 7:03 am Post subject: |
|
|
snowman30 wrote: |
So some packages are still on python3_10 and won't rebuild. Did I miss something? |
Yes. You didn't post the contents of your world file.
You can also post the output of
Code: | emerge -pvUdu --backtrack=0 @world |
That might be helpful.
Best Regards,
Georgi |
|
Back to top |
|
 |
snowman30 n00b

Joined: 11 Feb 2025 Posts: 17
|
Posted: Tue Jun 10, 2025 7:33 am Post subject: |
|
|
world
Code: | app-admin/syslog-ng
app-antivirus/clamav
app-arch/p7zip
app-crypt/fcrackzip
app-editors/joe
app-editors/vscodium
app-emulation/qemu
app-emulation/virtualbox
app-emulation/virtualbox-additions
app-emulation/virtualbox-extpack-oracle
app-emulation/virtualbox-guest-additions
app-eselect/eselect-repository
app-forensics/foremost
app-laptop/laptop-mode-tools
app-laptop/tuxedo-drivers
app-misc/binwalk
app-misc/evtest
app-misc/fhem
app-misc/mc
app-misc/mosquitto
app-misc/regionset
app-misc/screen
app-misc/solaar
app-mobilephone/heimdall
app-office/glabels
app-office/libreoffice
app-office/texmaker
app-pda/ideviceinstaller
app-pda/ifuse
app-pda/libimobiledevice
app-pda/usbmuxd
app-portage/cpuid2cpuflags
app-portage/eix
app-portage/gentoolkit
app-text/calibre
app-text/evince
app-text/pdfgrep
app-text/pdftk
cross-armv6j-hardfloat-linux-gnueabi/binutils
cross-armv6j-hardfloat-linux-gnueabi/gcc
cross-armv6j-hardfloat-linux-gnueabi/glibc
cross-armv6j-hardfloat-linux-gnueabi/linux-headers
cross-avr/avr-libc
cross-avr/binutils
cross-avr/gcc
dev-embedded/arduino
dev-embedded/esptool
dev-embedded/platformio
dev-lang/micropython
dev-python/beautifulsoup4
dev-python/dulwich
dev-python/evdev
dev-python/fritzconnection
dev-python/jupyter
dev-python/matplotlib
dev-python/paho-mqtt
dev-python/pandas
dev-python/pip
dev-python/pulsectl
dev-python/spyder
dev-python/svgwrite
dev-python/xmltodict
dev-texlive/texlive-langgerman
dev-texlive/texlive-latexextra
dev-util/android-tools
dev-util/geany
dev-util/meld
dev-util/pkgcheck
dev-util/pkgdev
dev-vcs/gitg
dev-vcs/qgit
dev-vcs/repo
games-arcade/supertux
games-board/pychess
gnome-extra/nm-applet
kde-frameworks/oxygen-icons
lxqt-base/lxqt-meta
lxqt-base/lxqt-panel
mail-client/thunderbird
media-gfx/digikam
media-gfx/freecad
media-gfx/geeqie
media-gfx/gimp
media-gfx/imagemagick
media-gfx/inkscape
media-gfx/lximage-qt
media-gfx/openscad
media-gfx/photoqt
media-gfx/prusaslicer
media-libs/exiftool
media-libs/glyr
media-sound/abcde
media-sound/alsa-utils
media-sound/pulsemixer
media-sound/snapcast
media-video/dvdauthor
media-video/dvdbackup
media-video/ffmpeg
media-video/mediainfo
media-video/projectx
media-video/vlc
net-analyzer/iptraf-ng
net-analyzer/netcat
net-analyzer/nmap
net-analyzer/tcpdump
net-analyzer/traceroute
net-analyzer/vnstat
net-analyzer/wireshark
net-dialup/picocom
net-dns/bind-tools
net-firewall/fwbuilder
net-fs/nfs-utils
net-fs/sshfs
net-ftp/atftp
net-ftp/ftp
net-im/pidgin
net-misc/dhcpcd
net-misc/freerdp
net-misc/iperf
net-misc/ntp
net-misc/openssh
net-misc/rdesktop
net-misc/telnet-bsd
net-misc/tigervnc
net-misc/yt-dlp
net-p2p/qbittorrent
net-p2p/syncthing
net-print/epson-inkjet-printer-escpr
net-print/foomatic-db-ppds
net-print/gutenprint
net-vpn/openvpn
net-vpn/wireguard-tools
net-wireless/aircrack-ng
net-wireless/blueman
net-wireless/iw
net-wireless/wavemon
net-wireless/wpa_supplicant
sci-calculators/galculator
sci-electronics/gerbv
sci-electronics/gspiceui
sci-electronics/kicad-meta
sci-electronics/pulseview
sys-apps/dmidecode
sys-apps/ethtool
sys-apps/hdparm
sys-apps/i2c-tools
sys-apps/lm-sensors
sys-apps/lshw
sys-apps/nvme-cli
sys-apps/pciutils
sys-apps/smartmontools
sys-apps/usbutils
sys-auth/fprintd
sys-boot/grub
sys-boot/syslinux
sys-devel/crossdev
sys-devel/distcc
sys-firmware/intel-microcode
sys-firmware/sigrok-firmware-fx2lafw
sys-fs/android-file-transfer-linux
sys-fs/dosfstools
sys-fs/mtpfs
sys-kernel/gentoo-sources
sys-kernel/gentoo-sources:6.6.38
sys-kernel/linux-firmware
sys-libs/glibc
sys-power/cpupower
sys-power/powertop
sys-process/at
sys-process/cronie
sys-process/lsof
www-client/firefox
x11-apps/xev
x11-apps/xhost
x11-apps/xrandr
x11-base/xorg-server
x11-drivers/xf86-video-intel
x11-misc/sddm
x11-misc/xdotool
x11-plugins/wmbattery
x11-terms/qterminal
|
emerge -pvUdu --backtrack=0 @world
The output is a ~15MB file: https://limewire.com/d/xqetg#zLjFXWXXLF |
|
Back to top |
|
 |
logrusx Advocate


Joined: 22 Feb 2018 Posts: 3057
|
Posted: Tue Jun 10, 2025 7:53 am Post subject: |
|
|
Go through the dev-python packages. If you can't recall why something is in world, deselect it. After that try updating again.
Also I don't think glibc should be in world either.
Also you should not need python targets set. Comment them.
I can't check the output right now.
Best Regards,
Georgi |
|
Back to top |
|
 |
snowman30 n00b

Joined: 11 Feb 2025 Posts: 17
|
Posted: Tue Jun 10, 2025 9:00 am Post subject: |
|
|
The python packages are in there because I need(ed) them.
When I comment out the python target sets, I need to set python 3.12 targets for several packages, as 3.13 is not yet available for them (e.g., platformio and freecad, and then, as a consequence, for several other python packages). But then again, I get the blocking dependency conflicts... |
|
Back to top |
|
 |
logrusx Advocate


Joined: 22 Feb 2018 Posts: 3057
|
Posted: Tue Jun 10, 2025 9:37 am Post subject: |
|
|
Any "there are no ebuilds to satisfy..." in the output with --backtrack=0? Those might give a clue from where the problem comes.
EDIT: Just saw the output. I've given you the wrong command. It should have been capital D, lowercase is for debug, that's why the output is so huge:
Code: | emerge -pvuDU --backtrack=0 @world |
Regarding the commented python targets, keep them commented and add the entries requiring python 3.12 to package use. There's no point to compile everything for 3.12 just becasue a select number of packages. Keep the entries versioned (with = only, not >=) so that you don't forget about them. New versions will either support 3.13 or emerge will throw errors about them. This way you won't forget.
Try again and look for "there are no ebuilds to satisfy..."
Best Regards,
Georgi |
|
Back to top |
|
 |
snowman30 n00b

Joined: 11 Feb 2025 Posts: 17
|
Posted: Tue Jun 10, 2025 11:15 am Post subject: |
|
|
Thanks for looking into it.
Following your suggestion with the 3.12 packages (= only) and currently doing an "emerge -uDN world" |
|
Back to top |
|
 |
logrusx Advocate


Joined: 22 Feb 2018 Posts: 3057
|
Posted: Tue Jun 10, 2025 12:42 pm Post subject: |
|
|
You should have posted emerge output anyway. I migh have been able to spare you some more problems.
Best Regards,
Georgi |
|
Back to top |
|
 |
snowman30 n00b

Joined: 11 Feb 2025 Posts: 17
|
Posted: Wed Jun 11, 2025 3:57 am Post subject: |
|
|
Hi,
after the world update went through, another"emerge -uDvpN world" returns again with dependency conflicts.
Code: | emerge -pvuDU --backtrack=0 @world | results in
Code: | These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 21.82 s (backtrack: 0/0).
[ebuild U ] dev-python/packaging-25.0::gentoo [24.2::gentoo] USE="-test" PYTHON_TARGETS="python3_12 python3_13 (-pypy3_11) -python3_11 (-python3_13t) (-python3_14) (-python3_14t) (-pypy3%) (-python3_10%*)" 162 KiB
[ebuild N ] dev-python/dependency-groups-1.3.1::gentoo USE="-test" PYTHON_TARGETS="python3_13 (-pypy3_11) -python3_11 -python3_12 (-python3_14)" 10 KiB
[ebuild U ] dev-python/pip-25.1.1::gentoo [25.0.1-r1::gentoo] USE="(test-rust) -test" PYTHON_TARGETS="python3_13 (-pypy3_11) -python3_11 -python3_12 (-python3_14)" 9.004 KiB
Total: 3 packages (2 upgrades, 1 new), Size of downloads: 9.176 KiB
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
dev-python/packaging:0
(dev-python/packaging-25.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" PYTHON_TARGETS="python3_12 python3_13 (-pypy3_11) -python3_11 (-python3_13t) (-python3_14) (-python3_14t)" pulled in by
>=dev-python/packaging-25.0[python_targets_pypy3_11(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?,python_targets_python3_13(-)?,python_targets_python3_14(-)?] required by (dev-python/pip-25.1.1:0/0::gentoo, ebuild scheduled for merge) USE="(test-rust) -test" PYTHON_TARGETS="python3_13 (-pypy3_11) -python3_11 -python3_12 (-python3_14)"
^^ ^^^^
(dev-python/packaging-24.2:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_10 python3_12 python3_13 -pypy3 (-pypy3_11) -python3_11 (-python3_13t)" pulled in by
>=dev-python/packaging-24.2[python_targets_python3_10(-),python_targets_python3_12(-),python_targets_python3_13(-)] required by (dev-python/poetry-core-2.1.2:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_10 python3_12 python3_13 -pypy3 (-pypy3_11) -python3_11"
dev-python/packaging[python_targets_python3_10(-),python_targets_python3_12(-),python_targets_python3_13(-)] required by (dev-python/setuptools-scm-8.2.1:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_10 python3_12 python3_13 -pypy3 (-pypy3_11) -python3_11 (-python3_13t)"
dev-python/packaging[python_targets_python3_10(-),python_targets_python3_12(-),python_targets_python3_13(-)] required by (dev-python/ipykernel-6.29.5:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_10 python3_12 python3_13 -pypy3 (-pypy3_11) -python3_11"
>=dev-python/packaging-24.2[python_targets_python3_10(-),python_targets_python3_12(-),python_targets_python3_13(-)] required by (dev-python/setuptools-78.1.0:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_10 python3_12 python3_13 -pypy3 (-pypy3_11) -python3_11 (-python3_13t)"
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.
|
|
|
Back to top |
|
 |
logrusx Advocate


Joined: 22 Feb 2018 Posts: 3057
|
Posted: Wed Jun 11, 2025 6:32 am Post subject: |
|
|
I'm a bit lost here, add --tree to the emerge command and let me see what it says. Also which entries did you add to package.use?
EDIT: actually did you run a depclean? That might solve some of your issues.
Best Regards,
Georgi |
|
Back to top |
|
 |
snowman30 n00b

Joined: 11 Feb 2025 Posts: 17
|
Posted: Wed Jun 11, 2025 3:29 pm Post subject: |
|
|
Yes, I depclean'ed
emerge -pvuDU --backtrack=0 --tree @world
Code: | These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
Dependency resolution took 24.56 s (backtrack: 0/0).
[ebuild U ] dev-python/pip-25.1.1::gentoo [25.0.1-r1::gentoo] USE="(test-rust) -test" PYTHON_TARGETS="python3_13 (-pypy3_11) -python3_11 -python3_12 (-python3_14)" 9.004 KiB
[ebuild N ] dev-python/dependency-groups-1.3.1::gentoo USE="-test" PYTHON_TARGETS="python3_13 (-pypy3_11) -python3_11 -python3_12 (-python3_14)" 10 KiB
[ebuild U ] dev-python/packaging-25.0::gentoo [24.2::gentoo] USE="-test" PYTHON_TARGETS="python3_12 python3_13 (-pypy3_11) -python3_11 (-python3_13t) (-python3_14) (-python3_14t) (-pypy3%) (-python3_10%*)" 162 KiB
Total: 3 packages (2 upgrades, 1 new), Size of downloads: 9.176 KiB
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
dev-python/packaging:0
(dev-python/packaging-25.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" PYTHON_TARGETS="python3_12 python3_13 (-pypy3_11) -python3_11 (-python3_13t) (-python3_14) (-python3_14t)" pulled in by
>=dev-python/packaging-25.0[python_targets_pypy3_11(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?,python_targets_python3_13(-)?,python_targets_python3_14(-)?] required by (dev-python/pip-25.1.1:0/0::gentoo, ebuild scheduled for merge) USE="(test-rust) -test" PYTHON_TARGETS="python3_13 (-pypy3_11) -python3_11 -python3_12 (-python3_14)"
^^ ^^^^
(dev-python/packaging-24.2:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_10 python3_12 python3_13 -pypy3 (-pypy3_11) -python3_11 (-python3_13t)" pulled in by
dev-python/packaging[python_targets_python3_10(-),python_targets_python3_12(-),python_targets_python3_13(-)] required by (dev-python/setuptools-scm-8.2.1:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_10 python3_12 python3_13 -pypy3 (-pypy3_11) -python3_11 (-python3_13t)"
>=dev-python/packaging-24.2[python_targets_python3_10(-),python_targets_python3_12(-),python_targets_python3_13(-)] required by (dev-python/setuptools-78.1.0:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_10 python3_12 python3_13 -pypy3 (-pypy3_11) -python3_11 (-python3_13t)"
dev-python/packaging[python_targets_python3_10(-),python_targets_python3_12(-),python_targets_python3_13(-)] required by (dev-python/ipykernel-6.29.5:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_10 python3_12 python3_13 -pypy3 (-pypy3_11) -python3_11"
>=dev-python/packaging-24.2[python_targets_python3_10(-),python_targets_python3_12(-),python_targets_python3_13(-)] required by (dev-python/poetry-core-2.1.2:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_10 python3_12 python3_13 -pypy3 (-pypy3_11) -python3_11"
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.
|
Would it hurt / make sense to unmerge dev-python/pip and dev-python/packaging? |
|
Back to top |
|
 |
logrusx Advocate


Joined: 22 Feb 2018 Posts: 3057
|
Posted: Wed Jun 11, 2025 3:56 pm Post subject: |
|
|
Well, it doesn't show what I hoped for.
But maybe if you drop the backtrack switch, it could work out a solution? I asked you to include it just because it would cause portage to give up as soon as it hits the first error. Try it and let me know how it goes.
p.s. check your package.accept_keywords for version fixed or obsolete entries.
Best Regards,
Georgi
Last edited by logrusx on Wed Jun 11, 2025 4:01 pm; edited 1 time in total |
|
Back to top |
|
 |
snowman30 n00b

Joined: 11 Feb 2025 Posts: 17
|
Posted: Wed Jun 11, 2025 4:00 pm Post subject: |
|
|
emerge -pvuDU --tree @world
Code: | These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
Dependency resolution took 57.96 s (backtrack: 2/20).
Total: 0 packages, Size of downloads: 0 KiB
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
dev-python/packaging:0
(dev-python/packaging-25.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" PYTHON_TARGETS="python3_12 python3_13 (-pypy3_11) -python3_11 (-python3_13t) (-python3_14) (-python3_14t)" conflicts with
dev-python/packaging[python_targets_python3_10(-),python_targets_python3_12(-),python_targets_python3_13(-)] required by (dev-python/setuptools-scm-8.2.1:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_10 python3_12 python3_13 -pypy3 (-pypy3_11) -python3_11 (-python3_13t)"
.... and many more
|
|
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23540
|
Posted: Wed Jun 11, 2025 4:00 pm Post subject: |
|
|
Never use emerge --unmerge for a situation like this. You could try emerge --ask --depclean --verbose dev-python/packaging dev-python/pip, which will gracefully refuse to continue if these are needed. Targeted depclean can remove things that are held by an explicit world entry, whereas the general emerge --ask --depclean will not. Otherwise, keep following the advice from logrusx.
That first bit of output says setuptools-scm still has python3.10, and as long as it does, packaging needs python3.10 too - and packaging no longer offers python3.10, hence the conflict. |
|
Back to top |
|
 |
snowman30 n00b

Joined: 11 Feb 2025 Posts: 17
|
Posted: Wed Jun 11, 2025 4:08 pm Post subject: |
|
|
Hm.. interesting:
emerge -pv --depclean dev-python/packaging dev-python/pip
Code: | >>> These are the packages that would be unmerged:
dev-python/pip
selected: 25.0.1-r1
protected: none
omitted: none
All selected packages: =dev-python/pip-25.0.1-r1
|
But
equery d dev-python/pip
Code: | * These packages depend on dev-python/pip:
dev-python/jupyter-core-5.7.2 (test ? dev-python/pip[python_targets_pypy3_11(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?,python_targets_python3_13(-)?])
dev-python/rope-1.13.0-r1 (test ? dev-python/pip[python_targets_python3_11(-)?,python_targets_python3_12(-)?,python_targets_python3_13(-)?])
media-gfx/openscad-2024.12.30_pre (test ? dev-python/pip[python_targets_python3_13(-)])
(dev-python/pip[python_targets_python3_12(-)])
(dev-python/pip[python_targets_python3_11(-)])
|
|
|
Back to top |
|
 |
grknight Retired Dev

Joined: 20 Feb 2015 Posts: 2215
|
Posted: Wed Jun 11, 2025 4:12 pm Post subject: |
|
|
snowman30 wrote: | equery d dev-python/pip |
Don't rely on 'equery d' to be smarter than portage because it isn't.
The command here shows what may depend and not actually depend. If portage is offering to depclean, then it is not used in your configuration (assuming you did not place it in the world file via direct emerge selection). |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|