Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Feb 2004 07:58:37 -0500
From:      "Dan Langille" <dan@langille.org>
To:        ports@FreeBSD.org
Cc:        phantom@FreeBSD.org
Subject:   Re: ports/java/jdk14 looping on install?
Message-ID:  <40273DAD.14286.14410189@localhost>
In-Reply-To: <20040208222048.GA12675@phantom.cris.net>
References:  <40264324.19153.106E4782@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9 Feb 2004 at 0:20, Alexey Zelkin wrote:

> On Sun, Feb 08, 2004 at 02:09:40PM -0500, Dan Langille wrote:
> > On 8 Feb 2004 at 18:23, Alexey Zelkin wrote:
> > 
> > > hi,
> > > 
> > > is linuxprocfs mounted ?
> > 
> > It appears not.
> 
> It appears to be strange that you even passed pre-build: checks then.
> If you are using linux jdk as bootstrap jdk then linprocfs should
> be mounted and active.

After more thatn 36 hours of CPU time, I terminated the build.  The 
java process continued to run so I terminated that manually.  A kill -
TERM did not kill it so I resorted to a kill -KILL.

This process needs to be cleaner if we expect people to start using Open Office.

I am pleased to report this:

# make install
===>   openoffice-1.1.0_2 depends on executable: gcc33 - found
===>   openoffice-1.1.0_2 depends on file: 
/usr/local/jdk1.4.2/bin/java - not fo
und
===>    Verifying install for /usr/local/jdk1.4.2/bin/java in 
/usr/ports/java/jd
k14
===>  Building for jdk-1.4.2p6_3
ERROR: You have to have LINPROCFS mounted before
starting to build of native JDK 1.4.2.

You may do it by following set of commands:

# kldload linprocfs

and

# mount -t linprocfs linprocfs /compat/linux/proc

After doing the above:

# mount
/dev/ad0s1a on / (ufs, local)
/dev/ad0s1f on /tmp (ufs, local, soft-updates)
/dev/ad0s1g on /usr (ufs, NFS exported, local, soft-updates)
/dev/ad0s1e on /var (ufs, local, soft-updates)
procfs on /proc (procfs, local)
xeon:/usr/ports/distfiles on /usr/ports/distfiles (nfs)
linprocfs on /usr/compat/linux/proc (linprocfs, local)

Now why can't the port just do that?



> > $ mount
> > /dev/ad0s1a on / (ufs, local)
> > /dev/ad0s1f on /tmp (ufs, local, soft-updates)
> > /dev/ad0s1g on /usr (ufs, NFS exported, local, soft-updates)
> > /dev/ad0s1e on /var (ufs, local, soft-updates)
> > procfs on /proc (procfs, local)
> > xeon:/usr/ports/distfiles on /usr/ports/distfiles (nfs)
> > 
> > > 
> > > On Sun, Feb 08, 2004 at 10:43:27AM -0500, Dan Langille wrote:
> > > > Hi,
> > > > 
> > > > I'm building OpenOffice 1.1, and appear to be having trouble with jdk-
> > > > 1.4.2p6_3:
> > > > 
> > > > ===>   Returning to build of jdk-1.4.2p6_3
> > > > ===>   jdk-1.4.2p6_3 depends on executable: gmake - found
> > > > ===>  Configuring for jdk-1.4.2p6_3
> > > > ===>  Building for jdk-1.4.2p6_3
> > > > # Start of jdk build
> > > > bsd i586 1.4.2-p6 build started: 04-02-07 14:44
> > > > if [ -r ./../../deploy/make/Makefile ]; then \
> > > >   ( cd  ./../../deploy/make; gmake sanity EXTERNALSANITYCONTROL=true 
> > > > CONTROL_TOP
> > > > DIR=/usr/ports/java/jdk14/work/control CONTROL_TOPDIR_NAME=control 
> > > > ALT_OUTPUTDIR
> > > > =/usr/ports/java/jdk14/work/control/build/bsd-i586  
> > > > ARCH_DATA_MODEL=32 MILESTONE
> > > > =p6 BUILD_NUMBER=dan_07_feb_2004_14_44 ; ); \
> > > > fi
> > > > 
> > > > The above message has been sitting on the screen for over many hours. 
> > > >  Top shows this:
> > > > 
> > > >   PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU 
> > > > COMMAND
> > > > 75559 root      54   0  6092K     8K RUN     17.8H 92.33% 92.33% java
> > > > 
> > > > Is this expected?
> > > > 
> > > > I'm running 4.9-STABLE, on an III 800MHz.
> > > > -- 
> > > > Dan Langille : http://www.langille.org/
> > > > BSDCan - http://www.bsdcan.org/
> > > 
> > > -- 
> > > /* Alexey Zelkin             && Independent Contractor      */
> > > /* phantom(at)FreeBSD.org    && http://www.FreeBSD.org/java */
> > > /* phantom(at)cris.net       && http://www.FreeBSD.org.ua/  */
> > > 
> > 
> > 
> > -- 
> > Dan Langille : http://www.langille.org/
> > BSDCan - http://www.bsdcan.org/
> 
> -- 
> /* Alexey Zelkin             && Independent Contractor      */
> /* phantom(at)FreeBSD.org    && http://www.FreeBSD.org/java */
> /* phantom(at)cris.net       && http://www.FreeBSD.org.ua/  */
> 


-- 
Dan Langille : http://www.langille.org/
BSDCan - http://www.bsdcan.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40273DAD.14286.14410189>