pkgsrc-Bugs archive

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

pkg/53897: tools/pkg_chk bug with python multi-version pkgs



>Number:         53897
>Category:       pkg
>Synopsis:       tools/pkg_chk bug with python multi-version pkgs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 21 11:10:00 +0000 2019
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.30
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD painkiller.duskware.de 8.99.30 NetBSD 8.99.30 (GENERIC64) #23: Fri Jan 18 13:24:51 CET 2019 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/evbarm/compile/GENERIC64 evbarm
Architecture: aarch64
Machine: evbarm
>Description:

I just noticed pkg_chk always tries to install some strange pkgs for me that
I don't care about. Runing with -v and digging a bit shows that a different
version variant of that pkg being installed triggers it.

>How-To-Repeat:

On a machine with no py*roman* pkg installed and PYTHON_DEFAULT_VERSION=37
in /etc/mk.conf, install a variant of that pkg for PYTHON_VERSION_27, like:

  cd math/py-roman && make PYTHON_DEFAULT_VERSION=27 clean install

then, with a pkgchk.conf that does not contain any math/py-roman variant,
run something like pkg_chk -r.

Notice that the installed (strange) version pkg makes it check the pkgsrc
dir and extract the default version, and will force it to install that
later (if using other options):

Variable: PKGNAME = py37-roman-3.1
math/py-roman - py37-roman-3.1 missing


>Fix:
n/a



Home | Main Index | Thread Index | Old Index