Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#691203: Missing B-D to ant

0 views
Skip to first unread message

Mathieu Malaterre

unread,
Oct 22, 2012, 5:00:02 PM10/22/12
to
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


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Niels Thykier

unread,
Oct 22, 2012, 5:10:02 PM10/22/12
to
On 2012-10-22 22:56, Mathieu Malaterre wrote:
> Even after installing: maven-ant-helper I still get some error during building:
>
> [javadoc] /tmp/libswingx1-java-1.0/src/java/org/jdesktop/swingx/color/GradientPreviewPanel.java:26:
> package org.apache.batik.ext.awt does not exist
> [javadoc] import org.apache.batik.ext.awt.RadialGradientPaint;
> [javadoc] ^
> [javadoc] /tmp/libswingx1-java-1.0/src/java/org/jdesktop/swingx/color/GradientTrackRenderer.java:23:
> package org.apache.batik.ext.awt does not exist
> [javadoc] import org.apache.batik.ext.awt.MultipleGradientPaint;
> [javadoc] ^
> [javadoc] /tmp/libswingx1-java-1.0/src/beaninfo/org/jdesktop/swingx/editors/PainterUtil.java:50:
> package org.apache.batik.ext.awt does not exist
> [javadoc] import org.apache.batik.ext.awt.LinearGradientPaint;
>
> I guess I could merge 691203 and 691202 into one... let me know what you think.
>
> thanks
>
> [...]

These particular errors (i.e. the [javadoc] ones) usually don't lead to
a build error and at worst causes the Javadoc to be slightly less
pleasent. Those javadoc errors should be fixed, but I would not
consider it a priority to those in Wheezy nor Squeeze.

The build-depends issues are of course) a different matter. But I think
one bug is sufficient for tracking those, so I'd vote for merging.

~Niels

Andrew Ross

unread,
Oct 25, 2012, 6:30:02 PM10/25/12
to
tags 691202 + unreproducible
tags 691203 + unreproducible
thanks

I've just built this package in both stable and testing using pbuilder
with no problems. I'm marking as unreproducible and will close unless
anyone else can confirm it.

Andy
0 new messages