Bug 116607

Summary: editors/openoffice.org-2 fails building hsqldb
Product: Ports & Packages Reporter: Naram Qashat <cyberbotx>
Component: Individual Port(s)Assignee: freebsd-openoffice (Nobody) <openoffice>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Naram Qashat 2007-09-24 16:30:01 UTC
	When building openoffice.org 2.3.0 from the ports, it fails to build
	the project hsqldb with some java compiler errors.  I am using JDK 1.6.
	Below is what happens during portupgrade:

--->  Upgrading 'openoffice.org-2.2.1' to 'openoffice.org-2.3.0' (editors/openoffice.org-2)
--->  Building '/usr/ports/editors/openoffice.org-2' with make flags: BATCH=yes WITH_OPENSSL_PORT=yes WITH_OPENSSL=yes WITHOUT_GNOME=esound WITHOUT_CUPS=yes WITH_KDE=yes WITHOUT_MOZILLA=yes WITH_GPC=yes WITHOUT_GNOMEVFS=yes

[snip all valid building]

=============
Building project hsqldb
=============
/usr/ports/editors/openoffice.org-2/work/OOG680_m5/hsqldb
-------------
mkdir ./unxfbsdi.pro/misc/build/hsqldb/
mkdir: ./unxfbsdi.pro/misc/build/hsqldb/: File exists
cd ./unxfbsdi.pro/misc/build/hsqldb/ && /usr/local/bin/ant -Dbuild.label="build-680m5(Build:9221)" -f build/build.xml jar  && touch /usr/ports/editors/openoffice.org-2/work/OOG680_m5/hsqldb/./unxfbsdi.pro/misc/build/so_built_so_hsqldb
Buildfile: build/build.xml

init:

-javaversion4:

-javaversion2:

-checkJamonPresence:

-prepare:

codeswitcher:

-jamonSwitchOn:

-jamonSwitchOff:
     [java]

jamonswitcher:

switches:

switchtojdk11:

switchtojdk12:

switchtojdk14:
     [java] ..........

store:

lib:

-javajsse:
     [echo] ant.java.hasjsse=true

classes:
    [javac] Compiling 39 source files to /usr/ports/editors/openoffice.org-2/work/OOG680_m5/hsqldb/unxfbsdi.pro/misc/build/hsqldb/classes
    [javac] /usr/ports/editors/openoffice.org-2/work/OOG680_m5/hsqldb/unxfbsdi.pro/misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcStatement.java:127: org.hsqldb.jdbc.jdbcStatement is not abstract and does not override abstract method isPoolable() in java.sql.Statement
    [javac] public class jdbcStatement implements Statement {
    [javac]        ^
    [javac] /usr/ports/editors/openoffice.org-2/work/OOG680_m5/hsqldb/unxfbsdi.pro/misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcStatement.java:1534: isClosed() in org.hsqldb.jdbc.jdbcStatement cannot implement isClosed() in java.sql.Statement; attempting to assign weaker access privileges; was public
    [javac]     synchronized boolean isClosed() {
    [javac]                          ^
    [javac] /usr/ports/editors/openoffice.org-2/work/OOG680_m5/hsqldb/unxfbsdi.pro/misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcPreparedStatement.java:203: org.hsqldb.jdbc.jdbcPreparedStatement is not abstract and does not override abstract method setNClob(int,java.io.Reader) in java.sql.PreparedStatement
    [javac] public class jdbcPreparedStatement extends jdbcStatement
    [javac]        ^
    [javac] /usr/ports/editors/openoffice.org-2/work/OOG680_m5/hsqldb/unxfbsdi.pro/misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcCallableStatement.java:295: org.hsqldb.jdbc.jdbcCallableStatement is not abstract and does not override abstract method setNClob(java.lang.String,java.io.Reader) in java.sql.CallableStatement
    [javac] public class jdbcCallableStatement extends jdbcPreparedStatement
    [javac]        ^
    [javac] /usr/ports/editors/openoffice.org-2/work/OOG680_m5/hsqldb/unxfbsdi.pro/misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcConnection.java:403: org.hsqldb.jdbc.jdbcConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection
    [javac] public class jdbcConnection implements Connection {
    [javac]        ^
    [javac] /usr/ports/editors/openoffice.org-2/work/OOG680_m5/hsqldb/unxfbsdi.pro/misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcResultSetMetaData.java:94: org.hsqldb.jdbc.jdbcResultSetMetaData is not abstract and does not override abstract method isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper
    [javac] public class jdbcResultSetMetaData implements ResultSetMetaData {
    [javac]        ^
    [javac] /usr/ports/editors/openoffice.org-2/work/OOG680_m5/hsqldb/unxfbsdi.pro/misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcResultSet.java:325: org.hsqldb.jdbc.jdbcResultSet is not abstract and does not override abstract method updateNClob(java.lang.String,java.io.Reader) in java.sql.ResultSet
    [javac] public class jdbcResultSet implements ResultSet {
    [javac]        ^
    [javac] /usr/ports/editors/openoffice.org-2/work/OOG680_m5/hsqldb/unxfbsdi.pro/misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcDatabaseMetaData.java:279: org.hsqldb.jdbc.jdbcDatabaseMetaData is not abstract and does not override abstract method getFunctionColumns(java.lang.String,java.lang.String,java.lang.String,java.lang.String) in java.sql.DatabaseMetaData
    [javac] public class jdbcDatabaseMetaData implements DatabaseMetaData {
    [javac]        ^
    [javac] /usr/ports/editors/openoffice.org-2/work/OOG680_m5/hsqldb/unxfbsdi.pro/misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcBlob.java:78: org.hsqldb.jdbc.jdbcBlob is not abstract and does not override abstract method getBinaryStream(long,long) in java.sql.Blob
    [javac] public class jdbcBlob implements Blob {
    [javac]        ^
    [javac] /usr/ports/editors/openoffice.org-2/work/OOG680_m5/hsqldb/unxfbsdi.pro/misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcClob.java:81: org.hsqldb.jdbc.jdbcClob is not abstract and does not override abstract method getCharacterStream(long,long) in java.sql.Clob
    [javac] public final class jdbcClob implements Clob {
    [javac]              ^
    [javac] /usr/ports/editors/openoffice.org-2/work/OOG680_m5/hsqldb/unxfbsdi.pro/misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcParameterMetaData.java:54: org.hsqldb.jdbc.jdbcParameterMetaData is not abstract and does not override abstract method isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper
    [javac] public class jdbcParameterMetaData implements ParameterMetaData {
    [javac]        ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 11 errors

BUILD FAILED
/usr/ports/editors/openoffice.org-2/work/OOG680_m5/hsqldb/unxfbsdi.pro/misc/build/hsqldb/build/build.xml:294: Compile failed; see the compiler error output for details.

Total time: 9 seconds
dmake:  Error code 1, while making 'unxfbsdi.pro/misc/build/so_built_so_hsqldb'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOG680_m5/hsqldb
dmake:  Error code 1, while making 'build_instsetoo_native'
---*  *---
*** Error code 255

Stop in /usr/ports/editors/openoffice.org-2.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.46718.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=openoffice.org-2.2.1 UPGRADE_PORT_VER=2.2.1 make BATCH=yes WITH_OPENSSL_PORT=yes WITH_OPENSSL=yes WITHOUT_GNOME=esound WITHOUT_CUPS=yes WITH_KDE=yes WITHOUT_MOZILLA=yes WITH_GPC=yes WITHOUT_GNOMEVFS=yes
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! editors/openoffice.org-2 (openoffice.org-2.2.1)       (unknown build error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

How-To-Repeat: 	Not sure if it can be reproduced or not, but I have JDK 1.6 installed from the
	ports and I am upgrading from openoffice.org 2.2.1 to 2.3.0
Comment 1 Edwin Groothuis freebsd_committer 2007-09-24 16:30:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->openoffice

Over to maintainer
Comment 2 dfilter service freebsd_committer 2007-09-28 04:28:51 UTC
maho        2007-09-28 03:28:46 UTC

  FreeBSD ports repository

  Modified files:
    editors/openoffice.org-2 Makefile 
    editors/openoffice.org-2-RC Makefile 
    editors/openoffice.org-2-devel Makefile 
  Log:
  Unbreak for 7-CURRENT.
  
  Truckman was able to successfully build the port on
  a September 22nd copy of 7.0-CURRENT on an i386 machine
  with jdk-1.5.0.12p6_2,1, also use only 1.4 and 1.5, as JDK 1.6 has
  problem. See PR 116607.
  
  PR:     116607
  Submitted by:   truckman
  
  Revision  Changes    Path
  1.305     +5 -3      ports/editors/openoffice.org-2-RC/Makefile
  1.333     +7 -1      ports/editors/openoffice.org-2-devel/Makefile
  1.286     +5 -3      ports/editors/openoffice.org-2/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Maho Nakata freebsd_committer 2007-09-28 04:30:21 UTC
State Changed
From-To: open->closed

Fix has been committed, thanks for your report!