[GHC] #15982: Hadrian's `--configure` flag is broken on Windows

#15982: Hadrian's `--configure` flag is broken on Windows -------------------------------------+------------------------------------- Reporter: snowleopard | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.3 Component: Build System | Version: 8.6.2 (Hadrian) | Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- 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/con... 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. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15982 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15982: Hadrian's `--configure` flag is broken on Windows -------------------------------------+------------------------------------- Reporter: snowleopard | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.3 Component: Build System | Version: 8.6.2 (Hadrian) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by snowleopard): Invoking Hadrian using the `build.cabal.bat` script seems to work fine too: {{{ hadrian\build.cabal.bat --configure -j --flavour=quickest --integer-simple }}} So this is somehow related to my Stack setup. Can anyone reproduce? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15982#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15982: Hadrian's `--configure` flag is broken on Windows -------------------------------------+------------------------------------- Reporter: snowleopard | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.8.1 Component: Build System | Version: 8.6.2 (Hadrian) | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * priority: normal => high * os: Unknown/Multiple => Windows * milestone: => 8.8.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15982#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15982: Hadrian's `--configure` flag is broken on Windows -------------------------------------+------------------------------------- Reporter: snowleopard | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.8.1 Component: Build System | Version: 8.6.2 (Hadrian) | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by snowleopard): I propose to switch to the Cabal build script by default, at least until this ticket is resolved: https://gitlab.haskell.org/ghc/ghc/merge_requests/100 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15982#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15982: Hadrian's `--configure` flag is broken on Windows -------------------------------------+------------------------------------- Reporter: snowleopard | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.8.1 Component: Build System | Version: 8.6.2 (Hadrian) | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Merged with 8d594beff68a6b12cdc8ccbd0cfc3e11cf184bfc. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15982#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC