Skip to content

"mdbook test" stopped working with 0.1.8 #724

Closed
@RalfJung

Description

@RalfJung

The update from 0.1.7 to 0.1.8 broke mdbook test in the nomicon. It now fails with

2018-07-16 14:41:02 [ERROR] (mdbook::utils): Error: Unable to open the file
2018-07-16 14:41:02 [ERROR] (mdbook::utils): 	Caused By: No such file or directory (os error 2)

I am not sure which file it is even trying to open (the error is not very helpful), but strace indicates it is some index.md:

stat("/home/r/src/rust/nomicon/src/index.md", 0x7fff52e9e770) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/r/src/rust/nomicon/src/index.md", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)

The nomicon works fine with mdbook 0.1.7 (well, there is a test failure but we are getting much further than the error it shows with 0.1.8). Also see rust-lang/nomicon#78.

I believe this is a bug in mdbook because the update claims to be semver-compatible but, as this example shows, it is not.

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