Bug#572356: common-lisp-controller: /usr/sbin/clc-clbuild calls /bin/sh, which fails if not linked to bash

Francisco Miguel Colaço francisco.colaco at gmail.com
Wed Mar 3 17:43:36 UTC 2010


Package: common-lisp-controller
Version: 7.1
Severity: normal
Tags: l10n

When calling clc-clbuilder (with sudo or from root), it fails:

[: 30: unexpected operator
../clbuild: 61: source: not found

This is related due to /bin/sh being called in the last line.  /bin/sh may not be linked to bash: in fact in my system it is
linked to /bin/dash.  Thus, dash will not recognize the source keyword or [] tests.

It is of simple resolution:  just change, in the last line of /usr/sbin/clc-build:

  su --shell="/bin/sh"

to:

  su --shell="/bin/bash"

and the problem is fixed.  With such change, clc-clbuild runs just as expected.



-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid-proposed'), (500, 'lucid-backports'), (500, 'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-15-generic (SMP w/2 CPU cores)
Locale: LANG=pt_PT.utf8, LC_CTYPE=pt_PT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages common-lisp-controller depends on:
ii  adduser                  3.112ubuntu1    add and remove users and groups
ii  bash                     4.1-1ubuntu2    The GNU Bourne Again SHell
ii  cl-asdf                  2:1.627-1       Another System Definition Facility
ii  debconf [debconf-2.0]    1.5.28ubuntu2   Debian configuration management sy
ii  debianutils              3.2.2           Miscellaneous utilities specific t
ii  perl                     5.10.1-8ubuntu1 Larry Wall's Practical Extraction 
ii  realpath                 1.15            Return the canonicalized absolute 

common-lisp-controller recommends no packages.

Versions of packages common-lisp-controller suggests:
ii  sbcl                        1:1.0.34.0-1 A Common Lisp compiler and develop

-- debconf information excluded





More information about the pkg-common-lisp-devel mailing list