Bug#706176: FTBFS with hsqldb 2.2.9: cannot find symbol (org.hsqldb.Trace)

Rene Engelhard rene at debian.org
Thu Apr 25 21:14:49 UTC 2013


Package: openjpa
Version: 2.0.1-1
Severity: important
Tags: experimental

I just tried to build openjpa with libhsqldb-java 2.2.9 in preparation of
#670902.

It failed:

[...]
    [javac] Compiling 1301 source files to /tmp/buildd/openjpa-2.0.1/target/classes
    [javac] /tmp/buildd/openjpa-2.0.1/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/HSQLDictionary.java:30: cannot find symbol
    [javac] symbol  : class Trace
    [javac] location: package org.hsqldb
    [javac] import org.hsqldb.Trace;
    [javac]                  ^
[...]
    [javac] /tmp/buildd/openjpa-2.0.1/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/HSQLDictionary.java:320: cannot find symbol
    [javac] symbol  : variable Trace
    [javac] location: class org.apache.openjpa.jdbc.sql.HSQLDictionary
    [javac]             && causes[0].getErrorCode() == -Trace.VIOLATION_OF_UNIQUE_INDEX) {
    [javac]                                             ^
   [javac] 2 errors
    [javac] 28 warnings

BUILD FAILED
/tmp/buildd/openjpa-2.0.1/debian/build.xml:35: Compile failed; see the compiler error output for details.

Total time: 11 seconds
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/tmp/buildd/openjpa-2.0.1'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
 -> Cleaning COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.13046 

I am filing this as important now but it will become serious when
libhsqldb-java 2.2.9 will replace the obsolete 1.8.0 in sid. Which 
will be the case shortly after wheezy release (when LO 4.0 gets uploaded.)

Regards,

Rene

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
aShell: /bin/sh linked to /bin/dash



More information about the pkg-java-maintainers mailing list