Package: zsh
Version: 5.3.1-1
Severity: normal
Hi,
Working on the zshdb package, the RC bug (FTBFS) #848739 has come up. As part
of the build process, zshdb looks for the funcfiletrace feature by searching
the output of "declare -p". While I haven't done a git bisect, this must have
been working on the 5th of December so must have been broken by an update since
then (the autobuilder passed it on that date).
Here's some outputs:
------------------------------------------------------------------------
stilton% zsh --version
zsh 5.0.7 (x86_64-pc-linux-gnu)
stilton% declare -p | grep funcfiletrace
Binary file (standard input) matches
------------------------------------------------------------------------
and the broken one:
------------------------------------------------------------------------
irl@orbiter ~/debian/zshdb master zsh --version
zsh 5.3.1 (x86_64-debian-linux-gnu)
irl@orbiter ~/debian/zshdb master declare -p | grep funcfiletrace
✘ irl@orbiter ~/debian/zshdb master
------------------------------------------------------------------------
This now gives a non-zero return status, because that string is no longer
present in the output. The variable is there however, and can be used:
---/tmp/test_funcfiletrace.sh-------------------------------------------
#!/usr/bin/zsh
hello() {
echo $funcfiletrace
}
hello
------------------------------------------------------------------------
irl@orbiter ~/debian/zshdb master zsh /tmp/test_funcfiletrace.sh
/tmp/test_funcfiletrace.sh:7
------------------------------------------------------------------------
Thanks,
Iain.