Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127585 - Processing .INFO errors during emerge
Summary: Processing .INFO errors during emerge
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks: 115839
  Show dependency tree
 
Reported: 2006-03-25 18:54 UTC by Alex
Modified: 2006-04-21 14:54 UTC (History)
1 user (show)

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


Attachments
kludge to stop the error (invalid-log.patch,1.23 KB, patch)
2006-04-20 06:29 UTC, Patrick Avery
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2006-03-25 18:54:39 UTC
Several packages (many, but I don't remember which ones) give the error: !!! can't process invalid log file: .INFO. This doesn't cause emerge to exit, but it does appear after it is merged or merged to world.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2006-03-25 19:22:46 UTC
The only thing that could cause this is if EBUILD_PHASE is unset/empty when elog_base is called, and that shouldn't be able to happen (also can't confirm it here).
Please provide the following information:
- output of: emerge --info
- output of: emerge --info -v | grep ELOG
- wether you use a portage bashrc (if you don't know what that means the answer is no)
Comment 2 Alex 2006-03-25 19:25:31 UTC
emerge --info:

Portage 2.1_pre7 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.16-nitro-git7 i686)
=================================================================
System uname: 2.6.16-nitro-git7 i686 AMD Athlon(tm) 64 Processor 3300+
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.91.0.6, 2.16.91.0.7
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -ftracer -fweb -frename-registers -fomit-frame-pointer -mfpmath=sse -fno-ident -freorder-blocks-and-partition"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe -ftracer -fweb -frename-registers -fomit-frame-pointer -mfpmath=sse -fno-ident -freorder-blocks-and-partition -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-Bdirect -Wl,-hashvals -Wl,-zdynsort"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/emission-guide /usr/local/overlays/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow X a52 alsa apm avi bash-completion beagle berkdb bitmap-fonts cairo cli crypt ctype cups dba dbus dri dvd eds emboss encode esd expat fam fastbuild firefox flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glibc-omitfp glitz gnome gpm gstreamer gtk gtk2 hal imlib inotify ipv6 java jpeg kde libg++ libnotify libsexy libwww mad memlimit mikmod mmext mmx mono motif mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg opengl oss pam pcre pdflib perl png posix python qt quicktime readline sdl session simplexml soap sockets spell spl sqlite sqlite3 sse sse2 ssl tcpd theora tokenizer truetype truetype-fonts type1-fonts udev vorbis win32codecs xml xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LINGUAS, MAKEOPTS

emerge --info -v | grep ELOG:

PORTAGE_ELOG_CLASSES="warn error log info"
PORTAGE_ELOG_SYSTEM="save"

/etc/portage/bashrc:

case ${CATEGORY}/${PN} in
        "x11-libs/libXfont")
                export LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-hashvals -Wl,-zdynsort"
                ;;
        "dev-lang/nasm")
                export CFLAGS="${CFLAGS} -fno-force-addr"
                ;;
esac

Comment 3 Martin 2006-04-01 08:00:55 UTC
Same for me. Already happend several times, probably most time unnoticed since it silently scolls away. Last time happened after emerging net-mail/vpopmail-5.4.13.

emerge --info:

Portage 2.1_pre7-r3 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.12 .5-co-20060108 i686)
=================================================================
System uname: 2.6.12.5-co-20060108 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE=""
ANT_HOME="/usr/share/ant-core"
ARCH="x86"
AUTOCLEAN="yes"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share /config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/ pref /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/alias /var/qmail/ control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web 2c /etc/env.d"
CVS_RSH="ssh"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISPLAY="192.168.7.1:0.0"
DISTDIR="/usr/portage-dl"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose --nospinner"
EMERGE_WARNING_DELAY="10"
ESPEAKER="192.168.7.1:16001"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms  strict"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://linux.rz.ruhr-u ni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mi rror/ http://mir.zyrianes.net/gentoo/"
G_BROKEN_FILENAMES="1"
HOME="/root"
HOSTNAME="martin-co"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info :/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/info"
INPUT_DEVICES="keyboard mouse"
JAVAC="/opt/sun-jdk-1.4.2.10/bin/javac"
JAVA_HOME="/opt/sun-jdk-1.4.2.10"
JDK_HOME="/opt/sun-jdk-1.4.2.10"
KDEDIRS="/usr"
KERNEL="linux"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="-j2"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-li nux-gnu/2.16.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man::/opt/sun-jdk -1.4.2.10/man:/usr/qt/3/doc/man"
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
OLDPWD="/root"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr /i686-pc-linux-gnu/gcc-bin/3.4.5:/opt/sun-jdk-1.4.2.10/bin:/opt/sun-jdk-1.4.2.10 /jre/bin:/opt/sun-jdk-1.4.2.10/jre/javaws:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/us r/qt/3/bin:/var/qmail/bin:/var/vpopmail/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 ppc64 m68k arm sparc sh mips ia64 alpha ppc-mac os hppa x86"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_ELOG_CLASSES="info warn error log"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_MASTER_PID="6129"
PORTAGE_NICENESS="10"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress  --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d istfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.8"
PWD="/"
PYTHONDOCS="/usr/share/doc/python-docs-2.4.2/html"
PYTHONPATH="/usr/lib/portage/pym"
QMAIL_CONTROLDIR="/var/qmail/control"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
SHELL="/bin/bash"
SHLVL="1"
SSH_CLIENT="192.168.7.1 1513 22"
SSH_CONNECTION="192.168.7.1 1513 192.168.7.2 22"
SSH_TTY="/dev/pts/2"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
USE="x86 3dnow 3dnowext X apache2 apm arts avi bash-completion berkdb bitmap-fon ts bzip2 cairo cli crypt ctype dba doc emboss encode esd expat fastbuild foomati cdb force-cgi-redirect fortran ftp gd gdbm gif gpm gstreamer gtk gtk2 imap imlib  isdnlog java jpeg kde kdeenablefinal libg++ libwww mad maildir memlimit mikmod  mmx mono motif mp3 mpeg mysql ncurses nls nsplugin ogg opengl pam pcre pdflib pe rl php png posix postgres pppd python qt quicktime readline ruby samba session s implexml slang soap sockets spell spl sse ssl subversion tcpd tetex tiff tokeniz er truetype truetype-fonts type1-fonts udev unicode vhosts vorbis xml xmms xsl x v zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userl and_GNU video_cards_none video_cards_dummy"
USER="root"
USERLAND="GNU"
USE_EXPAND="DVB_CARDS ELIBC FCDSL_CARDS FRITZCAPI_CARDS INPUT_DEVICES KERNEL LIN GUAS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN=""
USE_ORDER="env:pkg:conf:defaults"
VIDEO_CARDS="none dummy"
XARGS="xargs -r"
_="/usr/bin/emerge"

emerge --info -v | grep ELOG:

PORTAGE_ELOG_CLASSES="info warn error log"
PORTAGE_ELOG_SYSTEM="save"

not using portage bashrc
Comment 4 Patrick Avery 2006-04-13 06:03:06 UTC
(In reply to comment #1)
> The only thing that could cause this is if EBUILD_PHASE is unset/empty when
> elog_base is called, and that shouldn't be able to happen (also can't confirm
> it here).
> Please provide the following information:
> - output of: emerge --info
> - output of: emerge --info -v | grep ELOG
> - wether you use a portage bashrc (if you don't know what that means the answer
> is no)

I see it here too... there are some ebuilds that don't have this error, others do.

# emerge --info
Portage 2.1_pre7-r5 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 Pentium II (Deschutes)
Gentoo Base System version 1.12.0_pre17
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -mtune=pentium2 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/vim/vimfiles /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -mtune=pentium2 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache collision-protect confcache digest distlocks fixpackages metadata-transfer noinfo parallel-fetch prelink sandbox sfperms strict userlocales userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.datapipe.net/gentoo http://gentoo.mirrored.ca/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
PKGDIR="/usr/portage/packages/latest-i686"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/other-overlays /usr/local/portage/gentoo-php-overlay/portage /usr/local/portage/gentoo-php-overlay/testing"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts automount avi bash-completion berkdb bzip2 cli crypt ctype cups curl dba dlloader dri eds emboss encode esd expat fastbuild fbcon firefox font-server foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gnome gnutls gpgme gpm gstreamer gtk gtk2 hal hardened howl imap imlib isdnlog jpeg ldap libg++ libwww mad mailwrapper mbox md5sum memlimit mikmod mmx motif mp3 mpeg mysql nautilus ncurses nls nntp nptl nptlonly offensive ogg opengl oss pam pcre pdflib perl php pic png pop posix pppd python qdbm quicktime readline samba session simplexml slang smime smtp soap sockets spell spl ssl tcltk tcpd threads tokenizer truetype truetype-fonts type1-fonts udev unicode userlocales utf8 vim vim-pager vim-with-x vorbis winbind xml xmms xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_s3 video_cards_vesa video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS

# emerge --info -v | grep ELOG
PORTAGE_ELOG_CLASSES="info warn error log"
PORTAGE_ELOG_MAILURI="root@localhost localhost"
PORTAGE_ELOG_SYSTEM="save mail"

# ls -l /etc/portage/profile
total 0
Comment 5 Zac Medico gentoo-dev 2006-04-13 20:53:06 UTC
(In reply to comment #1)
> The only thing that could cause this is if EBUILD_PHASE is unset/empty when
> elog_base is called, and that shouldn't be able to happen (also can't confirm
> it here).

I've noticed that there are some einfo and ewarn calls in misc-functions.sh that can account for this.  In those cases, EBUILD_PHASE should be unset because it's not a normal ebuild phase.
Comment 6 Patrick Avery 2006-04-20 06:29:53 UTC
Created attachment 85031 [details, diff]
kludge to stop the error

I'm sure there is a far better way to fix this...
Comment 7 Zac Medico gentoo-dev 2006-04-20 11:08:59 UTC
(In reply to comment #6)
> Created an attachment (id=85031) [edit]
> kludge to stop the error
> 
> I'm sure there is a far better way to fix this...
> 

That's good enough for me.  Thanks for the patch, it's in svn r3178.
Comment 8 Zac Medico gentoo-dev 2006-04-21 14:54:46 UTC
Released in 2.1_pre9-r2.