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

2024-04-11 Thread Launchpad Bug Tracker
This bug was fixed in the package lcov - 2.0-1ubuntu0.2

---
lcov (2.0-1ubuntu0.2) mantic; urgency=medium

  [ Sudip Mukherjee ]
  * Remove patches supporting old gcc. (LP: #2029924)
- These patches modified geninfo which are now affecting gcc-13 in Mantic.

  [ Dave Jones ]
  * Add missing libtimedate-perl runtime dependency

 -- Dave Jones   Mon, 25 Mar 2024 16:41:06
+

** Changed in: lcov (Ubuntu Mantic)
   Status: Fix Committed => Fix Released

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2024-04-02 Thread Sudip Mukherjee
I can confirm that the lcov package in mantic-proposed has fixed the bug
for me.

Test done:

1. Install lcov on a Mantic image
2. Execute "lcov -h" and confirmed the issue is still seen
3. Add mantic-proposed to apt sources.list
4. Install lcov from mantic-proposed
5. Execute "lcov -h" again to confirm the help is displayed.
6. get test.c from the testplan
7. build it with "cc test.c -fprofile-arcs -ftest-coverage -lgcov"
8. Execute ./a.out
9. Execute "lcov --base-directory . --directory . --capture --output-file 
i3.info"
10. Execute "genhtml -o html/ i3.info" to generate the html files
11. Open index.html in the browser to see the record.

Test result: the errors with lcov has been fixed.

Package tested:

$ apt-cache policy lcov
lcov:
  Installed: 2.0-1ubuntu0.2
  Candidate: 2.0-1ubuntu0.2
  Version table:
 *** 2.0-1ubuntu0.2 100
100 http://us.archive.ubuntu.com/ubuntu mantic-proposed/universe amd64 
Packages
100 /var/lib/dpkg/status
 2.0-1 500
500 http://us.archive.ubuntu.com/ubuntu mantic/universe amd64 Packages

** Tags removed: verification-needed verification-needed-mantic
** Tags added: verification-done verification-done-mantic

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2024-03-27 Thread Timo Aaltonen
Hello Danilo, or anyone else affected,

Accepted lcov into mantic-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/lcov/2.0-1ubuntu0.2 in
a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
mantic to verification-done-mantic. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-mantic. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: lcov (Ubuntu Mantic)
   Status: Confirmed => Fix Committed

** Tags removed: verification-failed verification-failed-mantic
** Tags added: verification-needed verification-needed-mantic

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2024-03-25 Thread Dave Jones
Aha! After a little more investigation it appears we're just missing
libtimedate-perl as a runtime dependency (it already has libdatetime-
perl, but libtimedate-perl is required for Date/Parse.pm ... and those
two names aren't *horribly* confusing!). Anyway, that's a trivial change
so I'll patch it into d/control and sponsor this

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2024-03-25 Thread Dave Jones
I'd generally agree with Sudip that fixing the version issue shouldn't
be a blocker for an SRU fix that moves the package from "completely
broken" to "at least mostly working" (querying the version is certainly
useful functionality, but it's not the core function of the package or
vital to it's core function). Unfortunately, the fix as it currently
stands is doesn't quite get us to "mostly working".

I tried out the incremental patch from comment 17 and it does indeed get
us to the point that the .info file is produced successfully, but the
report generation still fails:

  $ lcov --base-directory . --directory . --capture --output-file i3.info
  Capturing coverage data from .
  geninfo cmd: '/usr/bin/geninfo . --output-filename i3.info --base-directory . 
--memory 0'
  Found gcov version: 13.2.0
  Using intermediate gcov format
  Writing temporary data to /tmp/geninfo_datBy9K
  Scanning . for .gcda files ...
  Found 1 data files in .
  Processing ./a-test.gcda
  Finished .info-file creation
  $ genhtml -o /tmp/i3-coverage/ i3.info
  Can't locate Date/Parse.pm in @INC (you may need to install the Date::Parse 
module) (@INC contains: /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/genhtml line 89.
  BEGIN failed--compilation aborted at /usr/bin/genhtml line 89.

I also had a quick look at whether the current noble version gets any
further, but unfortunately it's got exactly the same issue.

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2024-03-10 Thread Julian Andres Klode
You have manually overriden the pin for lcov in proposed to 400 using a
package-specific pin in /etc/apt/preferences so that takes precedence
over the -t option (which is pinning the Packages line to 990).

Not sure why you do this but in any case you can install by specifying
lcov/mantic-proposed instead of using -t or dropping the package
specific pin.

Not sure why you bother with any of that though, as has been verified in
multiple comments, the fix in the proposed version is incomplete and
more work is needed.

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2024-03-08 Thread Bas Prins
Hi Sudip,

Still trying to get lcov working on and off :).

You asked for the output of apt cache:

bp@bas-hp:~ % apt-cache policy lcov   
lcov:
  Installed: (none)
  Candidate: 2.0-1
  Version table:
 2.0-1ubuntu0.1 400
100 http://nl.archive.ubuntu.com/ubuntu mantic-proposed/universe amd64 
Packages
100 http://nl.archive.ubuntu.com/ubuntu mantic-proposed/universe i386 
Packages
 2.0-1 500
500 http://nl.archive.ubuntu.com/ubuntu mantic/universe amd64 Packages
500 http://nl.archive.ubuntu.com/ubuntu mantic/universe i386 Packages
100 /var/lib/dpkg/status

So this means I should be able to install 2.0-1 "400" from proposed, and
2.0-1 "500" from universe? Or what exactly is this telling me?

I just tried to :
sudo apt-get install lcov -t mantic-proposed

Which results in:

bp@bas-hp:~ % sudo apt-get install lcov -t mantic-proposed
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libgstreamer-plugins-bad1.0-0 libgupnp-igd-1.6-0 libnice10
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  lcov
0 upgraded, 1 newly installed, 0 to remove and 76 not upgraded.
Need to get 0 B/177 kB of archives.
After this operation, 744 kB of additional disk space will be used.
Selecting previously unselected package lcov.
(Reading database ... 332568 files and directories currently installed.)
Preparing to unpack .../archives/lcov_2.0-1_all.deb ...
Unpacking lcov (2.0-1) ...
Setting up lcov (2.0-1) ...
Processing triggers for man-db (2.11.2-3) ...


And then when running lcov --version 

bp@bas-hp:~ % lcov --version
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.

still gives me the same error.

What am I still doing wrong?

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2024-02-28 Thread Sudip Mukherjee
** Description changed:

  [ 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.
  
+ Update:
+ The error with lcov --help has been fixed in -proposed but it was noticed in 
the verification that lcov is still unusable and can not generate report. And 
the errors seen are same as 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043009#10.
+ 
+ 
  [ Test Plan ]
  
   * install lcov
   * execute "lcov --help"
+ 
+ A more detailed test plan to test the functionality:
+ 
+ 1. Use the attached test.c file
+ 2. cc test.c -fprofile-arcs -ftest-coverage -lgcov
+ 3. ./a.out
+ 4. lcov --base-directory . --directory . --capture --output-file i3.info
+ 5. genhtml -o /tmp/i3-coverage/ i3.info
+ 
  
  [ 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.
  
+  * For the incremental diff, its removing two patches for old gcc which
+ Debian has already removed. These patches were modifying geninfo to add
+ support for old gcc. But since gcc-13 will be installed by default in
+ Mantic so these patches were creating new problems.
+ 
+ Since it is possible to install gcc-9 in Mantic, so lcov will be not
+ work in that case. But I have verified that none of the "lcov" package
+ in mantic or mantic-proposed works with gcc-9 currently. So removing
+ these old patches will not introduce any new regression.
+ 
+ 
  [ 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
+ 
+ Update:
+ * Debian has removed the old gcc compatibility patches at 
https://salsa.debian.org/mckinstry/lcov/-/commit/3c952e83b08652ec4233de0b07a1c8b55109831e.
 
  
  [ 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

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2024-02-28 Thread Sudip Mukherjee
iiuc, "get_version.sh" is not needed for proper functioning of the
package, its only a cosmetic change which will print the proper version
information in the "LCOV version" part of the report. And, I believe
fixing only a warning about "get_version.sh" should not be SRU. But,
please correct me if I am wrong.

And, I am also updating the SRU testcase in the bug description and re-
adding ubuntu-sponsors.

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2024-02-27 Thread Dan Bungert
This was in the sponsors queue, so I took a look as part of today's
shift.

I can confirm the behavior observed in this comment:
https://bugs.launchpad.net/ubuntu/+source/lcov/+bug/2029924/comments/15

There is a reference to a get_version.sh that is not present in this (or
any) binary package.

The noble build of this package does not have this problem, some magic in the 
perl package build system appears to be updating this to provide an answer:
$ lcov --version
lcov: LCOV version 2.0-1
This was in the sponsors queue, so I took a look as part of today's shift.

I can confirm the behavior observed in this comment:
https://bugs.launchpad.net/ubuntu/+source/lcov/+bug/2029924/comments/15

There is a reference to a get_version.sh that is not present in this (or any) 
binary package.
The noble build of this package does not have this problem, some magic in the 
perl package build system appears to be updating this to provide an answer:

$ lcov --version
lcov: LCOV version 2.0-1

I think a little more work is needed on this.  Note that there are
additional fixes in Ubuntu Noble for this package, some of that appears
necessary.

Removing sponsors for the moment, please re-subscribe sponsors when
you'd like someone to look.

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2024-02-27 Thread Sudip Mukherjee
Hi Bas,

1. Have you enabled proposed for universe or only main ?
2. What is the output from the follwing command:

apt-cache policy lcov

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2024-02-26 Thread Bas Prins
Arghh... I wrote you name wrong and I can't edit my comment :(. 
Apologies again...

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2024-02-26 Thread Bas Prins
Hi Supid, I am really sorry but I don't know how to install the fix. Not that 
familiar with linux as I should be I guess. 
- I again added the proposed repos
- sudo apt remove lcov
- sudo apt-get install lcov -t mantic-proposed (I am pretty sure this installed 
the wrong version again, the 2.0.1)

See output below

bp@bas-hp:~ % sudo apt-get install lcov -t mantic-proposed
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  lcov
0 upgraded, 1 newly installed, 0 to remove and 62 not upgraded.
Need to get 0 B/177 kB of archives.
After this operation, 744 kB of additional disk space will be used.
Selecting previously unselected package lcov.
(Reading database ... 331408 files and directories currently installed.)
Preparing to unpack .../archives/lcov_2.0-1_all.deb ...
Unpacking lcov (2.0-1) ...
Setting up lcov (2.0-1) ...
Processing triggers for man-db (2.11.2-3) ...

Or... should I do something manual based on the salsa debian link you
shared?

Again, apologies for the stupid questions.. I just want lcov working
again on 23.10

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs