View previous topic :: View next topic |
Author |
Message |
AlyM n00b
Joined: 02 Sep 2003 Posts: 62 Location: Edinburgh, Scotland
|
Posted: Mon Oct 27, 2003 2:38 pm Post subject: Calculating time for emerge -e world? |
|
|
I was wondering if any knows a quick and easy way of estimating how long an emerge -e world would take (I've been using Gentoo for 6 weeks, and over that time CFLAGS and USE flags have changed, possibly creating some problems for me know I think (by using bad flags somewhere)) based on the portage logs. I know about genlop, but as far as I can tell it can only tell you the time for one package, I need the whole of world + dependicies.
Thank in advance, AlyM. |
|
Back to top |
|
|
skunkworx Guru
Joined: 02 Feb 2003 Posts: 420 Location: Planet Houston
|
Posted: Mon Oct 27, 2003 3:44 pm Post subject: |
|
|
There's probably no real way to accurage calculate how much time it would take to recompile everything. Best you can do is guesstimate based on past experience, and then add a day or two for leeway, especially if your world includes heavyweights like X.
If you want better data, you can start collecting it now by running emerge via the time command. |
|
Back to top |
|
|
Giorgio Tux's lil' helper
Joined: 18 Jan 2003 Posts: 77 Location: Milano, Italy
|
Posted: Mon Oct 27, 2003 10:58 pm Post subject: Re: Calculating time for emerge -e world? |
|
|
AlyM wrote: | I was wondering if any knows a quick and easy way of estimating how long an emerge -e world would take |
Grab the lastes genlop version and run
Code: | emerge -pe world | genlop --pretend
|
_________________ app-portage/genlop
A nice emerge.log parser |
|
Back to top |
|
|
AlyM n00b
Joined: 02 Sep 2003 Posts: 62 Location: Edinburgh, Scotland
|
Posted: Mon Oct 27, 2003 11:55 pm Post subject: |
|
|
Thanks, Giorgio. Am I right in thinking this is your script? If so, it's a very handy tool, cheers.
Anyway, I was just wondering why the latest version in portage is 0.16.3 (there is not even a more recent version masked), but on freshmeat.net I found 0.20.2 (which did the stuff you were talking about, Estimated update time: 1 day, 23 hours, 38 minutes btw). Seeing as this is only of any use to someone using portage I thought the latest n' greatest version would be there.
Thanks again, AlyM. |
|
Back to top |
|
|
kahcepb n00b
Joined: 08 Apr 2003 Posts: 34
|
Posted: Tue Oct 28, 2003 8:18 am Post subject: |
|
|
genlop-0.20.2.ebuild
Code: | # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="A nice emerge.log parser"
HOMEPAGE="http://freshmeat.net/projects/genlop/"
SRC_URI="http://pollycoke.org/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 sparc ~alpha ~ppc"
S=${WORKDIR}/${P}
DEPEND="sys-apps/tar
sys-apps/gzip
dev-perl/Time-Duration"
RDEPEND=">=dev-lang/perl-5.8.0-r10"
RESTRICT="nostrip"
src_install() {
dobin genlop
dodoc README
} |
|
|
Back to top |
|
|
AlyM n00b
Joined: 02 Sep 2003 Posts: 62 Location: Edinburgh, Scotland
|
Posted: Tue Oct 28, 2003 11:28 am Post subject: |
|
|
Sorry, checking bugs.gentoo.org would have been the obvious thing to do for an ebuild, eh? Oh well.
AlyM. |
|
Back to top |
|
|
Giorgio Tux's lil' helper
Joined: 18 Jan 2003 Posts: 77 Location: Milano, Italy
|
Posted: Tue Oct 28, 2003 12:12 pm Post subject: |
|
|
AlyM wrote: | Anyway, I was just wondering why the latest version in portage is 0.16.3 (there is not even a more recent version masked), but on freshmeat.net I found 0.20.2 |
That's what I am asking for a month or so. The bug for the ebuild was opened a month ago and it is still open _________________ app-portage/genlop
A nice emerge.log parser |
|
Back to top |
|
|
kahcepb n00b
Joined: 08 Apr 2003 Posts: 34
|
Posted: Tue Oct 28, 2003 12:48 pm Post subject: |
|
|
Sorry I forgot to check bugzilla (Today's modus operandi: shoot then think ) |
|
Back to top |
|
|
jtp755 l33t
Joined: 01 Sep 2003 Posts: 691 Location: USA
|
Posted: Fri Oct 31, 2003 4:10 pm Post subject: |
|
|
do i just copy and save that script and then jsut type whatever i named the script at the command prompt or in a terminal? Is it nessacery to recompile my system after adding alot of USE flags? i had built it wiht only using the X and the defualt ones but last night i added all the ones i wanted/needed to add. i had read about a system recompile but is it required or a good thing todo? |
|
Back to top |
|
|
|