[Bug 261415] multimedia/onevpl: wrong python version used if newer python (than default) is installed ('make install' fails)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 11 Feb 2022 11:09:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261415

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=0378719b21c61d5a5d3dc8f31be7781fd7ff11ef

commit 0378719b21c61d5a5d3dc8f31be7781fd7ff11ef
Author:     John Hein <jcfyecrayz@liamekaens.com>
AuthorDate: 2022-01-24 16:02:33 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-02-11 11:07:00 +0000

    multimedia/onevpl: respect PYTHON_DEFAULT

    $ pkg install python311
    $ make -V PYTHON_DEFAULT
    3.8
    $ make clean all
    [...]
    -- Found Python3: /usr/local/bin/python3.11 (found version "3.11.0") found
components: Interpreter Development Development.Module Development.Embed
    [...]
    CMake Warning:
      Manually-specified variables were not used by the project:
    [...]
        Python_ADDITIONAL_VERSIONS
    [...]
    $ make check-plist
    ====> Checking for pkg-plist issues (check-plist)
    ===> Parsing plist
    ===> Checking for items in STAGEDIR missing from pkg-plist
    Error: Orphaned: %%PYTHON_LIBDIR%%/pyvpl.cpython-311.so
    ===> Checking for items in pkg-plist which are not in STAGEDIR
    Error: Missing: %%PYTHON_LIBDIR%%/pyvpl%%PYTHON_EXT_SUFFIX%%.so
    ===> Error: Plist issues found.
    *** Error code 1

    PR:             261415

 multimedia/onevpl/Makefile | 1 +
 1 file changed, 1 insertion(+)

-- 
You are receiving this mail because:
You are on the CC list for the bug.