Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 2000 17:15:07 -0500 (EST)
From:      Chris BeHanna <behanna@zbzoom.net>
To:        FreeBSD-Stable <stable@freebsd.org>
Subject:   Re: nfs'ed installworld... again!
Message-ID:  <Pine.BSF.4.21.0012221707330.8974-100000@topperwein.dyndns.org>
In-Reply-To: <977520316.3a43c6bc490fc@mail.webvolution.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 Dec 2000, Joao Pedras wrote:

> [...machine B mounts /usr/obj and /usr/src from machine A...]

    Is /usr/obj mounted read only?  If so, then when install -c -s
attempts to strip libcom_err.so.2, it may croak for lack of
ability to write to /usr/obj.

    Try cd'ing to /usr/obj/usr/src/lib/libcom_err and run that last
install command by hand and see what happens.  If it breaks, umount
/usr/obj and remount it rw and try again.  If that fixes it, you have
your answer.

    FWIW, I do installs like this over NFS all the time with no
problems, but then, I have /usr/src/ and /usr/obj mounted rw on the
NFS client box, so that I can build a quick test kernel (the client is
a 500Mhz PIII, and the server is a 350Mhz PII).

    I also note that you're still trying to install profiled libs on
machine B.  That's OK if that's what you intend, otherwise it's a huge
waste of disk space.  Putting "NOPROFILE=TRUE" into /etc/make.conf
will turn that off.

    Finally, if it's *still* hopelessly broken, try blowing away
/usr/obj, /usr/src, and /usr/sup/* (save your refuse file first, then
put it back), then cvsup and start completely from scratch (a useful
exercise from time to time anyway, to get rid of cruft in the trees).

    Be sure to save any locally modified files before you do the
rm -rf operation!

> ===> lib/libcom_err
> cd /usr/src/lib/libcom_err &&  install -C -o root -g wheel -m 444 
> /usr/src/lib/libcom_err/../../contrib/com_err/com_err.h /usr/include
> cd /usr/src/lib/libcom_err &&  install -C -o root -g wheel -m 444 
> /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h /usr/include
> install -c -o root -g wheel -m 444   libcom_err.a /usr/lib
> install -c -o root -g wheel -m 444   libcom_err_p.a /usr/lib
> install -c -s -o root -g wheel -m 444     libcom_err.so.2 /usr/lib
> *** Error code 70
> 
> Stop in /usr/src/lib/libcom_err.
> *** Error code 1
> 
> Stop in /usr/src/lib.
> *** Error code 1
> 
> I have no special changes on make.conf on A. I even tried this using A's
> make.conf on B. I get this all the time.

-- 
Chris BeHanna
Software Engineer
behanna@bogus.zbzoom.net   Remove "bogus" before responding.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0012221707330.8974-100000>