From owner-freebsd-stable@FreeBSD.ORG Thu Sep 25 12:49:52 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C0AB1065699 for ; Thu, 25 Sep 2008 12:49:52 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id 505478FC12 for ; Thu, 25 Sep 2008 12:49:52 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by wa-out-1112.google.com with SMTP id n4so219685wag.27 for ; Thu, 25 Sep 2008 05:49:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=n4vXtO3d1e9vVH666M2oST1ZUWdEbljFLG8JbocrGxk=; b=t/H7+ZwaWgKx/CA9BfydfVDpTTBk+MhviC/xTMotgI0rIu0i25c04JcpLmdCsQm7up pIncHdBybyzCMlrW/ibcYrIx458uJPlFBXcoe/+DPIJHPenMjJOSM6rhuQ6+cjKOcAjf WIQc8cpv6qBrhzLTe5wbzDmRNjdHUeQ4d8T2Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=VqW0Obsng21Zsg8GyPxyKa4Zx6FFcc3WxqurXz+dX+yrrT+p9BNZKPA+86/4JEqBLC 1oESEA87lMyHIQmr50vxBSa3VqXu+oyeNukojvKqGKqiJYx/zBq+mKh658w5dH86HzX+ MdQ20G7Z4AL8yobXKyKxFPe0ndOgJgnlvvyrg= Received: by 10.114.169.2 with SMTP id r2mr9317220wae.132.1222345654381; Thu, 25 Sep 2008 05:27:34 -0700 (PDT) Received: by 10.114.103.7 with HTTP; Thu, 25 Sep 2008 05:27:34 -0700 (PDT) Message-ID: <790a9fff0809250527r185be90es7d5949e1f61df018@mail.gmail.com> Date: Thu, 25 Sep 2008 07:27:34 -0500 From: "Scot Hetzel" To: "Jeremy Chadwick" In-Reply-To: <20080925035601.GA3158@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080925035601.GA3158@icarus.home.lan> Cc: freebsd-stable@freebsd.org Subject: Re: make-delete-old-libs not removing some libraries X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2008 12:49:52 -0000 On 9/24/08, Jeremy Chadwick wrote: > Came across this one tonight. I see this on two separate RELENG_7 > boxes, built at different times (one in August (which shows files > left over from April and May), the other today). > > Both use identical src.conf files. > > The date used in the grep -v is today, immediately after a full system > rebuild (world). > > None of these are being deleted during "make delete-old-libs" (the > aout/ and compat/ directories should probably remain). > > $ ls -l /usr/lib | grep -v '24 Sep' > total 30270 > drwxr-xr-x 2 root wheel 512 7 Sep 04:33 aout/ > drwxr-xr-x 3 root wheel 512 7 Sep 05:40 compat/ > -r--r--r-- 1 root wheel 175488 7 Sep 04:34 libasn1.so.9 > -r--r--r-- 1 root wheel 11248 7 Sep 04:33 libbluetooth.so.3 > -r--r--r-- 1 root wheel 88762 7 Sep 04:33 libgssapi.a > -r--r--r-- 1 root wheel 35184 7 Sep 04:33 libgssapi.so.9 > -r--r--r-- 1 root wheel 62600 7 Sep 04:34 libgssapi_krb5.so.9 > -r--r--r-- 1 root wheel 59368 7 Sep 04:34 libhdb.so.9 > -r--r--r-- 1 root wheel 34872 7 Sep 04:34 libkadm5clnt.so.9 > -r--r--r-- 1 root wheel 55376 7 Sep 04:34 libkadm5srv.so.9 > -r--r--r-- 1 root wheel 20472 7 Sep 04:34 libkafs5.so.9 > -r--r--r-- 1 root wheel 283304 7 Sep 04:34 libkrb5.so.9 > -r--r--r-- 1 root wheel 87278 7 Sep 04:33 libmilter.a > -r--r--r-- 1 root wheel 51248 7 Sep 04:33 libmilter.so.4 > -r--r--r-- 1 root wheel 656420 7 Sep 04:33 libngatm.a > -r--r--r-- 1 root wheel 430512 7 Sep 04:33 libngatm.so.3 > -r--r--r-- 1 root wheel 60320 7 Sep 04:34 libroken.so.9 > -r--r--r-- 1 root wheel 21544 7 Sep 04:34 libsdp.so.3 > -r--r--r-- 1 root wheel 20504 7 Sep 04:34 pam_krb5.so.4 > -r--r--r-- 1 root wheel 9984 7 Sep 04:34 pam_ksu.so.4 > -r--r--r-- 1 root wheel 30032 7 Sep 04:35 snmp_atm.so.5 > > # make delete-old-libs > >>> Removing old libraries > Please be sure no application still uses those libraries, else you > can not start such an application. Consult UPDATING for more > information regarding how to cope with the removal/revision bump > of a specific library. > >>> Old libraries removed > # > > src.conf used: These options need to be filled in with the appropriate files to be removed: > > WITHOUT_ATM=true > WITHOUT_HTML=true > WITHOUT_I4B=true > WITHOUT_LIB32=true > WITHOUT_SENDMAIL=true > See src/tools/build/mk/OptionalObsoleteFiles.inc I had submitted a patch to fill in WITHOUT_LIB32 for 8.0-CURRENT: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/117191 > WITHOUT_KERBEROS=true > WITHOUT_BLUETOOTH=true On -CURRENT these 2 options haven't been updated to remove the current versions of these libraries. -CURRENT will remove the old KERBEROS version .9 libraries from src/ObsoleteFiles.inc, but it doesn't remove the current KERBEROS libraries from src/tools/build/mk/OptionalObsoleteFiles.inc, as the libraries are still listed as version 8 instead of 10. Check src/tools/build/mk/OptionalObsoleteFiles.inc to make sure it is removing the current libraries for RELENG_7. Check src/ObsoleteFiles.inc to make sure it is removing the old libraries for RELENG_7. Scot