From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1680 invoked by alias); 15 Aug 2008 13:13:15 -0000 Received: (qmail 1663 invoked by uid 22791); 15 Aug 2008 13:13:14 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 15 Aug 2008 13:12:24 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 02E4A6D434C; Fri, 15 Aug 2008 15:13:26 +0200 (CEST) Date: Fri, 15 Aug 2008 13:13:00 -0000 From: Corinna Vinschen To: cygwin-apps@cygwin.com Cc: Eric Blake Subject: Re: New Setup for Cygwin 1.7 on cygwin.com Message-ID: <20080815131326.GN21040@calimero.vinschen.de> Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com, Eric Blake References: <20080812153516.GR5129@calimero.vinschen.de> <20080812180215.GV5129@calimero.vinschen.de> <20080812202536.GA17636@ednor.casa.cgf.cx> <20080813102021.GA5129@calimero.vinschen.de> <7zy72yd5gy.fsf@vzell-de.de.oracle.com> <20080815102836.GA9937@calimero.vinschen.de> <20080815112146.GG21040@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080815112146.GG21040@calimero.vinschen.de> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com X-SW-Source: 2008-08/txt/msg00098.txt.bz2 On Aug 15 13:21, Corinna Vinschen wrote: > > On Aug 15 10:53, Dr. Volker Zell wrote: > > > lrwxrwxrwx 1 vzell Users 17 Aug 15 10:41 terminfo ->../share/terminfo <----- This seems to be wrong > > Apparently not. If you have a look into /var/log/setup.log, you can see > that this is a result of the order in which the postinstall scripts are > running. The problem is that the script 000-cygwin-post-install.sh from > the base-cygwin package is not run as the first script, so that we don't > have a fstab file (and no usr/lib mount point) when the terminfo > postinstall script runs. > > Here's another problem: The bash postinstall script runs prior to > the 000-cygwin-post-install.sh script as well and fails exit code 127, > because it calls /usr/bin/install-info. Since the /usr/bin mount point > is created in 000-cygwin-post-install.sh, it doesn't exist so far and > the call fails. That shouldn't hurt since update-info-dir.sh runs > fine (it calls install-info without full path), but it shows the general > problem. > > Along these lines, the coreutils postinstall script runs before the > bash script as well even though its setup.hint file requires bash. > Huh? > > So, how can we make sure that the 000-cygwin-post-install.sh script > from the base-cygwin package runs as the first script? Does it work > to make bash depend on base-cygwin? Eric? Is the latter feasible? I created the 000-cygwin-post-install.sh in a way so that it only requires bash itself, not any coreutils tool. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat