Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52696 - portage-2.0.51_pre9: emerge fails to open and write to emerge.log
Summary: portage-2.0.51_pre9: emerge fails to open and write to emerge.log
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-01 09:47 UTC by Paul Varner (RETIRED)
Modified: 2004-06-03 09:15 UTC (History)
0 users

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


Attachments
Patch to fix opening emerge.log (emerge.patch,479 bytes, patch)
2004-06-01 09:48 UTC, Paul Varner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Varner (RETIRED) gentoo-dev 2004-06-01 09:47:08 UTC
After upgrading to portage-2.0.51_pre9 so I could test and play with it, I discovered that it is no longer writing to /var/log/emerge.log  Running emerge with the --debug option, I noticed that there is a typo in the emergelog function where it checks for the existance of the log file.  I will be attaching a patch.

Reproducible: Always
Steps to Reproduce:
1. emerge =sys-apps/portage-2.0.51_pre9
2. emerge <anything>
3.

Actual Results:  
The reults of the emerge are not logged to /var/log/emerge.log

Expected Results:  
The results should be written to /var/log/emerge.log

Portage 2.0.51_pre9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
Binutils: sys-devel/binutils-2.14.90.0.8-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa arts artswrappersuid avi berkdb cdr crypt cups dvd encode fam
fbcon foomaticdb gdbm gif gpm gtk gtk2 imlib java javascript jpeg kde libg++
libwww mad mbox mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg
ncurses nls nptl oggvorbis opengl pam pda pdflib perl png ppds python qt
quicktime readline sasl sdl slang spell sse ssl svga tcltk tcpd tiff truetype
usb x86 xml2 xmms xv zlib linguas_en"
Comment 1 Paul Varner (RETIRED) gentoo-dev 2004-06-01 09:48:30 UTC
Created attachment 32468 [details, diff]
Patch to fix opening emerge.log
Comment 2 Paul Varner (RETIRED) gentoo-dev 2004-06-03 09:15:04 UTC
Appears to be fixed with portage-2.0.51_pre10