Bug 15628 - Missing dependencies in BR2_PACKAGE_PYTHON_MAKO
Summary: Missing dependencies in BR2_PACKAGE_PYTHON_MAKO
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-08 13:44 UTC by Sebastian Weyer
Modified: 2023-09-30 16:49 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Weyer 2023-06-08 13:44:34 UTC
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'