Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320981 - can't build dev-java/ant-core-1.8.1
Summary: can't build dev-java/ant-core-1.8.1
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-21 23:13 UTC by David Relson
Modified: 2010-09-14 15:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
output of emerge --info =dev-java/ant-core-1.8. (emerge-info.txt,4.67 KB, text/plain)
2010-05-21 23:14 UTC, David Relson
Details
emerge -pqv =dev-java/ant-core-1.8. (emerge-pqv.txt,178 bytes, text/plain)
2010-05-21 23:15 UTC, David Relson
Details
build.log (dev-java:ant-core-1.7.1-r4:20100524-111323.log,1.50 KB, text/plain)
2010-05-24 11:14 UTC, David Relson
Details
output of "emerge -d ant-core" (dev-java:ant-core-1.7.1-r4:20100524-111456.log,127.96 KB, text/plain)
2010-05-24 11:16 UTC, David Relson
Details
eclass-debug output (from emerge -d ant-core) (eclass-debug.log,3.76 KB, text/plain)
2010-05-24 11:43 UTC, David Relson
Details
java-check-environment output (java-check-environment.out,966 bytes, text/plain)
2010-05-24 22:52 UTC, David Relson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Relson 2010-05-21 23:13:32 UTC
emerge ant-core failes

Reproducible: Always

Steps to Reproduce:
1.emerge -qv ant-commons-core
2.
3.

Actual Results:  

 * CPV:  dev-java/ant-core-1.8.1
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
!!! ERROR: Package ant-junit was not found!
 * Unable to determine VM for building from dependencies:
NV_DEPEND: >=virtual/jdk-1.4
	!dev-java/ant-tasks
	!dev-java/ant-optional  >=dev-java/java-config-2.1.9-r1  source? ( app-arch/zip ) 
	
	
	>=dev-java/javatoolkit-0.3.0-r2
 * ERROR: dev-java/ant-core-1.8.1 failed:
 *   Failed to determine VM for building.
 * 
 * Call stack:
 *             ebuild.sh, line   48:  Called pkg_setup
 *             ebuild.sh, line 1346:  Called java-pkg-2_pkg_setup
 *     java-pkg-2.eclass, line   63:  Called java-pkg_init
 *   java-utils-2.eclass, line 2126:  Called java-pkg_switch-vm
 *   java-utils-2.eclass, line 2550:  Called die
 * The specific snippet of code:
 *   				die "Failed to determine VM for building."
Comment 1 David Relson 2010-05-21 23:14:59 UTC
Created attachment 232417 [details]
output of emerge --info =dev-java/ant-core-1.8.
Comment 2 David Relson 2010-05-21 23:15:23 UTC
Created attachment 232419 [details]
emerge -pqv =dev-java/ant-core-1.8.
Comment 3 Serkan Kaba (RETIRED) gentoo-dev 2010-05-24 10:11:34 UTC
Please attach build.log as well.
Comment 4 David Relson 2010-05-24 11:14:41 UTC
Created attachment 232683 [details]
build.log
Comment 5 David Relson 2010-05-24 11:16:49 UTC
Created attachment 232685 [details]
output of "emerge -d ant-core"
Comment 6 David Relson 2010-05-24 11:43:42 UTC
Created attachment 232687 [details]
eclass-debug output (from emerge -d ant-core)
Comment 7 David Relson 2010-05-24 11:44:49 UTC
### "java-config -L" reports ###
The following VMs are available for generation-2:
*)	OpenJDK6/IcedTea6 1.8 [icedtea6]
2)	Sun JDK 1.6.0.20 [sun-jdk-1.6]

### "java -version" reports ###
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (Gentoo build 1.6.0_18-b18)
OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode)
Comment 8 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-05-24 13:25:01 UTC
Try to run java-check-environment.
Comment 9 David Relson 2010-05-24 22:52:14 UTC
Created attachment 232793 [details]
java-check-environment output

java-check-environments runs, but indicates 3 issues:

!!! ERROR: Package ant-junit was not found!
 * Broken dependencies for
 * Please try emerge -uD1 =

--- lack of ant-junit is known; attempts to emerge it fail in the same manner as attempts to emerge ant-core
-- the "broken dependencies" line doesn't name anything after "for"
-- the "try emerge" line doesn't say what to emerge
Comment 10 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-05-25 08:30:37 UTC
Must be some orphan file.
Try grep ant-junit /usr/share/*/package.env
Comment 11 David Relson 2010-05-25 11:12:35 UTC
root@osage dev-java # grep ant-junit /usr/share/*/package.env

/usr/share/ant-tasks/package.env:CLASSPATH="/usr/share/ant-nodeps/lib/ant-nodeps.jar:/usr/share/ant-junit/lib/ant-junit.jar:/usr/share/ant-trax/lib/ant-trax.jar:/usr/share/ant-antlr/lib/ant-antlr.jar:/usr/share/ant-apache-bcel/lib/ant-apache-bcel.jar:/usr/share/ant-apache-bsf/lib/ant-apache-bsf.jar:/usr/share/ant-apache-log4j/lib/ant-apache-log4j.jar:/usr/share/ant-apache-oro/lib/ant-apache-oro.jar:/usr/share/ant-apache-regexp/lib/ant-apache-regexp.jar:/usr/share/ant-apache-resolver/lib/ant-apache-resolver.jar:/usr/share/ant-commons-logging/lib/ant-commons-logging.jar:/usr/share/ant-commons-net/lib/ant-commons-net.jar:/usr/share/ant-javamail/lib/ant-javamail.jar:/usr/share/ant-jdepend/lib/ant-jdepend.jar:/usr/share/ant-jsch/lib/ant-jsch.jar:/usr/share/ant-swing/lib/ant-swing.jar"
/usr/share/ant-tasks/package.env:DEPEND="ant-core:ant-nodeps:ant-junit:ant-trax:ant-antlr:ant-apache-bcel:ant-apache-bsf:ant-apache-log4j:ant-apache-oro:ant-apache-regexp:ant-apache-resolver:ant-commons-logging:ant-commons-net:ant-javamail:ant-jdepend:ant-jsch:ant-swing"
Comment 12 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-05-25 11:58:52 UTC
emerge gentoolkit
equery belongs /usr/share/ant-tasks

does it output any package? if not, just remove the directory
Comment 13 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-09-14 15:45:36 UTC
Please reopen if problem still exists and you provide the requested info.