delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/03/05:25:35

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=Yzwz4jnQzxBfxSPnOPiaStpyQsk7ES2uCD7OLQe3Xc39NdJp8axoE
9ttN8OFhb0bVFm55DrmZUMqFJFImnuUqJzAECdVa96kv7SXDvWE5nZ43EEREVR9c
BJ1Ff9W3KzcwU1r4zIix5a9QiDlzQcFs57SWyf09RhHkUdSomxmRd4=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=W5rB+DsQb6sUnXjrJJKQosyHBXg=; b=X84ccimVk3/XO/g8oUVlYokE+TIX
SLtHc27LKprEauB2ibgQqxlm8JnFTHA1ruWHvvmRHHTVj5wppgfHzIrG+iqoTnlS
cMGIr8ZHecBTe9WHJZR3g0SFqTK/jlHPfNmue8h7nd4wdpgGXJbbJvOYadbvU+HY
SZy8W4bfFLgVjng=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 3 Nov 2014 11:25:15 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Setup 2.774 texlive postinstall takes 10+ hours
Message-ID: <20141103102515.GS14051@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1413844739487-112040 DOT post AT n5 DOT nabble DOT com> <5445C04A DOT 3000407 AT cornell DOT edu> <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>
MIME-Version: 1.0
In-Reply-To: <54567198.8000504@cornell.edu>
User-Agent: Mutt/1.5.23 (2014-03-12)

--K8zN2sh9fO5jmbe4
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> Nevertheless, let me point out for the sake of the archives that the answ=
er
> was contained in one of your earlier messages:
>=20
> 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
>=20
> 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.
>=20
> 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:

 sdesc: "Run rebaseall automatically"
 #external-source: rebase
 category: _PostInstallLast
-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.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--K8zN2sh9fO5jmbe4
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUV1gLAAoJEPU2Bp2uRE+ge8wP+wdeM5pN8Ed01Fldp2I8vakm
nPOR9/HbpVj0aAJYUm2Duvru65I7aBfGZSjBn1hExepzIc0JmcANpQGMFJgQLhCg
ik2+wCWWhUyXTk05NX0pxWdjVZrahKA2s8milmyu1RYpaTyfSEkK9oQH48MVw7kn
fN6SxZ9nEbwDSdsuKR20n3H3hh1eZfGTEslYA/R5z58S4EDo2/BQxyCS24mbUjUj
r2AcYuNVbvhP4PPewwIjrCv38+SVRGHZ74SvdCWw/yXgDYfqd14ijLrqLLXaeBht
S5nB39ApqhVzkpblZVRMEOjaVXp+Wti6o5YIHOCj7+Yk25BTR0THWKlN8RCx+NmK
/NTbrfMCqY6ekCZANwHCWuE1RJ4TbIvUOGqOBihGl/WCu13P43t7dDQ8H3PdnO0/
PEGl31/k0OADzK6z52yCzur6pamjZxiN7E2ZARWJMw8igq+UDphx1WU0D0aucTII
/HXKptKKrTe64N9q3ovrwb2JEUw43ATn0mpIPQNrS75f1d/YdXTQRaIo5NEiDYpt
mfw9wViXIMvSOTHCuDybtoznYfwkgwm3jQwG4mtVpvQkCUtbwoR4YDnL6Ylfr62r
Gu5Yy0m40qV7LvOp/sre/RCDbcIGKB7++NDnWBD7UFQwz2rdCCKcV2+4DK8H4kl4
nvyDbQNR6mi8rXENJjws
=0as7
-----END PGP SIGNATURE-----

--K8zN2sh9fO5jmbe4--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019