delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/20/11:40:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A3D02CF.1040702@aim.com>
Date: Sat, 20 Jun 2009 11:39:59 -0400
From: Mark Harig <idirectscm AT aim DOT com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
Subject: Cygwin 1.7: Possible error in /etc/postinstall/base-files-profile.sh
X-AOL-IP: 205.188.169.200
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

When I ran setup-1.7.exe with the default set of packages
selected, the following error message was displayed:

running: C:\cygwin-1.7\bin\bash.exe --norc --noprofile -c 
/etc/postinstall/base-files-profile.sh
abnormal exit: exit code=-1073741819

'base-files-profile.sh' contains the following line:

/bin/mkdir -p `dirname ${fDest}`

'dirname' is /usr/bin/dirname.  Does setup-1.7.exe set
PATH before running 'base-files-profile.sh'?  If not,
then this would account for the error.

It is possible to rewrite the command without using
'dirname':

/bin/mkdir -p ${fDest%/*}

$ cygcheck -f /etc/postinstall/base-files-profile.sh
base-files-3.8-3

$ cygcheck -c base-files-3.8
Cygwin Package Information
Package              Version        Status
base-files           3.8-3          OK



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

- Raw text -


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