On Sun, 23 May 2010 17:32:50 +0300
Arttu V. wrote:
> On 5/23/10, David Relson <[email protected]> wrote:
> > "emerge -qv ant-junit" fails because ant-junit isn't found
>
> Is your portage tree or the underlying filesystem broken? You use eix,
> so what does "eix ant-junit" output? Are there really no versions of
> ant-junit available on your system?
>
> Also, from your b.g.o report:
>
> > EMERGE_DEFAULT_OPTS="--with-bdeps y --color=n --jobs 4"
>
> How about trying it without the parallel emerges?
>
> --
> Arttu V.
Hi Arttu,
The portage tree is fine, AFAICT. emerge finds the ebuild, but
the emerge fails. Removing "--jobs 4" doesn't change the result.
ant-junit is not installed and "emerge ant-junit" fails (shown below).
The important failure line seems to be:
* Unable to determine VM for building from dependencies:
NV_DEPEND: dev-java/junit:0 >=dev-java/java-config-2.1.9-r1
The ant-junit ebuild seems unusual because it doesn't download anything
### output of emerge ant-junit ###
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-java/ant-junit-1.7.1
* apache-ant-1.7.1-src.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
[ ok ]
* ant-1.7.1-gentoo.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
[ ok ]
* checking ebuild checksums ;-) ...
[ ok ]
* checking auxfile checksums ;-) ...
[ ok ]
* checking miscfile checksums ;-) ...
[ ok ]
* CPV: dev-java/ant-junit-1.7.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: dev-java/junit:0 >=dev-java/java-config-2.1.9-r1
>=sys-apps/portage-2.1.2.7
>=sys-apps/portage-2.1.2.7
>=dev-java/javatoolkit-0.3.0-r2 >=virtual/jdk-1.4
>=virtual/jre-1.4
~dev-java/ant-core-1.7.1
!dev-java/ant-tasks
* ERROR: dev-java/ant-junit-1.7.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."
*
* If you need support, post the output of 'emerge --info
=dev-java/ant-junit-1.7.1',
* the complete build log and the output of 'emerge -pqv
=dev-java/ant-junit-1.7.1'. !!! When you file a bug report, please
include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
* The complete build log is located at
'/var/log/portage/dev-java:ant-junit-1.7.1:20100523-144943.log'.
* The ebuild environment file is located at
'/var/tmp/portage/dev-java/ant-junit-1.7.1/temp/die.env'.
* S: '/var/tmp/portage/dev-java/ant-junit-1.7.1/work/apache-ant-1.7.1'
>>> Failed to emerge dev-java/ant-junit-1.7.1, Log file:
>>> '/var/log/portage/dev-java:ant-junit-1.7.1:20100523-144943.log'