X-Recipient: archive-cygwin@delorie.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=hs4abROKjoCJqy1WjKzM2Wc2tv4saKg/l17Zd1ylScT
	38DUwIM3iVptMpqFJolvx6bHhQG0TvPB9NwqcJ7YyZJ7w1tD0ewqH2W3uUfro8MO
	ApkymYGSTmHkBORrDv9bjRbxNNbp8yUaE2FoT6V9xbnj+jPLiGDFKQdvDV1eCibA
	=
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=ms1J4GOJxs8KyvTIScgPuwoSgd0=; b=ZkgD6iy33Fbg5q1UF
	bkL/XOsxO3KXIDsbDdGaBbkKxEQ8NXqWxREoiTu4fk2rGOFrFH0GZDFbaoTvQnkY
	feno+bicbDDZBEsCzEiWJZOlwJf+nWLrdc760rmbb+Z745NrRLYp/E3UjejK9tJ+
	etg+xz/EvX6rxNDxLjT69gAWxI=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: limerock01.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <5457787E.3000309@cornell.edu>
Date: Mon, 03 Nov 2014 07:43:42 -0500
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Setup 2.774 texlive postinstall takes 10+ hours
References: <1413844739487-112040.post@n5.nabble.com> <5445C04A.3000407@cornell.edu> <1413864414772-112047.post@n5.nabble.com> <54465853.3040000@cornell.edu> <1414134682090-112141.post@n5.nabble.com> <24713230.20141024153002@yandex.ru> <1414559159086-112282.post@n5.nabble.com> <319337147.20141029151332@yandex.ru> <1414708038168-112334.post@n5.nabble.com> <54567198.8000504@cornell.edu> <20141103102515.GS14051@calimero.vinschen.de>
In-Reply-To: <20141103102515.GS14051@calimero.vinschen.de>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 11/3/2014 5:25 AM, Corinna Vinschen wrote:
> On Nov  2 13:02, Ken Brown wrote:
>> On 10/30/2014 6:27 PM, Don MacDougall wrote:
>>> So, why the
>>> postinst scripts failed to run before, now becomes an academic matter for
>>> me.
>>
>> Nevertheless, let me point out for the sake of the archives that the answer
>> was contained in one of your earlier messages:
>>
>> On 10/24/2014 3:11 AM, Don MacDougall wrote:
>>> Can't fork, trying again in 5 seconds at /usr/bin/updmap line 59.
>>>         7 [main] perl 8088 child_info_fork::abort: unable to remap Fcntl.dll
>>> to same address as parent (0x2E0000) - try running rebaseall
>>
>> The problem is that many of the texlive postinstall scripts run perl
>> scripts, and these failed as above because rebaseall needed to be run.  I
>> guess this problem will occur whenever perl and texlive are installed
>> simultaneously.
>>
>> I'm not sure what the solution is.  Would it be hard to tweak setup.exe so
>> that it runs the autorebase postinstall script before running any others?
>> Or would this be a bad idea for other reasons?
>
> Off the top of my head I don't know how hard that would be, but it
> doesn't sound like an especially bad idea to me.  Au contraire.
>
> The only reasons not to do that would be if an installer script would
> move DLLs around (Do we have that?  I hope not) or if there's a simpler
> solution.
>
> One thing we could test is if we can't get away without tweaking
> setup.exe, by changing the dependencies only.  Right now _autorebase
> requires rebase and dash packages.  Both are in Base anyway, but they
> pull in more dependencies which result in something like a rat tail of
> dependencies.  So I'm wondering if tweaking _autorebase' setup.hint file
> like this:

It's worth a try.

>   sdesc: "Run rebaseall automatically"
>   #external-source: rebase
>   category: _PostInstallLast
               ^^^^^^^^^^^^^^^
Wouldn't we also have to get rid of this?

> -requires: rebase dash
>   autodep: .*/[^/]*\.(?:dll|so|oct)$
>   incver_ifdep: yes
> +noautodep: cygwin
>
> and tweaking cygwin's setup.hint file like this:
>
>   sdesc: "The UNIX emulation engine"
>   category: Base
> -requires: base-cygwin
> +requires: base-cygwin _autorebase
>   noautodep: _update-info-dir
>   autodep: .*
>
> would do the trick.

Ken

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

