Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 633590

Summary: media-gfx/ditaa-0.10 : java.lang.NoSuchMethodError: org.apache.tools.ant.Project.setCoreLoader(Ljava/lang/ClassLoader;)V
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Zac Medico <zmedico>
Status: CONFIRMED ---    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 853109    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
media-gfx:ditaa-0.10:20171005-203337.log
temp.tbz2

Description Toralf Förster gentoo-dev 2017-10-05 21:32:38 UTC
>>> Compiling source in /var/tmp/portage/media-gfx/ditaa-0.10/work/ditaa-0.10 ...
Buildfile: /var/tmp/portage/media-gfx/ditaa-0.10/work/ditaa-0.10/build/release.xml
java.lang.NoSuchMethodError: org.apache.tools.ant.Project.setCoreLoader(Ljava/lang/ClassLoader;)V
	at org.apache.tools.ant.Main.runBuild(Main.java:765)
	at org.apache.tools.ant.Main.startAnt(Main.java:235)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-plasma_abi32+64_20170913-160004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 7.2.6.11 [icedtea-7]
2)	IcedTea JDK 7.2.6.11 [icedtea-bin-7]
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
4)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-7 
  [2]   icedtea-bin-7 
  [3]   icedtea-bin-8  system-vm
  [4]   jamvm 

emerge -qpv media-gfx/ditaa
[ebuild  N    ] media-gfx/ditaa-0.10
Comment 1 Toralf Förster gentoo-dev 2017-10-05 21:32:41 UTC
Created attachment 497800 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-10-05 21:32:44 UTC
Created attachment 497802 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-10-05 21:32:47 UTC
Created attachment 497804 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-10-05 21:32:50 UTC
Created attachment 497806 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-10-05 21:32:53 UTC
Created attachment 497808 [details]
media-gfx:ditaa-0.10:20171005-203337.log
Comment 6 Toralf Förster gentoo-dev 2017-10-05 21:32:56 UTC
Created attachment 497810 [details]
temp.tbz2
Comment 7 Zac Medico gentoo-dev 2017-10-05 21:48:38 UTC
This is the method that it appears to be complaining about:

https://github.com/apache/ant/blob/rel/1.9.2/src/main/org/apache/tools/ant/Project.java#L361

On my system, the org.apache.tools.ant.Project class comes from /usr/share/ant/lib/ant.jar installed by the dev-java/ant-core-1.9.2 package.