From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97303 invoked by alias); 8 Aug 2016 21:11:40 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 97285 invoked by uid 89); 8 Aug 2016 21:11:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=0900, JST, jst, HX-Yahoo-Newman-Property:ymail-4 X-HELO: nm44-vm3.bullet.mail.ne1.yahoo.com Received: from nm44-vm3.bullet.mail.ne1.yahoo.com (HELO nm44-vm3.bullet.mail.ne1.yahoo.com) (98.138.120.243) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 08 Aug 2016 21:11:23 +0000 Received: from [127.0.0.1] by nm44.bullet.mail.ne1.yahoo.com with NNFMP; 08 Aug 2016 21:11:21 -0000 Received: from [98.138.101.131] by nm44.bullet.mail.ne1.yahoo.com with NNFMP; 08 Aug 2016 21:08:31 -0000 Received: from [98.138.88.236] by tm19.bullet.mail.ne1.yahoo.com with NNFMP; 08 Aug 2016 21:05:31 -0000 Received: from [127.0.0.1] by omp1036.mail.ne1.yahoo.com with NNFMP; 08 Aug 2016 21:05:31 -0000 Received: from jws10084.mail.ne1.yahoo.com by sendmailws123.mail.ne1.yahoo.com; Mon, 08 Aug 2016 21:05:30 +0000; 1470690330.586 Date: Tue, 09 Aug 2016 00:17:00 -0000 From: Brent Reply-To: Brent To: "cygwin@cygwin.com" Message-ID: <713977349.11020508.1470690330004.JavaMail.yahoo@mail.yahoo.com> Subject: RE: Postinstall script errors on cygwin x86 install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <713977349.11020508.1470690330004.JavaMail.yahoo.ref@mail.yahoo.com> X-SW-Source: 2016-08/txt/msg00135.txt.bz2 Hello, Tatsuro MATSUOKA started this thread https://cygwin.com/ml/cygwin/2016-04/msg00193.html back on Mon, 11 Apr 2016 05:18:30 +0900 (JST), which I stumbled across just now from a web search. I recently encountered a very similar problem, and I think that I have a simple solution, so I wanted to followup. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ First some background: --I was forced at work to downgrade from Win 7 to Win 10 spyware as a service a few weeks ago --at the time of that downgrade, I had some problems with cygwin, so I did a clean install of 32 bit cygwin --I vaguely recall a few post installation warnings at that time, but I did not note them; furthermore, cygwin seemed to subsequently work --this morning, however, some R code failed that worked just 2 days ago (and was not changed in the interim...) --actually, it was the R C++ compiler of some critical methods that was failing, not R per se --the warning message was: Warning: running command 'C:/PROGRA~1/RRO/R-31~1.2/bin/x64/R CMD SHLIB file9d81bb03ccf.cpp 2> file9d81bb03ccf.cpp.err.txt' had status 1 0 [main] make (1584) c:\Rtools\bin\make.exe: *** fatal error - cygheap base mismatch detected - 0xFCF408/0xDDF408. This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version. The most recent version *should* reside in x:\cygwin\bin, where 'x' is the drive on which you have installed the cygwin distribution. Rebooting is also suggested if you are unable to find another cygwin DLL. 0 [main] make 2544 fork: child -1 - forked process 1584 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ After that error, I tried another clean reinstall of 32 bit cygwin. My steps were simply: 1) I deleted these entire directory trees: C:\cygwin \http%3a%2f%2fcygwin.mirror.constant.com%2f 2) I reran setup-x86.exe At the end of this reinstall, setup-x86.exe popped up a dialog that listed these post install errors: Package: 0/Perpetual 0p_000_autorebase.dash exit code 2 0p_update-info-dir.dash exit code 2 Package: _/base-cygwin 000-cygwin-post-install.sh exit code 254 Package: _/coreutils coreutils.sh exit code 254 Package: _/bash bash.sh exit code 254 Package: _/base-files base-files-mketc.sh exit code 254 base-files-profile.sh exit code 254 Package: _/ca-certificates ca-certificates.sh exit code 254 Package: _/lynx lynx.sh exit code 254 Package: _/man-db man-db.sh exit code 254 Package: _/mintty mintty.sh exit code 254 That list is very similar to Tatsuro's. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To make a long story short, the cure for my post install errors was to do another clean install that included CLEANING THE REGISTRY AS WELL. In particular, these are the exact reinstall steps that worked for me: 1) delete these entire directory trees: C:\cygwin \http%3a%2f%2fcygwin.mirror.constant.com%2f 2) run regedit and ENTIRELY delete BOTH of these registry trees: HKEY_LOCAL_MACHINE\Software\Cygwin HKEY_CURRENT_USER\Software\Cygwin 3) restart your computer 4) rerun setup-x86.exe The above is an abbreviated version of the steps described in https://cygwin.com/faq/faq.html#faq.setup.uninstall-all (I did not need to do the other steps, since my installation had nothing fancy like cygwin services running.) When I did the above, setup-x86.exe ran to completion with no errors whatsoever. Furthermore my cygwin install seems to work fine (as does the R code failed this morning). Hope this helps someone else in the future. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple