Opened 12 months ago

Last modified 10 months ago

#15982 new bug

Hadrian's `--configure` flag is broken on Windows

Reported by: snowleopard Owned by:
Priority: high Milestone: 8.8.1
Component: Build System (Hadrian) Version: 8.6.2
Keywords: Cc:
Operating System: Windows Architecture: Unknown/Multiple
Type of failure: None/Unknown 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

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.

Change History (5)

comment:1 Changed 12 months ago 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?

comment:2 Changed 11 months ago by bgamari

Milestone: 8.6.3

Ticket retargeted after milestone closed

comment:3 Changed 11 months ago by bgamari

Milestone: 8.8.1
Operating System: Unknown/MultipleWindows
Priority: normalhigh

comment:4 Changed 10 months ago by snowleopard

I propose to switch to the Cabal build script by default, at least until this ticket is resolved:

Note: See TracTickets for help on using tickets.