[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: Sun, 23 Jan 2022 15:28:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261415

            Bug ID: 261415
           Summary: multimedia/onevpl: wrong python version used if newer
                    python (than default) is installed ('make install'
                    fails)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)
          Assignee: jbeich@FreeBSD.org

If you have a newer python installed (say python3.10 now while python3.8 is the
default ports version), then 'make install' fails (or 'make check-plist').


 .
 .
===>  Configuring for oneVPL-2022.0.2
 .
 .
-- Found Python3: /usr/local/bin/python3.10 (found version "3.10.2") found
components: Interpreter Development Development.Module Development.Embed
 .
 .
--   BUILD_PYTHON_BINDING                 : true
 .
 .
  Manually-specified variables were not used by the project:

    BOOST_PYTHON_SUFFIX
    CMAKE_VERBOSE_MAKEFILE
    Python_ADDITIONAL_VERSIONS
 .
 .
===>  Building for oneVPL-2022.0.2
 .
 .
[ 84% 101/116] /usr/bin/c++ -DLIBVA_SUPPORT
-DPYBIND11_COMPILER_TYPE=\"_librs_abi\" -D_FORTIFY_SOURCE=2 -Dpyvpl_EXPORTS
-I/usr/ports/multimedia/onevpl/work/oneVPL-2022.0.2/api -isystem
/usr/local/include/python3.10 -z relro -z now -z noexecstack -O2 -pipe
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing 
-isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -fPIC
-fvisibility=hidden -Wformat -Wformat-security -Werror=format-security
-fstack-protector-strong -Wall -flto -std=gnu++17 -MD -MT
preview/python/binding/CMakeFiles/pyvpl.dir/bitstream.cpp.o -MF
preview/python/binding/CMakeFiles/pyvpl.dir/bitstream.cpp.o.d -o
preview/python/binding/CMakeFiles/pyvpl.dir/bitstream.cpp.o -c
/usr/ports/multimedia/onevpl/work/oneVPL-2022.0.2/preview/python/binding/bitstream.cpp
c++: warning: -z relro: 'linker' input unused [-Wunused-command-line-argument]
c++: warning: -z now: 'linker' input unused [-Wunused-command-line-argument]
c++: warning: -z noexecstack: 'linker' input unused
[-Wunused-command-line-argument]
 .
 .
===>   Registering installation for oneVPL-2022.0.2 as automatic
/usr/ports/multimedia/onevpl/work/.PLIST.mktmp
pkg-static: Unable to access file
/usr/ports/multimedia/onevpl/work/stage/usr/local/lib/python3.8/pyvpl.cpython-38.so:No
such file or directory
*** Error code 1


% ls /usr/ports/multimedia/onevpl/work/stage/usr/local/lib/python3.8
pyvpl.cpython-310.so

-- 
You are receiving this mail because:
You are the assignee for the bug.