pkgsrc-Bugs archive

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

pkg/55219: devel/py-pybind11 Python version mismatch



>Number:         55219
>Category:       pkg
>Synopsis:       devel/py-pybind11 Python version mismatch
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 30 20:25:00 +0000 2020
>Originator:     Andreas Gustafsson
>Release:        NetBSD 9.0
>Organization:

>Description:

When I try to install or update the math/py-scipy package on a NetBSD
9.0 system using the default Python version of 3.7, it fails with
errors related to the py-pybind package.  For example, installing
math/py-scipy on a freshly installed 9.0 system, I get:

  ===> Skipping vulnerability checks.
  WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
  WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
  WARNING: Package version py38-pybind11-2.5.0 in /usr/pkgsrc/devel/py-pybind11/work
  WARNING: Current version py37-pybind11-2.5.0 in devel/py-pybind11
  WARNING: Cleaning and rebuilding py37-pybind11-2.5.0...
  ===> Cleaning for py37-pybind11-2.5.0
  ===> Overriding tools for py37-pybind11-2.5.0
  ===> Extracting for py37-pybind11-2.5.0
  ===> Patching for py37-pybind11-2.5.0
  ===> Creating toolchain wrappers for py37-pybind11-2.5.0
  ERROR: python37>=3.7 python37>=3.7.0 is not installed; can't buildlink files.
  *** Error code 1

I'm guessing this has something to do with devel/py-pybind11/buildlink3.mk
hardcoding "38" in multiple places.

>How-To-Repeat:

Install NetBSD 9.0
Do not edit /etc/mk.conf
Download the current pkgsrc
cd /usr/pkgsrc/math/py-scipy
make install

>Fix:

>Unformatted:
 System: NetBSD
 Architecture: x86_64
 Machine: amd64


Home | Main Index | Thread Index | Old Index