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:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=eidXGxAEhBvMBQdYQMYhSb6LPHvhgLQsoGgDYz9Lo1MVIw/mpksZH
	Z2NkIEXmjrPdKRrY18SZ52xSXJUDQcw72IoW+4jMKidFnK1lxAyrLTpstrsVE6W3
	5o5yuwnm/x/1gsV/klNiqGy+pXgBDCUBdltNa48dyWdUsVjSHDe0NU=
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=GYQbOHzfxexNfJI9uiCukbkrXYc=; b=ruVBatzH1kGK98SFkRgK+nv4JZyk
	22kogCvlANkoIxcex2MdgvKhGdGHzd8EoCJGYqBVCzvQjMMzfI9n22Qh5FVw2UBR
	xORoTUoDuK239hZgm3WmCQkqDkcFOq8AuXIX9hJmeCNZeGRGbmtLm+Ci5WoRsk+c
	llycFv9Se14YmLg=
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Tue, 11 Nov 2014 17:02:39 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Setup 2.774 texlive postinstall takes 10+ hours
Message-ID: <20141111160239.GS2782@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <1414708038168-112334.post@n5.nabble.com> <54567198.8000504@cornell.edu> <20141103102515.GS14051@calimero.vinschen.de> <87a948kvpw.fsf@Rainer.invalid> <20141104085958.GA4932@calimero.vinschen.de> <54618F4C.6000107@cygwin.com> <546191B0.4050808@cygwin.com> <20141111115343.GQ2782@calimero.vinschen.de> <546219A9.2070103@cornell.edu> <54622517.7030302@cornell.edu>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="tqSMaTz1cCSspCQ4"
Content-Disposition: inline
In-Reply-To: <54622517.7030302@cornell.edu>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Nov 11 10:02, Ken Brown wrote:
> On 11/11/2014 9:14 AM, Ken Brown wrote:
> >On 11/11/2014 6:53 AM, Corinna Vinschen wrote:
> >>On Nov 10 22:33, Yaakov Selkowitz wrote:
> >>>On 2014-11-10 22:23, Yaakov Selkowitz wrote:
> >>>>Dependency order of packages: libgcc1 base-cygwin cygwin dash tzcode
> >>>>libstdc++6 terminfo sed gzip libpcre1 grep libreadline7 bash
> >>>>libncursesw10
> >>>[snip]
> >>>
> >>>Now that I think about it, regardless of libgcc1, that still doesn't
> >>>make
> >>>much sense.  sed, grep, and bash depend on libintl8, which depends on
> >>>libiconv2, and libreadline7 (which is required by bash) itself
> >>>depends on
> >>>libncursesw10, so that should be at least two places earlier.  All of
> >>>those
> >>>dependencies are listed in setup.hint (and hence setup.ini), so is the=
re
> >>>something wrong with setup itself?
> >>
> >>What about dependency loops?
> >>
> >>AFAICS, coreutils depends on tzcode, tzcode depends on coreutils.  Both
> >>depend on libgcc1.  This introduces a big problem in dependency
> >>resolution because there's no unambiguous starting point.
> >>
> >>What if we remove the coretuls dep from tzcode.
> >>
> >>Or, actually, what if we make sure that Base packages only depend
> >>on libs, but never on any other Base package?
> >
> >Except that all Base packages (other than base-cygwin) should depend on
> >base-cygwin.  That will guarantee that base-cygwin precedes all other
> >Base packages in the dependency order.

In theory that should be solved by the dependency to cygwin.  Cygwin
depends on base-cygwin, all other packages depend on cygwin.  The
problem is just that dependency loops can break that.

> >And if we make _autorebase
> >depend on nothing, then we're guaranteed that it precedes anything that
> >depends on it.

Per its setup.hint file it depends on nothing, just like base-cygwin,
and both packages request that they don't get an automatic dependency
to cygwin added.

> Of course, this still doesn't solve the problem of making sure that the
> _autorebase postinstall script runs whenever the user installs a package
> containing DLLs.  I wonder if we should reconsider Achim's proposal.  If I
> understand correctly, it is something like this (oversimplified):
>=20
> 1. Change autorebase.bat to do an incremental rebase instead of trying to=
 do
> a full rebase.
>=20
> 2. Arrange for autorebase.bat to never be marked as "done".
>=20
> Achim, please correct me if my oversimplification distorts your suggestion
> too much.

Achim, can you give a management summary how your proposal works?


Corinna

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

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

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

iQIcBAEBAgAGBQJUYjMfAAoJEPU2Bp2uRE+gAlMP/A6qBiHUd/cSugbC9OeZbj0Y
m96481xH5X5XSbDFysULOVqpzO/OaROUqexw62bs/utZuL9P+R8T2lJUrrmJOzbn
e7YBBs2uRuwf3Ddw89f5J+WmBrRexBhf/u+TTGN7j7zv3y5oCGB+dHR2IvAXQcY3
Z9N2J+28vz7qy7l7CfJ2WiYAZ5kJo82xCNPLi+kSoC4cYJNuMiGL0EMZZN2+rvzu
78LCLYLNBv/rdXx+77QQtugQcONuKURdHJR/J1CCq9YGBM+S2bSodzGDT4kcezo1
VE+Qldi4/WvD160qN3kE0zhGZQl5AWLwG4gWZ8Y6sGkhzTpULvW41Lr8a6uAkpRy
lPzd+pi6BRSIEwLYRQilgmeZFOAVUwZbrsj44FmyQsTtVZg7Q5jbexi972lPLQd9
/e50n7iAw6SPb0B/NfK+dnfak/KyOqHZrCyRfFhmgd/R8Tlyd7uQabB/chNy1x/l
noNhDD9FKDVRla+wzSodcTcJTiT+4jzg/Dh7y2XHH9+UAAZCUnYtJ9MLiRtCM25g
0at02yhZB+RYBt1AFdX1Yf4ki8rFZhmU15k1+3HchGaAgzHvH9+Uqj3R7qT6PF4p
k9IbYMWB3g1q1NnrYwROZ/PYBM2jnwNknylZOaxvo22T4a6lxm3/vn607U1PQPbj
4fH7laWua1DuQ44xcdgM
=wF98
-----END PGP SIGNATURE-----

--tqSMaTz1cCSspCQ4--
