Apache OpenOffice (AOO) Bugzilla – Issue 51097
win/tcsh: sometimes commands started with $(shell command) do not return
Last modified: 2013-08-07 15:34:52 UTC
milestone is m111, cygwin dll version 1.5.14 e.g. line 304 (...ls -1...) in target.mk normally works fine but hangs reproduceable in "javaunohelper/util" here. (aswell standard dmake as dmake taken from "dmake43p01" - the later just let you see the shell command). not yet sure what triggers the problem nor if it is just a "pp" (personal problem).
Try -vr from the dmake43p01 branch. It will echo the shell commands and you will see where it hangs. Maybe this will give a hint.
Created attachment 27436 [details] short sample for hanging shell call
some more findings: - reproduceable only with command that pipe their output (see attached sample) - not reproduceable when removing -f switch for subshells (see iz50689) no idea of the root cause yet...
Hmm, I cannot reproduce. I saved that file as ttt.mk, sourced a m109 environment (I made sure that -fc is used in wnt/macros.mk) and did: $ dmake -f ttt.mk echo bla bla I have: $ uname -a CYGWIN_NT-5.0 lisi 1.5.17(0.129/4/2) 2005-05-25 19:38 i686 unknown unknown Cygwin Did I miss a part of the recipe?
output of uname -a here: CYGWIN_NT-5.1 mi-1 1.5.14(0.126/4/2) 2005-04-01 13:40 i686 unknown unknown Cygwin looks a bit older than you version. it's a clean installation of the default (stable?) not much older than two weeks.
seems to be timing (initialization of tcsh) related: $(shell sleep 1; echo bla | grep bla) - returns $(shell echo blubb; echo bla | grep bla) - hangs even better: having both commands in the order above returns for both, order changed hangs in first... :-/
updated cygwin to CYGWIN_NT-5.1 mi-1 1.5.17(0.129/4/2) 2005-05-25 19:38 i686 unknown unknown Cygwin and the hangs are gone... sorry for the noise
.