Package: lcov
Version: 2.4-3
Severity: important

Dear Maintainer,

I spotted this bug using Ubuntu 26.04 but after browsing Ubuntu and Debian 
packages I believe the source of the problem is in Debian. I was able to 
confirm it also in Debian. For both, I use docker:
docker run -it ubuntu:26.04
docker run -ir debian:forky

I install lcov and the apt reports to install version 2.4-3, it is also visible 
in the package search engine for both Debian and Ubuntu.

But calling lcov --version shows on both:
$ lcov --version
lcov: LCOV version 2.0-1

and also:
$ dpkg-query -W lcov
lcov    2.4-3

On my Gentoo with lcov-2.4 it displays properly 2.4:
$ lcov --version
lcov: LCOV version 2.4-0

When I downloaded the sources from lcov github page, .version file shows:
VERSION=2.4
RELEASE=0

but for the one downloaded from Debian Search Package engine 
(lcov-2.4.orig.tar.gz), which seems to be repacked (I don't use Debian daily 
and don't know in details what is happening with source packages), it shows:
VERSION=1.14
RELEASE=1
FULL=1.14

which is even more confusing, why 1.14 and not 2.0.

For the original lcov-1.14 package from github, it indeed shows:
VERSION=1.14
RELEASE=1
FULL=1.14

But files size, Makefile, in the sources between upstream sources and Debian 
sources do not match between 1.14, 2.0, 2.4.

Also, this:
grep "our \$VERSION" /usr/lib/lcov/lcovutil.pm 
our $VERSION   = "2.0-1";


It is all confusing. Can it be that when the sources were repacked (are they 
repacked?) were somehow messed?

Regards,
Rafał

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 7.1.2-gentoo-gentoo-dist (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages lcov depends on:
ii  gcc                   4:15.2.0-5
ii  libcapture-tiny-perl  0.50-1
ii  libdatetime-perl      2:1.65-1+b2
ii  libjson-perl          4.10000-1
ii  libperlio-gzip-perl   0.20-1+b4
ii  libtimedate-perl      2.3500-1
ii  perl                  5.40.1-8
ii  python3               3.14.6-1

Versions of packages lcov recommends:
ii  libgd-perl  2.84-3

lcov suggests no packages.

-- no debconf information

Reply via email to