Bug#292577: ant: Segfault on attempted compile

Arnaud Vandyck Arnaud Vandyck <avdyk@debian.org>, 292577@bugs.debian.org
Mon Feb 21 15:42:12 2005


=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fri, 28 Jan 2005 00:10:42 +0100,=20
"David N. Welton" <davidw@debian.org> wrote:=20

> Package: ant

I don't understand why you filed the bug report against ant?=20

[...]

> Trying to build cp-tools from the classpath CVS:
>
> davidw@florence:~/workshop/cp-tools$ ant --execdebug
> exec "/usr/bin/java" -classpath
> "/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/xmlParserAPIs.jar:/u=
sr/share/java/xercesImpl.jar"
> -Dant.home=3D"/usr/share/ant" -Dant.library.dir=3D"/usr/share/ant/lib"
> org.apache.tools.ant.launch.Launcher -lib ""
> Unable to locate tools.jar. Expected to find it in /usr/lib/tools.jar
> Buildfile: build.xml
>
> init:
>      [echo] build.compiler =3D ${build.compiler}

Maybe you can try to set build.compiler to gcj or jikes (in the
build.xml or by passing -Dbuild.compiler=3Djikes)

>           [echo] user.home =3D /home/davidw
> 	       [echo] java.home =3D /usr

This is not a correct value for java.home so javadoc will not be available.

> 	            [echo] ant.home =3D /usr/share/ant
> 		         [echo] java.class.path =3D

your classpath seems correct.

> compile:
> Segmentation fault
>
> Poof!  No idea what's causing it.  java is linked to gij.

When build.compiler will be set to jikes or gcj, can you report if it
works or not. If it still does not run, can you try to change the
alternative against sablevm or kaffe and re-try to run ant. I think this
bug report should belong to gij.

If it works, can you reassign the bug against gij?

Many thanks for your help,

=2D --=20
  .''`.=20
 : :' :rnaud
 `. `'=20=20
   `-=20=20=20=20
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCGl4l4vzFZu62tMIRAjoNAJsGLd0vjbcitnc6oOTBoea/6A4J7ACgiYoK
VpGqFOvf9iG/gA3JCWdyM5Y=3D
=3DLGQc
=2D----END PGP SIGNATURE-----