Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207098 - java-utils-2.eclass should check and eerror/die/something if inherited directly
Summary: java-utils-2.eclass should check and eerror/die/something if inherited directly
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2008-01-23 00:02 UTC by Vlastimil Babka (Caster) (RETIRED)
Modified: 2024-06-15 06:05 UTC (History)
2 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 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-01-23 00:02:56 UTC
See bug 207000 why.
Comment 1 Larry the Git Cow gentoo-dev 2024-06-14 10:00:26 UTC
The bug has been closed via the following commit(s):

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

commit 41faa907e3a36f4ed00aced3499d469abb865281
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-02-26 09:37:01 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-06-14 10:00:10 +0000

    java-utils-2.eclass: eerror if java-utils-2 is inherited directly
    
    Closes: https://bugs.gentoo.org/207098
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 eclass/java-utils-2.eclass | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 2 Anton Bolshakov 2024-06-14 11:51:29 UTC
(In reply to Larry the Git Cow from comment #1)
> The bug has been closed via the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=41faa907e3a36f4ed00aced3499d469abb865281
> 
> commit 41faa907e3a36f4ed00aced3499d469abb865281
> Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
> AuthorDate: 2024-02-26 09:37:01 +0000
> Commit:     Miroslav Šulc <fordfrog@gentoo.org>
> CommitDate: 2024-06-14 10:00:10 +0000
> 
>     java-utils-2.eclass: eerror if java-utils-2 is inherited directly
>     
>     Closes: https://bugs.gentoo.org/207098
>     Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
>     Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
> 
>  eclass/java-utils-2.eclass | 6 ++++++
>  1 file changed, 6 insertions(+)

you broke it.

Now, regardless of the java package, emerge reports:


emerge -1 dev-java/slf4j-api
Calculating dependencies... done!
Dependency resolution took 2.01 s (backtrack: 0/20).

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-java/slf4j-api-2.0.3::gentoo
>>> Installing (1 of 1) dev-java/slf4j-api-2.0.3::gentoo
>>> Completed (1 of 1) dev-java/slf4j-api-2.0.3::gentoo
>>> Jobs: 1 of 1 complete                           Load avg: 1.26, 1.04, 1.90

 * Messages for package dev-java/slf4j-api-2.0.3:

 * java-utils-2 eclass must not be inherited directly.

 * GNU info directory index is up-to-date.
Comment 3 Larry the Git Cow gentoo-dev 2024-06-14 12:19:41 UTC
The bug has been referenced in the following commit(s):

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

commit 3e3b6279bd902e90032243148e7c96cc755afc6d
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-06-14 12:12:00 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-06-14 12:19:36 +0000

    Revert "java-utils-2.eclass: eerror if java-utils-2 is inherited directly"
    
    This reverts commit 41faa907e3a36f4ed00aced3499d469abb865281.
    
    Bug: https://bugs.gentoo.org/207098
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/37156
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 eclass/java-utils-2.eclass | 6 ------
 1 file changed, 6 deletions(-)
Comment 4 Volkmar W. Pogatzki 2024-06-15 06:05:31 UTC
Not fixed. -> CONFIRMED