Public bug reported:

Binary package hint: cricket

Description:    Ubuntu 10.04.1 LTS
Release:        10.04
cricket:
  Installed: 1.0.5-11
  Candidate: 1.0.5-11
  Version table:
 *** 1.0.5-11 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status


The current value data is missing/incorrect in Cricket grapher.  Searching bug 
reports found same bug reported in earlier version of Ubuntu under bug #64403 
(also listed as duplicate to 54659).  A patch was listed in #64403 to fix issue 
with x86_64 architecture.  

The file (RRD/Format.pm) supplied with cricket 1.0.5-11 is close to
patch listed in bug #64403.  However the slight difference did cause the
current value data to be incorrect (either 0 or -nan).  By modifying
RRD/Format.pm to same as listed in patch for but #64403, the current
value is displayed correctly by the Cricket grapher on my system
architecture (x86_64).

I am unable to test package on other x86_64 systems to determine if
anything specific to my platform, but the following patch fixes issue on
my host.


--- Format.pm.orig      2010-12-07 22:46:23.526041539 -0600
+++ /usr/share/cricket/lib/RRD/Format.pm        2010-12-07 22:42:51.486042147 
-0600
@@ -164,7 +164,7 @@
         $self->{'statHead'} = "a4 a5 x7 d Q Q Q x80";
         $self->{'dsDef'} = "a20 a20 Q d d x56";
         $self->{'rraDef'} = "a20 x4 Q Q d x72";
-        $self->{'liveHead'} = "Q";
+        $self->{'liveHead'} = "Q Q";
         $self->{'liveHead3'} = "Q Q";
         $self->{'pdpDef'} = "a30 x2 Q d x64";
         $self->{'cdpDef'} = "d Q x64";

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: cricket 1.0.5-11 [modified: usr/share/cricket/lib/RRD/Format.pm]
ProcVersionSignature: Ubuntu 2.6.32-26.48-server 2.6.32.24+drm33.11
Uname: Linux 2.6.32-26-server x86_64
Architecture: amd64
Date: Tue Dec  7 23:18:22 2010
InstallationMedia: Ubuntu-Server 10.04.1 LTS "Lucid Lynx" - Release amd64 
(20100816.2)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: cricket

** Affects: cricket (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/686911

Title:
  Current value unavailable in Cricket grapher

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to