Skip to contentSkip to conversation

New: Missing dependencies in BR2_PACKAGE_PYTHON_MAKO

Buildroot [email protected] 1 participant 2 messages Jun 8, 2023 – Sep 30, 2023

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=15628

Bug ID: 15628
Summary: Missing dependencies in BR2_PACKAGE_PYTHON_MAKO
Product: buildroot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---

Piglit depends on mako, which in turn imports the modules pygments and markupsafe which are not selected by selecting BR2_PACKAGE_PYTHON_MAKO

# piglit run sanity
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/mako/exceptions.py", line 287, in
_install_highlighting
  File "/usr/lib/python3.11/site-packages/mako/exceptions.py", line 271, in
_install_pygments
  File "/usr/lib/python3.11/site-packages/mako/ext/pygmentplugin.py", line 7,
in <module>
ModuleNotFoundError: No module named 'pygments'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/bin/piglit", line 107, in <module>
import framework.programs.summary as summary
File "/usr/lib64/piglit/framework/programs/summary.py", line 30, in <module>
from framework import summary, status, core, backends, exceptions
File "/usr/lib64/piglit/framework/summary/__init__.py", line 31, in <module>
from .html_ import html, feat
File "/usr/lib64/piglit/framework/summary/html_.py", line 37, in <module>
from mako.lookup import TemplateLookup
File "/usr/lib/python3.11/site-packages/mako/lookup.py", line 13, in <module> File "/usr/lib/python3.11/site-packages/mako/exceptions.py", line 292, in
<module>
File "/usr/lib/python3.11/site-packages/mako/exceptions.py", line 289, in
_install_highlighting
File "/usr/lib/python3.11/site-packages/mako/exceptions.py", line 277, in
_install_fallback
File "/usr/lib/python3.11/site-packages/mako/filters.py", line 14, in
<module>
ModuleNotFoundError: No module named 'markupsafe'

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

[Buildroot] [Bug 15628] Missing dependencies in BR2_PACKAGE_PYTHON_MAKO

https://bugs.busybox.net/show_bug.cgi?id=15628

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Thomas Petazzoni <[email protected]> --- Fixed by
https://gitlab.com/buildroot.org/buildroot/-/commit/2b506cb2dd031f2bdecc3c90111e31e145211d75

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot