X-Spam-Check-By: sourceware.org Message-ID: <918c01e60612161851x59f61d1cvb87e00e50826748e@mail.gmail.com> Date: Sat, 16 Dec 2006 18:51:24 -0800 From: "Christopher Tate" Reply-To: ctate AT acm DOT org To: cygwin AT cygwin DOT com Subject: Re: Postinstall Problem with 01bash.bat In-Reply-To: <4584AA15.6060206@byu.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_41951_28837188.1166323884632" References: <918c01e60612161607m2809a84dua3929813c74ee18c AT mail DOT gmail DOT com> <4584AA15 DOT 6060206 AT byu DOT net> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 ------=_Part_41951_28837188.1166323884632 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 12/16/06, Eric Blake wrote: > According to Christopher Tate on 12/16/2006 5:07 PM: > > Eric Blake wrote, on the cygwin mailing list: > >> > >> Phooey - now that you have gotten rid of the problem, I can't do any more > >> debugging via your system. I'm still trying to reproduce the failure, by > >> manually sourcing /etc/profile.d/00bash.sh, but so far it seems I am just > >> catching list users, like you, reporting failure that is solved by a > >> simple cp, but where the postinstall script did not work. > > > > I'm not subscribed to the list, but I found this thread when googling > > for help -- I am having exactly the same problem as Kenneth Evans. > > The list is open to posts from non-subscribers for a reason. Noted; thanks. > > 01bash.bat is hanging forever when attempting to finish the cygwin > > install. (Also, the rl_getenv_hook error dialog that he described > > happens for me as well, when i try to invoke sh.exe from a cmd.exe > > prompt.) Want my help diagnosing this? > > What version of bash are you trying to upgrade to? I assume you canceled > the setup.exe; if so, what does 'grep -C5 00bash /var/log/setup.log.full' > say? What does 'ls -l /bin/{ba,}sh.exe' say? What does 'cygcheck > /bin/sh.exe' say? First, I should point out that having run setup.exe has now left cygwin in an unusable state; i can't launch a bash shell in order to run the commands specified. All of the results I'm going to quote here are from running the commands in a cmd.exe shell. I had told setup.exe to reinstall the supposedly-installed version of bash; that's 3.2.9-9. grep -C5 00bash /var/log/setup.log.full says it's uninstalling 3.2.9, then installing from bash-3.2.9-9.tar.bz2, then abnormal exit (exit code = 0) from postinstall\00bash.sh, *then* running 01bash.bat. (full output attached rather than quoted here). ls -l /bin/{ba,}sh.exe: -rwxr-x---+ 1 ctate mkgroup-l-d 484864 Dec 15 13:44 /bin/bash.exe -rwxr-x---+ 1 ctate mkgroup-l-d 451072 Dec 26 2005 /bin/sh.exe cygcheck /bin/sh.exe: C:/cygwin/bin/sh.exe C:/cygwin/bin\cygwin1.dll C:\WINDOWS\system32\ADVAPI32.DLL C:\WINDOWS\system32\ntdll.dll C:\WINDOWS\system32\KERNEL32.dll C:\WINDOWS\system32\RPCRT4.dll C:/cygwin/bin\cygintl-3.dll C:/cygwin/bin\cygiconv-2.dll C:/cygwin/bin\cygreadline6.dll C:/cygwin/bin\cygncurses-8.dll C:\WINDOWS\system32\USER32.dll C:\WINDOWS\system32\GDI32.dll > > Here's one scrap of additional information: before running the cygwin > > setup.exe program, I checked the Task Manager and verified that no > > bash or sh processes were running. Now, with the installer hung > > during 01bash.bat's execution, there are three running bash.exe > > processes, and one running sh.exe. ... and these four processes persist after I click "Cancel" once 01bash.bat hangs, the "Install complete" dialog pops up, and I dismiss that. -- chris tate ctate AT acm DOT org ------=_Part_41951_28837188.1166323884632 Content-Type: text/plain; name=setup-log.txt; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: base64 X-Attachment-Id: f_evsv2xul Content-Disposition: attachment; filename="setup-log.txt" TUQ1IHZlcmlmaWVkIE9LOiBmaWxlOi8vQzpcdG1wXGN5Z3dpbi1wYWNrYWdl L2h0dHAlM2ElMmYlMmZtaXJyb3JzLnhtaXNzaW9uLmNvbSUyZmN5Z3dpbi9y ZWxlYXNlL2Jhc2gvYmFzaC0zLjIuOS05Ln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W5cYmFzaC5leGUgLWMgL2V0Yy9wb3N0aW5zdGFsbC8wMGJhc2guc2gKMjAw Ni8xMi8xNiAxNTo1ODoxMyBhYm5vcm1hbCBleGl0OiBleGl0IGNvZGU9MAoy MDA2LzEyLzE2IDE1OjU4OjEzIHJ1bm5pbmc6IGNtZC5leGUgL2MgQzpcY3ln d2luXGV0Y1xwb3N0aW5zdGFsbFwwMWJhc2guYmF0CjIwMDYvMTIvMTYgMTY6 MDc6MTEgbWJveCBub3RlOiBJbnN0YWxsYXRpb24gQ29tcGxldGUKMjAwNi8x Mi8xNiAxNjowNzoxMiBFbmRpbmcgY3lnd2luIGluc3RhbGwK ------=_Part_41951_28837188.1166323884632 Content-Type: text/plain; charset=us-ascii -- 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/ ------=_Part_41951_28837188.1166323884632--