From owner-freebsd-ports@freebsd.org Fri Dec 15 21:28:35 2017 Return-Path: Delivered-To: freebsd-ports@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 1EFD1E8CF05 for ; Fri, 15 Dec 2017 21:28:35 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from fmailer.gwdg.de (fmailer.gwdg.de [134.76.11.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D154D65FFC; Fri, 15 Dec 2017 21:28:34 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from [134.76.11.221] (helo=email.gwdg.de) by mailer.gwdg.de with esmtp (Exim 4.80) (envelope-from ) id 1ePxWw-0004Jy-Km; Fri, 15 Dec 2017 22:28:30 +0100 Received: from UM-EXCHT-A02.um.gwdg.de (134.76.9.211) by um-excht-a01.um.gwdg.de (134.76.9.210) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 15 Dec 2017 22:28:30 +0100 Received: from krabat.raven.hur (91.8.156.113) by email.gwdg.de (134.76.9.211) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 15 Dec 2017 22:28:29 +0100 Subject: Re: portmaster with FLAVOR support available for testing To: Stefan Esser , Walter Schwarzenfeld , References: <76ab16e0-db71-7702-df08-1e15882618c6@freebsd.org> <6216647a-6cfe-4886-846f-f7f873ff9f9f@utanet.at> From: Rainer Hurling Message-ID: <8dcae2a3-271a-65c8-d3cb-dba87cdcdf8f@gwdg.de> Date: Fri, 15 Dec 2017 22:28:29 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252" Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Spam-Level: - X-Virus-Scanned: (clean) by clamav X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2017 21:28:35 -0000 Am 15.12.2017 um 22:09 schrieb Stefan Esser: > Am 15.12.17 um 16:11 schrieb Rainer Hurling: >> Am 15.12.2017 um 15:48 schrieb Walter Schwarzenfeld: >>> Yes, if it don't work in the port the port is the problem. >>> >>> Rainer Hurling was filed a PR >>> >>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223764 >> >> Yes, Walter, your problem is another ports problem as mine, first >> described in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219641, >> comment #23, than doubled by PR #223764. >> >> In this thread, with portmaster, I asked why portmaster deinstalls >> py27-qt5-core before it tries to install py36-qt5-core. This is not the >> case with pure ports make mechanism. > > Please try again with the version I just committed. It seems, that there > was a path through the program that just removed the passed flavor and > then proceeded to operate on the default flavor (py27 in this case). > > Sorry for these problems with the port. There are so many possible cases > and it is impossible for me to achieve sufficient coverage in my tests. > > But I'll try to always quickly fix such problems, when they are brought > to my attention. > > This was a real problem in portmaster, but problems with ports that > install files in places that don't differ for different flavors will > continue to cause the error message reported as an assumed portmaster > bug multiple times in the last few days. > > Whenever the error message indicates that files are installed in the > same place, the problem is in the port, not in portmaster. > > Regards, STefan > Hi STefan, with r456417, portmaster 3.17.11_3, your first approach does not work: #portmaster -m 'FLAVOR=py36' devel/py-qt5-core ===>>> Currently installed version: py27-qt5-core-5.7.1 ===>>> Port directory: /usr/ports/devel/py-qt5-core ===>>> Gathering distinfo list for installed ports ===>>> Launching 'make checksum' for devel/py-qt5-core in background ===>>> Gathering dependency list for devel/py-qt5-core from ports ===>>> Launching child to install devel/py-sip@py27 ===>>> py27-qt5-core-5.7.1 >> devel/py-sip@py27 (1/1) ===>>> Port directory: /usr/ports/devel/py-sip@py27 ===>>> Launching 'make checksum' for devel/py-sip@py27 in background ===>>> Gathering dependency list for devel/py-sip@py27 from ports ===>>> Initial dependency check complete for devel/py-sip@py27 ===>>> Continuing initial dependency check for devel/py-qt5-core ===>>> Initial dependency check complete for devel/py-qt5-core ===>>> py27-qt5-core-5.7.1 >> (1) ===>>> The following actions will be taken if you choose to proceed: Re-install py27-qt5-core-5.7.1 Install devel/py-sip@py27 ===>>> Proceed? y/n [y] FLAVOR completely get lost in some way ... The second approach, brought up by Mathieu Arnold, works fine: #portmaster devel/py-qt5-core@py36 The installation does not work with this special port, because of the conflict with /usr/local/bin/pyuic5, already installed by devel/py-qt5-core@py27. But this is another story ... Many thanks for the last patches to portmaster.