1 |
On Mon, 24 May 2010 04:11:45 -0700 |
2 |
walt wrote: |
3 |
|
4 |
> On 05/23/2010 06:26 PM, David Relson wrote: |
5 |
> > On Sun, 23 May 2010 11:01:53 -0700 |
6 |
> > walt wrote: |
7 |
> > |
8 |
> >> On 05/23/2010 09:56 AM, David Relson wrote: |
9 |
> >> |
10 |
> >>> Output of "emerge -d ant-junit" is attached, though I don't |
11 |
> >>> understand what the additional info means. |
12 |
> >> |
13 |
> >> The 'build.log' should contain the actual error message following |
14 |
> >> the test for the system-vm. The test code will look something |
15 |
> >> like this: |
16 |
> >> |
17 |
> >> + java-pkg_switch-vm |
18 |
> >> + debug-print-function java-pkg_switch-vm |
19 |
> >> + str='java-pkg_switch-vm: entering function' |
20 |
> >> + shift |
21 |
> >> + debug-print 'java-pkg_switch-vm: entering function, parameters: ' |
22 |
> >> + '[' '!' -d /media/d/portage/dev-java/ant-junit-1.7.1/temp ']' |
23 |
> >> + '[' 'java-pkg_switch-vm: entering function, parameters: ' ']' |
24 |
> >> + '[' '' == on ']' |
25 |
> >> + '[' -n '' ']' |
26 |
> >> + echo 'java-pkg_switch-vm: entering function, parameters: ' |
27 |
> >> + chmod |
28 |
> >> g+w /media/d/portage/dev-java/ant-junit-1.7.1/temp/eclass-debug.log |
29 |
> >> + shift |
30 |
> >> + '[' '' ']' |
31 |
> >> + java-pkg_needs-vm |
32 |
> >> + debug-print-function java-pkg_needs-vm |
33 |
> >> <lots of snippage> |
34 |
> >> |
35 |
> >> There are no error messages in my build.log but I expect there will |
36 |
> >> be some obvious ones in yours. |
37 |
> >> |
38 |
> > |
39 |
> > Hi Walt, |
40 |
> > |
41 |
> > What build.log file do you mean? |
42 |
> |
43 |
> /var/tmp/portage/dev-java/ant-junit-1.7.1/temp/build.log (unless you |
44 |
> changed the default $PORTAGE_TMPDIR in make.conf). The |
45 |
> eclass-debug.log is in the same directory. |
46 |
> |
47 |
> > Running "emerge -d ant-junit" produces files: |
48 |
> > |
49 |
> > /var/log/portage/dev-java:ant-junit-1.7.1:20100524-010955.log |
50 |
> > /var/log/portage/elog/dev-java:ant-junit-1.7.1:20100524-010957.log |
51 |
> |
52 |
with "PORT_LOGDIR=/var/log/portage" in /etc/make.conf, the build.log |
53 |
files go into /var/log/portage (as reported above). |
54 |
|
55 |
> Thanks, I never knew about those logs. Maybe they only appear if the |
56 |
> build fails because I don't have them on my machine. |
57 |
> |
58 |
> > I found java-pkg_needs-vm |
59 |
> > in /usr/portage/eclass/java-utils-2.eclass. However "equery |
60 |
> > belongs /usr/portage/eclass/java-utils-2.eclass" doesn't find an |
61 |
> > owning package for this file. Do you have this file? What package |
62 |
> > owns it? |
63 |
> |
64 |
> As Kenneth said, it doesn't belong to any one package, but eclass |
65 |
> files are useful for storing code that can be shared by several |
66 |
> similar packages, like a group of related java packages. |
67 |
> |
68 |
> The ant-junit-1.7.1.ebuild file says "inherit ant-tasks", which means |
69 |
> that the ant-tasks.eclass file is read before beginning the actual |
70 |
> build. You can see the sequence of events in the eclass-debug.log. |
71 |
> |
72 |
|
73 |
I've had an initial response from b.g.o. and will follow along with |
74 |
that as well as this thread. |
75 |
|
76 |
Attached is the eclass-debug.log file which contains: |
77 |
|
78 |
java-pkg_switch-vm: entering function, parameters: |
79 |
java-pkg_needs-vm: entering function, parameters: |
80 |
depend-java-query: NV_DEPEND: dev-java/junit:0 |
81 |
>=dev-java/java-config-2.1.9-r1 >=sys-apps/portage-2.1.2.7 |
82 |
|
83 |
It seems wrong that the parameter list is empty. |