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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=oIpb3tgEvJBhmzgM
	ATKcevLs3cORixv9hcZeAxu12W/EzhezDimeHkpEEO1vl0OBRAbbaiR/hssVzX2c
	RnuKOXDZ8XBPrqEM6AeyKHdv2f8a88M5ji4AzBI8Y+vKxo73daGdfWzHEvd1BcIp
	QNH+WKzIC/OESIk37L9aT3xtPXs=
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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=Se+HlTqizAeixW4UYe/y3X
	LzlM8=; b=sh3Q1m1VEgvbt0/bMCryy4qeszfXzUSJvIstrf4hCscAuTIO13oz5X
	1KR/GzKb6dpKwuHRaNBO00JgEjZ2d/sqAqnQ24OBefZVK+lfeFbXj/MAtyboxoBT
	5xR2OSHAH3ZagJ3NhpW7a2GYMgmkX413qXNpWmz++Fnf/osSEUI0w=
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=-7.3 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=acting, inclined, driving, Our
X-HELO: out5-smtp.messagingengine.com
X-ME-Sender: <xms:WDK0Wga2uqLrhpDMx-puPSpMXWyV9t7JTknIci_64MbiYajLiMwoUQ>
Subject: Re: setup -g ???
To: The Cygwin Mailing List <cygwin@cygwin.com>
References: <CAD8GWstM+H9_FBFvCF44vv1PMOgndLEgy3GvXon5UDDon9qZ6A@mail.gmail.com> <E51C5B015DBD1348A1D85763337FB6D90189B4A99A@Remus.metastack.local>
From: Jon Turney <jon.turney@dronecode.org.uk>
Message-ID: <b86906c9-784a-6bda-73b3-08c77b1d00e0@dronecode.org.uk>
Date: Thu, 22 Mar 2018 22:46:46 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <E51C5B015DBD1348A1D85763337FB6D90189B4A99A@Remus.metastack.local>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

On 14/03/2018 15:26, David Allsopp wrote:
> [reformatted for top-posting]
> 
> Lee wrote:
>>> ---------- Forwarded message ----------
>>> From: Jon Turney
>>> Date: Fri, 3 Nov 2017 15:26:27 +0000
>>> Subject: Re: Problem running the latest python2-2.7.14-1 under AppVeyor
>>> To: The Cygwin Mailing List <cygwin@cygwin.com>
>>>
>>> On 03/11/2017 14:45, Vadim Zeitlin wrote:
>>>> Our build has started on AppVeyor, a continuous integration provider,
>>>> started failing since a couple of days as a makefile command running a
>>>> Python script started failing with exit code 127 without any more
>>>> information. This is a strange situation as I can't reproduce the
>>>> problem locally, but something definitely seems to be wrong with this
>>>> package on the AppVeyor machine as Python just doesn't seem to be
>>>> executable, e.g. the output of these commands in our batch file
>>> driving the build:
>>>
>>> Perhaps you need to provide the -g (--upgrade-also) flag to cygwin's
>>> setup.
>>>
>>> Due to setup terribleness, without this flag, it will install the
>>> requested packages, and any missing dependencies of them, but not
>>> upgrade any of the dependencies which are already installed to the
>>> current (and perhaps needed) version...
>>>
>>> See also [1].
>>>
>>> [1] https://sourceware.org/ml/cygwin/2017-03/msg00365.html
>>
>> Should we still be using the -g (--upgrade-also) flag on setup?
> 
> I believe so (or at least hope so). I think it's the case that setup should now know to upgrade a dependency if you install a new package which requires a newer version of it, but I hope that's not become the same as setup effectively acting with --upgrade-also every time you run it (that would be a real nuisance, unless the entire Cygwin package universe is going to be recompiled on every new Cygwin release).

This is basically correct.

setup is now capable of being told about dependencies where upgrading an 
already installed package is required, but this information isn't 
currently collected

(For example, some packages now exist (e.g. vim [1]), which were built 
with gcc 6.4.0-5 and cygport 0.31.0-1.  These packages almost certainly 
use ssp/fortify functions in the cygwin DLL, and so require a cygwin 
package >=2.10.0-1 (technically, the requirement is cygwin API >=0.320), 
but the dependency recorded is only on the cygwin package at any version)

That's something someone could usefully work on, if they were so inclined.

So, yes, if you are using --packages, you should continue to use -g 
(unless you know what you are doing and/or like to live dangerously)

[1] https://cygwin.com/ml/cygwin/2018-03/msg00176.html

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

