Your message dated Tue, 02 Mar 2010 12:32:07 +0000
with message-id <[email protected]>
and subject line Bug#561111: fixed in lcov 1.8-1
has caused the Debian Bug report #561111,
regarding [lcov] please provide fix for "undefined value as a HASH reference"
issue
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
561111: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561111
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lcov
Version: 1.7-1
Severity: important
Tags: patch
--- Please enter the report below this line. ---
lcov in it's current form doesn't work for some input data.
It complains like this:
genhtml: Can't use an undefined value as a HASH reference at /usr/bin/genhtml
line 1506.
A patch for this is available in upstream CVS as discussed at [1]. I also
attached the patch for ease.
Joost
[1] http://old.nabble.com/-Ltp-coverage--Issue-when-doing-a-merge-of-info-
files-with-genhtml-td26166177.html
--- System information. ---
Architecture: amd64
Kernel: Linux 2.6.31-1-amd64
Debian Release: squeeze/sid
500 unstable ftp.nl.debian.org
--- Package information. ---
Package's Depends field is empty.
Package's Recommends field is empty.
Package's Suggests field is empty.
--- utils/analysis/lcov/bin/genhtml 1.24
+++ utils/analysis/lcov/bin/genhtml 1.25
@@ -1503,7 +1503,9 @@ sub merge_func_data($$$)
my %result;
my $func;
- %result = %{$funcdata1};
+ if (defined($funcdata1)) {
+ %result = %{$funcdata1};
+ }
foreach $func (keys(%{$funcdata2})) {
my $line1 = $result{$func};
@@ -1535,7 +1537,9 @@ sub add_fnccount($$)
my $fn_hit;
my $function;
- %result = %{$fnccount1};
+ if (defined($fnccount1)) {
+ %result = %{$fnccount1};
+ }
foreach $function (keys(%{$fnccount2})) {
$result{$function} += $fnccount2->{$function};
}
--- End Message ---
--- Begin Message ---
Source: lcov
Source-Version: 1.8-1
We believe that the bug you reported is fixed in the latest version of
lcov, which is due to be installed in the Debian FTP archive:
lcov_1.8-1.debian.tar.gz
to main/l/lcov/lcov_1.8-1.debian.tar.gz
lcov_1.8-1.dsc
to main/l/lcov/lcov_1.8-1.dsc
lcov_1.8-1_all.deb
to main/l/lcov/lcov_1.8-1_all.deb
lcov_1.8.orig.tar.gz
to main/l/lcov/lcov_1.8.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alastair McKinstry <[email protected]> (supplier of updated lcov package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 02 Mar 2010 12:21:21 +0000
Source: lcov
Binary: lcov
Architecture: source all
Version: 1.8-1
Distribution: unstable
Urgency: low
Maintainer: Alastair McKinstry <[email protected]>
Changed-By: Alastair McKinstry <[email protected]>
Description:
lcov - Summarise Code coverage information from GCOV
Closes: 561111
Changes:
lcov (1.8-1) unstable; urgency=low
.
* New upstream release. Closes: #561111.
* Standards-Version: 3.8.4.
* Moved to debhelper 7 format , source format 3.0
* Added Homepage: to debian/control.
Checksums-Sha1:
e4773ed09b5bf6dd2a2a6846420564ad444fcd55 994 lcov_1.8-1.dsc
d90d28b137ebe2305188c84d112978f7ce2be7a0 130829 lcov_1.8.orig.tar.gz
0609a62b95ab8f6675eb20837663fac125287445 19033 lcov_1.8-1.debian.tar.gz
a9775cb23b34cfa138cb6b6fd326c91eedd6e1af 106342 lcov_1.8-1_all.deb
Checksums-Sha256:
2ac526719c0ff47de2ac1a9e39bf4af0e844a2fe6289cc1a5131d87b4548a77b 994
lcov_1.8-1.dsc
bbcb5d0ac4f8938b8cb0e3fefd04757d0400172e1684070db6719e1d6d8f37f7 130829
lcov_1.8.orig.tar.gz
7d0d5c0c3778c47e23de586782493d187ca4f5091f149a8f29ba6b304b7614b5 19033
lcov_1.8-1.debian.tar.gz
a4cd23584387bdea5a79b955df0fcd54048ce691204428c5f7f39eafd1caed9d 106342
lcov_1.8-1_all.deb
Files:
11bcd309fc52d96c23d77234dd2873fb 994 devel optional lcov_1.8-1.dsc
dbdc5628598dfdd1fd5b084e0857c560 130829 devel optional lcov_1.8.orig.tar.gz
0c7c230f0a1cc047b4adaf82be4553c7 19033 devel optional lcov_1.8-1.debian.tar.gz
e6600779aaebc19fd1926d767be6251e 106342 devel optional lcov_1.8-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD8DBQFLjQTyQTK/kCo4XFcRAkXDAJ0TChYG09Zt7vDRZYACCAgE0nPC0ACgm+3W
U4F11Lt6W2sdnkP3fV7Waxw=
=pivE
-----END PGP SIGNATURE-----
--- End Message ---