Ticket #67 (assigned defect)

Opened 3 years ago

Last modified 1 year ago

Build FreeCast in a free environment

Reported by: alban@tryphon.org Assigned to: alban@tryphon.org (accepted)
Priority: normal Milestone:
Component: default Version: 20051009
Severity: normal Keywords:
Cc:

Description

For the moment, the sources can be build only with the sun jdk. It's important to make it possible with other free jdks.

Attachments

ant.log (25.9 kB) - added by alban@tryphon.org on 02/19/06 16:26:00.
ant log with -Dbuild.compiler=gcj

Change History

02/19/06 16:24:25 changed by alban@tryphon.org

  • status changed from new to assigned.
The sources can be built with jikes without problems.

02/19/06 16:26:00 changed by alban@tryphon.org

  • attachment ant.log added.

ant log with -Dbuild.compiler=gcj

02/19/06 16:28:31 changed by alban@tryphon.org

gcj has two problems with FreeCast sources:

- some of inner classes aren't compatible .. to be study but could be refactored easily ..
- javax.sound API isn't available by default for gcj .. could be fixed by including the tritonus classes into the build classpath. Requires to build the tritonus javax.sound sources available in track, to be study

02/20/06 01:10:56 changed by alban@tryphon.org

The current subversion revision (250) fixes problems with javax.sound API and inner classes.

The last problem is the usage of sun.misc.Service into the org.kolaka.freecast.sound.AudioSystem class. Required to replace by commons-discovery (http://jakarta.apache.org/commons/discovery/).

02/20/06 18:10:50 changed by alban@tryphon.org

sun.msic.Service has been remplaced by the commons-discovery org.apache.commons.discovery.tools.Service implementation.

Inner class naming have been explicited to allow gcj compilation. Some complex inner class definitions have been removed: inner in inner, inline class overiding with exception in the constructor, etc .. 

For the moment, the compilation is successful with gcj but compiled classes lead to a VerifyError in OggSourceFactoryReceiver during tests :,(

I tested the build under kaffe environment (JAVA_HOME=/usr/lib/kaffe ant clean dist) and the xsl transformation in build.etc fails with a NullPointerException. 

Under kaffe environment (with classes compiled with sun jdk), SignatureTest fails with SignatureException ("RSA modulus too small").

cf following attachments

02/20/06 21:25:33 changed by alban@tryphon.org

to build succesfully with a kaffe environment, xalan must be present in the ant/lib directory. "JAVA_HOME=/usr/lib/kaffe ant clean dist" works in this condition.

11/27/07 19:15:58 changed by alban

  • priority changed from high to normal.

Add/Change #67 (Build FreeCast in a free environment)




Change Properties
Action