As you can see, I have PORT_LOGDIR="/var/log/portage" set in /etc/make.conf. Knoppix ~ # 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 CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" #ACCEPT_KEYWORDS="~x86" GENTOO_MIRRORS="http://mirrors.usc.edu/pub/linux/distributions/gentoo/ http://mirror.datapipe.net/gentoo/ http://gentoo.chem.wisc.edu/gentoo/" MAKEOPTS="-j3" PORTDIR_OVERLAY="/usr/local/portage" PORT_LOGDIR="/var/log/portage" USE="nptl" However, an emerge --info shows: Knoppix ~ # emerge --info Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3. 20041102-r1, 2.6.12 i686) ================================================================= System uname: 2.6.12 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/shar config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.usc.edu/pub/linux/distributions/gentoo/ http:// rror.datapipe.net/gentoo/ http://gentoo.chem.wisc.edu/gentoo/" LANG="C" LC_ALL="C" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts bzip2 crypt cups eds emboss e ode expat foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 eg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl ogg oggvorbis engl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd t etype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU ke el_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS Does _NOT_ report PORT_LOGDIR as being set, but doesnt warn about it being UNSET, either. Interesting. Also, running env-update does not warn about invalid logdir /var/log/portage not existing, even though it doesnt: Knoppix ~ # ls -al /var/log total 4 drwxr-xr-x 4 root root 176 Feb 12 21:41 . drwxr-xr-x 12 root root 312 Oct 20 12:44 .. -rw-rw---- 1 portage portage 339 Feb 12 21:55 emerge.log -rw-r--r-- 1 root root 0 Oct 19 16:13 lastlog drwxr-xr-x 2 root root 72 Oct 19 16:12 news drwxrwx--- 2 root portage 72 Oct 19 16:40 sandbox -rw-rw-r-- 1 root 43 0 Oct 19 16:13 wtmp Is this a HUGE portage problem, or is it just me? Seems setting a variable in make.conf, at least when PROPERLY set, should at least get picked up somehow. :) Thanks
PORT_LOGDIR is not a vital variable to show up in normal non verbose mode for emerge info. What you want is to use the -v option to get the full info/env. Try: emerge -v info | grep PORT_LOGDIR