-
Notifications
You must be signed in to change notification settings - Fork 714
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
Debugging read the docs build flow could be easier #2650
Comments
@MikeOpenHWGroup would you mind taking a look at this issue ? |
It seems the problem was caused by pull-request #2558, which included this update to Hi @JeanRochCoulon, I am not currently set-up to support the CVA6 RTD flow. Someone with the GitHub handle slgth created the PR above. @valentinThomazic suggested slgth is a person named Simon from Thales SIX, but as they are not a member of this repo I cannot assign this Issue to them. |
Simondoes not work anymore on cva6 project, maybe @ASintzoff can have a look from next Monday (oOo currently). |
@MikeOpenHWGroup In the meantime, the option pointed by @valentinThomazic can highly prevent such a issue generation. Would it be possible to enable it in ReadTheDocs ? |
This looks like an ugly problem. There seems to be a very large number of packages required to build the CVA6 documentation. The ReadTheDocs build reports this error:
This is very similar (not identical) to the error I get when attempting to build the documentation on my Ubuntu 22.04 Desktop machine:
Has anyone gotten this to build successfully on an Ubuntu system? |
Hi Mike, |
I think the root cause is that I just create an issue (riscv/riscv-isa-manual#1811) and a pull request (riscv/riscv-isa-manual#1812). Hopefully the pull request will be merged and after that, we will need to update the |
Thanks for the clue about installing The number of dependencies is large:
There are a number of In any case, I can now build the documentation locally:
This "works" in that there are no errors and the documentation appears to build correctly. However, there is a very large set of warnings which you can see in the attached logfile. |
André’s pull request has been merged so we can update our submodule now and the automatic build should work. @MikeOpenHWGroup I am not in favor of repeating things. Maybe https://github.com/openhwgroup/cva6/blob/master/docs/README.md can point to these dependency files? |
Please, no automatic update of The commands to install dependencies are available in |
Noticed a small typo that breaks the build. Check out #2725. With that fix, the docs build for me again. |
The log files of Read The Docs are available at https://app.readthedocs.com/projects/openhw-group-cva6-user-manual/builds/ Whatever the suggestion done by @valentinThomazic in this issue regarding enabling documentation generation on each PR could be very useful. |
Do you mean creating a github action to launch a build of the documentation as a gating check for all pull-requests to the master branch? We could do that as long as the Thales team agrees. I would recommend closing this issue and creating another issue to discuss that specific topic. |
The build of read the docs has been broken for about a month because of an incorrect configuration and the local build (running
make -C docs
was also broken during a week.The local build has been fixed by #2641
The read the docs build still needs fixing (in progress : #2641 #2643).
Currently, the only way I have found to debug efficiently is to fork the cva6 repo and to setup read the docs on the fork.
There is an option in Read the Docs enabling the build on each pull request as a Github action. This would not only make debugging easier but would also prevent merging commits that break the documentation build while providing a preview of what is to be merged when the build is successful.
Here is the (read the docs) documentation about this feature: feature feature configuration
Of course, it is up to OpenHW Group to decide wether they want to do that or not, since this would trigger more builds.
The text was updated successfully, but these errors were encountered: