X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Sat, 20 Jun 2009 12:57:07 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Cygwin 1.7: Possible error in 	/etc/postinstall/base-files-profile.sh
Message-ID: <20090620165707.GD13175@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4A3D02CF.1040702@aim.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4A3D02CF.1040702@aim.com>
User-Agent: Mutt/1.5.19 (2009-01-05)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Sat, Jun 20, 2009 at 11:39:59AM -0400, Mark Harig wrote:
>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

It does set the path.  This is one of those cases where we really do
need to see the cygcheck output:

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

