Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54500 - rhino-1.5 doesn't build
Summary: rhino-1.5 doesn't build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-20 02:53 UTC by Robert Muchacki (RETIRED)
Modified: 2004-06-20 07:19 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 Robert Muchacki (RETIRED) gentoo-dev 2004-06-20 02:53:21 UTC
Here is another issue of "doesn't want to build":

Buildfile: build.xml

properties:

init:
    [mkdir] Created dir: /hda4/tmp/portage/rhino-1.5-r5/work/rhino1_5R5/build
    [mkdir] Created dir: /hda4/tmp/portage/rhino-1.5-r5/work/rhino1_5R5/build/classes
    [mkdir] Created dir: /hda4/tmp/portage/rhino-1.5-r5/work/rhino1_5R5/build/rhino1_5R5
    [mkdir] Created dir: /hda4/tmp/portage/rhino-1.5-r5/work/rhino1_5R5/build/rhino1_5R5/src
    [mkdir] Created dir: /hda4/tmp/portage/rhino-1.5-r5/work/rhino1_5R5/build/rhino1_5R5/toolsrc
    [mkdir] Created dir: /hda4/tmp/portage/rhino-1.5-r5/work/rhino1_5R5/build/rhino1_5R5/examples
    [mkdir] Created dir: /hda4/tmp/portage/rhino-1.5-r5/work/rhino1_5R5/build/rhino1_5R5/docs
    [mkdir] Created dir: /hda4/tmp/portage/rhino-1.5-r5/work/rhino1_5R5/build/rhino1_5R5/docs/apidocs

compile:

properties:

compile:
    [javac] Compiling 109 source files to /hda4/tmp/portage/rhino-1.5-r5/work/rhino1_5R5/build/classes
    [javac] /hda4/tmp/portage/rhino-1.5-r5/work/rhino1_5R5/src/org/mozilla/javascript/Context.java:1835: warning: org.mozilla.javascript.WrapHandler in org.mozilla.javascript has been deprecated
    [javac]         WrapHandler _handler;
    [javac]         ^
    [javac] /hda4/tmp/portage/rhino-1.5-r5/work/rhino1_5R5/src/org/mozilla/javascript/Context.java:1837: warning: org.mozilla.javascript.WrapHandler in org.mozilla.javascript has been deprecated
    [javac]         WrapHandlerProxy(WrapHandler handler)
    [javac]                          ^
    [javac] /hda4/tmp/portage/rhino-1.5-r5/work/rhino1_5R5/src/org/mozilla/javascript/Context.java:1837: warning: org.mozilla.javascript.WrapHandler in org.mozilla.javascript has been deprecated
    [javac]         WrapHandlerProxy(WrapHandler handler)
    [javac]                          ^
    [javac] 3 warnings
     [copy] Copying 2 files to /hda4/tmp/portage/rhino-1.5-r5/work/rhino1_5R5/build/classes

properties:

get-swing-ex:
BUILD FAILED
/hda4/tmp/portage/rhino-1.5-r5/work/rhino1_5R5/build.xml:51: Following error occured while executing this line
/hda4/tmp/portage/rhino-1.5-r5/work/rhino1_5R5/toolsrc/build.xml:20: Could not create task or type of type: setproxy.

Ant could not find the task or a class this task relies upon.

This is common and has a number of causes; the usual 
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file: 
 - You have misspelt 'setproxy'.
   Fix: check your spelling.
 - The task needs an external JAR file to execute
   and this is not found at the right place in the classpath.
   Fix: check the documentation for dependencies.
   Fix: declare the task.
 - The task is an Ant optional task and optional.jar is absent
   Fix: look for optional.jar in ANT_HOME/lib, download if needed
 - The task was not built into optional.jar as dependent
   libraries were not found at build time.
   Fix: look in the JAR to verify, then rebuild with the needed
   libraries, or download a release version from apache.org
 - The build file was written for a later version of Ant
   Fix: upgrade to at least the latest release version of Ant
 - The task is not an Ant core or optional task 
   and needs to be declared using <taskdef>.

Remember that for JAR files to be visible to Ant tasks implemented
in ANT_HOME/lib, the files must be in the same directory or on the
classpath

Please neither file bug reports on this problem, nor email the
Ant mailing lists, until all of these causes have been explored,
as this is not an Ant bug.

Total time: 3 seconds

!!! ERROR: dev-java/rhino-1.5-r5 failed.



Of course, I checked the above and it seems OK.

I have the newest avalable ANT: ant-1.5.3-r5.
I have optional.jar: locate optional.jar
/usr/share/ant/lib/optional.jar

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2004-06-20 02:56:24 UTC
allready fixed in the tree by  #50615
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-06-20 07:19:39 UTC
Fixed this yesterday. Why do we get so many dupes? See #50615.