Bug#447469: javahelp2: FTBFS: class org.apache.tools.ant.taskdefs.optional.depend.Depend was not found
Lucas Nussbaum
lucas at lucas-nussbaum.net
Sun Oct 21 10:21:56 UTC 2007
Package: javahelp2
version: 2.0.05-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20071021 qa-ftbfs
Justification: FTBFS on i386
Hi,
During a rebuild of all packages in sid, your package failed to build on i386.
Relevant part:
make[1]: Entering directory `/build/user/javahelp2-2.0.05'
/usr/share/cdbs/1/rules/buildcore.mk:68: parsing javahelp2-src-2.0.05.zip ...
make[1]: Nothing to be done for `update-config'.
make[1]: Leaving directory `/build/user/javahelp2-2.0.05'
#Create symlink to required jars
mkdir -p build-tree/javahelp2-2.0.05/javahelp_nbproject/lib
ln -s -f /usr/share/java/servlet-api.jar build-tree/javahelp2-2.0.05/javahelp_nbproject/lib/servlet-api.jar
ln -s -f /usr/share/java/jsp-api.jar build-tree/javahelp2-2.0.05/javahelp_nbproject/lib/jsp-api.jar
#Remove class uncompilable without JDIC
rm -f build-tree/javahelp2-2.0.05/jhMaster/JavaHelp/src/new/javax/help/plaf/basic/BasicNativeContentViewerUI.java
#Build javahelp target 'release' is for jars, target 'javadoc' is for javadoc
ant -f build-tree/javahelp2-2.0.05/javahelp_nbproject/build.xml -Djdic-jar-present=true -Djdic-zip-present=true \
-Ddist.javadoc.dir=dist/lib/api \
-Dservlet-jar-present=true -Dtomcat-zip-present=true release javadoc
Buildfile: build-tree/javahelp2-2.0.05/javahelp_nbproject/build.xml
build-jsearch-jars:
-pre-init:
-init-private:
-init-user:
-init-project:
-init-macrodef-property:
-do-init:
-post-init:
-init-check:
-init-macrodef-javac:
-init-macrodef-junit:
-init-macrodef-nbjpda:
-init-macrodef-debug:
-init-macrodef-java:
-init-presetdef-jar:
init:
deps-jar:
-pre-init:
-init-private:
-init-user:
-init-project:
-init-macrodef-property:
-do-init:
-post-init:
-init-check:
-init-macrodef-javac:
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:javac
-init-macrodef-junit:
-init-macrodef-nbjpda:
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/1:nbjpdastart
-init-macrodef-debug:
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:debug
-init-macrodef-java:
-init-presetdef-jar:
init:
deps-jar:
download-tomcat-zip:
unpack-servlet-jar:
unpack-jsp-jar:
download-jdic-zip:
unpack-jdic-jar:
-pre-init:
-init-private:
-init-user:
-init-project:
-init-macrodef-property:
-do-init:
-post-init:
-init-check:
-init-macrodef-javac:
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:javac
-init-macrodef-junit:
-init-macrodef-nbjpda:
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/1:nbjpdastart
-init-macrodef-debug:
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:debug
-init-macrodef-java:
-init-presetdef-jar:
init:
deps-jar:
-pre-pre-compile:
[mkdir] Created dir: /build/user/javahelp2-2.0.05/build-tree/javahelp2-2.0.05/javahelp_nbproject/build/classes
-pre-compile:
-do-compile:
BUILD FAILED
/build/user/javahelp2-2.0.05/build-tree/javahelp2-2.0.05/javahelp_nbproject/build.xml:119: The following error occurred while executing this line:
/build/user/javahelp2-2.0.05/build-tree/javahelp2-2.0.05/JSearchIndexer_nbproject/nbproject/build-impl.xml:241: The following error occurred while executing this line:
/build/user/javahelp2-2.0.05/build-tree/javahelp2-2.0.05/JSearchClient_nbproject/nbproject/build-impl.xml:241: The following error occurred while executing this line:
/build/user/javahelp2-2.0.05/build-tree/javahelp2-2.0.05/javahelp_nbproject/nbproject/build-impl.xml:251: The following error occurred while executing this line:
/build/user/javahelp2-2.0.05/build-tree/javahelp2-2.0.05/javahelp_nbproject/nbproject/build-impl.xml:129: Problem: failed to create task or type depend
Cause: the class org.apache.tools.ant.taskdefs.optional.depend.Depend was not found.
This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
-/usr/share/ant/lib
-/nonexistent/.ant/lib
-a directory added on the command line with the -lib argument
Do not panic, this is a common problem.
The commonest cause is a missing JAR.
This is not a bug; it is a configuration problem
Total time: 0 seconds
make: *** [stamp-build-javahelp2] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
The full build log is available from
http://people.debian.org/~lucas/logs/2007/10/21
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing a sid i386
environment. Internet was not accessible from the build systems.
--
| Lucas Nussbaum
| lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F |
More information about the pkg-java-maintainers
mailing list