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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=Jp3Atqig8d5ZeYAjMDD8Q+HcrpDgGQmb4z4y8E/ioK9 gvmIX6eqVzgFNT0hROdyejzEaWZQDyoQAFUS0xgffJU+EdhgoW4fT/dtL2HePv49 Fhu+c5fuOLP9fThlm3eLWQXwESid8OUW/5cp/GiHtXrLbg9BdpbQcWbAuUlkPJdU = 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=kSSLEO07ahfQU3GCS546DHk8MmY=; b=a2KmzmYI9RHfApgl5 h6SPOr7Nt4zakzgazBcNDok7mjRAcxsGFyrPzgu8IC2U6fzKRGKyN+rXu1dX0ios yxd4oa9sCNmrHPn5p+xGZIBGGJqk9G/ndCPVR8qG3bKdpc3M/F9nHHTHWlzTjT5T QOhGfrpYEiqmdw25VylpkQR1CE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Message-ID: <54618F4C.6000107@cygwin.com> Date: Mon, 10 Nov 2014 22:23:40 -0600 From: Yaakov Selkowitz User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Setup 2.774 texlive postinstall takes 10+ hours References: <1413864414772-112047 DOT post AT n5 DOT nabble DOT com> <54465853 DOT 3040000 AT cornell DOT edu> <1414134682090-112141 DOT post AT n5 DOT nabble DOT com> <24713230 DOT 20141024153002 AT yandex DOT ru> <1414559159086-112282 DOT post AT n5 DOT nabble DOT com> <319337147 DOT 20141029151332 AT yandex DOT ru> <1414708038168-112334 DOT post AT n5 DOT nabble DOT com> <54567198 DOT 8000504 AT cornell DOT edu> <20141103102515 DOT GS14051 AT calimero DOT vinschen DOT de> <87a948kvpw DOT fsf AT Rainer DOT invalid> <20141104085958 DOT GA4932 AT calimero DOT vinschen DOT de> In-Reply-To: <20141104085958.GA4932@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 2014-11-04 02:59, Corinna Vinschen wrote: > On Nov 3 19:03, Achim Gratz wrote: >> Dependencies are not evaluated at all when installing or running >> scripts. > > That's not correct. From the dependencies, setup generates a dependency > graph which is used to get a sequential order in which to call > the scripts. See /var/log/setup.log.full, it contains the dependency > order before starting the scripts. > > Years ago we had some trouble to get the base-cygwin script running > first due to a couple of dependency loops. And we have such loops > again, apparently. My dependency list on 64 bit (not all packages > installed) now starts like this: > > libbz2_1 _autorebase cygwin zlib0 libpng15 ... > > The worst thing AFAICS is that base-cygwin only comes after lots and > lots of other packages for some reason. > > This needs some investigation. There are two issues here: 1) upset was adding a requires: _autorebase to cygwin, which is incorrect because it requires dash and rebase, each of which (should) require cygwin (resulting in a dependency loop), not to mention that cygwin1.dll is never rebased. 2) Several libraries were missing requires: cygwin _autorebase, causing them to precede cygwin (and hence base-cygwin) in the dependency chain. I still have yet to understand why for some packages the autodep works and for others not. But by adding those requires to a downloaded setup.ini, resulting in the following: Dependency order of packages: libgcc1 base-cygwin cygwin dash tzcode libstdc++6 terminfo sed gzip libpcre1 grep libreadline7 bash libncursesw10 info _update-info-dir libgmp10 libiconv2 libintl8 libattr1 coreutils rebase _autorebase ... What libgcc1 is doing there first, I still don't know (it does have a requires: _autorebase cygwin). The other thing I realized is that Ports packages are missing these autodeps; only by chance (and that many of them depend on other distro libraries) do they not seem to interfere with the dependency order. The question is, can we just make the incver_ifdep code not dependent on autodep, then just have cygport add these dependencies to setup.hint and drop the apparently fragile autodep code from upset? Yaakov -- 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