X-Spam-Check-By: sourceware.org Message-ID: <4584AA15.6060206@byu.net> Date: Sat, 16 Dec 2006 19:23:17 -0700 From: Eric Blake Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: ctate AT acm DOT org, cygwin AT cygwin DOT com Subject: Re: Postinstall Problem with 01bash.bat References: <918c01e60612161607m2809a84dua3929813c74ee18c AT mail DOT gmail DOT com> In-Reply-To: <918c01e60612161607m2809a84dua3929813c74ee18c@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 http://cygwin.com/acronyms/#PPIOSPE - redirected to the list, accordingly. 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. > 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? > > 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. > I'm starting to wonder if cygcheck chokes on the fact that cygreadline6.dll exists, but is missing the hook that /bin/sh version 3.0.x depended on. Hmm, based on digging up an older build of bash from my archives, it looks like cygcheck is just fine with it, but trying to execute it from bash just silently exits with status 57 (ie. missing dll dependency). But so far, I can't reproduce a hang. - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFhKoV84KuGfSFAYARAtDBAJ9DXQWJ5ru41grFkdGMkmgDibScjgCgqLSD LHcaJxMDjy1xwJ/8/F/gAQM= =Oywn -----END PGP SIGNATURE----- -- 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/