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:references:from:cc:to:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=Eurc2Af7If+XhgvK
	RgAvm1ZVbpFCU+x/bniYw78+kJlAnqJ9doEeGhz1kbF2lPLq+qmnkKvLZAphhfYo
	e8/c8PncTuxbAAH6+B2iBbH9Ba4iJ98OC1t4WjO0anbSefNDLw5neiL0kokXS2oy
	Hmkx4bTGXxXl82KvrdajIxupDV4=
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:references:from:cc:to:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=rCmk8dzvU0Tg7e2SgtZTMX
	H+oIE=; b=uXqgHMOmyTChquTyxzf3LMa1VSbumVslAmYPhMeuubDOv9LcvAjzkY
	yFGHgnTUW8b2SpI/ckMLaWEmGPpHqXHBlAjAYsKRPlXH2IImz4tJ7fW0XjaCDQi3
	lvjN1L/H596hsCN/fg9BtwhyNP0NRzeoukKVogo+2jSwLUEIWI+tc=
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=-3.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=H*f:sk:448cc35, H*MI:sk:448cc35, H*i:sk:448cc35, among
X-HELO: out1-smtp.messagingengine.com
X-ME-Sender: <xms:v2_aWIzG2c51r28br6gF8xAiPZ3pQTq77QVdoc1_7U2g-zM6IPBASQ>
Subject: Re: mksetupini could not find pkg_resources
References: <CAL_02JDvNBxrgieAM2HwoBM3vzw1tvaYoW_a3GtW2N_3Ae+n+g@mail.gmail.com> <cd85f068-976e-796d-9816-693b3aeaa42c@dronecode.org.uk> <09a007d8-cd2d-37fe-c63b-827037ac44e8@gmail.com> <91ee550d-87eb-fbaf-e6ce-f8c0ecb1d7ac@dronecode.org.uk> <448cc35d-2cd4-7739-d665-95d2df00b4c1@gmail.com>
From: Jon Turney <jon.turney@dronecode.org.uk>
Cc: Ivan Gagis <igagis@gmail.com>
To: The Cygwin Mailing List <cygwin@cygwin.com>
Message-ID: <15ffd384-dc2f-2186-6870-6f6f0b9b3d98@dronecode.org.uk>
Date: Tue, 28 Mar 2017 15:14:16 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <448cc35d-2cd4-7739-d665-95d2df00b4c1@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

On 28/03/2017 14:57, Ivan Gagis wrote:
> On 03/28/2017 04:10 PM, Jon Turney wrote:
>> On 27/03/2017 21:03, Ivan Gagis wrote:
>>
>> Does 'python3 -v /usr/bin/mksetupini' tell you anything?
> It tells a lot and among that there is this "pkg_resources not found"
> message. See full output in attached log.out file.
>>
>>> Does anybody have other ideas of what could be wrong?
>>> What can I try to analyze the problem?
>>
>> cygcheck.out as per [1] might shed some light.
> See cygcheck.out in attachment.

Immediately I notice:

> python3                                 3.4.5-1                OK
> python3-appdirs                         1.4.3-1                OK
> python3-packaging                       16.8-1                 OK
> python3-pyparsing                       2.1.10-1               OK
> python3-setuptools                      34.3.2-1               OK
> python3-six                             1.10.0-1               OK

Somehow you have python3 3.4, but python3-setuptools for 3.6.

The output of 'python3 -v'

> I'm building my stuff on Appveyor, so it uses a clean cygwin64
> installation every time, at least I hope it is clean, but no guarantee
> that it is very recent cygwin there. Just in case, you can see the
> faulty log here:
> https://ci.appveyor.com/project/igagis/prorab/build/master-36

I think you need to add the -g flag to the setup invocation you are 
using, to allow it also upgrade any installed packages which need it.

(If setup understood about versioned dependencies, it wouldn't leave you 
in this mess, but "someone has to do it"...)


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

