Package: lcov
Version: 2.0-3
Severity: important
X-Debbugs-Cc: die...@gnome.org

When running `lcov` on a fresh instance of `unstable`:

```
$ lcov --rc lcov_branch_coverage=1 --directory _build --capture --initial 
--output-file bup
Can't locate DateTime.pm in @INC (you may need to install the DateTime module) 
(@INC contains: /usr/lib/lcov /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 
/usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 
/usr/share/perl/5.36 /usr/local/lib/site_perl) at /usr/lib/lcov/lcovutil.pm 
line 19.
BEGIN failed--compilation aborted at /usr/lib/lcov/lcovutil.pm line 19.
Compilation failed in require at /usr/bin/lcov line 102.
BEGIN failed--compilation aborted at /usr/bin/lcov line 102.

$ lcov --rc lcov_branch_coverage=1 --directory _build --capture --initial 
--output-file bup
Can't locate Capture/Tiny.pm in @INC (you may need to install the Capture::Tiny 
module) (@INC contains: /usr/lib/lcov /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 
/usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 
/usr/share/perl/5.36 /usr/local/lib/site_perl) at /usr/lib/lcov/lcovutil.pm 
line 14.
BEGIN failed--compilation aborted at /usr/lib/lcov/lcovutil.pm line 14.
Compilation failed in require at /usr/bin/lcov line 102.
BEGIN failed--compilation aborted at /usr/bin/lcov line 102.
```

I noticed a `Build-Dep` was added in:
  
https://salsa.debian.org/mckinstry/lcov/-/commit/7bf96e9fd753a4805686b1b84e03db8df1cb72fe

But seems the packages are missed as runtime dependencies anyway.

Installing the mentioned packages allows `lcov` to run as before.

Thanks


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

Kernel: Linux 6.5.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_USER, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lcov depends on:
ii  gcc                  4:13.2.0-1
ii  libjson-perl         4.10000-1
ii  libperlio-gzip-perl  0.20-1+b1
ii  perl                 5.36.0-9

Versions of packages lcov recommends:
ii  libgd-perl [libgd-gd2-perl]  2.76-4+b1

lcov suggests no packages.

-- no debconf information

Reply via email to