Skip to content

dune promote internal error #1772

@avsm

Description

@avsm
$ make promote
dune promote
Promoting _build/default/book/classes/README.md.corrected to book/classes/README.md.
Promoting _build/default/book/compiler-frontend/README.md.corrected to book/compiler-frontend/README.md.
Error: exception Sys_error("_build/default/book/compiler-frontend/README.md.corrected: No such file or directory")
Backtrace:
Raised by primitive operation at file "stdlib.ml", line 390, characters 28-54
Called from file "src/stdune/io.ml", line 63, characters 17-37
Called from file "src/promotion.ml", line 86, characters 6-31
Called from file "map.ml", line 295, characters 20-25
Called from file "src/promotion.ml", line 93, characters 4-44
Called from file "src/promotion.ml", line 124, characters 11-41
Called from file "bin/main.ml", line 962, characters 4-422
Called from file "vendor/cmdliner/src/cmdliner_term.ml", line 27, characters 19-24
Called from file "vendor/cmdliner/src/cmdliner.ml", line 106, characters 32-39
Called from file "vendor/cmdliner/src/cmdliner.ml", line 136, characters 18-36
Called from file "vendor/cmdliner/src/cmdliner.ml", line 251, characters 22-48
Called from file "bin/main.ml", line 1219, characters 10-51

I must not segfault.  Uncertainty is the mind-killer.  Exceptions are
the little-death that brings total obliteration.  I will fully express
my cases.  Execution will pass over me and through me.  And when it
has gone past, I will unwind the stack along its path.  Where the
cases are handled there will be nothing.  Only I will remain.
make: *** [promote] Error 1
cork:book avsm$ find _build/ -name \*.corrected
_build//default/examples/code/classes-async/shapes/shapes.ml.corrected
_build//default/examples/code/classes-async/verbose_shapes.ml.corrected
_build//default/examples/code/front-end/doc.ml.corrected
_build//default/book/classes/README.md.corrected
cork:book avsm$ dune --version
1.6.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions