Opened 7 weeks ago
Closed 7 weeks ago
#70905 closed defect (fixed)
libplacebo @7.349.0_0: ModuleNotFoundError: No module named 'jinja2'
Reported by: | ShadSterling (Shad Sterling) | Owned by: | i0ntempest |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.1 |
Keywords: | sequoia | Cc: | |
Port: | libplacebo |
Description
2018 Intel macbook just upgraded to Sequoia, attempting to migrate ports.
mpv can't install because its dependency libplacebo fails with this and several similar errors:
:info:build [1/52] /opt/local/bin/meson --internal exe --unpickle /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libplacebo/libplacebo/work/build/meson-private/meson_exe_python3.12_c9bf29496c5c4e48bd7a306095ba2fc6023a38a2. dat :info:build FAILED: src/renderer.c :info:build /opt/local/bin/meson --internal exe --unpickle /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libplacebo/libplacebo/work/build/meson-private/meson_exe_python3.12_c9bf29496c5c4e48bd7a306095ba2fc6023a38a2.dat :info:build while executing ['/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libplacebo/libplacebo/work/libplacebo-7.349.0/tools/glsl_preproc/m ain.py', '../libplacebo-7.349.0/src/renderer.c', 'src/renderer.c'] :info:build --- stdout --- :info:build --- stderr --- :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libplacebo/libplacebo/work/libplacebo-7.349.0/tools/glsl_preproc/macros.py:87: SyntaxWarning: invalid escape sequence '\s' :info:build line = re.sub(f'^\s{{1,{leading_spaces}}}', '', line) :info:build Traceback (most recent call last): :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libplacebo/libplacebo/work/libplacebo-7.349.0/tools/glsl_preproc/main.py", line 6, in <module> :info:build from macros import Macro :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libplacebo/libplacebo/work/libplacebo-7.349.0/tools/glsl_preproc/macros.py", line 6, in <module> :info:build from templates import * :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libplacebo/libplacebo/work/libplacebo-7.349.0/tools/glsl_preproc/templates.py", line 1, in <module> :info:build import jinja2 :info:build ModuleNotFoundError: No module named 'jinja2'
Giving mpv a different python variant doesn't seem to have any effect; libplacebo seems to use 3.12 independent of mpv
Attachments (1)
Change History (5)
Changed 7 weeks ago by ShadSterling (Shad Sterling)
comment:1 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)
Cc: | i0ntempest Ionic removed |
---|---|
Owner: | set to i0ntempest |
Status: | new → assigned |
Summary: | mpv dependency libplacebo @7.349.0_0: ModuleNotFoundError: No module named 'jinja2' → libplacebo @7.349.0_0: ModuleNotFoundError: No module named 'jinja2' |
comment:2 Changed 7 weeks ago by i0ntempest
comment:3 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)
Now:
Run-time dependency vulkan found: NO (tried pkgconfig and system) Header "vulkan/vulkan_core.h" has symbol "VK_VERSION_1_3" with dependency vulkan: NO … Optional features … vulkan : NO … User defined options … vulkan : disabled
But:
../libplacebo-7.349.0/src/include/libplacebo/vulkan.h:21:10: fatal error: 'vulkan/vulkan.h' file not found 21 | #include <vulkan/vulkan.h> | ^~~~~~~~~~~~~~~~~ 1 error generated.
comment:4 Changed 7 weeks ago by i0ntempest
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Seems like it's trying to compile vulkan features even when you have disabled it. Probably only happens in macOS 15.
Reported upstream: https://github.com/haasn/libplacebo/issues/289
EDIT: nope, this happens everywhere: [d3d8721c05691d55ec02981e428cc5da3bc670d4/macports-ports]