+
Skip to content

Conversation

Arnavion
Copy link
Contributor

Previously it would only fail if the last doc (BH_ref_guide) failed to build. So if the last doc built successfully but any of the others didn't, the build would still succeed as a whole and lead to missing docs in the final package.

Previously it would only fail if the last doc (BH_ref_guide) failed to build.
So if the last doc built successfully but any of the others didn't,
the build would still succeed as a whole and lead to missing docs in
the final package.
@Arnavion
Copy link
Contributor Author

I maintain a package of BlueSpec for OpenSUSE which had this problem. I had added the various LaTeX dependencies based on trying to build and watching what it complained was missing when it failed. Once it built successfully I thought I was done, but later I noticed that the package only had BH and BSV guides, and the user_guide and library_ref_guide were missing. I tracked the problem down to this Makefile loop not propagating the failure from individual submake invocations, so I had ended up only adding the deps needed for BH and BSV guides, and missed some deps that were only needed for user_guide and library_ref_guide.

@Arnavion
Copy link
Contributor Author

(The CI failure is a transient HTTP 500 error from fetching a dependency from ghcr.io, unrelated to this change.)

@quark17
Copy link
Collaborator

quark17 commented Aug 13, 2025

Thank you for the fix. Sorry that you ran into this! I'll accept the PR, although I think in the long run it might be best to not have a for-loop at all and just have separate targets, so that the build can be done in parallel.

@quark17 quark17 merged commit 0d878d1 into B-Lang-org:main Aug 21, 2025
145 of 146 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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载