Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264806 - sys-apps/portage: after packages are skipped by emerge --keep-going -e @system, there's no way to automatically resume skipped packages afterwards
Summary: sys-apps/portage: after packages are skipped by emerge --keep-going -e @syste...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
Depends on:
Blocks: 373807
  Show dependency tree
Reported: 2009-04-03 22:14 UTC by Pacho Ramos
Modified: 2022-09-09 05:24 UTC (History)
3 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2009-04-03 22:14:35 UTC
I have suffered this problem:
1. emerge -e system
2. A package failed, then, a lot of others were skipped
3. Just after all emerge -e system ends, I tried to run emerge --resume, but it was unable to resume packages skipped previously. Then, I needed to check /var/log/portage/elog/summary.log for re-emerging skipped packages manually

Thanks :-)

Portage (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-tuxonice-r8 i686)
System uname: Linux-2.6.28-tuxonice-r8-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-glibc2.0
Timestamp of tree: Fri, 03 Apr 2009 21:30:16 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
LINGUAS="es es_ES en_US"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
USE="X a52 aac acl acpi aim alsa amr ape asf audiofile avahi avi banshee bash-completion bcmath bonobo bzip2 bzlib cairo caps cdb cdda cddb cdparanoia cdr cdrparanoia cleartype cli consolekit cpdflib cracklib cross crypt css cups curl curlwrappers daap dbus dirac divx4linux djvu dts dv dvb dvd dvdr dvdread dvi eds encode epiphany escreen evo exif fam fbcon fbsplash ffmpeg flac foomaticdb fortran ftp fuse galago gb gcj gd gif gimp gimpprint git glitz glut glx gmp gnome gnome-keyring gphoto2 gpm gsm gstreamer gtk gtk2 guile hal iconv id3tag imagemagick imlib ipv6 isdnlog jabber jack java java6 jikes jpeg kdeenablefinal kdehiddenvisibility kpathsea laptop latex lcms lesstif libnotify lm_sensors logrotate lzma mac mad mbox midi mikmod mime ming mmap mmx mmxext mng modplug mono moonlight motif mp3 mpeg mpi mplayer mudflap musepack musicbrainz nas nautilus ncurses nethack network networkmanager nls nocd nptl nptlonly ntfs nvidia ogg oggvorbis openal opengl openmp opnegl pam pango pch pcmcia pcre pdf pdflib perl png pnp posix ppds pppd python qt qt3 qt4 quicktime raw readline reflection reiserfs rpm rtc scanner schroedinger scrobbler sdl session slang slp smp sndfile sockets sourceview speex spell spl sse sse2 sse3 ssl startup-notification subversion svg sysfs syslog t1lib tcltk tcpd tga theora threads tiff timidity tk truetype trusted unicode usb userlocales v4l2 vcd videos vim vorbis webkit wifi win32codecs wma wmf wxwindows x86 xattr xcb xcomposite xft xine xml xmp xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"

Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2021-02-22 01:25:46 UTC
Yes, there is no way to automatically resume skipped packages. Maybe something based on timestamps could work well.
Comment 2 Nikita Zlobin 2022-09-09 05:24:55 UTC
Resume list change may happen due to dependency check on resume, which may be inhibited by --resume --nodeps combo.

And though I did not yet have chance to check, this also has chance to prevent unexpected list reordering and skips (also good side - I suspect you probably could write arbitrary merge sequence in /var/cache/edb/mtimedb without worrying about list invalidity).