pkgsrc-Bugs archive

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

pkg/58155: CONFLICTS doesn't work with multi-version packages



>Number:         58155
>Category:       pkg
>Synopsis:       CONFLICTS doesn't work with multi-version packages
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 16 02:30:01 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current
>Organization:
The PkgsrcBSD Confliction
>Environment:
>Description:
devel/meson/Makefile has:

CONFLICTS=	${PYPKGPREFIX}-meson-[0-9]*

Presumably, this is meant to apply to all versions of the former py-meson package, _on all versions of Python_.

However, it is only expanded with PYPKGPREFIX for the version of Python that devel/meson is built with.  So, e.g., in 2024Q1, we have:

$ pkg_info -f ./meson-1.4.0.tgz:
Information for meson-1.4.0.tgz:

Packing list:
        CWD to: /pkg/2024Q1
        Package conflicts with: py311-meson-[0-9]*
        Package name: meson-1.4.0
...

That is, meson-1.4.0.tgz is not recorded to conflict with py310-meson-* or py312-meson-* -- just py311-meson-*.
>How-To-Repeat:

>Fix:
Yes, please!



Home | Main Index | Thread Index | Old Index