Bug#470584: ant: native2ascii breaks with GCJ

Anuradha Weeraman aweeraman at gmail.com
Wed Mar 12 02:38:23 UTC 2008


Package: ant
Version: 1.7.0-3
Severity: normal

Running the following ant snippet:

	<target name="convert">
		<native2ascii src="." dest="."
			  includes="file.in" ext=".out"
			  encoding="IBM1047"
		/>
	</target>

throws an "Error starting Sun's native2ascii" when using GCJ.

This same code works fine with the SUN JDK.

JAVA_HOME=/usr/lib/jvm/java-gcj
/usr/bin/java -> /etc/alternatives/java
/etc/alternatives/java -> /usr/lib/jvm/java-gcj/jre/bin/java

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ant depends on:
ii  gij [java-virtual-machine]    4:4.2.1-6  The GNU Java bytecode interpreter
ii  gij-4.1 [java1-runtime]       4.1.2-16   The GNU Java bytecode interpreter
ii  gij-4.2 [java1-runtime]       4.2.1-5    The GNU Java bytecode interpreter
ii  java-gcj-compat               1.0.76-5   Java runtime environment using GIJ
ii  java-gcj-compat-dev           1.0.76-5   Java runtime environment with GCJ
ii  kaffe-pthreads [java1-runtime 2:1.1.8-3  A POSIX threads enabled version of
ii  libxerces2-java               2.9.1-1    Validating XML parser for Java wit
ii  sun-java5-jre [java2-runtime] 1.5.0-14-3 Sun Java(TM) Runtime Environment (
ii  sun-java6-jre [java1-runtime] 6-00-2     Sun Java(TM) Runtime Environment (

Versions of packages ant recommends:
pn  ant-gcj                       <none>     (no description available)
ii  ant-optional                  1.7.0-3    Java based build tool like make - 

-- no debconf information





More information about the pkg-java-maintainers mailing list