After upgrading to 2.2_rc1 version of portage I noticed that the suspiciously small amount of elog messages is saved during normal system upgrade (emerge -uDN world). Now I absolutely positive that most of them is simply lost. Strange thing about this bug that it doesn't depend on package. After reemerging particular program, I got portage to save elog messages, which it haven't done before, during the upgrade. I tried both "warn error log" and "*" settings for PORTAGE_ELOG_CLASSES. Reproducible: Sometimes Steps to Reproduce: /etc/make.conf: ACCEPT_KEYWORDS="~x86" CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -ftracer -pipe" CXXFLAGS="${CFLAGS}" CHOST="i686-pc-linux-gnu" MAKEOPTS="-j1" SYNC="rsync://server/gentoo-portage/" GENTOO_MIRRORS="ftp://parafin/ http://mirror.yandex.ru/gentoo-distfiles/" PORTAGE_ELOG_CLASSES="*" PORTAGE_ELOG_SYSTEM="save" PORTAGE_NICENESS="1" PORTDIR_OVERLAY="/usr/local/portage" FEATURES="buildpkg ccache fixpackages parallel-fetch" USE="-* X a52 aac acpi adns alsa audiofile bash-completion berkdb bzip2 cairo caps cdparanoia cracklib crypt cscope cups curl dbus djvu dri dts dvb dvd dvdread encode exif expat fam fbcon ffmpeg fftw flac fontconfig foomaticdb ftp gd gdbm gif gpm graphviz gtk gtk2 gtkhtml iconv id3tag idn imagemagick imap imlib ipv6 javascript jpeg lcms libsamplerate mad matroska mmap mmx mng mp3 mpeg ncurses nls nocd nptl nsplugin offensive ogg opengl pam pcre pdf perl pic png ppds pulseaudio python qt3 quicktime readline real ruby sasl sdl session slang sndfile speex spell sse sse2 ssl svg tcl tcltk tcpd theora threads tiff tk truetype unicode usb videos vim-syntax vorbis wifi win32codecs x264 xface xml xosd xpm xv xvid zlib" CCACHE_SIZE="512M" INPUT_DEVICES="evdev" VIDEO_CARDS="i810" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" EMERGE_DEFAULT_OPTS="--with-bdeps y" source /usr/local/portage/layman/make.conf emerge --info: Portage 2.2_rc1 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.24 i686) ================================================================= System uname: Linux-2.6.24-i686-Intel-R-_Pentium-R-_M_processor_1500MHz-with-glibc2.0 Timestamp of tree: Wed, 09 Jul 2008 21:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -ftracer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -ftracer -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="buildpkg ccache distlocks fixpackages parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://parafin/ http://mirror.yandex.ru/gentoo-distfiles/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/alon-barlev /usr/local/portage" SYNC="rsync://server/gentoo-portage/" USE="X a52 aac acpi adns alsa audiofile bash-completion berkdb bzip2 cairo caps cdparanoia cracklib crypt cscope cups curl dbus djvu dri dts dvb dvd dvdread encode exif expat fam fbcon ffmpeg fftw flac fontconfig foomaticdb ftp gd gdbm gif gpm graphviz gtk gtk2 gtkhtml iconv id3tag idn imagemagick imap imlib ipv6 javascript jpeg lcms libsamplerate mad matroska mmap mmx mng mp3 mpeg ncurses nls nocd nptl nsplugin offensive ogg opengl pam pcre pdf perl pic png ppds pulseaudio python qt3 quicktime readline real ruby sasl sdl session slang sndfile speex spell sse sse2 ssl svg tcl tcltk tcpd theora threads tiff tk truetype unicode usb videos vim-syntax vorbis wifi win32codecs x264 x86 xface xml xosd xpm xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I noticed the same thing. Portage 2.2_rc1 (default-linux/amd64/2007.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.25-gentoo-r4-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-glibc2.2.5 Timestamp of tree: Fri, 11 Jul 2008 08:19:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.4.4-r4, 2.5.2-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 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.25-r4 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://194.117.143.72/mirrors/gentoo ftp://194.117.143.69/mirrors/gentoo http://194.117.143.71 http://194.117.143.69" LC_ALL="de_DE@euro" LDFLAGS="" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow X a52 aac acl acpi alsa amarok amd64 arts avi bash-completion berkdb bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emul-linux-x86 encode esd evo fam firefox flac fortran gdbm gif gpm gstreamer gtk hal iconv icq imap ipv6 isdnlog jabber java jpeg jpeg2k kde kerberos ldap mad midi mikmod mmx mp3 mpeg msn mudflap mysql ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl openmp oss pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session smpeg spell spl sse sse2 ssl svg tcpd tetex theora tiff truetype unicode usb vcd vorbis xcomposite xinerama xml xorg xosd xv xvid zlib" ALSA_CARDS="emuk10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev nv vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Same issue here. After doing an emerge -DNuv world tonight, this is the output at the tail end: >>> Install gnome-2.22.3 into /var/tmp/portage/gnome-base/gnome-2.22.3/image/ category gnome-base >>> Completed installing gnome-2.22.3 into /var/tmp/portage/gnome-base/gnome-2.22.3/image/ * checking 0 files for package collisions >>> Merging gnome-base/gnome-2.22.3 to / >>> Safely unmerging already-installed instance... No package files given... Grabbing a set. >>> Original instance of package unmerged safely. * Note that to change windowmanager to metacity do: * export WINDOW_MANAGER="/usr/bin/metacity" * of course this works for all other window managers as well * * The main file alteration monitoring functionality is now * provided by >=glib-2.16. Note that on a modern Linux system * you do not need the USE=fam flag on it if you have inotify * support in your linux kernel ( >=2.6.13 ) enabled. * USE=fam on glib is however useful for other situations, * such as Gentoo/FreeBSD systems. A global USE=fam can also * be useful for other packages that do not use the new file * monitoring API yet that the new glib provides. * * * Add yourself to the plugdev group if you want * automounting to work. * >>> gnome-base/gnome-2.22.3 merged. >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. ~ $ And this is what is in /var/portage/log/elog: ~ # cd /var/log/portage/elog/ elog # ls elog # Nothing there, even though the output is fairly obvious. # cat /etc/make.conf CFLAGS="-O2 -march=prescott -pipe" CXXFLAGS="${CFLAGS}" CHOST="i686-pc-linux-gnu" MAKEOPTS="-j2" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo" SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage" USE="a52 aac aalib artworkextra automount avahi bash-completion beagle cdda \ cddb cjk curl device-mapper epiphany ffmpeg flac gd gnome-keyring \ gnomecd gs gtkhtml guile inotify java keyring libnotify lzma lzo \ mdnsresponder-compat mmx mono nautilus networking nsplugin offensive \ profile reiserfs rtc sse sse2 symlink threads usb utils xattr xulrunner \ xvid -arts -evo -firefox -kde -nptl -qt3 -qt3support -qt4" ACCEPT_KEYWORDS="~x86" FEATURES="-userfetch" PORT_LOGDIR=/var/log/portage PORTAGE_ELOG_CLASSES="info warn error log" PORTAGE_ELOG_SYSTEM="save" LINGUAS="en" VIDEO_CARDS="i810" INPUT_DEVICES="keyboard mouse" ALSA_CARDS="hda-intel" # emerge --info Portage 2.2_rc1 (default/linux/x86/2008.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r6 i686) ================================================================= System uname: Linux-2.6.25-gentoo-r6-i686-Intel-R-_Core-TM-2_CPU_4400_@_2.00GHz-with-glibc2.0 Timestamp of tree: Wed, 16 Jul 2008 23:45:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r5 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo" LANG="en_US" LC_ALL="en_US" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi alsa artworkextra automount avahi bash-completion beagle berkdb bluetooth branding bzip2 cairo cdda cddb cdr cjk cli cracklib crypt cups curl dbus device-mapper dri dvd dvdr dvdread eds emboss encode epiphany esd fam ffmpeg flac fortran gd gdbm gif gnome gnome-keyring gnomecd gpm gs gstreamer gtk gtkhtml guile hal iconv inotify ipv6 isdnlog java jpeg kerberos keyring ldap libnotify lzma lzo mad mdnsresponder-compat midi mikmod mmx mono mp3 mpeg mudflap nautilus ncurses networking nls nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl png ppds pppd profile python quicktime readline reflection reiserfs rtc sdl session spell spl sse sse2 ssl startup-notification svg symlink tcpd threads tiff truetype unicode usb utils vorbis win32codecs x86 xattr xml xorg 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 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
(In reply to comment #0) > After upgrading to 2.2_rc1 version of portage I noticed that the suspiciously > small amount of elog messages is saved during normal system upgrade (emerge > -uDN world). Now I absolutely positive that most of them is simply lost. I've just realized that too. > Strange thing about this bug that it doesn't depend on package. After > reemerging particular program, I got portage to save elog messages, which it > haven't done before, during the upgrade. Yes, it depends what other packages have been merged before (in the same emerge run). I will attach a patch which fixed it for me (made on trunk, but applies cleanly on 2.2_rc1 too).
Created attachment 160815 [details, diff] fix_elog.patch
(In reply to comment #4) > Created an attachment (id=160815) [edit] > fix_elog.patch Thanks, your patch is in trunk r11138.
This is fixed in 2.2_rc2.