Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664454 - dev-util/lcov-1.13 doesn't support programs compiled with gcc 8
Summary: dev-util/lcov-1.13 doesn't support programs compiled with gcc 8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeffrey Lin
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-08-24 09:35 UTC by Dan Goodliffe
Modified: 2019-02-23 17:32 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Goodliffe 2018-08-24 09:35:02 UTC
As per summary.
Outputs lots of these (for every file):
geninfo: WARNING: cannot find an entry for #usr#include#boost#none_t.hpp.gcov in .gcno file, skipping file!

And eventually:
lcov: ERROR: no valid records found in tracefile /tmp/cov.2685/all

More detailed discussion at https://github.com/linux-test-project/lcov/issues/38

The commit mentioned in there (https://github.com/linux-test-project/lcov/commit/a5dd9529f9232b8d901a4d6eb9ae54cae179e5b3.patch) cleanly applies to dev-util/lcov-1.13-r1 and addresses the problem as described.
Comment 1 LE GARREC Vincent 2018-09-02 09:53:59 UTC
I confirm the problem and the patch is a solution.
Comment 2 Virgil Dupras (RETIRED) gentoo-dev 2018-10-19 18:24:43 UTC
Marcin: have you looked at the patch? You're the maintainer for this package.
Comment 3 Larry the Git Cow gentoo-dev 2018-10-22 20:07:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0d105746deac8824d3bb78125a306b78b29ecd1

commit f0d105746deac8824d3bb78125a306b78b29ecd1
Author:     Jeffrey Lin <jeffrey@icurse.nl>
AuthorDate: 2018-10-11 15:53:41 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-10-22 20:05:21 +0000

    dev-util/lcov: add gcc 8 patch
    
    Closes: https://bugs.gentoo.org/664454
    Package-Manager: Portage-2.3.51, Repoman-2.3.11
    Signed-off-by: Jeffrey Lin <jeffrey@icurse.nl>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-util/lcov/files/lcov-1.13-gcc-8.patch          | 91 ++++++++++++++++++++++
 .../{lcov-1.13-r1.ebuild => lcov-1.13-r2.ebuild}   |  4 +
 2 files changed, 95 insertions(+)