Bug#628289: geogebra: FTBFS: [javac] /build/user-geogebra_3.2.46.0+dfsg1-1-amd64-cG9nle/geogebra-3.2.46.0+dfsg1/geogebra/main/AppletImplementation.java:1593: cannot find symbol

Giovanni Mascellani gio at debian.org
Thu Jun 2 13:40:55 UTC 2011


Hi.

Thanks for the report.

On 28/05/2011 15:48, Lucas Nussbaum wrote:
>>     [javac] /build/user-geogebra_3.2.46.0+dfsg1-1-amd64-cG9nle/geogebra-3.2.46.0+dfsg1/geogebra/main/AppletImplementation.java:53: package netscape.javascript does not exist
>>     [javac] import netscape.javascript.JSObject;
>>     [javac]                           ^
>>     [javac] /build/user-geogebra_3.2.46.0+dfsg1-1-amd64-cG9nle/geogebra-3.2.46.0+dfsg1/geogebra/main/AppletImplementation.java:87: cannot find symbol
>>     [javac] symbol  : class JSObject
>>     [javac] location: class geogebra.main.AppletImplementation
>>     [javac] 	private JSObject browserWindow;
>>     [javac] 	        ^
>>     [javac] /build/user-geogebra_3.2.46.0+dfsg1-1-amd64-cG9nle/geogebra-3.2.46.0+dfsg1/geogebra/main/AppletImplementation.java:1571: cannot find symbol
>>     [javac] symbol  : variable JSObject
>>     [javac] location: class geogebra.main.AppletImplementation
>>     [javac] 				browserWindow = JSObject.getWindow(applet);
>>     [javac] 				                ^
>>     [javac] /build/user-geogebra_3.2.46.0+dfsg1-1-amd64-cG9nle/geogebra-3.2.46.0+dfsg1/geogebra/main/AppletImplementation.java:1593: cannot find symbol
>>     [javac] symbol  : variable JSObject
>>     [javac] location: class geogebra.main.AppletImplementation
>>     [javac] 				browserWindow = JSObject.getWindow(applet);
>>     [javac] 				                ^
>>     [javac] Note: Some input files use or override a deprecated API.
>>     [javac] Note: Recompile with -Xlint:deprecation for details.
>>     [javac] Note: Some input files use unchecked or unsafe operations.
>>     [javac] Note: Recompile with -Xlint:unchecked for details.
>>     [javac] 4 errors
>>     [javac] 100 warnings
>>
>> BUILD FAILED
>> /build/user-geogebra_3.2.46.0+dfsg1-1-amd64-cG9nle/geogebra-3.2.46.0+dfsg1/build.xml:59: Compile failed; see the compiler error output for details.

The same problem happens also in Ubuntu:

https://bugs.launchpad.net/ubuntu/+source/geogebra/+bug/749271

Some classes disappeared from OpenJDK and I'm trying to understand how
difficult it would be to have them back again.

The other option is to remove from Geogebra the code depending on
netscape.javascript.*. Given that Geogebra in Debian is meant to be used
just as an application, this shouldn't hurt that much. Some work would
be needed anyway.

I'll work deeper in this issue next weekend.

Giovanni.
-- 
Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Pisa, Italy

Web: http://poisson.phc.unipi.it/~mascellani
Jabber: g.mascellani at jabber.org / giovanni at elabor.homelinux.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20110602/085aa161/attachment.pgp>


More information about the pkg-java-maintainers mailing list