public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: David Relson <relson@osagesoftware.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Java problem
Date: Mon, 24 May 2010 07:37:22 -0400	[thread overview]
Message-ID: <20100524073722.22eeebe6@osage.osagesoftware.com> (raw)
In-Reply-To: <htdmlf$k39$1@dough.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 3048 bytes --]

On Mon, 24 May 2010 04:11:45 -0700
walt wrote:

> On 05/23/2010 06:26 PM, David Relson wrote:
> > On Sun, 23 May 2010 11:01:53 -0700
> > walt wrote:
> >
> >> On 05/23/2010 09:56 AM, David Relson wrote:
> >>
> >>> Output of "emerge -d ant-junit" is attached, though I don't
> >>> understand what the additional info means.
> >>
> >> The 'build.log' should contain the actual error message following
> >> the test for the system-vm.  The test code will look something
> >> like this:
> >>
> >> + java-pkg_switch-vm
> >> + debug-print-function java-pkg_switch-vm
> >> + str='java-pkg_switch-vm: entering function'
> >> + shift
> >> + debug-print 'java-pkg_switch-vm: entering function, parameters: '
> >> + '[' '!' -d /media/d/portage/dev-java/ant-junit-1.7.1/temp ']'
> >> + '[' 'java-pkg_switch-vm: entering function, parameters: ' ']'
> >> + '[' '' == on ']'
> >> + '[' -n '' ']'
> >> + echo 'java-pkg_switch-vm: entering function, parameters: '
> >> + chmod
> >> g+w /media/d/portage/dev-java/ant-junit-1.7.1/temp/eclass-debug.log
> >> + shift
> >> + '[' '' ']'
> >> + java-pkg_needs-vm
> >> + debug-print-function java-pkg_needs-vm
> >> <lots of snippage>
> >>
> >> There are no error messages in my build.log but I expect there will
> >> be some obvious ones in yours.
> >>
> >
> > Hi Walt,
> >
> > What build.log file do you mean?
> 
> /var/tmp/portage/dev-java/ant-junit-1.7.1/temp/build.log (unless you
> changed the default $PORTAGE_TMPDIR in make.conf).  The
> eclass-debug.log is in the same directory.
> 
> > Running "emerge -d ant-junit" produces files:
> >
> >    /var/log/portage/dev-java:ant-junit-1.7.1:20100524-010955.log
> >    /var/log/portage/elog/dev-java:ant-junit-1.7.1:20100524-010957.log
> 
with "PORT_LOGDIR=/var/log/portage" in /etc/make.conf, the build.log
files go into /var/log/portage (as reported above).

> Thanks, I never knew about those logs.  Maybe they only appear if the
> build fails because I don't have them on my machine.
> 
> > I found java-pkg_needs-vm
> > in /usr/portage/eclass/java-utils-2.eclass. However "equery
> > belongs /usr/portage/eclass/java-utils-2.eclass" doesn't find an
> > owning package for this file.  Do you have this file? What package
> > owns it?
> 
> As Kenneth said, it doesn't belong to any one package, but eclass
> files are useful for storing code that can be shared by several
> similar packages, like a group of related java packages.
> 
> The ant-junit-1.7.1.ebuild file says "inherit ant-tasks", which means
> that the ant-tasks.eclass file is read before beginning the actual
> build. You can see the sequence of events in the eclass-debug.log.
> 

I've had an initial response from b.g.o. and will follow along with
that as well as this thread.

Attached is the eclass-debug.log file which contains:

  java-pkg_switch-vm: entering function, parameters: 
  java-pkg_needs-vm: entering function, parameters: 
  depend-java-query:  NV_DEPEND:	dev-java/junit:0
   >=dev-java/java-config-2.1.9-r1 >=sys-apps/portage-2.1.2.7

It seems wrong that the parameter list is empty.

[-- Attachment #2: eclass-debug.log --]
[-- Type: text/x-log, Size: 4234 bytes --]

inherit: ant-tasks -> /usr/portage/eclass/ant-tasks.eclass
*** Multiple Inheritence (Level: 2)
inherit: versionator -> /usr/portage/eclass/versionator.eclass
inherit: java-pkg-2 -> /usr/portage/eclass/java-pkg-2.eclass
*** Multiple Inheritence (Level: 3)
inherit: java-utils-2 -> /usr/portage/eclass/java-utils-2.eclass
*** Multiple Inheritence (Level: 4)
inherit: eutils -> /usr/portage/eclass/eutils.eclass
*** Multiple Inheritence (Level: 5)
inherit: multilib -> /usr/portage/eclass/multilib.eclass
*** Multiple Inheritence (Level: 6)
inherit: toolchain-funcs -> /usr/portage/eclass/toolchain-funcs.eclass
inherit: portability -> /usr/portage/eclass/portability.eclass
inherit: versionator -> /usr/portage/eclass/versionator.eclass
inherit: multilib -> /usr/portage/eclass/multilib.eclass
EXPORT_FUNCTIONS: pkg_setup -> java-pkg-2_pkg_setup
EXPORT_FUNCTIONS: src_compile -> java-pkg-2_src_compile
EXPORT_FUNCTIONS: pkg_preinst -> java-pkg-2_pkg_preinst
inherit: java-ant-2 -> /usr/portage/eclass/java-ant-2.eclass
*** Multiple Inheritence (Level: 3)
inherit: java-utils-2 -> /usr/portage/eclass/java-utils-2.eclass
*** Multiple Inheritence (Level: 4)
inherit: eutils -> /usr/portage/eclass/eutils.eclass
*** Multiple Inheritence (Level: 5)
inherit: multilib -> /usr/portage/eclass/multilib.eclass
inherit: portability -> /usr/portage/eclass/portability.eclass
inherit: versionator -> /usr/portage/eclass/versionator.eclass
inherit: multilib -> /usr/portage/eclass/multilib.eclass
java-pkg_ant-tasks-depend: entering function, parameters: 
EXPORT_FUNCTIONS: src_unpack -> ant-tasks_src_unpack
EXPORT_FUNCTIONS: src_compile -> ant-tasks_src_compile
EXPORT_FUNCTIONS: src_install -> ant-tasks_src_install
RDEPEND: not set... Setting to: dev-java/junit:0
java-pkg_init: entering function, parameters: 
java-pkg_init_paths_: entering function, parameters: 
JAVA_PKG_SHAREPATH: /usr/share/ant-junit
JAVA_PKG_ENV: /var/tmp/portage/dev-java/ant-junit-1.7.1/image//usr/share/ant-junit/package.env
JAVA_PKG_JARDEST: /usr/share/ant-junit/lib
JAVA_PKG_LIBDEST: /usr/lib64/ant-junit
JAVA_PKG_WARDEST: /usr/share/ant-junit/webapps
java-pkg_switch-vm: entering function, parameters: 
java-pkg_needs-vm: entering function, parameters: 
depend-java-query:  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
inherit: ant-tasks -> /usr/portage/eclass/ant-tasks.eclass
*** Multiple Inheritence (Level: 2)
inherit: versionator -> /usr/portage/eclass/versionator.eclass
inherit: java-pkg-2 -> /usr/portage/eclass/java-pkg-2.eclass
*** Multiple Inheritence (Level: 3)
inherit: java-utils-2 -> /usr/portage/eclass/java-utils-2.eclass
*** Multiple Inheritence (Level: 4)
inherit: eutils -> /usr/portage/eclass/eutils.eclass
*** Multiple Inheritence (Level: 5)
inherit: multilib -> /usr/portage/eclass/multilib.eclass
*** Multiple Inheritence (Level: 6)
inherit: toolchain-funcs -> /usr/portage/eclass/toolchain-funcs.eclass
inherit: portability -> /usr/portage/eclass/portability.eclass
inherit: versionator -> /usr/portage/eclass/versionator.eclass
inherit: multilib -> /usr/portage/eclass/multilib.eclass
EXPORT_FUNCTIONS: pkg_setup -> java-pkg-2_pkg_setup
EXPORT_FUNCTIONS: src_compile -> java-pkg-2_src_compile
EXPORT_FUNCTIONS: pkg_preinst -> java-pkg-2_pkg_preinst
inherit: java-ant-2 -> /usr/portage/eclass/java-ant-2.eclass
*** Multiple Inheritence (Level: 3)
inherit: java-utils-2 -> /usr/portage/eclass/java-utils-2.eclass
*** Multiple Inheritence (Level: 4)
inherit: eutils -> /usr/portage/eclass/eutils.eclass
*** Multiple Inheritence (Level: 5)
inherit: multilib -> /usr/portage/eclass/multilib.eclass
inherit: portability -> /usr/portage/eclass/portability.eclass
inherit: versionator -> /usr/portage/eclass/versionator.eclass
inherit: multilib -> /usr/portage/eclass/multilib.eclass
java-pkg_ant-tasks-depend: entering function, parameters: 
EXPORT_FUNCTIONS: src_unpack -> ant-tasks_src_unpack
EXPORT_FUNCTIONS: src_compile -> ant-tasks_src_compile
EXPORT_FUNCTIONS: src_install -> ant-tasks_src_install
RDEPEND: not set... Setting to: dev-java/junit:0

  reply	other threads:[~2010-05-24 11:38 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-22 20:10 [gentoo-user] Java problem David Relson
2010-05-22 21:35 ` Kenneth Prugh
2010-05-23  0:43   ` David Relson
2010-05-23  0:51     ` Kenneth Prugh
2010-05-23  0:57       ` David Relson
2010-05-23  1:32         ` David Abbott
2010-05-23  4:30           ` Kenneth Prugh
2010-05-23  3:41 ` [gentoo-user] " walt
2010-05-23 13:24   ` David Relson
2010-05-23 14:32     ` Arttu V.
2010-05-23 14:57       ` David Relson
2010-05-23 15:16         ` Arttu V.
2010-05-23 16:53           ` David Relson
2010-05-23 16:24         ` walt
2010-05-23 16:56           ` David Relson
2010-05-23 18:01             ` walt
2010-05-24  1:26               ` David Relson
2010-05-24  1:43                 ` Kenneth Prugh
2010-05-24 11:11                 ` walt
2010-05-24 11:37                   ` David Relson [this message]
2010-05-25 11:46                     ` [gentoo-user] SOLVED " David Relson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100524073722.22eeebe6@osage.osagesoftware.com \
    --to=relson@osagesoftware.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox