From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OGVzF-0002su-B2 for garchives@archives.gentoo.org; Mon, 24 May 2010 11:38:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D83BE0812; Mon, 24 May 2010 11:37:23 +0000 (UTC) Received: from mail.osagesoftware.com (osagesoftware.com [216.144.204.42]) by pigeon.gentoo.org (Postfix) with ESMTP id A4F6DE0812 for ; Mon, 24 May 2010 11:37:22 +0000 (UTC) Received: from osage.osagesoftware.com (osage.osagesoftware.com [192.168.1.10]) by mail.osagesoftware.com (Postfix) with ESMTP id 2DC2F8DD for ; Mon, 24 May 2010 07:37:22 -0400 (EDT) Date: Mon, 24 May 2010 07:37:22 -0400 From: David Relson To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Java problem Message-ID: <20100524073722.22eeebe6@osage.osagesoftware.com> In-Reply-To: References: <20100522161039.2c52d639@osage.osagesoftware.com> <20100523092457.6f5773a7@osage.osagesoftware.com> <20100523105710.556f469b@osage.osagesoftware.com> <20100523125656.662bbe9c@osage.osagesoftware.com> <20100523212629.45ad1317@osage.osagesoftware.com> Organization: Osage Software Systems, Inc. X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.9; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/5EW9eMIKI3DmW4/CoahvEj1" X-Archives-Salt: babc700c-f7c7-40bf-ad31-5ed86aa3e057 X-Archives-Hash: 00e8e5e138d50189244dc38464ea3c70 --MP_/5EW9eMIKI3DmW4/CoahvEj1 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 > >> > >> > >> 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. --MP_/5EW9eMIKI3DmW4/CoahvEj1 Content-Type: text/x-log Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=eclass-debug.log 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 --MP_/5EW9eMIKI3DmW4/CoahvEj1--