Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added xsltproc to the opentitan environment #51

Merged
merged 1 commit into from
Jun 18, 2024
Merged

Conversation

HU90m
Copy link
Member

@HU90m HU90m commented Jun 18, 2024

This enables one to build the docs with the opentitan environment.

Before the fix, I was getting this error:

2024-06-18 09:03:31 [INFO] (mdbook::book): Book building has started
Traceback (most recent call last):
  File "/home/hugom/r/lr/ot/main/util/mdbook_doxygen.py", line 97, in <module>
    main()
  File "/home/hugom/r/lr/ot/main/util/mdbook_doxygen.py", line 47, in main
    combined_xml = difgen.get_combined_xml(out_dir / 'api-xml')
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/hugom/r/lr/ot/main/util/mdbook/difgen.py", line 23, in get_combined_xml
    combined_xml_res = subprocess.run(
                       ^^^^^^^^^^^^^^^
  File "/nix/store/7hnr99nxrd2aw6lghybqdmkckq60j6l9-python3-3.11.9/lib/python3.11/subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/7hnr99nxrd2aw6lghybqdmkckq60j6l9-python3-3.11.9/lib/python3.11/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/nix/store/7hnr99nxrd2aw6lghybqdmkckq60j6l9-python3-3.11.9/lib/python3.11/subprocess.py", line 1955, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'xsltproc'
2024-06-18 09:03:32 [ERROR] (mdbook::utils): Error: The "doxygen" preprocessor exited unsuccessfully with exit status: 1 status

@HU90m HU90m merged commit ad32026 into lowRISC:main Jun 18, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants