Opened 13 years ago

Closed 13 years ago

#7664 closed defect (wontfix)

Problem with build system

Reported by: William Riley Owned by: James Burke
Priority: high Milestone: tbd
Component: BuildSystem Version: 1.2beta
Keywords: Cc:
Blocked By: Blocking:


When trying to make a build, I ran into this error:

[email protected]:~/Desktop/desktop/desktop/dojotoolkit/util/buildscripts$ ./ version=1.0.0.beta1 profile=desktop mini=true cssOptimize=comments action=release
release:  Using profile: profiles/desktop.profile.js
release:  Using version number: 1.0.0.beta1 for the release.
release:  Deleting: ../../release/dojo
release:  Copying: ../../dojo/../desktop to: ../../release/dojo/desktop
release:  Copying: ../../dojo/../api to: ../../release/dojo/api
release:  Copying: ../../dojo/../login to: ../../release/dojo/login
release:  Copying: ../../dojo/../dijit to: ../../release/dojo/dijit
release:  Copying: ../../dojo/../dojox to: ../../release/dojo/dojox
release:  Copying: ../../dojo to: ../../release/dojo/dojo
release:  Building dojo.js and layer files
release:  Interning strings for file: ../../release/dojo/dojo/dojo.js
release:  Optimizing (shrinksafe) file: ../../release/dojo/dojo/dojo.js
js: uncaught JavaScript runtime exception: TypeError: Cannot find function compressScript.

Change History (5)

comment:1 Changed 13 years ago by James Burke

This normally means another Rhino is in your classpath. Try setting the CLASSPATH environment variable to be empty before running the build command and try again.

If that does not work, then more info about your system and version of Java would help to isolate the issue.

comment:2 Changed 13 years ago by William Riley

Here's the info you wanted:

[email protected]:~$ echo $CLASSPATH

[email protected]:~$ java -version
java version "1.6.0_0"
OpenJDK  Runtime Environment (build 1.6.0_0-b11)
OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode)
[email protected]:~$ 

I do have my distro's rhino installed.

Maybe I should remove openJDK, and use java-6-sun?

comment:3 Changed 13 years ago by James Burke

I guess it is worth a shot, using the Sun version -- that is the one I have tested with before. But it is unfortunate if you need to remove OpenJDK: where does the OpenJDK come from -- who puts it together?

It is weird, the error really seems like the old ones we would get when a conflicting rhino was installed. But your classpath seems empty. Maybe the scripting stuff in Java6 is somehow interfering? But I think we would have heard about that by now (I am still on Java 1.5).

comment:4 Changed 13 years ago by dante

This was reported a couple days ago in #dojo as well, pointing to this openjdk bug:

probably a wontfix on our part

comment:5 Changed 13 years ago by James Burke

Resolution: wontfix
Status: newclosed

OK, closing as a wontfix, hopefully it will be fixed or a workaround given on the ubuntu side.

Note: See TracTickets for help on using tickets.