From owner-freebsd-current Sat Nov 23 10: 0:32 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65FB137B401; Sat, 23 Nov 2002 10:00:30 -0800 (PST) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC72B43E9C; Sat, 23 Nov 2002 10:00:26 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Sunbay) with ESMTP id gANI0KbS069015 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 23 Nov 2002 20:00:22 +0200 (EET) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Submit) id gANI0KvS069010; Sat, 23 Nov 2002 20:00:20 +0200 (EET) Date: Sat, 23 Nov 2002 20:00:20 +0200 From: Ruslan Ermilov To: Giorgos Keramidas Cc: current@FreeBSD.ORG Subject: Re: installworld and stale {include,lib} fun Message-ID: <20021123180020.GC66308@sunbay.com> References: <20021123040317.GA4320@gothmog.gr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="c3bfwLpm8qysLVxt" Content-Disposition: inline In-Reply-To: <20021123040317.GA4320@gothmog.gr> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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