Gentoo Archives: gentoo-user

From: David Relson <relson@×××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Java problem
Date: Sun, 23 May 2010 14:57:29
Message-Id: 20100523105710.556f469b@osage.osagesoftware.com
In Reply to: Re: [gentoo-user] Re: Java problem by "Arttu V."
1 On Sun, 23 May 2010 17:32:50 +0300
2 Arttu V. wrote:
3
4 > On 5/23/10, David Relson <relson@×××××××××××××.com> wrote:
5 > > "emerge -qv ant-junit" fails because ant-junit isn't found
6 >
7 > Is your portage tree or the underlying filesystem broken? You use eix,
8 > so what does "eix ant-junit" output? Are there really no versions of
9 > ant-junit available on your system?
10 >
11 > Also, from your b.g.o report:
12 >
13 > > EMERGE_DEFAULT_OPTS="--with-bdeps y --color=n --jobs 4"
14 >
15 > How about trying it without the parallel emerges?
16 >
17 > --
18 > Arttu V.
19
20 Hi Arttu,
21
22 The portage tree is fine, AFAICT. emerge finds the ebuild, but
23 the emerge fails. Removing "--jobs 4" doesn't change the result.
24
25 ant-junit is not installed and "emerge ant-junit" fails (shown below).
26
27 The important failure line seems to be:
28
29 * Unable to determine VM for building from dependencies:
30 NV_DEPEND: dev-java/junit:0 >=dev-java/java-config-2.1.9-r1
31
32 The ant-junit ebuild seems unusual because it doesn't download anything
33
34
35 ### output of emerge ant-junit ###
36 Calculating dependencies... done!
37
38 >>> Verifying ebuild manifests
39
40 >>> Emerging (1 of 1) dev-java/ant-junit-1.7.1
41 * apache-ant-1.7.1-src.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
42 [ ok ]
43 * ant-1.7.1-gentoo.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
44 [ ok ]
45 * checking ebuild checksums ;-) ...
46 [ ok ]
47 * checking auxfile checksums ;-) ...
48 [ ok ]
49 * checking miscfile checksums ;-) ...
50 [ ok ]
51 * CPV: dev-java/ant-junit-1.7.1
52 * REPO: gentoo
53 * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU
54 !!! ERROR: Package ant-junit was not found!
55 * Unable to determine VM for building from dependencies:
56 NV_DEPEND: dev-java/junit:0 >=dev-java/java-config-2.1.9-r1
57 >=sys-apps/portage-2.1.2.7
58 >=sys-apps/portage-2.1.2.7
59 >=dev-java/javatoolkit-0.3.0-r2 >=virtual/jdk-1.4
60 >=virtual/jre-1.4
61 ~dev-java/ant-core-1.7.1
62 !dev-java/ant-tasks
63 * ERROR: dev-java/ant-junit-1.7.1 failed:
64 * Failed to determine VM for building.
65 *
66 * Call stack:
67 * ebuild.sh, line 48: Called pkg_setup
68 * ebuild.sh, line 1346: Called java-pkg-2_pkg_setup
69 * java-pkg-2.eclass, line 63: Called java-pkg_init
70 * java-utils-2.eclass, line 2126: Called java-pkg_switch-vm
71 * java-utils-2.eclass, line 2550: Called die
72 * The specific snippet of code:
73 * die "Failed to determine VM for
74 building."
75 *
76 * If you need support, post the output of 'emerge --info
77 =dev-java/ant-junit-1.7.1',
78 * the complete build log and the output of 'emerge -pqv
79 =dev-java/ant-junit-1.7.1'. !!! When you file a bug report, please
80 include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME=""
81 JAVACFLAGS="" COMPILER=""
82 and of course, the output of emerge --info
83 * The complete build log is located at
84 '/var/log/portage/dev-java:ant-junit-1.7.1:20100523-144943.log'.
85 * The ebuild environment file is located at
86 '/var/tmp/portage/dev-java/ant-junit-1.7.1/temp/die.env'.
87 * S: '/var/tmp/portage/dev-java/ant-junit-1.7.1/work/apache-ant-1.7.1'
88
89 >>> Failed to emerge dev-java/ant-junit-1.7.1, Log file:
90
91 >>> '/var/log/portage/dev-java:ant-junit-1.7.1:20100523-144943.log'

Replies

Subject Author
Re: [gentoo-user] Re: Java problem "Arttu V." <arttuv69@×××××.com>
[gentoo-user] Re: Java problem walt <w41ter@×××××.com>