Bug#691203: Missing B-D to ant

Mathieu Malaterre malat at debian.org
Mon Oct 22 20:48:51 UTC 2012


Package: libswingx1-java
Version: 1:1.0-1
Severity: serious

I cannot build the package on a stable system. It currently fails with:

mkdir -p "."
cd . && /usr/lib/jvm/default-java/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/ant-nodeps.jar:/usr/lib/jvm/default-java/lib/tools.jar  -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dpackage=swingx1 -Dversion=1.0   -buildfile debian/build.xml  package javadoc
Buildfile: /tmp/libswingx1-java-1.0/debian/build.xml

package:

BUILD FAILED
/tmp/libswingx1-java-1.0/debian/build.xml:37: The following error occurred while executing this line:
/tmp/libswingx1-java-1.0/debian/build.xml:21: The following error occurred while executing this line:
java.io.FileNotFoundException: /usr/share/maven-ant-helper/maven-build.xml (No such file or directory)
  at java.io.FileInputStream.open(Native Method)
  at java.io.FileInputStream.<init>(FileInputStream.java:137)
  at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:246)
  at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:177)
  at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:80)
  at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:392)
  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:616)
  at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  at org.apache.tools.ant.Task.perform(Task.java:348)
  at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:616)
  at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  at org.apache.tools.ant.Task.perform(Task.java:348)
  at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:616)
  at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  at org.apache.tools.ant.Task.perform(Task.java:348)
  at org.apache.tools.ant.Target.execute(Target.java:390)
  at org.apache.tools.ant.Target.performTasks(Target.java:411)
  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)
  at org.apache.tools.ant.Project.executeTarget(Project.java:1329)
  at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
  at org.apache.tools.ant.Project.executeTargets(Project.java:1212)
  at org.apache.tools.ant.Main.runBuild(Main.java:801)
  at org.apache.tools.ant.Main.startAnt(Main.java:218)
  at org.apache.tools.ant.Main.start(Main.java:180)
  at org.apache.tools.ant.Main.main(Main.java:269)

Total time: 0 seconds
make: *** [debian/stamp-ant-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2


Thanks

-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information



More information about the pkg-java-maintainers mailing list