pkgsrc-Users archive

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

Re: py311 conflict



* On 2023-08-15 at 17:38 BST, nia wrote:

On Tue, Aug 15, 2023 at 12:30:58PM -0400, Greg Troxel wrote:
> => Creating binary package
> /Users/bacon/Pkgsrc/pkgsrc/packages/All/py311-anytree-2.9.0.tgz
> ===> Installing binary package of py311-anytree-2.9.0
> pkg_add: Conflicting PLIST with py310-anytree-2.9.0: bin/ebt
> pkg_add: 1 package addition failed
> *** Error code 1
>
> Stop.
> bmake[3]: stopped in /Users/bacon/Pkgsrc/pkgsrc/devel/py-anytree
> *** Error code 1

Yep, exactly what it says.  This is how it goes with packages that
install un-namespaced binaries.

In my opinion the lack of a version suffix on the ebt binary (and
corresponding PKG_ALTERNATIVES support) is a bug, enough to file
a PR.

Certainly leaving it to PLIST duplication to cause a conflict is a bug, packages should set CONFICTS so that binary package users do not have a terrible experience. I believe there's PYTHON_SELF_CONFLICT for python stuff to make it easier.

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index