From owner-freebsd-ports@freebsd.org Sun Jan 7 19:07:39 2018 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 A7C38E7B823 for ; Sun, 7 Jan 2018 19:07:39 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 88F0D73E1D; Sun, 7 Jan 2018 19:07:39 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id w07J7XIM046527 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 7 Jan 2018 11:07:33 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id w07J7XKX046526; Sun, 7 Jan 2018 11:07:33 -0800 (PST) (envelope-from sgk) Date: Sun, 7 Jan 2018 11:07:33 -0800 From: Steve Kargl To: Tatsuki Makino Cc: Rob Belics , "freebsd-ports@freebsd.org" , Stefan Esser Subject: Re: py27 ports always show "new version available" Message-ID: <20180107190733.GB46068@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20180105180108.GA26988@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) 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: Sun, 07 Jan 2018 19:07:39 -0000 On Sun, Jan 07, 2018 at 04:23:08AM +0000, Tatsuki Makino wrote: > Hello. > > Are your portmaster outputting the following message? > > make: "/usr/ports/Mk/bsd.port.mk" line 1067: FLAVOR may not be > passed empty as a make argument. > > When I tried portmaster -i cmake, portmaster always tries to update > textproc/py-sphinx. Yes, that's the message I was seeing. With deve/flang, I was getting the same message for py-enum34, too. It was a comedy of errors. here: portmaster -Byd devel/flang ! Dies due to trying to upgrade py-enum34 pkg delete py-enum34 portmaster -Byd devel/flang ! Installs py-enum34 and dies due to py-sphinx pkg delete py-sphinx goto here pkg delete py-enum34 py-sphinx portmaster -Byd devel/flang goto here. pkg delete py-enum34 py-sphinx cd devel/flang make make install make clean > It seems that it occurred because function iport_from_origin returned 1. > I surveyed with grep -r -e textproc/py-sphinx --include '*/Makefile*' > /usr/ports. textproc/py-sphinx, textproc/py-sphinx@${FLAVOR}, and > textproc/py-sphinx@${PY_FLAVOR} are mixed in the variable of *_DEPENDS. > cmake is textproc/py-sphinx. I haven't the patiences to wade through ports/Mk. I just accept the fact that a decision was made that breaks in-place upgrading of ports. -- Steve