[opensuse-buildservice] /usr/lib/rpm/brp-check-bytecode-version does incorrect tests
Hi, I'm currently unable to build packages for Factory, because the /usr/lib/rpm/brp-check-bytecode-version detects an error: + /usr/lib/rpm/brp-check-bytecode-version ERROR: the files below contain java bytecode for something later than java 1.5, ERROR: please set the javac target to 1.5 or lower. mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/JDBC4CallableStatement.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/JDBC4ClientInfoProvider.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/JDBC4ClientInfoProviderSP.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/JDBC4CommentClientInfoProvider.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/JDBC4Connection$1$1.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/JDBC4Connection$1.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/JDBC4Connection.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/JDBC4DatabaseMetaData.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/JDBC4DatabaseMetaDataUsingInfoSchema.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/JDBC4MysqlSQLXML$SimpleSaxToReader.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/JDBC4MysqlSQLXML.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/JDBC4NClob.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/JDBC4PreparedStatement.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/JDBC4PreparedStatementHelper.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/JDBC4ResultSet.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/JDBC4ServerPreparedStatement.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/JDBC4UpdatableResultSet.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/exceptions/jdbc4/CommunicationsException.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/exceptions/jdbc4/MySQLDataException.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/exceptions/jdbc4/MySQLIntegrityConstraintViolationException.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/exceptions/jdbc4/MySQLInvalidAuthorizationSpecException.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/exceptions/jdbc4/MySQLNonTransientConnectionException.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/exceptions/jdbc4/MySQLNonTransientException.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/exceptions/jdbc4/MySQLSyntaxErrorException.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/exceptions/jdbc4/MySQLTimeoutException.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/exceptions/jdbc4/MySQLTransactionRollbackException.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/exceptions/jdbc4/MySQLTransientConnectionException.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/exceptions/jdbc4/MySQLTransientException.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/jdbc2/optional/JDBC4CallableStatementWrapper.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/jdbc2/optional/JDBC4ConnectionWrapper.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/jdbc2/optional/JDBC4MysqlPooledConnection.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/jdbc2/optional/JDBC4MysqlXAConnection.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/jdbc2/optional/JDBC4PreparedStatementWrapper.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/jdbc2/optional/JDBC4StatementWrapper.class mysql-connector-java-5.1.6-bin.jar: com/mysql/jdbc/jdbc2/optional/JDBC4SuspendableXAConnection.class ERROR: the files above contain java bytecode for something later than java 1.5, ERROR: please set the javac target to 1.5 or lower. error: Bad exit status from /var/tmp/rpm-tmp.11846 (%install) https://build.opensuse.org/package/live_build_log?arch=i586&package=open-xchange-common&project=server%3AOX%3Asnapshot&repository=openSUSE_Factory Can this check be switched off or at least be fixed? The driver ships Bytecode in both, 1.5 and 1.6 version and loads the correct version on demand. -- With best regards, Carsten Hoeger
On Tuesday 02 of December 2008 11:14:12 Carsten Hoeger wrote:
Hi,
I'm currently unable to build packages for Factory, because the /usr/lib/rpm/brp-check-bytecode-version detects an error:
Can this check be switched off or at least be fixed?
The driver ships Bytecode in both, 1.5 and 1.6 version and loads the correct version on demand.
http://en.opensuse.org/Java/Packaging/Cookbook#bytecode_version_error Regards Michal Vyskocil -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, Dec 02, Michal Vyskocil wrote:
I'm currently unable to build packages for Factory, because the /usr/lib/rpm/brp-check-bytecode-version detects an error:
Can this check be switched off or at least be fixed?
The driver ships Bytecode in both, 1.5 and 1.6 version and loads the correct version on demand.
http://en.opensuse.org/Java/Packaging/Cookbook#bytecode_version_error
Ah, thanks for the link. Of course I did some search queries, but was unable to find something. -- With best regards, Carsten Hoeger
participants (2)
-
Carsten Hoeger
-
Michal Vyskocil