RE: py27 ports always show "new version available"

2018-01-24 Thread Tatsuki Makino
Hello.

Probably, after the function validate_flavor was added (3.18_12), the result of 
portmaster -i cmake changed as follows.

===>>> The following actions will be taken if you choose to proceed:
Re-install cmake-3.10.2
Re-install py27-sphinx-1.4.8_2,1

I think that the change from "Install textproc/py-sphinx" to "Re-install 
py27-sphinx-1.4.8_2,1" means that portmaster correctly recognized py27-sphinx 
is installed.
And if portmaster avoids re-installing like other depend ports, it will be 
perfect.

Thank you.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: py27 ports always show "new version available"

2018-01-07 Thread Steve Kargl
On Sun, Jan 07, 2018 at 04:23:08AM +, 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
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


RE: py27 ports always show "new version available"

2018-01-06 Thread Tatsuki Makino
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.
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.

These are just hints because I don't understand FLAVOR yet.
I'm sorry when that is a different problem.

Thank you.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: py27 ports always show "new version available"

2018-01-05 Thread Steve Kargl
On Fri, Jan 05, 2018 at 10:50:11AM -0600, Rob Belics wrote:
> I'm sure I caused this problem when FLAVORS came out by trying to set a
> FLAVOR using "make". Using portmaster as I always have, py27-cffi and
> py27-setuptools update to the latest version that portsnap downloads but
> checking for new versions always returns "new version available" even after
> updating.
> 
>  portmaster -L --index-only | egrep '(ew|ort) version|total install'
> ===>>> New version available: py27-cffi-1.11.2
> ===>>> New version available: py27-setuptools-38.2.5
> 
> Trying to remove the port with portmaster, pkg or 'make' and
> reinstalling does not change anything.
> 

Saw the same abysmal situation yesterday with devel/flang.
The ports system wanted to update py27-enum34-1.1.6 and
py27-sphinx-1.4.8_2,1.  After 'pkg delete XXX' of the 
offending ports, portmaster would install the ports,
then promptly fail installing devel/flang because new
versions were available and installation of new versions
failed because, well, the py27-XXX ports were already 
installed.

I had to resort to the good old-fashion 'cd devel/flang;
make && make install && make clean' and even this method
failed a few attempts. :(

-- 
Steve
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"