snowleopard / hadrian

Hadrian: a new build system for the Glasgow Haskell Compiler. Now merged into the GHC tree!
https://gitlab.haskell.org/ghc/ghc/tree/master/hadrian
MIT License
208 stars 37 forks source link

Documentation broken #664

Closed snowleopard closed 6 years ago

snowleopard commented 6 years ago

As discovered in #663, the documentation target docs is currently broken:

| Copy directory: utils/haddock/haddock-api/resources/html => _build/docs/html
| Run Sphinx Html: docs/users_guide => _build/docs/html/users_guide
Error when running Shake build system:
* docs
* _build/docs/html/index.html
* _build/docs/html/libraries/index.html
* _build/docs/html/haddock-bundle.min.js
Error, rule finished running but did not produce file:
  _build/docs/html/haddock-bundle.min.js

What's weird is that the file in question _build/docs/html/haddock-bundle.min.js does exist! So this looks like some concurrency issue.

snowleopard commented 6 years ago

And another error:

Error when running Shake build system:
* docs
* _build/docs/html/index.html
* _build/docs/html/libraries/index.html
* _build/docs/html/haddock-bundle.min.js
RemoveDirectory "_build/docs/html\\libraries": unsatisfied constraints (The directory is not empty.)
snowleopard commented 6 years ago

Fixed in #665.