palfrey/maiden

Unable to build - empty spec directory

Closed this issue · 1 comments

I am on Ubuntu 20.04 with Cargo 1.46.0 on Rust stable up-to-date as of the time of writing. I get the following build error:

error: failed to run custom build command for `maiden v0.1.0 (/home/deep/work/rust/maiden)`

Caused by:
  process didn't exit successfully: `/home/deep/work/rust/maiden/target/debug/build/maiden-87a1f1a3893ec8dc/build-script-build` (exit code: 1)
  --- stderr
  Error: Error { depth: 2, inner: Io { path: Some("tests/upstream/failures"), err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }

Indeed, I found that tests/upstream/failures is a symlink to spec/tests/failures, but the spec directory is empty, explaining the above error.

It uses git submodules. Run git submodule update --init to set it up.