pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: skip checking py27-setuptools in pkg_rr?



I suggest removing py27-setuptools before running pkg_rr.

On Tue, Sep 22, 2020 at 1:42 PM John D. Baker <jdbaker%consolidated.net@localhost> wrote:
>
> While running pkg_rolling-replace, it trips on py27-setuptools with:
>
> [...]
> RR> Tsorting dependency graph
> RR> Selecting py27-setuptools (devel/py-setuptools) as next package to replace
> RR> Checking if py27-setuptools has new depends...
> /usr/bin/awk: unknown option -expat-[0-9]*:../../textproc/py-expat ignored
>
> RR> Replacing py27-setuptools-44.1.1
> ===> Cleaning for -setuptools-50.3.0
> ERROR: This package has set PKG_FAIL_REASON:
> ERROR: No valid Python version
> *** Error code 1
>
> Stop.
> make: stopped in /x/pkgsrc/devel/py-setuptools
> *** 'make replace' failed for package py27-setuptools.
> *** Please read the errors listed above, fix the problem,
> *** then re-run pkg_rolling-replace to continue.
>
> py-setuptools (v50.3.0) is incompatible with python27, so py-setuptools44
> should be used.
>
> I should be able to get pkg_rr to skip checking py27-setuptools with:
>
>   $ pkg_rolling-replace -u -xpy27-setuptools
>
> but the above error is from such a run and is the same as without the
> "-xpy27-setuptools".
>
> Suggestions?
>
> (If only nmap/zenmap would update to use a python3*, I wouldn't be running
> into this...)
>
> I suppose it might be simple enough to recursively remove "net/zenmap",
> run pkg_rr, and reinstall "zenmap" from scratch...
>
>
> --
> |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
> |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
> | X  No HTML/proprietary data in email.   BSD just sits there and works!
> |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



-- 
Benny


Home | Main Index | Thread Index | Old Index