Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2002 20:00:20 +0200
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Giorgos Keramidas <keramida@FreeBSD.ORG>
Cc:        current@FreeBSD.ORG
Subject:   Re: installworld and stale {include,lib} fun
Message-ID:  <20021123180020.GC66308@sunbay.com>
In-Reply-To: <20021123040317.GA4320@gothmog.gr>
References:  <20021123040317.GA4320@gothmog.gr>

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

--c3bfwLpm8qysLVxt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Nov 23, 2002 at 06:03:17AM +0200, Giorgos Keramidas wrote:
> I tried to get myself a clean /usr/{include,lib} installation after a
> successful buildworld earlier.  To make this as clean an installation
> as possible, I did the following before running "make installworld":
>=20
> 	# cd /usr
> 	# mv include include.old
> 	# mkdir include
> 	# cd include ; mtree -deU < /usr/src/etc/mtree/BSD.include.dist
> 	# mv lib lib.old
> 	# ldconfig -elf /usr/lib.old
>=20
> Then, after installworld finished alright, I rebooted the single-user
> mode session I was running and noticed that a few of the ports I had
> installed were broken :)
>=20
> Apparently editors/vim-lite had picked up an old, obsolete libposix*.so
> from one of the past installations and linked against that.  Deleting
> the port and reinstalling it worked like a charm, which made me think
> a bit...  Should we recommend in UPDATING that source upgrades include
> something similar?  Well, maybe not all the time (since ports can
> break like vim did for me), but at least under a "making your /usr as
> clean as possible" paragraph?
>=20
It's always a good idea to do this, if you have appropriate COMPAT_*
bits enabled in your /etc/make.conf.  I use ``find -mtime +1'' to
clean up after installworld, except renaming /usr/include and removing
/usr/libdata/perl for RELENG_4 before installworld).  I also remove
empty directories in standard places, and re-run ``make distrib-dirs''
after that, to create ones that are really necessary.


Cheers,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

--c3bfwLpm8qysLVxt
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE938I0Ukv4P6juNwoRAnVqAJ0SzQBKCAD6IBTHxO4llYK12StHuQCfe9RZ
yKHYMHgjVV7qLDtlN/S1Xpc=
=6s46
-----END PGP SIGNATURE-----

--c3bfwLpm8qysLVxt--

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




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