Mailinglist Archive: opensuse-buildservice (233 mails)

< Previous Next >
[opensuse-buildservice] /usr/lib/rpm/brp-check-bytecode-version does incorrect tests
  • From: Carsten Hoeger <choeger@xxxxxxxxxxxx>
  • Date: Tue, 2 Dec 2008 11:14:12 +0100
  • Message-id: <20081202101412.GC3682@xxxxxxxxxxxx>
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
< Previous Next >
Follow Ups