[Bug 2029924] Re: [SRU] "Can't locate lcovutil.pm" after updating to 2.0-1

Athos Ribeiro 2029924 at bugs.launchpad.net
Wed Jan 24 17:50:32 UTC 2024


Hi Sudip,

Thanks for fixing this!

I see 3 different changes in the changelog:

* Ship lcovutil.pm in /usr/share/perl5. (LP: #2029924)
* Disable multiple threads while building. Tests are failing
   with multiple threads.
* Add runtime dependency on libcapture-tiny-perl and libdatetime-perl.

It seems they refer to different issues with this package, is this right
(unless the new runtime dependencies are only required by lcovutil.pm)?

If so, I suppose each of the changes should be tracked in a dedicated
SRU bug in case they are unrelated. For instance, while the first fix
(for this bug) is addressing a runtime issue, the second addresses a
FTBFS one.

Note that I do not speak for the SRU team, but IMHO, it would be better
to get the paperwork here as clear as possible for the SRU reviews to
avoid re-work on our (and on their) end.

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

Title:
  [SRU] "Can't locate lcovutil.pm" after updating to 2.0-1

Status in lcov package in Ubuntu:
  Fix Released
Status in lcov source package in Mantic:
  Confirmed
Status in lcov package in Debian:
  New

Bug description:
  [ Impact ]

  lcov is completely unusable as it will always give the following error
  when lcov is executed.

  $ lcov --help
  Can't locate lcovutil.pm in @INC (you may need to install the lcovutil module) (@INC contains: /usr/local/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/bin/lcov line 102.
  BEGIN failed--compilation aborted at /usr/bin/lcov line 102.

  [ Test Plan ]

   * install lcov
   * execute "lcov --help"

  [ Where problems could occur ]

   * There is no change in the code, it only installs a file which lcov
  expects at runtime. So, user should not see any change in the known
  behaviour.

  [ Other Info ]

   * There are few more changes apart from installing "lcovutil.pm".
   * Multi threading had to be disabled in the build, otherwise the tests during the build are failing. Debian has disabled the tests for this but it is better to keep the tests enabled. I have also sent the chane to Debian - https://salsa.debian.org/mckinstry/lcov/-/merge_requests/2
   * lcov also needs libcapture-tiny-perl and libdatetime-perl at run time. This has been done in Debian - https://salsa.debian.org/mckinstry/lcov/-/commit/1427b494b40c4e8e23055bd33b0625d341898456

  [ Original Bug Description ]

  The new lcov version is broken.

  $ lcov
  Can't locate lcovutil.pm in @INC (you may need to install the lcovutil module) (@INC contains: /usr/local/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/bin/lcov line 102.
  BEGIN failed--compilation aborted at /usr/bin/lcov line 102.

  Reported upstream https://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=1043009

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lcov/+bug/2029924/+subscriptions




More information about the Ubuntu-sponsors mailing list