Bug 285571

Summary: Review Request: seekwatcher - IO visualization with blktrace
Product: [Fedora] Fedora Reporter: Eric Sandeen <esandeen>
Component: Package ReviewAssignee: Parag AN(पराग) <panemade>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora-package-review, notting, panemade
Target Milestone: ---Flags: panemade: fedora-review+
kevin: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-12-04 12:33:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eric Sandeen 2007-09-11 03:27:12 UTC
Spec URL:
 http://people.redhat.com/esandeen/seekwatcher-rpm/seekwatcher.spec

SRPM URL:
 http://people.redhat.com/esandeen/seekwatcher-rpm/seekwatcher-0.7-1.src.rpm

Description:
Seekwatcher generates graphs from blktrace runs to help visualize IO patterns
and performance. It can plot multiple blktrace runs together, making it easy
to compare the differences between different benchmark runs.

You should install the seekwatcher package if you need to visualize detailed
information about IO patterns.

Comment 1 Parag AN(पराग) 2007-09-24 09:55:16 UTC
rpmlint on SRPM gave me
seekwatcher.src: W: no-%build-section
The spec file does not contain a %build section.  Even if some packages
don't directly need it, section markers may be overridden in rpm's
configuration to provide additional "under the hood" functionality, such as
injection of automatic -debuginfo subpackages.  Add the section, even if
empty.


Where can I find mencoder?

package installation failed with error: Failed dependencies:
        mencoder is needed by seekwatcher-0.7-1.fc8.noarch



Comment 2 Parag AN(पराग) 2007-09-24 10:12:13 UTC
Just confirmed on #fedora-devel and this package cannot make into Fedora because
of missing package dependency mencoder.

If by any chance you can use any alternate to mencoder then we can think this
for inclusion in Fedora.

Comment 3 Eric Sandeen 2007-09-24 13:08:14 UTC
Thanks for the review; I'll add a %build.

Sorry about mencoder, that was a thinko on my part.  seekwatcher can still make
still graphs, just not movies.  So I think we can get it in with limited
functionality.  I'll see about patching it up to remove the option, or something
along those lines.

-Eric

Comment 4 manuel wolfshant 2007-09-24 13:21:47 UTC
Eric how about either trying to build a modular version and submit the mencoder
dependent part to rpmfusion or maybe submit the whole package to rpmfusion ?

Comment 5 Eric Sandeen 2007-09-24 14:48:32 UTC
hmm apparently the beta1 theora release has png2theora in theora-tools... pity
F8 doesn't have that release, yet... maybe I can ask for just that to be
included in the current package.  Chris Mason would be willing to use those free
tools rather than the mpg stuff.  I'll take a look.

-Eric

Comment 6 Parag AN(पराग) 2007-09-24 17:38:10 UTC
(In reply to comment #3)
> Thanks for the review; I'll add a %build.
ok
> 
> Sorry about mencoder, that was a thinko on my part.  seekwatcher can still make
> still graphs, just not movies.  So I think we can get it in with limited
> functionality.  I'll see about patching it up to remove the option, or something
> along those lines.
> 
  Will be happy to review this then :)


Comment 7 Eric Sandeen 2007-09-24 21:46:34 UTC
Well, spent too much time on this today :)  png2theora is already in the
libtheora src.rpm we have, just not installed.  I have it making a "movie" but
something is odd; it looks pretty wrong.

-Eric

Comment 8 Parag AN(पराग) 2007-10-15 14:14:21 UTC
any progress here?

Comment 9 Eric Sandeen 2007-10-15 17:14:02 UTC
Nope.  The theora guys are stumped too, but the movie comes out wrong.

The static graph side of things works, though.  It's just the animated movies
that don't have a solution at this point.

-Eric

Comment 10 Eric Sandeen 2007-11-06 17:05:09 UTC
I may just patch out the movie-making part, or maybe better yet make it dynamic
so it's available *if* mencoder or other suitable app is found.

Sorry for the delay on this, it's a low priority for me even though I'd like to
get it in.

--Eric

Comment 11 Eric Sandeen 2007-11-21 05:09:30 UTC
very latest seekwatcher repo has a patch which simply makes the movie options
"go away" if mencoder is not found.  When chris makes that a point release, I'll
make a new package for review.

Thanks,
-Eric

Comment 12 Eric Sandeen 2007-11-29 20:49:12 UTC
See also bug #401681 : Add filtering flags to png_read_png ... the (now) very
latest seekwatcher can use png2theora, and with the fix in the aforementioned
bug, it works.  So, I'll try to wrap this one up soon.

Thanks,
-Eric

Comment 14 Parag AN(पराग) 2007-11-30 04:43:01 UTC
looks missing python-devel
In build.log I got
/usr/lib/rpm/pythondeps.sh: line 8: python: command not found


Comment 15 Eric Sandeen 2007-11-30 05:06:56 UTC
argh, mock produced the rpm so didn't check the logs.

... fix fix fix ...

Comment 16 Eric Sandeen 2007-11-30 05:24:31 UTC
Added python to reqs/buildreqs

http://people.redhat.com/esandeen/seekwatcher-rpm/seekwatcher-0.8-2.fc8.src.rpm

No complaints from mock this time.

Thanks,
-Eric

Comment 17 Eric Sandeen 2007-11-30 22:45:29 UTC
And keeping up with chris....

http://people.redhat.com/esandeen/seekwatcher-rpm/seekwatcher-0.9-1.fc8.src.rpm

Comment 18 Parag AN(पराग) 2007-12-01 03:15:22 UTC
(In reply to comment #17)
> And keeping up with chris....
> 
> http://people.redhat.com/esandeen/seekwatcher-rpm/seekwatcher-0.9-1.fc8.src.rpm

with this SRPM I got,

seekwatcher.noarch: I: checking
seekwatcher.noarch: W: incoherent-version-in-changelog 0.9 0.9-1.fc8
The last entry in %changelog contains a version identifier that is not
coherent with the epoch:version-release tuple of the package.

seekwatcher.src: I: checking
seekwatcher.src: W: no-%build-section
The spec file does not contain a %build section.  Even if some packages
don't directly need it, section markers may be overridden in rpm's
configuration to provide additional "under the hood" functionality, such as
injection of automatic -debuginfo subpackages.  Add the section, even if
empty.

Also,
  make sure to keep timestamps
http://fedoraproject.org/wiki/Packaging/Guidelines#head-0239576e441f9ef53d175c4aec8c12868dffb5ab

And if you like you can use defattr as
defattr(-,root,root,-)

Comment 19 Eric Sandeen 2007-12-01 04:26:30 UTC
*sigh* I guess maybe I'm just really really bad at this ;-)

Is that rpmlint output?  Ok, now my build log looks clean and rpmlint too.

Ok... once more with feeling:

http://people.redhat.com/esandeen/seekwatcher-rpm/seekwatcher-0.9-2.fc8.src.rpm

Thanks for puttting up with me :)  Hope I've got it now.

-Eric

Comment 20 Parag AN(पराग) 2007-12-01 06:36:10 UTC
Thanks for updates.


Comment 21 Parag AN(पराग) 2007-12-01 06:43:10 UTC
Review:
+ package builds in mock (development i386).
+ rpmlint is silent for SRPM and for RPM.
+ source files match upstream url
e4c554577e9298fc70fd162bdc647746  seekwatcher-0.9.tar.bz2
+ package meets naming and packaging guidelines.
+ specfile is properly named, is cleanly written
+ Spec file is written in American English.
+ Spec file is legible.
+ dist tag is present.
+ build root is correct.
+ license is open source-compatible.
+ License text is included in package.
+ BuildRequires are proper.
+ defattr usage is correct.
+ %clean is present.
+ package installed properly.
+ Macro use appears rather consistent.
+ Package contains code, not content.
+ no static libraries.
+ no .pc file present.
+ -devel subpackage does exist.
+ no .la files.
+ no translations are available.
+ Does owns the directories it creates.
+ no scriptlets present.
+ no duplicates in %files.
+ file permissions are appropriate.
+ Not a GUI App.
APPROVED.


Comment 22 Eric Sandeen 2007-12-01 15:46:26 UTC
Thanks for the review(s)!

Comment 23 Kevin Fenzi 2007-12-01 17:55:22 UTC
Can you add a template here with what branches you want and such?
See: 
http://fedoraproject.org/wiki/PackageMaintainers/CVSAdminProcedure

Reset the fedora-cvs flag when you are ready. 

Comment 24 Eric Sandeen 2007-12-01 20:04:42 UTC
Sorry 'bout that:

New Package CVS Request
=======================
Package Name: seekwatcher
Short Description: Utility for visualizing block layer IO patterns and performance
Owners: sandeen
Branches: F-8
InitialCC:
Cvsextras Commits: yes

Thanks,
-Eric

Comment 25 Eric Sandeen 2007-12-02 05:28:32 UTC
Imported & built... thanks everyone!

Comment 26 Eric Sandeen 2008-04-10 15:11:16 UTC
Package Change Request
======================
Package Name: seekwatcher
New Branches: EL-5


Comment 27 Kevin Fenzi 2008-04-10 17:26:15 UTC
cvs done.