From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67903 invoked by alias); 22 Mar 2018 22:46:52 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 67558 invoked by uid 89); 22 Mar 2018 22:46:51 -0000 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 Received: from out5-smtp.messagingengine.com (HELO out5-smtp.messagingengine.com) (66.111.4.29) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 22 Mar 2018 22:46:50 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 0281E21002 for ; Thu, 22 Mar 2018 18:46:49 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Thu, 22 Mar 2018 18:46:49 -0400 X-ME-Sender: Received: from [192.168.1.102] (host86-141-130-98.range86-141.btcentralplus.com [86.141.130.98]) by mail.messagingengine.com (Postfix) with ESMTPA id AFBB77E0F0 for ; Thu, 22 Mar 2018 18:46:48 -0400 (EDT) Subject: Re: setup -g ??? To: The Cygwin Mailing List References: From: Jon Turney Message-ID: Date: Thu, 22 Mar 2018 23:10:00 -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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2018-03/txt/msg00366.txt.bz2 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 >>> >>> 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