Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136208 - emerge INFO messages logged with ELOG end with extra newline
Summary: emerge INFO messages logged with ELOG end with extra newline
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: Low trivial (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 136214 (view as bug list)
Depends on:
Blocks: 136244 137445
  Show dependency tree
 
Reported: 2006-06-09 09:45 UTC by Vlastimil Babka (Caster) (RETIRED)
Modified: 2006-06-20 18:07 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 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-06-09 09:45:56 UTC
Observed with PORTAGE_ELOG_SYSTEM="custom" and PORTAGE_ELOG_COMMAND being just a script which takes the $LOGFILE and appends it to global logfile. All INFO messages are separated with extra newline, WARN messages not.

I think the problem lies in /usr/lib/portage/bin/isolated-functions.sh where einfo() adds newline and calls einfon() which doesnt happen with ewarn and others. 

Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r9-perfctr i686)
=================================================================
System uname: 2.6.16-gentoo-r9-perfctr i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.1
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -msse3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -msse3 -pipe"
DISTDIR="/usr/portage-distfiles"
FEATURES="autoconfig ccache confcache distlocks parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="en_US.utf8"
LINGUAS="en cs"
PKGDIR="/usr/portage-packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/java-experimental /usr/local/overlays/java-migration /usr/local/overlays/java-migration-packages /usr/local/overlays/caster"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X aac alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cdr cjk cli crypt cups curl directfb dlloader dri dts dvd dvdr eds emboss encode esd fam fbcon ffmpeg fftw firefox flac foomaticdb fortran gdbm ggi gif gpm gstreamer gtk gtk2 hal icq idn imlib ipv6 isdnlog java javascript jpeg kde kdeenablefinal lcms libcaca libg++ libwww lm_sensors lua lzo mad matroska mikmod mmx mmxext motif mozcalendar mozdevelop mozilla moznoirc mozsvg mp3 mpeg ncurses nls nptl nsplugin nvidia ogg openal opengl oscar pam pcre pdf pdflib perl png pppd python qt qt4 quicktime readline reflection rtc sdl session slang sockets speex spell spl sse sse2 ssl svg svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis xml xml2 xorg xosd xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_en linguas_cs userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_fbdev video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-06-09 11:25:46 UTC
*** Bug 136214 has been marked as a duplicate of this bug. ***
Comment 2 Zac Medico gentoo-dev 2006-06-12 16:23:34 UTC
This is fixed in svn r3501.
Comment 3 Zac Medico gentoo-dev 2006-06-16 10:01:58 UTC
This has been released in 2.1.1_pre1.