Re: [gentoo-user] Re: elog saves messages in wrong folder

2006-09-26 Thread Neil Bothwick
On Tue, 26 Sep 2006 10:08:20 +0200, Marc Blumentritt wrote:

> OK, I checked some of the files in /var/log/portage and it is getting
> stranger! I have both types of log files with the new name format. 2
> examples are attached to this mail (gzipped). Both (genkernel and
> linux-headers) were emerged at the same day in one update of my system.

Portage has always saved two logfiles for each emerge, one with all the
raw output and one with the e* messages. The elog options extract some,
or all depending on your settings, of the information from the the latter
file.


-- 
Neil Bothwick

"Bohtre," said Pooh, as his dyslexia worsened


signature.asc
Description: PGP signature


[gentoo-user] Re: elog saves messages in wrong folder

2006-09-26 Thread Marc Blumentritt
Neil Bothwick schrieb:
> On Mon, 25 Sep 2006 23:47:57 -0400, Philip Webb wrote:
> There's a little confusion here. Portage now saves all package logfiles
> in the latter format. The files you are seeing on $PORT_LOGDIR are
> probably portage logs, not elog output. Have you checked the contents of
> the files? If they contain more than the e* messages you have asked for,
> these are not your ELOG files.

OK, I checked some of the files in /var/log/portage and it is getting
stranger! I have both types of log files with the new name format. 2
examples are attached to this mail (gzipped). Both (genkernel and
linux-headers) were emerged at the same day in one update of my system.

For me, it looks like, that it depends upon chance, which type of log
file will be left on my system (it overwrites the first one, which is
saved).

Any ideas?

Marc



binz4eiUvcuS3.bin
Description: application/gzip


sys-kernel_genkernel-3.4.1_20060924-135307.log.gz
Description: application/gzip


[gentoo-user] Re: elog saves messages in wrong folder

2006-09-26 Thread Marc Blumentritt
Richard Fish schrieb:
> I'm on portage 2.1.2_pre1-r1, and logs are still appearing in
> /v/l/portage/elog/ for me.  So I'm really thinking this behavior will
> only show up with particular make.conf settings.  Can either of you
> post your make.conf please?

Here it is:

cat /etc/make.conf
# These settings were set by the catalyst build script that
automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CHOST="i686-pc-linux-gnu"
#CFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe"
#CFLAGS="-march=i686 -Os -fomit-frame-pointer -pipe -msse -mmmx
-mfpmath=sse"
CFLAGS="-march=c3-2 -Os -fomit-frame-pointer -pipe -msse -mmmx -mfpmath=sse"
CXXFLAGS="${CFLAGS}"
ARCH="x86"
ACCEPT_KEYWORDS="x86"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
#PKGDIR="${PORTDIR}/packages"
PORTDIR_OVERLAY=""
#PORTDIR_OVERLAY="/usr/local/portage/gentoo-de ${PORTDIR_OVERLAY}"
PORTDIR_OVERLAY="/usr/local/portage/epios ${PORTDIR_OVERLAY}"
PORTDIR_OVERLAY="/usr/local/portage/my_ebuilds ${PORTDIR_OVERLAY}"
PORT_LOGDIR="/var/log/portage"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://distfiles.gentoo.org "
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
PORTAGE_RSYNC_RETRIES="3"
RSYNC_TIMEOUT=180
MAKEOPTS="-j2"
PORTAGE_NICENESS=3
AUTOCLEAN="yes"
VIDEO_CARDS="via"
ALSA_CARDS="via82xx"

LINGUAS="de us"

# layman
source /usr/portage/local/layman/make.conf

# Lirc options:
LIRC_DEVICES="imon"

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

FEATURES="ccache distlocks userpriv parallel-fetch -buildpkg"
#FEATURES="ccache distlocks sandbox userpriv usersandbox"
CCACHE_SIZE="2G"
#USE="nptl"
USE="16bit \
-acl -adabas -adns -aim -arts -avantgo \
-bidi -bindist -bluetooth \
-canna -chipcard -cups \
-dba \
expat
fortran -foomaticdb -freewnn \
gdbm -gimp -gimpprint \
-hbci \
-icq -innodb input_devices_keyboard input_devices_mouse -ipv6 -irmc \
-jabber \
-kde -kdepim -kerberos \
-ldap \
-msn mysqli \
nptl nptlonly \
-ofx -openexr \
-pcmcia -pda php -ppds \
-rdesktop \
-samba -sametime -scanner -slp -smartcard \
unichromepro unicode \
vdr verbose video_cards_via -visualization \
win32codecs \
X -xface -xml2 \
-yahoo"

Thanks for the help in advance.
Marc

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: elog saves messages in wrong folder

2006-09-25 Thread Marc Blumentritt
Neil Bothwick schrieb:
> On Mon, 25 Sep 2006 10:47:36 +0200, Marc Blumentritt wrote:
> 
>> on one of my machines elog saves messages in /var/log/portage instead of
>> /var/log/portage/elog ? The funny thing is, that it worked first.
> 
> Does var/log/portage/elog exist? Is it writable by portage?
> 
> $ ls -ld /var/log/portage/elog/
> drwxrws--- 2 portage portage 106616 2006-09-25 00:44 /var/log/portage/elog/

Yes:

ls -ld /var/log/portage/elog/
drwxrws--- 2 portage portage 8192 2006-09-25 09:18 var/log/portage/elog/

Marc




-- 
gentoo-user@gentoo.org mailing list