[GHC] #9677: "operation not permitted" when running tests on Windows

GHC ghc-devs at haskell.org
Sat Oct 11 19:20:29 UTC 2014


#9677: "operation not permitted" when running tests on Windows
-------------------------------------+-------------------------------------
       Reporter:  gintas             |                   Owner:
           Type:  bug                |                  Status:  new
       Priority:  normal             |               Milestone:
      Component:  Compiler           |                 Version:  7.9
       Keywords:                     |        Operating System:  Windows
   Architecture:  Unknown/Multiple   |         Type of failure:
     Difficulty:  Unknown            |  None/Unknown
     Blocked By:                     |               Test Case:
Related Tickets:                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 When I run ghc tests on windows using "make test", I see instances of the
 following:

 =====> T5442d(normal) 86 of 4093 [0, 1, 0]
 cd ./cabal && $MAKE -s --no-print-directory T5442d    </dev/null
 >T5442d.run.stdout 2>T5442d.run.stderr
 [Errno 1] Operation not permitted: './cabal/package.conf.T5442d.global'
 [Errno 90] Directory not empty: './cabal/package.conf.T5442d.global'
 [Errno 1] Operation not permitted: './cabal/package.conf.T5442d.user'
 [Errno 90] Directory not empty: './cabal/package.conf.T5442d.user'
 [Errno 1] Operation not permitted: './cabal/package.conf.T5442d.extra'

 Not sure if these are legitimately harmful, but something is going wrong.

 I am running ghc head on latest msys2. I also tried running the process as
 administrator to rule out permission issues due to handling symlinks.

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


More information about the ghc-tickets mailing list