Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23036 - splat - Simple Portage Log Analyzer Tool
Summary: splat - Simple Portage Log Analyzer Tool
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: SpanKY
URL: http://www.l8nite.net/projects/splat/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-18 02:39 UTC by Shaun Guth
Modified: 2003-07-17 16:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
splat 0.05 ebuild (splat-0.05.ebuild,365 bytes, application/octet-stream)
2003-06-18 02:40 UTC, Shaun Guth
Details
emerge.log.bz2 (emerge.log.bz2,201.77 KB, application/octet-stream)
2003-06-27 14:39 UTC, SpanKY
Details
splat 0.06 ebuild (splat-0.06.ebuild,402 bytes, text/plain)
2003-07-14 06:37 UTC, Shaun Guth
Details
splat 0.06 ebuild (splat-0.06.ebuild,402 bytes, text/plain)
2003-07-14 06:37 UTC, Shaun Guth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shaun Guth 2003-06-18 02:39:23 UTC
Splat will attempt to parse your portage log and show information about the
various times you have emerged particular packages (including the build times).
Comment 1 Shaun Guth 2003-06-18 02:40:09 UTC
Created attachment 13456 [details]
splat 0.05 ebuild

attached splat 0.05 ebuild
Comment 2 SpanKY gentoo-dev 2003-06-18 07:06:22 UTC
lub the name :)

however after emerging 0.05 i get this:
root@rux0r splat # splat
Undefined subroutine &Getopt::Long::Parser::Configure called at /usr/lib/perl5/5.6.1/Getopt/Long.pm line 184.
Comment 3 Shaun Guth 2003-06-18 09:07:03 UTC
I'll look into fixing that today - I assumed that module was included by default with 5.6+ ::sigh::   ;-)
Comment 4 Shaun Guth 2003-06-25 18:45:08 UTC
Hey there, this is a bug in Getopt::Long version 2.30 and previous.  It was fixed in 2.31 - relevant excerpt from ChangeLog:

Changes in version 2.31
-----------------------

* Fix a bug where calling the configure method on a
Getopt::Long::Parser object would bail out with 
Undefined subroutine &Getopt::Long::Parser::Configure called at
Getopt/Long.pm line 186.


What's the best way to solve this?  A DEPEND entry of some sort?
Comment 5 SpanKY gentoo-dev 2003-06-25 18:56:07 UTC
yes, add a '>=dev-perl/Getopt-Long-2.31' 
 
ill add it to the ebuild after i test it ;) 
Comment 6 SpanKY gentoo-dev 2003-06-26 05:12:58 UTC
ok when i emerged that package it worked ...
until i did this:
`splat -s php` ... then it freaked out ;)

a lot of these lines:
Use of uninitialized value in quotemeta at /usr/bin/splat line 355.

and then a lot of these lines:
Use of uninitialized value in pattern match (m//) at /usr/bin/splat line 401.
Use of uninitialized value in pattern match (m//) at /usr/bin/splat line 413.
Use of uninitialized value in pattern match (m//) at /usr/bin/splat line 416.
Comment 7 Shaun Guth 2003-06-26 21:07:55 UTC
Can you send me a copy of your portage log or attach it to the bug?  Thanks :)
Comment 8 SpanKY gentoo-dev 2003-06-27 14:39:40 UTC
Created attachment 13943 [details]
emerge.log.bz2

it probably crashes because this has logs from back in october ... the log file
has changed format since then ;)

you might just wanna ignore the old stuff ... its fine if you dont support it,
just be like 'ignoring first # lines due to outdated format' ...
Comment 9 SpanKY gentoo-dev 2003-07-13 23:50:01 UTC
any luck ? 
Comment 10 Shaun Guth 2003-07-14 02:06:04 UTC
Weird, I didn't get any email notification of your last post - I'll take a look at this tomorrow and fix it up - thanks :)
Comment 11 Shaun Guth 2003-07-14 06:31:24 UTC
Comment on attachment 13456 [details]
splat 0.05 ebuild

marked 0.05 obsolete
Comment 12 Shaun Guth 2003-07-14 06:37:08 UTC
Created attachment 14459 [details]
splat 0.06 ebuild

Added 0.06 ebuild with DEPEND line, tested on my system and it works ok.
Comment 13 Shaun Guth 2003-07-14 06:37:26 UTC
Created attachment 14460 [details]
splat 0.06 ebuild

Added 0.06 ebuild with DEPEND line, tested on my system and it works ok.
Comment 14 Shaun Guth 2003-07-14 06:38:01 UTC
Comment on attachment 14459 [details]
splat 0.06 ebuild

duplicate post of ebuild, woops
Comment 15 SpanKY gentoo-dev 2003-07-17 15:55:55 UTC
	mv splat.pl splat 
	exeinto /usr/bin 
	doexe splat 
	fperms +x /usr/bin/splat 
 
you can do all of this with just `newbin splat.pl splat` ;) 
Comment 16 SpanKY gentoo-dev 2003-07-17 16:08:59 UTC
added to portage, not too shabby package :)