GHC issueshttps://gitlab.haskell.org/ghc/ghc/-/issues2019-09-20T23:34:40Zhttps://gitlab.haskell.org/ghc/ghc/-/issues/15982Hadrian's `--configure` flag is broken on Windows2019-09-20T23:34:40ZAndrey MokhovHadrian's `--configure` flag is broken on WindowsFor some reason I can no longer use Hadrian's `--configure` flag. When I use it, the configuration step fails with the following obscure error:
```
rm: cannot remove '.MTREE': No such file or directory
```
This is certainly caused by t...For some reason I can no longer use Hadrian's `--configure` flag. When I use it, the configuration step fails with the following obscure error:
```
rm: cannot remove '.MTREE': No such file or directory
```
This is certainly caused by this line in `configure.ac`:
https://github.com/ghc/ghc/blob/93e86d6103757b43017535c92bc6970e9e2315a5/configure.ac\#L358
It's unclear what should be done in this case.
Here is the command line I use to invoke Hadrian:
```
hadrian\build --configure -j --flavour=quickest --integer-simple
```
When I run the configure script manually from the MinGW shell, it works fine.
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ---------------------- |
| Version | 8.6.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Build System (Hadrian) |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Unknown/Multiple |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"Hadrian's `--configure` flag is broken on Windows","status":"New","operating_system":"Unknown/Multiple","component":"Build System (Hadrian)","related":[],"milestone":"8.6.3","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"8.6.2","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"For some reason I can no longer use Hadrian's `--configure` flag. When I use it, the configuration step fails with the following obscure error:\r\n\r\n{{{\r\nrm: cannot remove '.MTREE': No such file or directory\r\n}}}\r\n\r\nThis is certainly caused by this line in `configure.ac`:\r\n\r\nhttps://github.com/ghc/ghc/blob/93e86d6103757b43017535c92bc6970e9e2315a5/configure.ac#L358\r\n\r\nIt's unclear what should be done in this case.\r\n\r\n\r\nHere is the command line I use to invoke Hadrian:\r\n\r\n{{{\r\nhadrian\\build --configure -j --flavour=quickest --integer-simple\r\n}}}\r\n\r\nWhen I run the configure script manually from the MinGW shell, it works fine.\r\n","type_of_failure":"OtherFailure","blocking":[]} -->8.8.1https://gitlab.haskell.org/ghc/ghc/-/issues/16073Hadrian build fails on Windows2019-07-07T18:01:38ZBen GamariHadrian build fails on Windows```
/---------------------------------------------------\
| Successfully built library 'rts' (Stage1, way v). |
| Library: _build/stage1/rts/build/libHSrts-1.0.a |
\---------------------------------------------------/
| Run Ld Stage1: ...```
/---------------------------------------------------\
| Successfully built library 'rts' (Stage1, way v). |
| Library: _build/stage1/rts/build/libHSrts-1.0.a |
\---------------------------------------------------/
| Run Ld Stage1: _build/stage1/rts/build/c/Adjustor.o (and 117 more) => _build/stage1/rts/build/HSrts-1.0.o
copyFile: does not exist (The system cannot find the file specified.)
shakeArgsWith 0.001s 0%
Function shake 0.017s 0%
Database read 0.337s 0%
With database 0.033s 0%
Running rules 4047.874s 99% =========================
Total 4048.261s 100%
Error when running Shake build system:
at src/Main.hs:58:30-42:
* Depends on: binary-dist
at src/Rules/BinaryDist.hs:97:9-21:
* Depends on: _build/stage1/lib/package.conf.d/rts-1.0.conf
* Raised the exception:
ExitFailure 1
```
See https://gitlab.haskell.org/ghc/ghc/-/jobs/2838.8.8.1https://gitlab.haskell.org/ghc/ghc/-/issues/16398Missing documentation in Windows bindist tarball2019-09-12T22:55:30ZBen GamariMissing documentation in Windows bindist tarballTakenobu noticed the following omissions from the 8.6.4 bindist tarball:
> Perhaps you may know, but the following html documents are not included in
> the windows tarball \[1\]:
>
> - doc/html/index.html
> - doc/html/users_guide/index....Takenobu noticed the following omissions from the 8.6.4 bindist tarball:
> Perhaps you may know, but the following html documents are not included in
> the windows tarball \[1\]:
>
> - doc/html/index.html
> - doc/html/users_guide/index.html
> - doc/html/libraries/index.html
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ------------- |
| Version | 8.6.4 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | highest |
| Resolution | Unresolved |
| Component | Documentation |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"Missing documentation in Windows bindist tarball","status":"New","operating_system":"","component":"Documentation","related":[],"milestone":"8.8.1","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"8.6.4","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"Takenobu noticed the following omissions from the 8.6.4 bindist tarball:\r\n\r\n> Perhaps you may know, but the following html documents are not included in\r\n> the windows tarball [1]:\r\n>\r\n> * doc/html/index.html\r\n> * doc/html/users_guide/index.html\r\n> * doc/html/libraries/index.html\r\n\r\n","type_of_failure":"OtherFailure","blocking":[]} -->8.8.1Ben GamariBen Gamari