-
Notifications
You must be signed in to change notification settings - Fork 176
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
Build bug exposed by testing-tweaks branch #3513
Comments
it looks like a side effect of unsetting
Some remarks:
|
I've gotten my branch building again, but it would be good to fix the underlying bug. Could you perhaps submit a corresponding bug to Dune, and link that here? |
Pinging this again. @emillon ? |
Yes. I'll pass that to the mdx maintainers. But I'm afraid that unsetting |
Is there something better we should be doing in RWO, other than unsetting INSIDE_DUNE? |
I'm working on improving the testing chapter, and have tripped over some weird build bug. Maybe something with Dune? Here's where I'm working:
https://github.com/realworldocaml/book/blob/testing-tweaks/book/testing/README.md
I'm getting in to a state where dune is stuck in some kind of infinite loop.
After a clean, I get this error when I run
dune runtest
from the book/testing directory.If I interrupt it and try again, I get this:
If I look at htop while this is running, I see a dune process taking 100%, but not always the same dune process:
The sequence of nested dune invocations keeps getting deeper, and the PID of the busy process keeps on changing.
Oddly, if I truncate the README by deleting everything at line 303 and onwards, the build succeeds, and if I delete from 318 forward, it still gets stuck. But deleting the text between 303 and 318 is not enough to fix the build, which I guess means it's not some narrow problem with a small set of lines in the file. That said, something about the diff in the feature is causing the problem, because master doesn't have this issue.
The text was updated successfully, but these errors were encountered: