Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927831 - emerge --emptytree does not play nicely with --keep-going
Summary: emerge --emptytree does not play nicely with --keep-going
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-25 20:50 UTC by Nowa Ammerlaan
Modified: 2024-03-25 20:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nowa Ammerlaan gentoo-dev 2024-03-25 20:50:02 UTC
For the profile upgrade I've been recompiling with --emptytree as per the instructions in the news item. On my second system I decided to add --keep-going to the command to speed up the overall process.

As expected there was some failure (re-emerge ~2.5k ebuilds and there is bound to be a failure or two). However, instead of continuing on emerge complains that it cannot resolve dependencies. Now the failure is in some leaf package in my local overlay that is not a dependency of anything, so in principle emerge should be able to continue with everything else, skipping the failed leaf package.

Calculating dependencies... done!
Dependency resolution took 12.06 s.

* One or more packages are either masked or have missing dependencies:
*
*   dev-qt/qtcore:5/5.15.12= pulled in by:
*     (sci-visualization/gnuplot-5.4.10-2:0/0::gentoo, installed)
*
*   dev-qt/qtgui:5/5.15.12= pulled in by:
*     (sci-visualization/gnuplot-5.4.10-2:0/0::gentoo, installed)
*
*   >=media-libs/libmpeg2-0.5.1-r2[abi_x86_32(-),abi_x86_64(-)] pulled in by:
*     (media-plugins/gst-plugins-mpeg2dec-1.22.3-1:1.0/1.0::gentoo, binary scheduled for merge)
*
*   x11-libs/gtk+:2[abi_x86_32,cups] pulled in by:
*     (games-util/steam-client-meta-0-r20231231-1:0/0::steam-overlay, binary scheduled for merge)
*
*   x11-libs/gtk+:2[abi_x86_32] pulled in by:
*     (games-util/steam-launcher-1.0.0.79-1:0/0::steam-overlay, binary scheduled for merge)
*
*   >=x11-libs/wxGTK-3.0.4-r301:3.2-gtk3/3.2-gtk3=[gstreamer,libnotify,opengl,sdl,tiff,X] pulled in by:
*     (dev-python/wxpython-4.2.1-1:4.0/4.0::gentoo, binary scheduled for merge)
*
*   >=dev-libs/libdbusmenu-0.6.2[gtk,abi_x86_32(-),abi_x86_64(-)] pulled in by:
*     (dev-libs/libappindicator-12.10.0-r203-1:2/2::steam-overlay, binary scheduled for merge)
*
*   x11-libs/gtk+:2[abi_x86_32(-),abi_x86_64(-)] pulled in by:
*     (dev-libs/libappindicator-12.10.0-r203-1:2/2::steam-overlay, binary scheduled for merge)
*
*   >=x11-libs/gtk+-2.18:2[abi_x86_32(-),abi_x86_64(-)] pulled in by:
*     (dev-libs/libindicator-12.10.1-r201-1:0/0::gentoo, binary scheduled for merge)
*
* The resume list contains packages that are either masked or have
* unsatisfied dependencies. Please restart/continue the operation
* manually, or use --skipfirst to skip the first package in the list and
* any other packages that may be masked or have missing dependencies.

The second annoying thing was that this failed attempt at `--keep-going` replaces the resume list. So this 'emerge --empty-tree' cannot be resumed either. Whereas on my first system that I upgraded to the 23.0 profiles I could use `--resume` just fine, but there I did not use `-keep-going`.
Comment 1 Nowa Ammerlaan gentoo-dev 2024-03-25 20:51:02 UTC
andrew@andrew-gentoo-laptop ~ % emerge --info
Portage 3.0.63 (python 3.10.13-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-13, glibc-2.39-r2, 6.7.10-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.7.10-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-10510U_CPU_@_1.80GHz-with-glibc2.39
KiB Mem:    16234908 total,    336836 free
KiB Swap:   10485756 total,   1384636 free
Timestamp of repository gentoo: Sun, 24 Mar 2024 14:04:45 +0000
Head commit of repository gentoo: d0102c79ed8ccba02593eaa200acb549ef973cd5

Timestamp of repository guru: Sun, 24 Mar 2024 09:48:38 +0000
Head commit of repository guru: fd2b6157b8bf4bd36079c065a7841fe9d3b2668f

Timestamp of repository kde: Thu, 21 Mar 2024 15:48:49 +0000
Head commit of repository kde: e9594ba2548659618744802bba648288379244ac

Timestamp of repository natinst: Tue, 12 Mar 2024 05:18:46 +0000
Head commit of repository natinst: b518a6fe0288cafbb7efb54df2612a74f92e709f

Timestamp of repository qt: Sat, 23 Mar 2024 13:48:18 +0000
Head commit of repository qt: 7d6e43e1727b49ebbedd4a5ce1e9da9dff44eacf

Timestamp of repository science: Sun, 24 Mar 2024 09:48:40 +0000
Head commit of repository science: 2cb7bdd495a5e4e5d5d9b69f9a55e674986f569b

Timestamp of repository steam-overlay: Sun, 24 Mar 2024 09:48:29 +0000
Head commit of repository steam-overlay: 4db06d32f72ef46e43a840483a96d71f239c3bfd

sh dash 0.5.12
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.0::gentoo
dev-build/libtool:         2.4.7-r3::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust:             1.76.0-r1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.4::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.2::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.2::gentoo
sys-kernel/linux-headers:  6.7::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r2::gentoo
Repositories:

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

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

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

localrepo
location: /home/andrew/Git/localrepo
masters: gentoo guru
volatile: True

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

qt
location: /var/db/repos/qt
sync-type: git
sync-uri: https://github.com/gentoo-mirror/qt.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

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

Binary Repositories:

binhost
priority: 9999
sync-uri: https://ftp.snt.utwente.nl/pub/os/linux/gentoo/releases/amd64/binpackages/23.0/x86-64-v3

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=skylake -mtune=skylake -flto=8"
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/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O3 -pipe -march=skylake -mtune=skylake -flto=8"
DISTDIR="/home/andrew/NAS/distfiles"
EMERGE_DEFAULT_OPTS="--ask --ask-enter-invalid --alert --jobs=8 --load-average=8 --binpkg-changed-deps=n --binpkg-respect-use=y --usepkg --usepkg-exclude-live"
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="-O3 -pipe -march=skylake -mtune=skylake -flto=8"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature binpkg-signing buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch parallel-install pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O3 -pipe -march=skylake -mtune=skylake -flto=8"
GENTOO_MIRRORS="https://ftp.snt.utwente.nl/pub/os/linux/gentoo https://mirror.leaseweb.com/gentoo/ https://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
MAKEOPTS="-j8 -l8"
PKGDIR="/home/andrew/NAS/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
SHELL="/bin/zsh"
USE="X a52 aac accessibility acl acpi activities addc ads alsa amd64 apparmor appindicator appstream avahi bash-completion bluetooth bluray branding bzip2 cairo caps cdda cdr cdrom cet colord crypt cups dbus declarative dist-kernel dracut dri drm dts dvd dvdr efi emoji encode epub exif fdk ffmpeg firmware flac flatpak fontconfiggamepad gdbm geoclue geolocation gif git gles2 gpg gpm gssapi gstreamer gtk gtk3 gtk4 gui hunspell ibus iconvicu id3tag idn iptables ipv6 jpeg json jumbo-build kaccounts kde kdesu keyring kf6compat kmod kms kwallet latex lcms ldap libass libnotify libtirpc lm-sensors lto lz4 lzma lzo mad matroska mkl mng modemmanager modules-sign mp3 mp4 mpeg mpris mtp multilib ncurses networkmanager nftables nls nsplugin nvme ogg openal opencl openglopenmp opus pam pango pcre pcsc-lite pdf pipewire pkcs11 pkcs7 plasma plymouth png policykit ppds projectm pulseaudio qml qsv qt5 qt6 readline realtime samba scanner screencast sdl seccomp secureboot semantic-desktop share smartcard snap sound speex spell ssl startup-notification svg systemd taglib tbb telemetry test-rust theora thumbnail tiff tpm tremor truetype udev udisks uefi ukify unicode upower usb v4l vaapi verify-sig vlc vorbisvtk vulkan wayland widgets wifi wxwidgets x264 x265 xattr xcb xft xinerama xml xrandr xv xvid zeroconf zlib zsh-completion zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US en-GB nl nl-NL en-NL" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolverwiki-publisher" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11 python3_12 pypy3" RUBY_TARGETS="ruby33" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaosaccount"
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, LEX, 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