Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jan 2018 11:07:33 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Tatsuki Makino <tatsuki_makino@hotmail.com>
Cc:        Rob Belics <robbelics@gmail.com>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>, Stefan Esser <se@freebsd.org>
Subject:   Re: py27 ports always show "new version available"
Message-ID:  <20180107190733.GB46068@troutmask.apl.washington.edu>
In-Reply-To: <KL1PR0601MB1992703482D8DBD7C6ED7A9FFA120@KL1PR0601MB1992.apcprd06.prod.outlook.com>
References:  <CAPu-kW9gOP0GOkBMOa-LoxZq2-HxQbQV1puu5rPR1UV5k9tDRA@mail.gmail.com> <20180105180108.GA26988@troutmask.apl.washington.edu> <KL1PR0601MB1992703482D8DBD7C6ED7A9FFA120@KL1PR0601MB1992.apcprd06.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180107190733.GB46068>