Dear Maintainer, Rafał,

On 2026-Jul-19, Rafał Lalik wrote:

> 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

I see this in Trixie also (which dpkg claims to be 2.3.1-1 but lcov
--version says 2.0-1), and I believe it's caused by a Debian patch:
https://sources.debian.org/src/lcov/2.3.1-1/debian/patches/version.patch
this apparently was installed way back when -- apparently version 2.0
had a bug that made it present itself as 1.14, and this patch was needed
to fix that.

The version in forky and sid has a completely new patch file,
https://sources.debian.org/src/lcov/2.5-2/debian/patches/version.patch

I wonder if the packager just forgot to remove the file in Trixie.
I think a 2.3.1-2 with a fixed version string (presumably just remove
the patch file from the packaging files) would be a good thing to have.

Kind regards,

-- 
Álvaro Herrera

Reply via email to