Bug#908818: [Pkg-zsh-devel] Bug#908818: Bug#908818: Zsh: [7] + 23074 suspended (tty output)

2018-09-14 Thread TS
Hello,

Daniel Shahaf schrieb/wrote:

--  --
> If you'd like to build it yourself, then first of all thank you for the
> willingness.  The procedure is documented on
> http://ircbots.debian.net/factoids/factoid.php?key=package+recompile ;
> between step 4 and step 5 you should apply the patch, such as by running
> 'patch -p1 < /path/to/patch' and edit the first line of debian/changelog
> to read, say, 5.6.1-1+~foo1 instead of 5.6.1-1.  The plus-tilde
> construct ensures that after you install the package you'll still
> upgrade automatically to any future version.
> 
> The patch is 43446:
> https://github.com/zsh-users/zsh/commit/7c5241edf37fbafc9e1f833aede76c524ce62bcb.patch
> (and http://www.zsh.org/mla/zsh-workers/43446)

For the record build does not finish for me:

Running test: with message two tabs will start menu completion
Test successful.
Running test: with message and _oldlist, two tabs will start menu completion
Test successful.
Running test: partial completion of option with an argument
Test successful.
Running test: with -W options mixed with arguments
Test successful.
../../Test/Y03arguments.ztst: all tests successful.
**
49 successful test scripts, 1 failure, 1 skipped
**
make[3]: *** [Makefile:188: check] Error 1
make[3]: Leaving directory '/home/luke/temp/zsh-build/zsh-5.6.1/obj/Test'
make[2]: *** [Makefile:263: test] Error 2
make[2]: Leaving directory '/home/luke/temp/zsh-build/zsh-5.6.1/obj'
dh_auto_test: cd obj && make -j2 test VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:63: override_dh_auto_test-arch] Error 2
make[1]: Leaving directory '/home/luke/temp/zsh-build/zsh-5.6.1'
make: *** [debian/rules:51: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



Bug#908818: [Pkg-zsh-devel] Bug#908818: Bug#908818: Zsh: [7] + 23074 suspended (tty output)

2018-09-14 Thread Daniel Shahaf
TS wrote on Fri, 14 Sep 2018 16:26 +0200:
> I am not familar with building from source. Need to dig through haystacks of
> documentation first. Not sure i will make it right even then.
> 
> So, do have pre-built .debs somewhere with this patch i can test?
> Otherwise will jump through the pre-said loops if needed.

Upstream just released 5.6.2, which contains this patch.  You could just
wait for it to be packaged in sid.

If you'd like to build it yourself, then first of all thank you for the
willingness.  The procedure is documented on
http://ircbots.debian.net/factoids/factoid.php?key=package+recompile ;
between step 4 and step 5 you should apply the patch, such as by running
'patch -p1 < /path/to/patch' and edit the first line of debian/changelog
to read, say, 5.6.1-1+~foo1 instead of 5.6.1-1.  The plus-tilde
construct ensures that after you install the package you'll still
upgrade automatically to any future version.

The patch is 43446:
https://github.com/zsh-users/zsh/commit/7c5241edf37fbafc9e1f833aede76c524ce62bcb.patch
(and http://www.zsh.org/mla/zsh-workers/43446)

Cheers,

Daniel



Bug#908818: [Pkg-zsh-devel] Bug#908818: Zsh: [7] + 23074 suspended (tty output)

2018-09-14 Thread TS
Hi Daniel,

Daniel Shahaf schrieb/wrote:

--  --

> It will be included in upstream 5.6.2 which is due to be released soon.
> It would be great if you could test the issue with this patch and
> report back.
> 
> Cheers,
> 
> Daniel

I am not familar with building from source. Need to dig through haystacks of
documentation first. Not sure i will make it right even then.

So, do have pre-built .debs somewhere with this patch i can test?
Otherwise will jump through the pre-said loops if needed.

kind regards,

 Thilo



Bug#908818: [Pkg-zsh-devel] Bug#908818: Zsh: [7] + 23074 suspended (tty output)

2018-09-14 Thread Daniel Shahaf
TS wrote on Fri, 14 Sep 2018 14:35 +0200:
> This leads me to the impression that this is a race condition.
> Further i have the impression, that this related to #908033.
> 
> If i can help you with any further tests / informations just let me know.

Upstream has committed another patch for #908033; that patch postdates
the 5.6.1-1 package:

[[[
## Branch: master  

43446: More entersubsh() / addproc() wiring.

Fix additional races by passing back use of list_pipe_job
from subshell.

By Peter Stephenson on 09/12/2018 08:22
[**View 
Changes**](https://sourceforge.net/p/zsh/code/ci/7c5241edf37fbafc9e1f833aede76c524ce62bcb/)
]]]

It will be included in upstream 5.6.2 which is due to be released soon.
It would be great if you could test the issue with this patch and
report back.

Cheers,

Daniel



Bug#908818: Zsh: [7] + 23074 suspended (tty output)

2018-09-14 Thread TS
Package: zsh
Version: 5.6.1-1
Severity: important

Hello,

sorry for the bad bug description, not sure how to tell it better.

running the function

zprofile() {
  ZSH_PROFILE_RC=1 zsh "$@"
}

for profiling Zsh startup performance i now get:

% zprofile
[7]  + 23074 suspended (tty output)

then have to fg to see the actual output from profiling.
Today "zprofile" has worked once as usual but now i get this
"[7]  + 23074 suspended (tty output)" instead.

This leads me to the impression that this is a race condition.
Further i have the impression, that this related to #908033.

If i can help you with any further tests / informations just let me know.


Thanks and kind regards,


 Thilo


-- Package-specific info:

Packages which provide vendor completions:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version   Architecture
Description
+++--=-=-=
ii  curl 7.61.0-1  amd64
command line tool for transferring data with URL syntax
ii  git-extras   4.6.0-1   all
Extra commands for git
ii  git-flow 1.11.0-1  all
Git extension to provide a high-level branching model
ii  pdfgrep  2.0.1-1   amd64
search in pdf files for strings matching a regular expression
ii  pulseaudio   12.2-1amd64
PulseAudio sound server
ii  systemd  239-9 amd64
system and service manager
ii  udev 239-9 amd64
/dev/ and hotplug management daemon
ii  vlc-bin  3.0.4-1+b1amd64
binaries from VLC
ii  youtube-dl   2018.09.08-dmo1   all
downloader of videos from YouTube and other sites

dpkg-query: no path found matching pattern /usr/share/zsh/vendor-functions/


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8),
LANGUAGE=C (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages zsh depends on:
ii  libc6   2.27-6
ii  libcap2 1:2.25-1.2
ii  libtinfo6   6.1+20180714-1
ii  zsh-common  5.6.1-1

Versions of packages zsh recommends:
ii  libc6 2.27-6
ii  libncursesw6  6.1+20180714-1
ii  libpcre3  2:8.39-11

Versions of packages zsh suggests:
ii  zsh-doc  5.6.1-1

-- no debconf information