Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931594 - dev-java/guice-5.1.0 QA undeclared dependencies
Summary: dev-java/guice-5.1.0 QA undeclared dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-05-08 16:35 UTC by REVOL V.
Modified: 2024-05-09 11:08 UTC (History)
2 users (show)

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


Attachments
emerge log (emerge.log,22.40 KB, text/plain)
2024-05-08 16:47 UTC, REVOL V.
Details
current ebuild file (guice-5.1.0.ebuild,2.22 KB, application/vnd.gentoo.ebuild)
2024-05-08 16:50 UTC, REVOL V.
Details
emerge -pqv '=dev-java/guice-5.1.0::gentoo' > emerge.pqv (emerge.pqv,63 bytes, text/plain)
2024-05-08 16:57 UTC, REVOL V.
Details
❯ emerge --info '=dev-java/guice-5.1.0::gentoo' > emerge.info (emerge.info,9.70 KB, text/plain)
2024-05-08 16:57 UTC, REVOL V.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description REVOL V. 2024-05-08 16:35:47 UTC
At the end of my merge I got:

 * Messages for package dev-java/guice-5.1.0:
 * Log file: /var/log/portage/build/dev-java/guice-5.1.0:20240508-152440.log

 * java-pkg_ensure-dep: The ebuild is attempting to use aopalliance-1, which is not declared with a SLOT in DEPEND.
 * java-pkg_ensure-dep: The ebuild is attempting to use asm-9, which is not declared with a SLOT in DEPEND.
 * java-pkg_ensure-dep: The ebuild is attempting to use javax-inject, which is not declared with a SLOT in DEPEND.
Comment 1 REVOL V. 2024-05-08 16:47:25 UTC
Created attachment 892534 [details]
emerge log
Comment 2 REVOL V. 2024-05-08 16:50:11 UTC
Created attachment 892535 [details]
current ebuild file

I haven't touched the ebuild. I post here because i'm too lazy to find out from which commit came the ebuild
Comment 3 REVOL V. 2024-05-08 16:57:16 UTC
Created attachment 892536 [details]
emerge -pqv '=dev-java/guice-5.1.0::gentoo' > emerge.pqv
Comment 4 REVOL V. 2024-05-08 16:57:53 UTC
Created attachment 892537 [details]
❯ emerge --info '=dev-java/guice-5.1.0::gentoo' > emerge.info
Comment 5 Volkmar W. Pogatzki 2024-05-08 17:34:34 UTC
(In reply to REVOL V. from comment #2)
> Created attachment 892535 [details]
> current ebuild file
> 
> I haven't touched the ebuild. I post here because i'm too lazy to find out
> from which commit came the ebuild

Some time has passed since https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22da87cc899d037cf200c0ea1dd19c45189a0841

Replacing ${CDEPEND} with ${CP_DEPEND} should solve it.
Comment 6 Larry the Git Cow gentoo-dev 2024-05-09 11:08:52 UTC
The bug has been closed via the following commit(s):

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

commit 347500e184776a92004e54f4df6196a94f68f652
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-05-08 21:44:22 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2024-05-09 11:07:04 +0000

    dev-java/guice: adjust ${CDEPEND} -> ${CP_DEPEND}
    
    Also some code cleanup
    
    Closes: https://bugs.gentoo.org/931594
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/36614
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 .../{guice-5.1.0.ebuild => guice-5.1.0-r1.ebuild}  | 34 ++++------------------
 1 file changed, 5 insertions(+), 29 deletions(-)