Here's the code in Awesome that detects EOF in a spawned command's standard output: https://github.com/awesomeWM/awesome/blob/master/lib/awful/spawn.lua#L238-L275. The problem is that older versions of LGI have a bug where they can't tell apart a blank line and EOF, so if one spawns a command, Awesome will stop listening the moment it gets a blank line. Commands like emerge throw a lot of blank lines, and they require manually adding workarounds like piping through awk. Obviously, it probably affects other software too. This is the bug: https://github.com/pavouk/lgi/issues/125. It was fixed in LGI 0.9.1, via this commit: https://github.com/pavouk/lgi/commit/85b5dae240d29475ea1de61185c54fcb6dabeb07. I suggest marking dev-lua/lgi-0.9.2 as stable, or at the very least backporting a patch to fix the issue.
@maintainer, please add keyword CC-ARCHES if you agree
ping
ppc stable
arm stable
amd64 stable
x86 stable
Looking good on ppc64. Fails less tests compared to previous stable (bug #679862). # cat lgi-704766.report USE tests started on Di 8. Sep 15:10:53 CEST 2020 FEATURES=' test' failed for =dev-lua/lgi-0.9.2 USE='-examples' succeeded for =dev-lua/lgi-0.9.2 USE='examples' succeeded for =dev-lua/lgi-0.9.2 revdep tests started on Di 8. Sep 15:29:13 CEST 2020 FEATURES=' test' USE='' succeeded for x11-wm/awesome
ppc64 done all arches done
~Re(In reply to ernsteiswuerfel from comment #7) > Looking good on ppc64. > > Fails less tests compared to previous stable (bug #679862). > > # cat lgi-704766.report > USE tests started on Di 8. Sep 15:10:53 CEST 2020 > > FEATURES=' test' failed for =dev-lua/lgi-0.9.2 > USE='-examples' succeeded for =dev-lua/lgi-0.9.2 > USE='examples' succeeded for =dev-lua/lgi-0.9.2 > > revdep tests started on Di 8. Sep 15:29:13 CEST 2020 > > FEATURES=' test' USE='' succeeded for x11-wm/awesome Thank you! ppc64 stable. Waiting for cleanup.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=317c751501b149576272010d6efbab174953f07d commit 317c751501b149576272010d6efbab174953f07d Author: Aaron Bauman <bman@gentoo.org> AuthorDate: 2020-09-19 16:38:21 +0000 Commit: Aaron Bauman <bman@gentoo.org> CommitDate: 2020-09-19 16:40:11 +0000 dev-lua/lgi: drop old EAPI=4 and unstable ebuild Closes: https://bugs.gentoo.org/704766 Closes: https://bugs.gentoo.org/679862 Closes: https://bugs.gentoo.org/628022 Closes: https://bugs.gentoo.org/662790 Signed-off-by: Aaron Bauman <bman@gentoo.org> dev-lua/lgi/Manifest | 1 - dev-lua/lgi/lgi-0.9.0-r1.ebuild | 57 ----------------------------------------- dev-lua/lgi/lgi-0.9.0.ebuild | 54 -------------------------------------- 3 files changed, 112 deletions(-)