Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417337 - [java overlay] dev-java/gluegen-2.0_rc8 - Cause: the class org.apache.tools.ant.taskdefs.optional.Javah was not found.
Summary: [java overlay] dev-java/gluegen-2.0_rc8 - Cause: the class org.apache.tools.a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-24 05:54 UTC by Qingping Hou
Modified: 2012-05-24 17:58 UTC (History)
0 users

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


Attachments
build log (build.log,114.92 KB, text/plain)
2012-05-24 05:54 UTC, Qingping Hou
Details
emerge --info =dev-java/gluegen-2.0_rc8 (file_417337.txt,5.54 KB, text/plain)
2012-05-24 05:55 UTC, Qingping Hou
Details
emerge -pqv =dev-java/gluegen-2.0_rc8 (file_417337.txt,73 bytes, text/plain)
2012-05-24 05:56 UTC, Qingping Hou
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Qingping Hou 2012-05-24 05:54:58 UTC
Created attachment 312915 [details]
build log

Always reproducible: Yes
How to reproduce: emerge dev-java/gluegen


When I try to emerge dev-java/gluegen, I got following error:

BUILD FAILED
/var/tmp/portage/dev-java/gluegen-2.0_rc8/work/gluegen-v2.0-rc8/make/build.xml:396: The following error occurred while executing this line:
/var/tmp/portage/dev-java/gluegen-2.0_rc8/work/gluegen-v2.0-rc8/make/build.xml:403: Problem: failed to create task or type javah
Cause: the class org.apache.tools.ant.taskdefs.optional.Javah was not found.
        This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
        -/usr/share/ant-core/lib
        -/root/.ant/lib
        -a directory added on the command line with the -lib argument

Do not panic, this is a common problem.
The commonest cause is a missing JAR.

This is not a bug; it is a configuration problem
Comment 1 Qingping Hou 2012-05-24 05:55:46 UTC
Created attachment 312917 [details]
emerge --info =dev-java/gluegen-2.0_rc8
Comment 2 Qingping Hou 2012-05-24 05:56:24 UTC
Created attachment 312919 [details]
emerge -pqv =dev-java/gluegen-2.0_rc8
Comment 3 Ralph Sennhauser (RETIRED) gentoo-dev 2012-05-24 17:42:41 UTC
That's due to Ant before 1.8.2 additionally needing ant-nodeps. Fixed, thanks for the report.
Comment 4 Qingping Hou 2012-05-24 17:58:37 UTC
WOW, that's fast, thank you :)