[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#340610: marked as done (kimberlite: depends on pdksh but /bin/ksh may not be pdksh)



Your message dated Fri, 28 Jul 2006 05:25:37 +0200
with message-id <87lkqez9zi.fsf@debian.org>
and subject line Removed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: kimberlite
Version: 1.1.0-3.3
Severity: normal

kimberlite depends on pdksh and includes ksh scripts in
/usr/lib/kimberlite that rely on #!/bin/ksh to run the scripts. However,
since version 5.2.14-18 of pdksh, pdksh is installed as /bin/pdksh and
the alternates system used to handle /bin/ksh. This means that
installing kimberlite can add pdksh as a dependency but a different ksh
is then used.

One solution would therefore be to change the dependency to ksh | mksh |
pdksh | zsh. Alternatively, the scripts should be changed to use
#!/bin/pdksh.

The advantage of changing the dependency is that it reduces the chance
that someone needs to install an extra package. The problem is that the
scripts may break in one of the other shells. Looking through the
scripts closely, I noticed one problem. Function definitions are of this
form:
  stopDevices()
  {
    typeset TMPFILE=/tmp/$MYNAME.stopDevices.$$
    ...
  }
In the real Korn shell, the two function declaration forms have
different semantics and variable definitions will not have local scope.
The fix is to use the syntax:
  function stopDevices
  {
  }

This should really be changed upstream: other distributions have changed
their ksh to the real ksh.

Oliver


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.


--- End Message ---
--- Begin Message ---
kimberlite has been removed from Debian due to lack of interest and
upstream inactivity.  For details, see <http://bugs.debian.org/348195>.

--- End Message ---

Reply to: