make-delete-old-libs not removing some libraries - FreeBSD

This is a discussion on make-delete-old-libs not removing some libraries - FreeBSD ; 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 ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: make-delete-old-libs not removing some libraries

  1. make-delete-old-libs not removing some libraries

    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:

    WITHOUT_ATM=true
    WITHOUT_BLUETOOTH=true
    WITHOUT_HTML=true
    WITHOUT_I4B=true
    WITHOUT_INET6=true
    WITHOUT_IPFILTER=true
    WITHOUT_IPX=true
    WITHOUT_KERBEROS=true
    WITHOUT_LIB32=true
    WITHOUT_NCP=true
    WITHOUT_PROFILE=true
    WITHOUT_SENDMAIL=true

    --
    | Jeremy Chadwick jdc at parodius.com |
    | Parodius Networking http://www.parodius.com/ |
    | UNIX Systems Administrator Mountain View, CA, USA |
    | Making life hard for others since 1977. PGP: 4BD6C0CB |

    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  2. Re: make-delete-old-libs not removing some libraries

    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
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


+ Reply to Thread