[cl-debian] Bug#331160: common-lisp-controller: Warning from 'find' in maintainer scripts output on upgrade

debian at millenix.mailshell.com debian at millenix.mailshell.com
Sat Oct 1 23:42:29 UTC 2005


Package: common-lisp-controller
Version: 4.19
Severity: normal

In the process of upgrading common-lisp-controller from 4.18 to 4.19
(and I actually saw this earlier, assuming it would be fixed), I see the
following text:
----
Preparing to replace common-lisp-controller 4.18 (using
.../common-lisp-controller_4.19_all.deb) ...
find: warning: you have specified the -depth option after a non-option
argument -type, but options are not positional (-depth affects tests
specified before it as well as those specified after it).  Please
specify options before other arguments.
----

It looks like the third call to find in the preinst script (see below
for excerpt) is what's setting this off, but I'm not sure if simply
moving the options around would do the right thing.

Here's the segment of code in question:
----
case "$1" in
    install)
    ;;
    upgrade)
        # cleanup fasl files:
        find  /usr/share/common-lisp/source/defsystem
/usr/share/common-lisp/source/asdf
/usr/share/common-lisp/source/common-lisp-controller -type f -not
-name "*.lisp" -print0 | xargs --null rm --force 2> /dev/null
        # remove old autobuild files:
        find /etc/common-lisp -name autobuild -print0 | xargs -0 rm 
2> /dev/null || true
        find /etc/common-lisp -type d -depth -print0 | xargs rmdir 2>
/dev/null || true
... etc, it goes on
----                         ^^^^^^^^^^^^^^^^
I believe that the snippet marked above is what gives rise to this
warning.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.7+phil1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages common-lisp-controller depends on:
ii  bash                          3.0-16     The GNU Bourne Again SHell
ii  cl-asdf                       1.89-1     Another System Definition Facility
ii  debconf [debconf-2.0]         1.4.58     Debian configuration management sy
ii  debianutils                   2.14.3     Miscellaneous utilities specific t
ii  perl                          5.8.7-5    Larry Wall's Practical Extraction
ii  realpath                      1.9.25     Return the canonicalized absolute

common-lisp-controller recommends no packages.

-- debconf information excluded





More information about the Cl-debian mailing list