[MacPorts] #69617: py*-opencv3 use the wrong python

MacPorts noreply at macports.org
Fri Mar 29 15:11:26 UTC 2024


#69617: py*-opencv3 use the wrong python
--------------------+-----------------------------------
 Reporter:  jmroot  |      Owner:  mascguy
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  opencv3 opencv3-devel
--------------------+-----------------------------------
 All subports appear to be trying to use the same python as opencv3, but
 only one happens to depend on that version (currently py311-opencv3). For
 example py27-opencv3 fails like this:
 {{{
 2024-03-29T08:14:15.7189640Z [  0%] Generate files for Python bindings and
 documentation
 2024-03-29T08:14:15.7204250Z cd /opt/local/var/macports/build
 /_Users_runner_work_macports-ports_macports-
 ports_ports_graphics_opencv3/py27-opencv3/work/build/modules/python_bindings_generator
 && /opt/local/bin/python3.11 /opt/local/var/macports/build
 /_Users_runner_work_macports-ports_macports-
 ports_ports_graphics_opencv3/py27-opencv3/work/opencv-3.4.16/modules/python/bindings/..//src2/gen2.py
 /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-
 ports_ports_graphics_opencv3/py27-opencv3/work/build/modules/python_bindings_generator
 /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-
 ports_ports_graphics_opencv3/py27-opencv3/work/build/modules/python_bindings_generator/headers.txt
 2024-03-29T08:14:15.7219740Z /bin/sh: /opt/local/bin/python3.11: No such
 file or directory
 }}}
 and likewise py310-opencv3:
 {{{
 2024-03-29T10:30:15.6980120Z [  0%] Generate files for Python bindings and
 documentation
 2024-03-29T10:30:15.6994570Z cd /opt/local/var/macports/build
 /_Users_runner_work_macports-ports_macports-
 ports_ports_graphics_opencv3/py310-opencv3/work/build/modules/python_bindings_generator
 && /opt/local/bin/python3.11 /opt/local/var/macports/build
 /_Users_runner_work_macports-ports_macports-
 ports_ports_graphics_opencv3/py310-opencv3/work/opencv-3.4.16/modules/python/bindings/..//src2/gen2.py
 /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-
 ports_ports_graphics_opencv3/py310-opencv3/work/build/modules/python_bindings_generator
 /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-
 ports_ports_graphics_opencv3/py310-opencv3/work/build/modules/python_bindings_generator/headers.txt
 2024-03-29T10:30:15.7010880Z /bin/sh: /opt/local/bin/python3.11: No such
 file or directory
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69617>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list