Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354105 - dev-java/javatoolkit: findclass doesn't work
Summary: dev-java/javatoolkit: findclass doesn't work
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2011-02-08 16:50 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2025-03-08 15:04 UTC (History)
1 user (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 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-02-08 16:50:31 UTC
findclass needs dev-java/java-config:0. This script should no longer be installed or should be ported to dev-java/java-config:2.

$ /usr/lib64/javatoolkit/bin/findclass
Traceback (most recent call last):
  File "/usr/lib64/javatoolkit/bin/findclass", line 19, in <module>
    from java_config.jc_util import find_exec, collect_packages
ImportError: No module named java_config.jc_util
Comment 1 Volkmar W. Pogatzki 2023-06-03 07:33:30 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis (RETIRED) from comment #0)
> [...]
> $ /usr/lib64/javatoolkit/bin/findclass

This path does not exist. Closing.
Comment 2 Larry the Git Cow gentoo-dev 2025-03-08 14:57:55 UTC
The bug has been referenced in the following commit(s):

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

commit 8b4f6695aead6e4649a70d8ab86b69e189cd2d04
Author:     Andrei Horodniceanu <a.horodniceanu@proton.me>
AuthorDate: 2025-03-08 14:27:31 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2025-03-08 14:57:45 +0000

    dev-java/javatoolkit: fix eprefix support
    
    Avoid the double-prefix error and don't call hprefixify on files that
    don't exist.
    
    Note that the findclass.py script is broken with dev-java/java-config:2
    so patching it is somewhat pointless.
    
    Bug: https://bugs.gentoo.org/354105
    Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
    Closes: https://github.com/gentoo/gentoo/pull/40963
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 dev-java/javatoolkit/javatoolkit-0.6.8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 3 Andrei Horodniceanu 2025-03-08 15:04:08 UTC
This is still not fixed