dune icon indicating copy to clipboard operation
dune copied to clipboard

When depexts are missing and the combine length of the names of all depexs is sufficiently short, there is no newline between the error message and the list of depexts

Open gridbugs opened this issue 6 months ago • 0 comments

To reproduce, set up a project depending on a package with depexts and mess with that package's lockfile so it doesn't build. Dune will give a hint that the failure might be depext-related and print:

Hint: You may want to verify the following depexts are installed:
- depext1
- depext2

However if the combined length of depext names is too short it prints this instead:

Hint: You may want to verify the following depexts are installed:- a
                                                                 - b

gridbugs avatar Aug 26 '25 07:08 gridbugs