Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2005 17:04:19 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        freebsd-questions@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: issues with installworld on fbsd6 & libcom_err
Message-ID:  <20051111150418.GE87446@ip.net.ua>
In-Reply-To: <20051111141709.GC18471@blackguy>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Fri, Nov 11, 2005 at 09:17:10AM -0500, Eric Ekong wrote:
> I had no errors when building world, but it seems each time I have
> tried to installworld I come up with the same error.  It shows up in
> the lib/libcom_err directory.  No matter what shell I try fixes the
> issue.  I have gone as far as to delete all the directories in /usr/src
> and re cvsup.  I have no options in /etc/make.conf outside of the
> ones put there by perl and KERNCONF=KERNELNAME.  Like I said it builds 
> with no problem, but error code 1 outs each time during make
> installworld.
> 
You're probably using -jX with installworld.  If so, a fix for this
has been in HEAD as of a few days:

: ru          2005-11-03 08:56:39 UTC
: 
:   FreeBSD src repository
: 
:   Modified files:
:     .                    Makefile.inc1 
:     share/mk             bsd.info.mk 
:   Log:
:   Serialize access to the info/dir file; needed for parallel installs.
:   
:   Reported by:    scottl
:   
:   I'm not very fond of using the non-standard lockf(1) here, but I
:   have no better idea at the moment.  NetBSD uses ln(1) to create a
:   lock file, but this approach can result in a deadlock if make is
:   interrupted, leaving an orphaned lock file.
:   
:   Revision  Changes    Path
:   1.514     +1 -1      src/Makefile.inc1
:   1.72      +1 -0      src/share/mk/bsd.info.mk

I'm not happy with this because it broke NFS installs.  Once I find
a proper fix, I will also make sure to MFC it to RELENG_6.

> ===> lib/libcom_err (install)
> 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 -s -o root -g wheel -m 444     libcom_err.so.3 /usr/lib
> ln -fs libcom_err.so.3 /usr/lib/libcom_err.so
> install -C -o root -g wheel -m 444
> /usr/src/lib/libcom_err/../../contrib/com_err/com_err.h
> /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h /usr/include
> install -o root -g wheel -m 444 com_err.3.gz  /usr/share/man/man3
> ===> lib/libcom_err/doc (install)
> install-info --quiet  --defsection="Programming & development tools."
> --defentry="* libcom_err: (com_err).        A Common Error Description
> Library for UNIX."  com_err.info /usr/share/info/dir
> install-info: /usr/share/info/dir: empty file
> *** Error code 1
> 
> Stop in /usr/src/lib/libcom_err/doc.
> *** Error code 1
> 
> Stop in /usr/src/lib/libcom_err.
> *** Error code 1
> 
> Stop in /usr/src/lib.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> Any suggestions on how to fix this so I can get fbsd 6 world installed
> so I can run portmanger to update a crap load of ports would be
> appreciated.

-- 
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDdLLyqRfpzJluFF4RAuV8AJ98zt4cnrzBiybTo4EtC8Xk76TpPACgmxzw
ZQvz85kJRYG7V7ugRrHsQyA=
=q6tf
-----END PGP SIGNATURE-----
home | help

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