From owner-freebsd-ports Thu May 10 22:49:10 2001 Delivered-To: freebsd-ports@freebsd.org Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by hub.freebsd.org (Postfix) with ESMTP id 6432A37B422; Thu, 10 May 2001 22:49:03 -0700 (PDT) (envelope-from sobomax@mail-in.net) Received: from notebook.vega.com (dialup15-42.iptelecom.net.ua [212.9.229.170]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id IAA33569; Fri, 11 May 2001 08:48:18 +0300 (EEST) (envelope-from sobomax@mail-in.net) Date: Fri, 11 May 2001 08:48:18 +0300 (EEST) Message-Id: <200105110548.IAA33569@ipcard.iptcom.net> To: ernst@jollem.com, sobomax@FreeBSD.ORG Cc: freebsd-ports@FreeBSD.ORG From: Maxim Sobolev Reply-To: sobomax@FreeBSD.ORG Subject: Re: ports/26793: New port: java/ibm-jdk X-Mailer: Pygmy (v0.5.5) In-Reply-To: <20010511002631.A37389@c187104187.telekabel.chello.nl> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 11 May 2001 00:26:31 +0200, Ernst de Haan wrote: > Heya Maxim & all, > > > > Okay, I tested this JDK and it seems to work, at least with non-graphical > > > applications. I tested it with Ant and javadoc, and it runs without any big > > > problems. Only things I noticed are: > > > > > > * When starting 'java' the program gives a warning about not being able to > > > determine the number of processors. This looks like a linuxulator 'problem'. > > > Should I submit this as a new PR ? > > > > This problem is actually has been fixed about several months ago. > > The problem is that IBM's jdk uses /proc fs to determine number of > > processors in a very funny way: by counting how many "bogomips" > > strings are in the /proc/cpuinfo. Pretty innovative way to get > > hw.ncpu, isn't it :-). FreeBSD doesn't have a /proc/cpuinfo, therefore > > you have to mount linprocfs into /compat/proc to get rid of this > > warning. Alternatively, just copy cpuinfo file into /compat/proc from a > > linux box near you. > > Hmm, okay. So perhaps the port should depend on linprocfs. I do not see how it could be technically done. linprocfs is in the base system, not in ports, so you can't just use appropriate RUN_DEPENDS. Perhaps the most reasonable way is to add appropriate PKGMESSAGE, so the user will be advised to load/mount linprocfs before using ibm-jdk. > > > My suggestion: Make sure the name of the port is more specific (for example > > > 'linux-ibm-jdk1.3' instead of 'ibm-jdk'), make the name of the install > > > directory more specific ('linux-ibm-jdk1.3.0' instead of 'ibmjdk1.3.0') and > > > then submit this port for inclusion in the tree. It's good enough for testing > > > and further improvement IMO. > > > > Looks like a nice plan. > > Okay, so it seems the original creator of the port is not available at the > moment. What do you say I create a new shar file, based on his work, and add > it to the PR ? I'd apply the suggestions I made myself, and make the port > depend on linprocfs. > > Or should I wait a little longer for the original creator to respond ? Yes, please give him some more time. Usually 1-2 weeks is a resonable timeout. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message