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

2006-09-25 Thread Philip Webb
060925 Richard Fish wrote:
> On 9/25/06, Philip Webb <[EMAIL PROTECTED]> wrote:
> Can either of you post your make.conf please?

You asked (smile):

# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-src/portage/cnf/make.conf.x86,v 1.5 2004/10/10 
23:27:28 carpaski Exp $
# Contains local system settings for Portage system

# Please review 'man make.conf' for more information.

# PP 031116

CLEAN_DELAY=10

# Build-time functionality
# 
#
# The USE variable is used to enable optional build-time functionality. For
# example, quite a few packages have optional X, gtk or GNOME functionality
# that can only be enabled or disabled at compile-time. Gentoo Linux has a
# very extensive set of USE variables described in our USE variable HOWTO at
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1
#
# The available list of use flags with descriptions is in your portage tree.
# Use 'less' to view them:  --> less /usr/portage/profiles/use.desc <--
#
# 'ufed' is an ncurses/dialog interface available in portage to make handling
# useflags for you. 'emerge app-portage/ufed'
#
# Example:
#USE="X gtk gnome -alsa"

# PP 041110 : suppress dft use flags fr  /etc/make.profile/make.defaults :
#  sound (alsa arts avi encode esd mad mikmod oggvorbis oss quicktime xmms)
#  sql (berkdb libg++ mysql postgres) f77 nls
# PP 050501 : '-alsa' added for Gnomelib
# PP 050831 : '-vorbis' added for Mplayer
# PP 050905 : 'usb' added for scanner
# PP 050906 : '-flac -mp3 -ogg -sox' added to remove further sound
# PP 050910 : 'nvidia' added for Nvidia
# PP 051119 : 'pop' added for Mutt
# PP 051204 : '-gnome' added for efficiency
# PP 060320 : 'fam' added for Gamin

#USE="fam nvidia pop usb -alsa -arts -avi -berkdb -encode -esd -flac -f77
# -gnome -libg++ -mad -mikmod -mp3 -mysql -nls -ogg -oss -postgres
# -quicktime -sox -vorbis -xmms"

# PP 060507 : reorg'd using 2006.0 & "-*"
# PP 060603 : drop 'pam'
# PP 060701 : add 'nptl nptlonly' for glibc-2.4
# PP 060702 : chg 'qt' -> 'qt3' ('qt' ~ longer valid)
# PP 060705 : drop 'mozilla'
USE="-* apm bitmap-fonts bonobo bzip2 cdr crypt cups dri foomaticdb
 gdbm gif gnutls gpm gtk gtk2 imagemagick imlib java javascript jpeg kde
 libwww lm_sensors mime motif mpeg ncurses nptl nptlonly
 nsplugin nvidia opengl pcre pdf perl plotutils png pop python
 qt3 readline scanner session slang ssl
 tiff truetype truetype-fonts type1-fonts unicode usb X xml xv zlib"

# PP 060915 : add 2 lines for mod-X
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="nv nvidia vesa"

# Host Setting
# 
#
# Change this line as appropriate (i686, i586, i486 or i386).
# All modern systems (even Athlons) should use "i686-pc-linux-gnu".
# All K6's are i586.
CHOST="i686-pc-linux-gnu"

# Host and optimization settings
# ==
#
# For optimal performance, enable a CFLAGS setting appropriate for your CPU.
#
# Please note that if you experience strange issues with a package, it may be
# due to gcc's optimizations interacting in a strange way. Please test the
# package (and in some cases the libraries it uses) at default optimizations
# before reporting errors to developers.
#
# -mcpu= means optimize code for the particular type of CPU without
# breaking compatibility with other CPUs.
#
# -march= means to take full advantage of the ABI and instructions
# for the particular CPU; this will break compatibility with older CPUs (for
# example, -march=athlon-xp code will not run on a regular Athlon, and
# -march=i686 code will not run on a Pentium Classic.
#
# CPU types supported in gcc-3.2 and higher: athlon-xp, athlon-mp,
# athlon-tbird, athlon, k6, k6-2, k6-3, i386, i486, i586 (Pentium), i686
# (PentiumPro), pentium, pentium-mmx, pentiumpro, pentium2 (Celeron),
# pentium3, and pentium4.
#
# Note that Gentoo Linux 1.4 and higher include at least gcc-3.2.
#
# CPU types supported in gcc-2.95*: k6, i386, i486, i586 (Pentium), i686
# (Pentium Pro), pentium, pentiumpro Gentoo Linux 1.2 and below use gcc-2.95*
#
# CRITICAL WARNINGS: ** #
# K6 markings are deceptive. Avoid setting -march for them. See Bug #24379. #
# Pentium-M CPU's should not enable sse2 until at least gcc-3.4. Bug 50616. #
# * #
#
# Decent examples:
#
#CFLAGS="-march=pentium3 -O3 -pipe"
#CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CFLAGS="-O2 -march=athlon-xp -pipe" # PP 031008

# If you set a CFLAGS above, then this line will set your default C++ flags to
# the same settings.
CXXFLAGS="${CFLAGS}"

# Advanced Masking
# 
#
# Gentoo is using a new masking system to allow for easier stability testing
# on packages. KEYWORDS are used in ebuilds to mask and unmask packages based
# on the platform they are set for. A special form has been added that
# indicates packages and revis

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

2006-09-25 Thread Richard Fish

On 9/25/06, Philip Webb <[EMAIL PROTECTED]> wrote:

This looks like a bug in the new version of Portage.
Perhaps someone should report it: it's not a high priority for me.


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?

-Richard
--
gentoo-user@gentoo.org mailing list



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

2006-09-25 Thread Philip Webb
060925 Richard Fish wrote:
> On 9/25/06, Marc Blumentritt <[EMAIL PROTECTED]> 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.
> What does "grep PORT_LOGDIR /etc/make.conf*" report?

there are  2  logging procedures in the latest  make.conf.example :

  # PORT_LOGDIR is the location where portage will store all the logs it
  # creates from each individual merge. They are stored as -$PF.log
  # in the directory specified. This is disabled until you enable it by
  # providing a directory. Permissions will be modified as needed IF the
  # directory exists, otherwise logging will be disabled.  is the
  # increment at the time the log is created. Logs are thus sequential.
  #PORT_LOGDIR=/var/log/portage

and (both are edited to shorten lines)

  # PORTAGE_ELOG_CLASSES: selects msgs to be logged, possible values are:
  #   info, warn, error, log
  #   Warning: commenting this will disable elog
  PORTAGE_ELOG_CLASSES="warn error log"

  # PORTAGE_ELOG_SYSTEM: selects the module(s) to process the log messages.
  #   Modules included in portage are (empty means logging is disabled):
  #save (saves one log per package in $PORT_LOGDIR/elog,
  #  /var/log/portage/elog if $PORT_LOGDIR is unset)
  #custom (passes all messages to $PORTAGE_ELOG_COMMAND)
  #syslog (sends all messages to syslog)
  #mail (send all messages to the mailserver defined
  #  in $PORTAGE_ELOG_MAILURI)
  #To use elog you should enable at least one module
  #PORTAGE_ELOG_SYSTEM="save mail"

'logdir' used to be populated with lines like

  4332-portage-2.1.1.log
  4333-portage-2.1-r2.log
  4333-portage-2.1.1.log

but since those for update to Portage 2.1.1 , no more have appeared.

'elog' creates lines like

  app-admin:gkrellm-2.2.9-r1:20060923-012928.log
  app-arch:gzip-1.3.5-r8:20060923-011035.log
  app-arch:gzip-1.3.5-r9:20060923-011012.log
  app-arch:zip-2.31-r1:20060923-04.log

which used to be dropped in a subdir 'elog', but now appear in $PORT_LOGDIR .

Yes, I do still have the appropriate lines in my working  make.conf .

This looks like a bug in the new version of Portage.
Perhaps someone should report it: it's not a high priority for me.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



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

2006-09-25 Thread Richard Fish

On 9/25/06, Marc Blumentritt <[EMAIL PROTECTED]> wrote:

Hi,

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.


What does "grep PORT_LOGDIR /etc/make.conf*" report?

-Richard
--
gentoo-user@gentoo.org mailing list



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

2006-09-25 Thread Neil Bothwick
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/


-- 
Neil Bothwick

"Give me Liberty, fries, and two cokes to go!" "*CUT!*"


signature.asc
Description: PGP signature


[gentoo-user] elog saves messages in wrong folder

2006-09-25 Thread Marc Blumentritt
Hi,

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.

I'm using a self-made profile. Could this be a problem?


Cheers
Marc



emerge --info
Portage 2.1.1 (!../usr/portage/profiles/epios/2005.01.smp, gcc-4.1.1,
glibc-2.4-r3, 2.6.15-epios-r100 i686)
=
System uname: 2.6.15-epios-r100 i686 VIA Nehemiah
Gentoo Base System version 1.12.5
Last Sync: Sun, 24 Sep 2006 11:20:02 +
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python: 2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
dev-util/confcache:  [Not Present]
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-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=c3-2 -Os -fomit-frame-pointer -pipe -msse -mmmx -mfpmath=sse"
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
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild
/etc/terminfo"
CXXFLAGS="-march=c3-2 -Os -fomit-frame-pointer -pipe -msse -mmmx
-mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch
sandbox sfperms strict userpriv"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://distfiles.gentoo.org "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="de us"
MAKEOPTS="-j2"
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/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/my_ebuilds /usr/local/portage/epios
/usr/portage/local/layman/gentoo-de"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 16bit X a52 aac accessibility acpi alsa apm audiofile avi
bash-completion berkdb bitmap-fonts browserplugin bzip2 bzlib caps cddb
cdio cdparanoia cdr cjk cle266 cli crypt curl dbus dga directfb
divx4linux dlloader dri dts dv dvb dvd dvdr dvdread dxr3 elibc_glibc
emboss encode expat ext-doc ext-dvi ext-lyx ext-man ext-openoffice
ext-pdf ext-ppt ext-ps ext-rtf ext-tex ext-xls fbcon ffmpeg flac fortran
gd gdbm gif gnutls gphoto2 gstreamer hal ieee1394 imagemagick imlib
input_devices_keyboard input_devices_mouse isdnlog java javascript
joystick jpeg kernel_linux lcd lcms libcaca libg++ libwww linguas_de
linguas_us lirc lirc_devices_imon live lm_sensors logitech-mouse mad
matroska mikmod mmx mng motif mp3 mpeg mplayer musepack musicbrainz
mysql mysqli mythtv ncurses nls nocd nptl nptlonly nsplugin ogg
oggvorbis opengl pam pcre pdflib perl php png pppd python qt qt3 qt4
quicktime readline real reflection sdl session skey slang smp sndfile
snmp speex spell spl sse ssl streamzap subversion svg tcltk tcpd tetex
theora threads tidy tiff transcode truetype truetype-fonts type1-fonts
udev unichrome unichromepro unicode usb userland_GNU userlocales v4l
v4l2 vcd vdr verbose video_cards_via vidix vlm vorbis wifi win32codecs
wmf xanim xattr xcomposite xine xinerama xml xorg xv xvid xvmc zeroconf
zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

-- 
gentoo-user@gentoo.org mailing list