Subject build firebirdsql failed
Author tsangccn
Hello,

I have update client-java from CVS and run build. But I got some problem.

I build it on Redhat Linux 7.3.
JDK is J2SDK 1.4.0_01.

The output of the build is

---------------------------------------------------------

Buildfile: build.xml

init:

compile-concurrent:
[unjar] Expanding:
/home/tsang/firebird/client-java/src/lib/concurrent.jar into
/home/tsang/firebird/client-java/output/concurrent

checkout-j2ee:

compile-j2ee:
[javac] Compiling 14 source files to
/home/tsang/firebird/client-java/output/j2ee
[javac] This version of java does not support the classic
compiler; upgrading to modern

compile-driver:
[javac] Compiling 82 source files to
/home/tsang/firebird/client-java/output/classes
[javac] This version of java does not support the classic
compiler; upgrading to modern
[javac]
/home/tsang/firebird/client-java/src/main/org/firebirdsql/jdbc/FBResultSet.java:62:
warning: getUnicodeStream(java.lang.String) in java.sql.ResultSet has
been deprecated
[javac] public class FBResultSet implements ResultSet {
[javac] ^
[javac]
/home/tsang/firebird/client-java/src/main/org/firebirdsql/jdbc/FBResultSet.java:62:
warning: getBigDecimal(java.lang.String,int) in java.sql.ResultSet has
been deprecated
[javac] public class FBResultSet implements ResultSet {
[javac] ^
[javac]
/home/tsang/firebird/client-java/src/main/org/firebirdsql/jdbc/FBResultSet.java:62:
warning: getUnicodeStream(int) in java.sql.ResultSet has been deprecated
[javac] public class FBResultSet implements ResultSet {
[javac] ^
[javac]
/home/tsang/firebird/client-java/src/main/org/firebirdsql/jdbc/FBResultSet.java:62:
warning: getBigDecimal(int,int) in java.sql.ResultSet has been deprecated
[javac] public class FBResultSet implements ResultSet {
[javac] ^
[javac]
/home/tsang/firebird/client-java/src/main/org/firebirdsql/jdbc/FBPreparedStatement.java:59:
warning: setUnicodeStream(int,java.io.InputStream,int) in
java.sql.PreparedStatement has been deprecated
[javac] public class FBPreparedStatement extends FBStatement
implements PreparedStatement {
[javac] ^
[javac]
/home/tsang/firebird/client-java/src/main/org/firebirdsql/jdbc/FBCallableStatement.java:92:
warning: getBigDecimal(int,int) in java.sql.CallableStatement has been
deprecated
[javac] public class FBCallableStatement extends
FBPreparedStatement implements CallableStatement {
[javac] ^
[javac]
/home/tsang/firebird/client-java/src/main/org/firebirdsql/jdbc/FBCallableStatement.java:92:
warning: setUnicodeStream(int,java.io.InputStream,int) in
java.sql.PreparedStatement has been deprecated
[javac] public class FBCallableStatement extends
FBPreparedStatement implements CallableStatement {
[javac] ^
[javac]
/home/tsang/firebird/client-java/src/main/org/firebirdsql/jdbc/FBRowSet.java:44:
warning: getUnicodeStream(java.lang.String) in java.sql.ResultSet has
been deprecated
[javac] public class FBRowSet extends FBResultSet implements RowSet {
[javac] ^
[javac]
/home/tsang/firebird/client-java/src/main/org/firebirdsql/jdbc/FBRowSet.java:44:
warning: getBigDecimal(java.lang.String,int) in java.sql.ResultSethas
been deprecated
[javac] public class FBRowSet extends FBResultSet implements RowSet {
[javac] ^
[javac]
/home/tsang/firebird/client-java/src/main/org/firebirdsql/jdbc/FBRowSet.java:44:
warning: getUnicodeStream(int) in java.sql.ResultSet has been deprecated
[javac] public class FBRowSet extends FBResultSet implements RowSet {
[javac] ^
[javac]
/home/tsang/firebird/client-java/src/main/org/firebirdsql/jdbc/FBRowSet.java:44:
warning: getBigDecimal(int,int) in java.sql.ResultSet has been deprecated
[javac] public class FBRowSet extends FBResultSet implements RowSet {
[javac] ^
[javac] 11 warnings

compile-tests:
[javac] Compiling 31 source files to
/home/tsang/firebird/client-java/output/test
[javac] This version of java does not support the classic
compiler; upgrading to modern
[javac]
/home/tsang/firebird/client-java/src/test/org/firebirdsql/jdbc/TestFBWrappingDataSource.java:102:
warning: setDatabaseName(java.lang.String) in
org.firebirdsql.jdbc.FBSimpleDataSource has been deprecated
[javac] ds.setDatabaseName(DB_DATASOURCE_URL);
[javac] ^
[javac]
/home/tsang/firebird/client-java/src/test/org/firebirdsql/jdbc/TestFBWrappingDataSource.java:105:
warning: setUser(java.lang.String) in
org.firebirdsql.jdbc.FBSimpleDataSource has been deprecated
[javac] ds.setUser(DB_USER);
[javac] ^
[javac]
/home/tsang/firebird/client-java/src/test/org/firebirdsql/jdbc/TestFBWrappingDataSource.java:115:
warning: setDatabaseName(java.lang.String) in
org.firebirdsql.jdbc.FBSimpleDataSource has been deprecated
[javac] ds.setDatabaseName(DB_DATASOURCE_URL);
[javac] ^
[javac]
/home/tsang/firebird/client-java/src/test/org/firebirdsql/jdbc/TestFBWrappingDataSource.java:153:
warning: setDatabaseName(java.lang.String) in
org.firebirdsql.jdbc.FBSimpleDataSource has been deprecated
[javac] ds.setDatabaseName(DB_DATASOURCE_URL);
[javac] ^
[javac]
/home/tsang/firebird/client-java/src/test/org/firebirdsql/jdbc/TestBWrappingDataSource.java:184:
warning: setUser(java.lang.String) in
org.firebirsql.jdbc.FBSimpleDataSource has been deprecated
[javac] ds.setUser(DB_USER);
[javac] ^
[javac] 5 warnings

compile-resources:

compile-stylesheets:

compile:

jar-concurrent:

jar-j2ee:
[jar] Building jar:
/home/tsang/firebird/client-java/output/lib/mini-j2eejar

jar-jmx:
[jar] Building jar:
/home/tsang/firebird/client-java/output/lib/firebirdjx.jar

jar-ra:
[jar] Building jar:
/home/tsang/firebird/client-java/output/lib/firebirdsql.jar

rar:
[jar] Building jar:
/home/tsang/firebird/client-java/output/lib/firebirdsql.rar

jar-test:
[jar] Building jar:
/home/tsang/firebird/client-java/output/lib/firebirdsql-test.jar

jars:

all-tests:
[junit] Running org.firebirdsql.jca.TestFBBlob

BUILD FAILED
file:/home/tsang/firebird/client-java/build.xml:353: Process fork failed.

Total time: 1 minute 6 seconds

---------------------------------------------------------

It seems that it has built the RAR and JAR files in
client-java/output/lib.
But why are there so many deprecated messages?
Why the build failed with "Process fork failed"? What is that?

Thanks
CN