Date: Thu, 25 Sep 2008 07:27:34 -0500 From: "Scot Hetzel" <swhetzel@gmail.com> To: "Jeremy Chadwick" <koitsu@freebsd.org> Cc: freebsd-stable@freebsd.org Subject: Re: make-delete-old-libs not removing some libraries Message-ID: <790a9fff0809250527r185be90es7d5949e1f61df018@mail.gmail.com> In-Reply-To: <20080925035601.GA3158@icarus.home.lan> References: <20080925035601.GA3158@icarus.home.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9/24/08, Jeremy Chadwick <koitsu@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0809250527r185be90es7d5949e1f61df018>