Setup 2.774 texlive postinstall takes 10+ hours

Ken Brown kbrown@cornell.edu
Mon Nov 3 12:44:00 GMT 2014


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



More information about the Cygwin mailing list