[Pkg-zsh-devel] Bug#993539: "functions/Misc.zwc" isn't compiled from the bundled source files
Leo Gama
leonardo.reis.gama at gmail.com
Thu Sep 2 21:20:42 BST 2021
Package: zsh-common
Version: 5.8-7
Files affected (at least):
/usr/share/zsh/functions/Misc.zwc
/usr/share/zsh/functions/Misc/run-help
If I try to call "run-help" at a ZSH prompt, it reports:
> $ run-help
> There is no list of special help topics available at this time.
And trying to use it to see the help text for any built-in command just
opens a man page for zsh...
Turns out that the default HISTDIR (which is wrong) in the file that
contains the bytecode compiled version of "run-help" is different from the
default in the source code "run-help" file:
> $ grep 'HELPDIR:-/' /usr/share/zsh/functions/Misc/run-help
> local HELPDIR=${HELPDIR:-/usr/share/zsh/help}
> $ strings /usr/share/zsh/functions/Misc.zwc | grep 'HELPDIR:-/'
> HELPDIR:-/usr/share/zsh/5.8/help
> HELPDIR:-/usr/share/zsh/5.8/help
Setting HELPDIR fixes it, as expected.
It seems something went wrong in a modified building process for this
package --all sourced and compiled files for functions have identical
modification times, so at least they were "touched". I couldn't find a way,
inspecting the build script (debian/rules) and the source for "run-help",
it would end with this result.
Best,
Leonardo Gama
[image: https://]about.me/leogama
<https://about.me/leogama>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-zsh-devel/attachments/20210902/b50675ca/attachment.htm>
More information about the Pkg-zsh-devel
mailing list