Re: buildworld summary

2000-06-22 Thread Brian Somers

 A few months ago someone posted a script that summarizes make
 buildworld as it progresses. I've searched the ports and the mailing
 lists but I can't find it any more :-( so I'd be grateful if someone
 would tell me. Thanks.

It was phk (cc'd), and yes, it seems to have evaporated.

 Tony.
 -- 
 f.a.n.finch[EMAIL PROTECTED][EMAIL PROTECTED]
 356 pungent unguent for stump-itch

-- 
Brian [EMAIL PROTECTED]brian@[uk.]FreeBSD.org
  http://www.Awfulhak.org   brian@[uk.]OpenBSD.org
Don't _EVER_ lose your sense of humour !




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: buildworld summary

2000-06-22 Thread Matt Loschert

On Thu, 22 Jun 2000, Tony Finch wrote:

 A few months ago someone posted a script that summarizes make
 buildworld as it progresses. I've searched the ports and the mailing
 lists but I can't find it any more :-( so I'd be grateful if someone
 would tell me. Thanks.
 
 Tony.
 -- 
 f.a.n.finch[EMAIL PROTECTED][EMAIL PROTECTED]
 356 pungent unguent for stump-itch
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-hackers" in the body of the message


I think you are referring to the attached Perl script by Bill Fenner.

- Matt

--
Matt Loschert   [EMAIL PROTECTED]
Software Engineer   voice (703) 847-1381
ServInt Internet Services   fax   (703) 847-1383




#!/usr/bin/perl
#
# whereintheworld
# Parses "make world" output and summarize where it's been so far.
#
# Bill Fenner [EMAIL PROTECTED] 11 January 2000
#
# $Id: whereintheworld,v 1.2 2000/01/11 21:18:37 fenner Exp $
#
use strict;

my $lastarrow = undef;
my $inside = 0;
my @lines = ();
my $thresh = 5;
my $lastwasdash = 0;
my $file = $ARGV[0] || (-f "/usr/src/world.out" ? "/usr/src/world.out" : "-");
open(LOG, $file) || die "$file: $!\n";
while (LOG) {
if (/^/) {
$inside = !$inside;
print unless ($lastwasdash);
$lastwasdash = 1;
next;
}
if ($inside  /^/) {
print;
$lastwasdash = 0;
next;
}
push(@lines, $_);
if ($#lines  $thresh) {
my $line = shift(@lines);
$lastarrow = $line if ($line =~ /^===/);
}
}
exit if ($lastwasdash);
if ($lines[0] !~ /^===/  $lastarrow) {
print $lastarrow, "...\n";
}
print @lines;



Re: buildworld summary

2000-06-22 Thread Poul-Henning Kamp

In message [EMAIL PROTECTED], Ben Smithurs
t writes:

 A few months ago someone posted a script that summarizes make
 buildworld as it progresses. I've searched the ports and the mailing
 lists but I can't find it any more :-( so I'd be grateful if someone
 would tell me. Thanks.
=20
 It was phk (cc'd), and yes, it seems to have evaporated.

Hmm, are you sure you're not thinking of 'whereintheworld' by
fenner, or isn't that what you were thinking of?  Take a look at
http://people.freebsd.org/~fenner/whereintheworld and see if it's what
you're after.

I also had a script, I'll try to see if I can find it again when I
have time.

--
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD coreteam member | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: buildworld summary

2000-06-22 Thread Brian Somers

 Brian Somers wrote:
 
  A few months ago someone posted a script that summarizes make
  buildworld as it progresses. I've searched the ports and the mailing
  lists but I can't find it any more :-( so I'd be grateful if someone
  would tell me. Thanks.
 =20
  It was phk (cc'd), and yes, it seems to have evaporated.
 
 Hmm, are you sure you're not thinking of 'whereintheworld' by
 fenner, or isn't that what you were thinking of?  Take a look at
 http://people.freebsd.org/~fenner/whereintheworld and see if it's what
 you're after.
 
 And Brian, are you sure you're not mixing it up with phk's proposals to
 post a list of world breakage to -current or something?  Or am I just
 getting terribly confused?  (I'll shut up now.)

I'm fairly sure phk posted about 3 of these reports.  I whinged about 
the first one because it mentioned that something didn't build and 
then went on to report 0 errors...

 --=20
 Ben Smithurst / [EMAIL PROTECTED] / PGP: 0x99392F7D






To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: buildworld summary

2000-06-22 Thread Tony Finch


 A few months ago someone posted a script that summarizes make
 buildworld as it progresses. I've searched the ports and the mailing
 lists but I can't find it any more :-( so I'd be grateful if someone
 would tell me. Thanks.

 It was phk (cc'd), and yes, it seems to have evaporated.

 Hmm, are you sure you're not thinking of 'whereintheworld' by
 fenner, or isn't that what you were thinking of?  Take a look at
 http://people.freebsd.org/~fenner/whereintheworld and see if
 it's what you're after.

Ah, that's the one! Thanks, and thanks to the others who mailed me off
the list.

Tony.
-- 
f.a.n.finch[EMAIL PROTECTED][EMAIL PROTECTED]
292 hatchet-job afterglow


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message