FTBFS testng 5.11+dfsg-2 in ubuntu natty

Bug #674382 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
testng (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: testng

testng fails to build from source in Ubuntu Natty due to a change in Apache Ant 1.8.1 (deprecation of ant-trax.jar).

Should be easy to fix as this task has just moved to ant-nodeps.jar.

reports:

BUILD FAILED
/build/buildd/testng-5.11+dfsg/build.xml:154: The following error occurred while executing this line:
/build/buildd/testng-5.11+dfsg/test/build.xml:141: java.lang.NoClassDefFoundError: org/apache/tools/ant/taskdefs/optional/TraXLiaison
 at org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:674)
 at org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:912)
 at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:347)
 at org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.transform(AggregateTransformer.java:264)
 at org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.execute(XMLResultAggregator.java:158)
 at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
 at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
 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:1397)
 at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
 at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
 at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
 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:1397)
 at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
 at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
 at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
 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)
Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.TraXLiaison
 at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
 ... 34 more

Tags: ftbfs natty

Related branches

James Page (james-page)
Changed in testng (Ubuntu):
assignee: nobody → James Page (james-page)
importance: Undecided → Medium
status: New → Confirmed
James Page (james-page)
Changed in testng (Ubuntu):
status: Confirmed → In Progress
James Page (james-page)
Changed in testng (Ubuntu):
assignee: James Page (james-page) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package testng - 5.11+dfsg-2ubuntu1

---------------
testng (5.11+dfsg-2ubuntu1) natty; urgency=low

  * debian/rules: updated to use ant-nodeps to fix FTBFS (LP: #674382)
 -- James Page <email address hidden> Fri, 12 Nov 2010 08:08:26 +0000

Changed in testng (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.