Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 6 Oct 2003 16:08:36 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: cygpath hangs from postinstall scripts when called like $(cygpath -S) but not otherwise Message-ID: <20031006200836.GC12215@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i On Mon, Oct 06, 2003 at 08:55:12PM +0200, Hannu E K Nevalainen wrote: >> From: Igor Pechtchanski >> Sent: Monday, October 06, 2003 4:40 PM > >> On Mon, 6 Oct 2003, Hannu E K Nevalainen wrote: >> >> > > From: Igor Pechtchanski >> > > Sent: Monday, October 06, 2003 1:44 AM >> > >> > > It would be easy to check if the above was the reason for the hang by >> > > trying to call the following program from a postinstall >> script and seeing >> > > if it also hangs: >> > >> > It doesn't hang. :-I >> >> Well, so much for that idea... > > Yup. :-7 > >I had another idea; look up the postinstall launch code in setup >(script.cc/run), copy it and try to create a "testcase". > >This seems to be futile though, at least I've had no luck. > >I've got one idea left: recompile setup 2.415-1 by myself and try that. Or you could build a debug version of cygpath and attach to it with gdb when it is hung. Or maybe you need a debug version of the cygwin DLL or maybe ash or bash. It's amazing how much effort people are putting into this when something simple could be done to actually pinpoint the problem. We could have been beyond all of the normal "I configured in the source directory", "How do I get 'make install' to work in the cygwin directory", "Why is it so hard to build" steps by now. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/