Bug#306647: marked as done (libgef-java: FTBFS: The java class is not found: org.apache.tools.ant.launch.AntMain)

Debian Bug Tracking System owner@bugs.debian.org
Sun May 8 01:00:02 2005


Your message dated Sat, 07 May 2005 20:27:14 -0400
with message-id <E1DUZda-0002DC-00@newraff.debian.org>
and subject line Bug#306647: fixed in libgef-java 0.9.6-6
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 27 Apr 2005 20:23:31 +0000
>From aj@andaco.de Wed Apr 27 13:23:31 2005
Return-path: <aj@andaco.de>
Received: from c173165.adsl.hansenet.de (localhost.localdomain) [213.39.173.165] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DQt4E-00048u-00; Wed, 27 Apr 2005 13:23:31 -0700
Received: from aj by localhost.localdomain with local (Exim 4.50)
	id 1DQt4M-0004Gn-VL; Wed, 27 Apr 2005 22:23:39 +0200
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: libgef-java: FTBFS: The java class is not found:  org.apache.tools.ant.launch.AntMain
Message-Id: <E1DQt4M-0004Gn-VL@localhost.localdomain>
Date: Wed, 27 Apr 2005 22:23:38 +0200
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: libgef-java
Version: 0.9.6-5
Severity: serious
Tags: patch

To build the package in a clean chroot with j2sdk1.4-{sun,ibm,blackdown} 
installed, I first have to change debian/rules to use the correct 
JAVA_HOME_DIRS. Then I get the following error:

The java class is not found:  org.apache.tools.ant.launch.AntMain


Regards
Andreas Jochens

diff -urN ../tmp-orig/libgef-java-0.9.6/debian/control ./debian/control
--- ../tmp-orig/libgef-java-0.9.6/debian/control	2005-04-27 22:08:40.440609862 +0200
+++ ./debian/control	2005-04-27 22:08:20.093703062 +0200
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
 Uploaders: Arnaud Vandyck <avdyk@debian.org>
-Build-Depends-Indep: j2sdk1.3 | j2sdk1.4 | java2-compiler, debhelper (>= 4.1.0), cdbs (>= 0.4.5.3), libxerces-java, liblog4j1.2-java, ant (>= 1.5), jikes
+Build-Depends-Indep: j2sdk1.4 | java2-compiler, debhelper (>= 4.1.0), cdbs (>= 0.4.5.3), libxerces-java, liblog4j1.2-java, libant1.5-java, jikes
 Standards-Version: 3.6.0
 
 Package: libgef-java
diff -urN ../tmp-orig/libgef-java-0.9.6/debian/rules ./debian/rules
--- ../tmp-orig/libgef-java-0.9.6/debian/rules	2005-04-27 22:08:40.441609710 +0200
+++ ./debian/rules	2005-04-27 22:08:04.518070918 +0200
@@ -10,8 +10,8 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/ant.mk
 
-JAVA_HOME_DIRS       := /usr/lib/j2se/1.3
-ANT_HOME             := /usr/share/ant
+JAVA_HOME_DIRS       := /usr/lib/j2sdk1.4-sun /usr/lib/j2sdk1.4-ibm /usr/lib/j2sdk1.4-blackdown
+ANT_HOME             := /usr/share/ant1.5
 DEB_JARS             := log4j-1.2 xerces
 DEB_ANT_COMPILER     := jikes
 DEB_ANT_BUILD_TARGET := compile package
diff -urN ../tmp-orig/libgef-java-0.9.6/src/build.sh ./src/build.sh
--- ../tmp-orig/libgef-java-0.9.6/src/build.sh	2001-01-24 06:32:58.000000000 +0100
+++ ./src/build.sh	2005-04-27 21:59:41.001617054 +0200
@@ -5,8 +5,6 @@
 echo "-------------------------------------"
 echo
 PATH=$PATH:$JAVA_HOME/bin
-ANT_HOME=/usr/share/java
-LOCALCLASSPATH=$ANT_HOME/ant.jar:../lib/xerces.jar:$JAVA_HOME/lib/tools.jar
 
 #if [ "$JAVA_HOME" = "" ] ; then
 #  echo "ERROR: JAVA_HOME not found in your environment."

---------------------------------------
Received: (at 306647-close) by bugs.debian.org; 8 May 2005 00:38:13 +0000
>From joerg@newraff.debian.org Sat May 07 17:38:13 2005
Return-path: <joerg@newraff.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DUZoD-0000zs-00; Sat, 07 May 2005 17:38:13 -0700
Received: from joerg by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DUZda-0002DC-00; Sat, 07 May 2005 20:27:14 -0400
From: Arnaud Vandyck <avdyk@debian.org>
To: 306647-close@bugs.debian.org
X-Katie: lisa $Revision: 1.30 $
Subject: Bug#306647: fixed in libgef-java 0.9.6-6
Message-Id: <E1DUZda-0002DC-00@newraff.debian.org>
Sender: Joerg Jaspert <joerg@newraff.debian.org>
Date: Sat, 07 May 2005 20:27:14 -0400
Delivered-To: 306647-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: libgef-java
Source-Version: 0.9.6-6

We believe that the bug you reported is fixed in the latest version of
libgef-java, which is due to be installed in the Debian FTP archive:

libgef-java_0.9.6-6.diff.gz
  to pool/main/libg/libgef-java/libgef-java_0.9.6-6.diff.gz
libgef-java_0.9.6-6.dsc
  to pool/main/libg/libgef-java/libgef-java_0.9.6-6.dsc
libgef-java_0.9.6-6_all.deb
  to pool/main/libg/libgef-java/libgef-java_0.9.6-6_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 306647@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Arnaud Vandyck <avdyk@debian.org> (supplier of updated libgef-java package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 29 Apr 2005 13:32:12 +0200
Source: libgef-java
Binary: libgef-java
Architecture: source all
Version: 0.9.6-6
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Arnaud Vandyck <avdyk@debian.org>
Description: 
 libgef-java - Graph Editing Framework written entirely in Java
Closes: 306647
Changes: 
 libgef-java (0.9.6-6) unstable; urgency=low
 .
   * Move to main! (now builds with libant1.6-java and kaffe).
   * debian/control, debian/rules: changed the ant dependency (closes:
     #306647).
Files: 
 fbcdd9d85d5bac213ea10c7ad70d9abc 761 libs optional libgef-java_0.9.6-6.dsc
 5750c184d426d154060dbeed3681646f 289003 libs optional libgef-java_0.9.6.orig.tar.gz
 d54b202acd3949f2963b21aaaf9279fd 3345 libs optional libgef-java_0.9.6-6.diff.gz
 50818a9f6736b6416eac801e9703ca18 461090 libs optional libgef-java_0.9.6-6_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCchzq4vzFZu62tMIRAs5lAKCrr1RNIjmEsaLDDGNHZmxHQ2UrqACglud8
EQItYCvq8wHiuAbnTfoA6rA=
=Am8m
-----END PGP SIGNATURE-----