delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/03/11:28:26

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=R+p/6eJ098K3cnAm
9aJw0moCymUlReP1+he07/DgtkZ+taCmYhX34svXn3BJ2pZ+mS3zTIpBsbeVrooa
Iarhgy5dZgxl6qAil8PkUBNl0p18A1mn5siVmgEqF2Qlpp4gAaiYA807wxIOgIOT
Mw6ZvXk4tFKJ6RzDSx7BLxBMJFw=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=ToD2ZiZMbqoFCdFWlK8Rji
Am7is=; b=aTxRewIBLTSB84J/pZHhXRmRYOP2Cp1XorHpluC8VlrK5/IxzccMCE
15bm9uKBomvHlSpQHSLNY8kXsn1YaRhQ4Ub/KjEfuZuM7KqfaDTwrowJAJO/+p9E
x+8+MJfLzG8cBiF8a8gewqUhy/3CWK74nnOEQSikYyOSoWP8uaP3w=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:1447, H*MI:sk:77a45ea, H*i:sk:77a45ea, H*f:sk:77a45ea
X-HELO: pac-sp-mail.paca.inra.fr
Subject: Re: Installer of Cygwin 64 seems to freeze when executing /etc/postinstall/xlaunch.sh - version 2.874
To: cygwin AT cygwin DOT com
References: <574DBD95 DOT 1060202 AT avignon DOT inra DOT fr> <b757f2c6-8492-a7b9-7388-9bfcaa8a0b10 AT dronecode DOT org DOT uk> <57505D42 DOT 9000908 AT avignon DOT inra DOT fr> <77a45ea2-150d-ec6d-7e29-dd2a94be8a97 AT dronecode DOT org DOT uk>
From: Jean-Paul Bouchet <jean-paul DOT bouchet AT avignon DOT inra DOT fr>
Message-ID: <5751A1A1.5060603@avignon.inra.fr>
Date: Fri, 3 Jun 2016 17:26:25 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.4.0
MIME-Version: 1.0
In-Reply-To: <77a45ea2-150d-ec6d-7e29-dd2a94be8a97@dronecode.org.uk>
X-j-chkmail-Enveloppe: 5751A1F8.000/147.100.168.2/pac-sm-gafl01.avignon.inra.fr/[147.100.168.2]/<jean-paul DOT bouchet AT avignon DOT inra DOT fr>
X-j-chkmail-Score: MSGID : 5751A1F8.000 on pac-sp-mail.paca.inra.fr : j-chkmail score : . : R=. U=. O=. B=0.041 -> S=0.041
X-j-chkmail-Status: Ham

Hello,
May be is the value of PATH the problem?
When I launch, by a double click on the bash.exe file, a cygwin bash 
shell (C:\cygwin64\bin\bash.exe) and I display $PATH, I don't find any 
cygwin directory in the list, but a list of windows directories:
/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem: 
...

So, when I execute in the cygwin bash shell  the command '/bin/sh -x 
/etc/postinstall/xlaunch.sh.done', I get the same errors than those I 
get when I execute 'C:\cygwin64\bin\sh -x 
/etc/postinstall/xlaunch.sh.done' in the windows command interpreter:
the command 'uname' is unknown.

If I change the value of PATH with PATH=/cygdrive/c/cygwin64/bin:$PATH 
and export PATH, the execution of 'sh -x 
/etc/postinstall/xlaunch.sh.done' don't give any errors.

What is the value of PATH when the installation executes the set of 
postinstall scripts ?

Jean-Paul Bouchet

On 03/06/2016 14:41, Jon Turney wrote:
> On 02/06/2016 17:22, Jean-Paul Bouchet wrote:
>> Please find attached the script /etc/postinstall/xlaunch.sh and the
>> output of its execution (file postinstall_xlaunch.txt).
>
> Thanks.
>
> I guess this doesn't reproduce the problem (freezing), as this is just 
> what I would expect to see when running the script without the PATH set?
>
> Perhaps you could try again from a cygwin bash shell?
>


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019