Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#27032 - [javasqlite] doesn't build

Attached to Project: Community Packages
Opened by Andrea Scarpino (BaSh) - Friday, 18 November 2011, 13:39 GMT
Last edited by Guillaume ALAUX (galaux) - Monday, 28 November 2011, 22:26 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Guillaume ALAUX (galaux)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
SQLite/JDBCDriver.java:6: error: JDBCDriver is not abstract and does not override abstract method getParentLogger() in Driver
public class JDBCDriver implements java.sql.Driver {
^
Note: SQLite/JDBCDriver.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
make: *** [SQLite/JDBCDriver.class] Error 1
make: *** Waiting for unfinished jobs....
SQLite/JDBC2z/JDBCConnection.java:6: error: JDBCConnection is not abstract and does not override abstract method getNetworkTimeout() in Connection
public class JDBCConnection
^
Note: SQLite/Benchmark.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
SQLite/JDBC2z/JDBCStatement.java:6: error: JDBCStatement is not abstract and does not override abstract method isCloseOnCompletion() in Statement
public class JDBCStatement implements java.sql.Statement {
^
/build/src/javasqlite-20110106/SQLite/JDBC2z/JDBCDatabaseMetaData.java:6: error: JDBCDatabaseMetaData is not abstract and does not override abstract method generatedKeyAlwaysReturned() in DatabaseMetaData
public class JDBCDatabaseMetaData implements DatabaseMetaData {
^
/build/src/javasqlite-20110106/SQLite/JDBC2z/JDBCConnection.java:6: error: JDBCConnection is not abstract and does not override abstract method getNetworkTimeout() in Connection
public class JDBCConnection
^
/build/src/javasqlite-20110106/SQLite/JDBC2z/JDBCResultSet.java:6: error: JDBCResultSet is not abstract and does not override abstract method <T>getObject(String,Class<T>) in ResultSet
public class JDBCResultSet implements java.sql.ResultSet {
^
where T is a type-variable:
T extends Object declared in method <T>getObject(String,Class<T>)
/build/src/javasqlite-20110106/SQLite/JDBC2z/JDBCResultSet.java:6: error: JDBCResultSet is not abstract and does not override abstract method <T>getObject(String,Class<T>) in ResultSet
public class JDBCResultSet implements java.sql.ResultSet {
^
where T is a type-variable:
T extends Object declared in method <T>getObject(String,Class<T>)
/build/src/javasqlite-20110106/SQLite/JDBC2z/JDBCStatement.java:6: error: JDBCStatement is not abstract and does not override abstract method isCloseOnCompletion() in Statement
public class JDBCStatement implements java.sql.Statement {
^
/build/src/javasqlite-20110106/SQLite/JDBC2z/JDBCDatabaseMetaData.java:6: error: JDBCDatabaseMetaData is not abstract and does not override abstract method generatedKeyAlwaysReturned() in DatabaseMetaData
public class JDBCDatabaseMetaData implements DatabaseMetaData {
^
/build/src/javasqlite-20110106/SQLite/JDBC2z/JDBCPreparedStatement.java:21: error: JDBCPreparedStatement is not abstract and does not override abstract method isCloseOnCompletion() in Statement
public class JDBCPreparedStatement extends JDBCStatement
^
/build/src/javasqlite-20110106/SQLite/JDBCDriver.java:6: error: JDBCDriver is not abstract and does not override abstract method getParentLogger() in Driver
public class JDBCDriver implements java.sql.Driver {
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
6 errors
make: *** [SQLite/JDBC2z/JDBCConnection.class] Error 1
/build/src/javasqlite-20110106/SQLite/JDBC2z/JDBCPreparedStatement.java:21: error: JDBCPreparedStatement is not abstract and does not override abstract method isCloseOnCompletion() in Statement
public class JDBCPreparedStatement extends JDBCStatement
^
/build/src/javasqlite-20110106/SQLite/JDBCDriver.java:6: error: JDBCDriver is not abstract and does not override abstract method getParentLogger() in Driver
public class JDBCDriver implements java.sql.Driver {
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
6 errors
make: *** [SQLite/JDBC2z/JDBCStatement.class] Error 1

Additional info:
* javasqlite 20110106-1

Steps to reproduce:
Try to build it.
This task depends upon

Closed by  Guillaume ALAUX (galaux)
Monday, 28 November 2011, 22:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  Upstream fixed
Comment by Guillaume ALAUX (galaux) - Friday, 18 November 2011, 18:25 GMT
This is a known incompatibility due to recent changes brought by Java7
Comment by Andrea Scarpino (BaSh) - Friday, 18 November 2011, 20:12 GMT
Great. Upstream knows? link?
Comment by Guillaume ALAUX (galaux) - Saturday, 19 November 2011, 00:05 GMT
I just emailed upstream. I'll keep you posted.

FYI, similar issues are reported for some other java apps:

https://issues.apache.org/jira/browse/CASSANDRA-3275

In the meantime, I updated the PKGBUILD to last version and set {make}depends to openjdk6
Comment by Guillaume ALAUX (galaux) - Monday, 28 November 2011, 22:25 GMT
Upstream kindly answered and updated source.
Thanks Christian.

Loading...