


Code: Select all
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether i686-pc-linux-gnu-g77 accepts -g... yes
checking the maximum length of command line arguments..
I'm trying to figure mine out too. I use logrotate to keep down the size and age of my files. It works pretty well, does what it should for sure. Just wish it would rotate my dirty dishes to the dishwasher.XenoTerraCide wrote:can you limit or rotate the logs for elog? the only kind of documentation I find for it is make.conf.example and that's far from being very helpful.
Could you please post your /etc/logrotate.d/[whatever]?dalek wrote:I'm trying to figure mine out too. I use logrotate to keep down the size and age of my files. It works pretty well, does what it should for sure. Just wish it would rotate my dirty dishes to the dishwasher.XenoTerraCide wrote:can you limit or rotate the logs for elog? the only kind of documentation I find for it is make.conf.example and that's far from being very helpful.
/etc/logrotate.d/emerge.logAule wrote:Could you please post your /etc/logrotate.d/[whatever]?
Aule
Code: Select all
/var/log/emerge.log {
size 1000k
monthly
rotate 5
missingok
copytruncate
compress
}

The settings appear to be being used:PORTAGE_ELOG_SYSTEM="save"
PORT_LOGDIR=/var/log/portage
PORTAGE_ELOG_CLASSES="error"
However, in the log file produced I get all the output from the emerge, regardless of what I set PORTAGE_ELOG_CLASSES to.# emerge --info --verbose | grep LOG
HUSHLOGIN="FALSE"
LOGNAME="root"
PORTAGE_ELOG_CLASSES="error"
PORTAGE_ELOG_MAILFROM="portage"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save"
PORT_LOGDIR="/var/log/portage"


Not here, but in a Linux.com article (http://www.linux.com/article.pl?sid=06/08/07/1952207) I saw a link to a thread in these forums on graphical front ends to emerge logs (http://forums.gentoo.org/viewtopic-t-465493.html) Haven't had a chance to look at them yet.Scorpaen wrote:Andrew did you get an answer? I'm looking for this solution, too.
Thanks.
Code: Select all
PORTAGE_ELOG_CLASSES="warn error info" # http://www.gentoo.de/main/de/portage-2.1.xml
PORTAGE_ELOG_SYSTEM="save custom" # save, syslog, mail, custom
PORTAGE_ELOG_COMMAND= # some log-message formating... > /dev/tty11
# if logfile exists....
" if [ -f '\${LOGFILE}' ] ; then
echo -e '\\n\\033[32m'`date '+%d %b - %T:'` '\\033[1;31m''\${PACKAGE}': '\\033[m' > /dev/tty11;
cat \${LOGFILE} | egrep -v '(Running)|(Applying)|(INFO:)|(WARN:)|(^[:space:]*\$)' > /dev/tty11;
exit 0;
fi" # exit with no errors... grep would "exit 1" on no matches

Code: Select all
grep -E 'einfo|ewarn,eerror,elog' /path/to/ebuildCode: Select all
-rw-r--r-- 1 root portage 882 Sep 12 18:33 7137-portage-2.1.1.log
-rw-r--r-- 1 root portage 0 Sep 12 18:33 7138-portage-2.1-r2.log
-rw-r--r-- 1 root portage 534 Sep 12 18:33 7138-portage-2.1.1.log
-rw-r--r-- 1 root portage 123K Sep 14 10:46 app-admin:gnome-system-tools-2.14.0:20060914-173330.log
-rw-r--r-- 1 root portage 464 Sep 14 10:45 app-admin:gnome-system-tools-2.14.0:20060914-174527.log
-rw-r--r-- 1 root portage 14K Sep 14 10:47 app-admin:gnomesu-0.3.1:20060914-174633.log
Code: Select all
* You must re-compile all packages that are linked against
* OpenSSL 0.9.7 by using revdep-rebuild from gentoolkit:
* # revdep-rebuild --library libssl.so.0.9.7
* # revdep-rebuild --library libcrypto.so.0.9.7
* After this, you can delete /usr/lib/libssl.so.0.9.7
* and /usr/lib/libcrypto.so.0.9.7
I knew that -- was just wondering why things changed. Somebody might want to update the /etc/make.config.example file which was included with the 2.1.1 portage update -- which caused the change/problem.Genone wrote:You can still sort the files by date, just use the mtime as sort key (with ls -t for example).
Code: Select all
# PORT_LOGDIR is the location where portage will store all the logs it
# creates from each individual merge. They are stored as NNNN-$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. NNNN is the
# increment at the time the log is created. Logs are thus sequential.
#PORT_LOGDIR=/var/log/portage

Bones McCracker wrote:On the other hand, regex is popular with the ladies.

Bones McCracker wrote:On the other hand, regex is popular with the ladies.