From owner-freebsd-python@freebsd.org Fri Dec 15 13:25:31 2017 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1AED3E8151E for ; Fri, 15 Dec 2017 13:25:31 +0000 (UTC) (envelope-from se@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 019E975D9C for ; Fri, 15 Dec 2017 13:25:31 +0000 (UTC) (envelope-from se@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id F2395E81516; Fri, 15 Dec 2017 13:25:30 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1483E81514; Fri, 15 Dec 2017 13:25:30 +0000 (UTC) (envelope-from se@freebsd.org) Received: from mailout08.t-online.de (mailout08.t-online.de [194.25.134.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B65E175D9A; Fri, 15 Dec 2017 13:25:30 +0000 (UTC) (envelope-from se@freebsd.org) Received: from fwd33.aul.t-online.de (fwd33.aul.t-online.de [172.20.27.144]) by mailout08.t-online.de (Postfix) with SMTP id B9AEB41DC0AE; Fri, 15 Dec 2017 14:25:21 +0100 (CET) Received: from Stefans-MBP-2.fritz.box (XjqwxUZvwh-b5q72PYbvi2tle5Rx+Rpo9emq3k0TG+5Dezx0pOx4vwEqgU-N49VZZw@[84.154.97.124]) by fwd33.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1ePpzF-34Wgxk0; Fri, 15 Dec 2017 14:25:13 +0100 Subject: Re: new portmaster fails to build devel/py-libzfs@py36 because of failing cython To: koobs@FreeBSD.org, Johan Hendriks , freebsd-ports@freebsd.org Cc: "python@freebsd.org" References: <875c07bd-b718-d74b-5302-d41af7476a14@gmail.com> <842cfe0c-9d96-0261-c380-59bfed89beff@FreeBSD.org> From: Stefan Esser Message-ID: <63cc46cc-8d1b-8a9a-4690-28e1f1adbef5@freebsd.org> Date: Fri, 15 Dec 2017 14:25:13 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <842cfe0c-9d96-0261-c380-59bfed89beff@FreeBSD.org> Content-Type: text/plain; charset=windows-1252 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-ID: XjqwxUZvwh-b5q72PYbvi2tle5Rx+Rpo9emq3k0TG+5Dezx0pOx4vwEqgU-N49VZZw X-TOI-MSGID: 014f44e6-f3a8-45d7-957b-d6ab13321d1b X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2017 13:25:31 -0000 Am 15.12.17 um 11:21 schrieb Kubilay Kocak: > On 15/12/2017 8:50 pm, Johan Hendriks wrote: >> Hello all. > > Hi Johan > >> First of all thank you for the update of portmaster, much appreciated. >> >> When i am updating my ports, portmaster fails with the following error. >> >> ====> Compressing man pages (compress-man) >> ===>>> Starting check for runtime dependencies >> ===>>> Gathering dependency list for lang/cython@py36 from ports >> ===>>> Dependency check complete for lang/cython@py36 >> >> ===>>> devel/py-libzfs@py36 1/10 >> lang/cython@py36 (1/1) >> >> ===>  Installing for py36-cython-0.26 >> ===>  Checking if py36-cython already installed >> ===>   Registering installation for py36-cython-0.26 as automatic >> Installing py36-cython-0.26... >> pkg-static: py36-cython-0.26 conflicts with cython3-0.26 (installs files > > notice the reference to cython3 here -----------^ > > lang/cython and lang/cython3 use to both exist, one for python2, the > other for python3. > > lang/cython3 was recently deleted, since lang/cython now supports > multiple concurrent installations with different python versions. > > pkg delete cython3, then go again. > > Let us know how it goes Well, actually portmaster is expected to deal with that conversion of the cython3 port. I have tested the upgrade of individual ports and of all ports that are either back-level or where the ORIGIN changed (as in the case of this particular port). Hmmm, now I see what's the problem: The package name seems to have been changed during the conversion to a flavored port (from "cython3-0.26.tbz" to "py36-cython-0.26.tar.bz"). This is not typical of ports that use flavors now, in general they generate packages under the same name as the non-flavored port did. I have to see, whether I can easily detect this case - the current logic that distinguishes between fresh installs and re-installs does not see that the old version needs to be deleted before installing the new one. For now the advice to manually delete the cython3 port is right and will let you install the new version. Regards, STefan