On Wednesday 19 January 2005 15:31, Xavier Neys wrote:
> Alexander Mieland wrote:
> > On Wednesday 19 January 2005 10:39, Xavier Neys wrote:
> >>Regardless of security issues, IMvHO, it is not very clean to copy a
> >>bunch of log files into /etc.
> >>Couldn't the basc ebuild grep /var/log/emerge and dump its result
> >> into ${D}/etc/basc/whatever ?
> >>Just a sample grep that displays the timestamps of the latest gcc
> >>
> >>ebuild: # grep -aE '^[0-9]+: >>> emerge.*sys-devel/gcc-[0-9]|
^[0-9]+:
> >> ::: completed emerge.*sys-devel/gcc-[0-9].*'
> >> ::: /var/log/emerge.log|tail
> >>
> >>-n 2|cut -d':' -f1
> >>
> >>1094033069
> >>
> >>1094033997
> >
> > This doesn't work for me.
>
> What do you mean? Don't your log files look like mines?I think no. But the two timestamps are not from gcc, but from my very last merges (mysql and imagemagick). Simply strip the "| cut" part from this command and you'll see it. > [...] > > Finally I'm so frustrated about these to hard restrictions, that I'm > > thinking I must let the client work in the portage group. > > I'll ask pvdabeel, the maintainer of our project/ebuild, what he is > > thinking about this. > > Whatever but I will not add basc to my portage group. You must not set basc into the portage group. You have to set your user into this group then. > [...] > > I think nobody who has never emerged anything would install basc. > > That was not a theoretical comment. > > > And, btw. if the gcc stats are not in the emerge.log, basc warns > > about it and gives a huge description what to do or not to do then. > > Seen it, ignored it. > I will not emerge gcc on boxes that do not need to emerge it just to > let basc compute a time difference. I simply set GU=0 then you have two options. - unmerging basc ...or - manually adjust your GU on the webpage. This is really no problem. -- http://de.gentoo-wiki.com Alexander Mieland (aka dma147) http://www.gentoo-stats.org Registered Linux-User #249600 http://www.php-programs.de GnuGPG-ID: 209D65B5 http://www.affen-in-not.de www.php-programs.de/dma147.asc
pgpNwJW62MUBk.pgp
Description: PGP signature
