www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:cc:subject:in-reply-to:message-id | |
:references:mime-version:content-type; q=dns; s=default; b=KtWeq | |
Maqe9kJ/5pTnOtqH3DxMWEXFD4wSt8X8P00L1JUveePvot1WpckZygLaJJ7KiV4i | |
9WgEKHdIz97+S3oTAQ1P89PZ4Do8iRUnciwWXWrLbrKrQWwqdmBLE/cffqoUUw3s | |
lYJlG400vBMabN8gRaXwenr08iUG1F9u120HIo= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:cc:subject:in-reply-to:message-id | |
:references:mime-version:content-type; s=default; bh=dwb85CbJhAu | |
LbIykRH2YHBmDoFY=; b=qWn38D7aQeGn5vvGEX51kfnashTYuqAf+QMC4mcN0nv | |
iMakBGRCjNO4AehQilxxp4VHUfU1BmjY0+PbtaBPmqK6rR2Bg9ka5oYWAVMn5s28 | |
LLchbiTALutzKykRyGCA+n6jiEbrjSwjRKE21yn/z9FouoH2rZoaus1byVfuGxvw | |
= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Spam-SWARE-Status: | No, score=-0.9 required=5.0 tests=AWL,BAYES_00,EXECUTABLE_URI,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE autolearn=no version=3.3.1 |
X-Cloudmark-SP-Filtered: | true |
X-Cloudmark-SP-Result: | v=1.1 cv=x4wvebh7U2otgv2g1Q/ELETKOrtBkVhBqv1eL6GwWag= c=1 sm=1 a=B91VBO2a_qwA:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=z7krrshvX4xgmymOX9LeJQ==:17 a=w_pzkKWiAAAA:8 a=RKT0kQU5AAAA:8 a=2z1OXlWFAAAA:8 a=KDvFEfpbAAAA:8 a=RFjz5LDnBC9FbTpjnrIA:9 a=CjuIK1q_8ugA:10 a=vyAkTFerXosA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 |
Date: | Thu, 27 Jun 2013 14:52:51 -0700 (PDT) |
From: | "Alan W. Irwin" <irwin AT beluga DOT phys DOT uvic DOT ca> |
To: | "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net> |
cc: | cygwin AT cygwin DOT com |
Subject: | Re: Failure with fork() |
In-Reply-To: | <51CCA6FB.5060804@users.sourceforge.net> |
Message-ID: | <alpine.DEB.2.02.1306271429000.27492@enira.zlyna.ubzr> |
References: | <alpine DOT DEB DOT 2 DOT 02 DOT 1306271112580 DOT 27492 AT enira DOT zlyna DOT ubzr> <alpine DOT DEB DOT 2 DOT 02 DOT 1306271148230 DOT 27492 AT enira DOT zlyna DOT ubzr> <51CC8EE9 DOT 1080401 AT gmail DOT com> <alpine DOT DEB DOT 2 DOT 02 DOT 1306271225460 DOT 27492 AT enira DOT zlyna DOT ubzr> <51CCA6FB DOT 5060804 AT users DOT sourceforge DOT net> |
User-Agent: | Alpine 2.02 (DEB 1266 2009-07-14) |
MIME-Version: | 1.0 |
On 2013-06-27 15:56-0500 Yaakov (Cygwin/X) wrote: > On 2013-06-27 15:33, Alan W. Irwin wrote: >> I think you keep assuming I have some version of Cygwin already >> installed when that is not the case. It is the last stage of the >> initial attempt at installation using setup.exe that fails on Wine due >> to the fork bug. Furthermore, when I download setup.exe from >> http://cygwin.com/setup.exe it contains the fork bug. That version is >> self-contained, i.e., only setup.exe needs to be downloaded, not >> cygwin1.dll in addition. I presume that is because setup.exe uses a >> static version of the cygwin library as a matter of convenience rather >> than depending on an external cygwin1.dll that could be separately >> downloaded. > > There is no such thing as static linkage of Cygwin. setup.exe is in fact a > native Windows (MinGW) executable, due to the fact that it needs to be able > to run before Cygwin is installed, or while upgrading cygwin1.dll. > > Therefore, if you are seeing fork() errors when running setup, they are > actually coming from the postinstall scripts which are run after installing > files. In that case, the best solution may be something along the lines of > (untested): > > 1) Open the Wine equivalent of taskmgr.exe. > 2) Run setup.exe again and install just the Base packages. > 3) During postinstall, kill any bash.exe processes ASAP. > 4) setup.exe should list some postinstall errors before completion, which can > be ignored for now. > 5) After setup.exe is finished, replace C:\cygwin\bin\cygwin1.dll with the > latest snapshot DLL. > 6) Run setup.exe again with the same options; the postinstall scripts should > (in theory) run properly this time. > 7) Launch Cygwin Terminal once to set up your environment. > 8) Run setup.exe one more time to install additional packages. > Once the relevant snapshot is released I will let you know how far I get with a variant of the above I have thought of which is replacing cygwin1.dll on the fly when the individual step of the initial run of setup.exe that installs cygwin1.dll is completed. That method takes advantage of the fact that the fork issue only occurs during the final step of the install and presumably nothing is using cygwin1.dll when the prior step that installs cygwin1.dll is completed. So ideally this method would be completely error free, but I will see about that, and if not I will fall back to trying your method. Thanks to you and the many (!) other posters here for clarifying the issue (i.e., that the fork issue I see as a result of running setup.exe is in one of the invoked commands that are linked to cygwin1.dll that is downloaded by setup.exe and not in setup.exe itself.) More later. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |