Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Calculating time for emerge -e world?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
AlyM
n00b
n00b


Joined: 02 Sep 2003
Posts: 62
Location: Edinburgh, Scotland

PostPosted: Mon Oct 27, 2003 2:38 pm    Post subject: Calculating time for emerge -e world? Reply with quote

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
View user's profile Send private message
skunkworx
Guru
Guru


Joined: 02 Feb 2003
Posts: 420
Location: Planet Houston

PostPosted: Mon Oct 27, 2003 3:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Giorgio
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2003
Posts: 77
Location: Milano, Italy

PostPosted: Mon Oct 27, 2003 10:58 pm    Post subject: Re: Calculating time for emerge -e world? Reply with quote

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
View user's profile Send private message
AlyM
n00b
n00b


Joined: 02 Sep 2003
Posts: 62
Location: Edinburgh, Scotland

PostPosted: Mon Oct 27, 2003 11:55 pm    Post subject: Reply with quote

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. :D

Thanks again, AlyM.
Back to top
View user's profile Send private message
kahcepb
n00b
n00b


Joined: 08 Apr 2003
Posts: 34

PostPosted: Tue Oct 28, 2003 8:18 am    Post subject: Reply with quote

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
View user's profile Send private message
AlyM
n00b
n00b


Joined: 02 Sep 2003
Posts: 62
Location: Edinburgh, Scotland

PostPosted: Tue Oct 28, 2003 11:28 am    Post subject: Reply with quote

Sorry, checking bugs.gentoo.org would have been the obvious thing to do for an ebuild, eh? Oh well.

AlyM.
Back to top
View user's profile Send private message
Giorgio
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2003
Posts: 77
Location: Milano, Italy

PostPosted: Tue Oct 28, 2003 12:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
kahcepb
n00b
n00b


Joined: 08 Apr 2003
Posts: 34

PostPosted: Tue Oct 28, 2003 12:48 pm    Post subject: Reply with quote

Sorry I forgot to check bugzilla :oops: (Today's modus operandi: shoot then think :twisted: )
Back to top
View user's profile Send private message
jtp755
l33t
l33t


Joined: 01 Sep 2003
Posts: 691
Location: USA

PostPosted: Fri Oct 31, 2003 4:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum