[GHC] #9775: "Failed to remove" errors during Windows build from hsc2hs

GHC ghc-devs at haskell.org
Wed Nov 5 22:45:29 UTC 2014


#9775: "Failed to remove" errors during Windows build from hsc2hs
-------------------------------------+-------------------------------------
       Reporter:  gintas             |                   Owner:
           Type:  bug                |                  Status:  new
       Priority:  normal             |               Milestone:
      Component:  Build System       |                 Version:  7.8.3
       Keywords:                     |        Operating System:  Windows
   Architecture:  Unknown/Multiple   |         Type of failure:
     Difficulty:  Unknown            |  None/Unknown
     Blocked By:                     |               Test Case:
Related Tickets:                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 The Windows build over here spews a bunch of errors during the build like
 the ones below. All of them seem to be related to hsc2hs. The errors do
 not the build for some reason, so the problem is not critical, but we
 should look into what's going on here.

 Note that the errors are indeterministic and the set of files affected
 varies between builds.

 Examples:

 {{{
 ghctrace.2/3.log:Failed to remove file libraries/base/dist-
 install/build/System/CPUTime_hsc_make.exe; error= DeleteFile
 "libraries/base/dist-install/build/System/CPUTime_hsc_make.exe":
 permission denied (Access is denied.)
 ghctrace.2/4.log:Failed to remove file libraries/hpc/dist-
 boot/build/Trace/Hpc/Reflect_hsc_make.exe; error= DeleteFile
 "libraries/hpc/dist-boot/build/Trace/Hpc/Reflect_hsc_make.exe": permission
 denied (Access is denied.)
 ghctrace.2/4.log:Failed to remove file
 compiler/stage2/build/Fingerprint_hsc_make.exe; error= DeleteFile
 "compiler/stage2/build/Fingerprint_hsc_make.exe": permission denied
 (Access is denied.)
 ghctrace.3/1.log:Failed to remove file libraries/hpc/dist-
 boot/build/Trace/Hpc/Reflect_hsc_make.exe; error= DeleteFile
 "libraries/hpc/dist-boot/build/Trace/Hpc/Reflect_hsc_make.exe": permission
 denied (Access is denied.)
 ghctrace.3/4.log:Failed to remove file libraries/old-time/dist-
 install/build/System/Time_hsc_make.exe; error= DeleteFile "libraries/old-
 time/dist-install/build/System/Time_hsc_make.exe": permission denied
 (Access is denied.)
 ghctrace.3/5.log:Failed to remove file libraries/Win32/dist-
 install/build/Graphics/Win32/GDI/Pen_hsc_make.exe; error= DeleteFile
 "libraries/Win32/dist-install/build/Graphics/Win32/GDI/Pen_hsc_make.exe":
 permission denied (Access is denied.)
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9775>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list