hsc2hs tries to remove an open file
|Reported by:||eivuokko||Owned by:|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
Description (last modified by simonpj)
When building GHC on Windows, hsc2hs sometimes fails with
hsc2hs.exe: System\CPUTime_hsc_make.exe: removeFile: permission denied (Permission denied)
This is because it tries to remove a file it has open handle to. The error usually repeats per-machine and file, but what file and machine it shows up with, is random.
As a workaround, calls to removeFile can be removed, or exceptions catched.
From a mail by Brian Smith:
Change History (6)
comment:4 Changed 7 years ago by simonpj
- Component changed from Compiler to Build System
- Milestone set to 6.8
- Resolution set to fixed
- Status changed from new to closed