X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sun, 10 Aug 2008 11:56:37 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: setup v2.573.2.3: Postinstall: "abnormal exit: exit code=126" Message-ID: <20080810155637.GB8814@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <1768556009 DOT 20080810175452 AT inbox DOT ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1768556009.20080810175452@inbox.ru> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Sun, Aug 10, 2008 at 05:54:52PM +0400, Andry wrote: >>On Sun, Aug 10, 2008 at 01:31:54AM +0400, Andry wrote: So, in other >>words, you redescribing the problem that has already been identified. >>You just wanted to spend a paragraph getting your kick in. >I describing a set of problems. > >>And, unless the packages are doing something odd like moving their info >>files around in postinstall scripts, it shouldn't matter when >>_update_info_dir is run. > >It already should, because it at least should run after "bash" or "ash" >component. This only matters if there is no /bin/sh set up by postinstall, which is the bug that was uncovered by this thread and is a bug which is being addressed. >>You mentioned _update_info_dir. If _update_info_dir is installed then >>install-info.exe is also installed. install-info *does* need to be >>installed to correctly set up the directory file for use by info. >I mentioned install-info, i didn't said anything about _update_info_dir >does install intall-info. Installing _update_info_dir will cause install-info.exe to also be installed since it is a dependency and post install scripts are run after all packages are extracted. >I told about postinstall scripts at all, they uses install-info without >checking it on presence The postinstal scripts can rely on its existence if they have .info files. That is precisely why _update_info_dir was invented. >half scripts just run it like "intall-info" instead of >"/usr/bin/install-info", because PATH IMHO can be unupdated yet for >searchpaths. So i additionally fix postinstall scripts to fit my >needs. I'm sure all of the scripts assume the existence of a sane path. I believe that bash defaults to a useful path if there is none set. But if setup.exe isn't setting up a basic PATH it probably should do that. cgf -- 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/