Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922908 - dev-util/lcov-2.0-r2 fails tests: Error: Missing Perl module JSON required by criteria
Summary: dev-util/lcov-2.0-r2 fails tests: Error: Missing Perl module JSON required by...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jeffrey Lin
URL: https://github.com/linux-test-project...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-25 14:53 UTC by Agostino Sarubbo
Modified: 2025-01-06 20:53 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,49.45 KB, text/plain)
2024-01-25 14:53 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-01-25 14:53:41 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/lcov-2.0-r2 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-25 14:53:43 UTC
I'm unable to CC the author of the commit (3a2c07fded0773596b896b5ba59cfd7459f36af1) because the author's email is not registered to this bugzilla
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-25 14:53:44 UTC
Created attachment 883115 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2024-01-25 14:53:45 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


Error: Missing Perl module 'Date::Parse' required by /var/tmp/portage/dev-util/lcov-2.0-r2/work/lcov-2.0/tests//../bin/genhtml
Error: Missing Perl module 'JSON' required by /var/tmp/portage/dev-util/lcov-2.0-r2/work/lcov-2.0/tests//../bin/criteria
Comment 4 Sebastian Pipping gentoo-dev 2025-01-06 17:26:42 UTC
I had a closer look myself and brought this to the attention of upstream now…
Comment 5 Larry the Git Cow gentoo-dev 2025-01-06 17:32:29 UTC
The bug has been closed via the following commit(s):

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

commit be52a5f7d1f2a38e99ff9a4ab2279953f12ab02f
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2025-01-06 17:28:12 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2025-01-06 17:28:12 +0000

    dev-util/lcov: Make tests require dev-perl/JSON
    
    Closes: https://bugs.gentoo.org/922908
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>

 dev-util/lcov/lcov-2.0-r2.ebuild | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
Comment 6 Larry the Git Cow gentoo-dev 2025-01-06 18:08:41 UTC
The bug has been referenced in the following commit(s):

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

commit c2f5cb6faddc8476932342547ba60b619e14d2e3
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2025-01-06 18:07:31 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2025-01-06 18:08:23 +0000

    dev-util/lcov: Sync 9999
    
    Bug: https://bugs.gentoo.org/922908
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>

 dev-util/lcov/lcov-9999.ebuild | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
Comment 7 Larry the Git Cow gentoo-dev 2025-01-06 20:53:21 UTC
The bug has been closed via the following commit(s):

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

commit 90cf79ba60978b19164c9dc3879e51c192087a40
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2025-01-06 20:49:02 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2025-01-06 20:52:59 +0000

    dev-util/lcov: Improve fix to bug #922908
    
    There was no need to let test dependencies
    take away flexibility from runtime dependencies.
    
    Closes: https://bugs.gentoo.org/922908
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>

 dev-util/lcov/lcov-2.0-r2.ebuild | 8 +++++++-
 dev-util/lcov/lcov-9999.ebuild   | 8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)