From owner-freebsd-ports@freebsd.org Thu Apr 11 22:25:44 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CFE0C156C050 for ; Thu, 11 Apr 2019 22:25:44 +0000 (UTC) (envelope-from starikarp@dismail.de) 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 3AF7580E3D for ; Thu, 11 Apr 2019 22:25:44 +0000 (UTC) (envelope-from starikarp@dismail.de) Received: by mailman.ysv.freebsd.org (Postfix) id E56AE156C04F; Thu, 11 Apr 2019 22:25:43 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C2FBE156C04E for ; Thu, 11 Apr 2019 22:25:43 +0000 (UTC) (envelope-from starikarp@dismail.de) Received: from mx1.dismail.de (unknown [IPv6:2a01:4f8:c17:e5e::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.dismail.de", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 18D4D80E3B; Thu, 11 Apr 2019 22:25:43 +0000 (UTC) (envelope-from starikarp@dismail.de) Received: from dismail.de (localhost [127.0.0.1]) by dismail.de (OpenSMTPD) with ESMTP id a242ede2; Fri, 12 Apr 2019 00:25:37 +0200 (CEST) Received: from smtp1.dismail.de (10.240.26.11 [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id c0aeea92; Fri, 12 Apr 2019 00:25:37 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 88a3c45a; Fri, 12 Apr 2019 00:25:37 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 8bbdf311 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 12 Apr 2019 00:25:36 +0200 (CEST) Date: Thu, 11 Apr 2019 18:25:33 -0400 From: To: Stefan Esser Cc: FreeBSD Ports Subject: Re: python Message-ID: <20190411182533.6dfda0c7@dismail.de> In-Reply-To: <699bf04c-0d50-408c-24e7-a9d6329e5991@freebsd.org> References: <20190410180322.13147095@dismail.de> <699bf04c-0d50-408c-24e7-a9d6329e5991@freebsd.org> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 18D4D80E3B X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.978,0] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Apr 2019 22:25:45 -0000 On Thu, 11 Apr 2019 09:29:06 +0200 Stefan Esser wrote: > Am 11.04.19 um 00:03 schrieb ajtiM via freebsd-ports: > > Hi! > > > > With portmaster I try to update todays ports and python default is > > version 3.7 which is okay for me but not for hplip: > > ===>>> All >> > > hplip-3.17.11_3 (5/43) > > > > ===>>> Returning to dependency check for print/hplip > > ===>>> Dependency check complete for print/hplip > > > > ===>>> All >> hplip-3.17.11_3 (5/43) > > > > ===> hplip-3.17.11_4 FLAVOR is defined (to py27) while this port > > does not have FLAVORS.. > > *** Error code 1 > > > > Stop. > > make: stopped in /usr/ports/print/hplip > > This is a bad effect caused by the removal of FLAVORs from an > installed port. > > Since the previous revision of this port required a flavor, it > will be updated with that same flavor passed as a parameter to > the build process. The build could just ignore the irrelevant > flavor, but that is not what the ports system does ... > > In this particular case the removal of QT4 is the cause. The > port used to support flavors "qt4" and "qt5" and to fix this > issue for portmaster, entries in MOVED should exist that make > upgrades use print/hplip without flavor, whether the qt4 or > qt5 version was installed. > > I plan to add code to portmaster to verify that a FLAVOR that > is to be used for a port still applies, before starting to > build it. > > But it is not obvious to me what to do for all of the cases > that exist: > > 1) FLAVORS removed from the port -> build without flavors > > 2) Specific FLAVOR removed from the port -> build with default > flavor (?) > > Anyway, for the time being you'll have to deinstall the port > (use "pkg delete -f hplip" to prevent recursive deletion of > dependent ports) and then re-install it with portmaster (which > will build it without flavor, then. > > Another possibility is to remove the "flavor" annotation > registered for this port in the PKGDB, then portmaster will > upgrade the port without providing a FLAVOR to the build ... > > I'll see that I fix this problem in portmaster, but it will take > some time ... > > Regards, STefan > _______________________________________________ Thank you very much. -- by ajtiM ---------------------- FreeBSD 12.0-Release