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?



On Tue, 22 Sep 2020, Benny Siegert wrote:

> I suggest removing py27-setuptools before running pkg_rr.

Yes, that will happen when:

> > I suppose it might be simple enough to recursively remove "net/zenmap",
> > run pkg_rr, and reinstall "zenmap" from scratch...

Since that's the dependency chain for py27-setuptools.

(My OCD is to remove the entire dependency chain from the leaf package
backwards, if possible.)

It seems option/argument splitting is not being done properly.  I just
ran 'pkg_rr' again, but used:

  $ pkg_rolling-replace -u -x py27-setuptools

(note space between "-x" and first pkg_basename) and that seems to have
got it to skip the package.  It looks funny in the output which
reads:

  RR> Excluding the following mismatched packages:
  rr> EXCLUDE=[ py27-setuptools]

Now, "py27-cairo" is causing problems with:

[...]
RR> Tsorting dependency graph
RR> Selecting py27-cairo (graphics/py-cairo) as next package to replace
RR> Checking if py27-cairo has new depends...
make: "/x/pkgsrc/lang/python/egg.mk" line 53: Malformed conditional (${PYVERSSUFFIX} == "2.7")
make: Fatal errors encountered -- cannot continuemake: "/x/pkgsrc/lang/python/egg.mk" line 53: Malformed conditional (${PYVERSSUFFIX} == "2.7")
make: Fatal errors encountered -- cannot continuemake: "/x/pkgsrc/lang/python/egg.mk" line 53: Malformed conditional (${PYVERSSUFFIX} == "2.7")
make: Fatal errors encountered -- cannot continueRR> py27-cairo has the following new depends (need to re-tsort):
rr> [make0 stopped in /x/pkgsrc/graphics/py-cairo]
RR> Tsorting dependency graph
RR> Selecting py27-cairo (graphics/py-cairo) as next package to replace
RR> Replacing py27-cairo-1.18.2
make: "/x/pkgsrc/lang/python/egg.mk" line 53: Malformed conditional (${PYVERSSUFFIX} == "2.7")
make: Fatal errors encountered -- cannot continue
make: stopped in /x/pkgsrc/graphics/py-cairo
*** 'make clean' failed for package py27-cairo.
*** Please read the errors listed above, fix the problem,
*** then re-run pkg_rolling-replace to continue.


Again, all part of the dependency chain for "net/zenmap", so may be simpler
to recursively remove it and reinstall later.

-- 
|/"\ 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


Home | Main Index | Thread Index | Old Index