Hi,

Actually there seems to be another problem after this, when building the
Java bindings.  I wonder if Build-Depends: default-jdk is really
acceptable for platforms without an openjdk:

> Setting up gcj-4.7-jdk (4.7.0-4) ...
> Setting up gcj-jdk (4:4.7.0-6) ...
> Setting up default-jdk (1:1.5-47) ...
 ...
> # java bindings
> # this code mimics mvn package. This should be changed when maven is 
> supported by debian.
> /bin/sh /usr/bin/ant -f debian/java-build.xml jar
> Buildfile: /tmp/buildd/protobuf-2.4.1/debian/java-build.xml
> 
> generate:
>     [mkdir] Created dir: 
> /tmp/buildd/protobuf-2.4.1/java/target/generated-sources
>      [echo] src
> 
> compile:
>     [mkdir] Created dir: /tmp/buildd/protobuf-2.4.1/java/target/classes
>     [javac] Compiling 38 source files to 
> /tmp/buildd/protobuf-2.4.1/java/target/classes
 ...
>     [javac] 70. ERROR in 
> /tmp/buildd/protobuf-2.4.1/java/src/main/java/com/google/protobuf/TextFormat.java
>  (at line 599)
>     [javac]     matcher.usePattern(TOKEN);
>     [javac]             ^^^^^^^^^^
>     [javac] The method usePattern(Pattern) is undefined for the type Matcher
>     [javac] ----------
>     [javac] 71. ERROR in 
> /tmp/buildd/protobuf-2.4.1/java/src/main/java/com/google/protobuf/TextFormat.java
>  (at line 618)
>     [javac]     matcher.usePattern(WHITESPACE);
>     [javac]             ^^^^^^^^^^
>     [javac] The method usePattern(Pattern) is undefined for the type Matcher
>     [javac] ----------
>     [javac] 71 problems (2 errors, 69 warnings)

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to