[GHC] #13945: 'ghc-pkg update' fails due to bad file descriptor error

GHC ghc-devs at haskell.org
Tue Aug 29 18:28:38 UTC 2017


#13945: 'ghc-pkg update' fails due to bad file descriptor error
---------------------------------+----------------------------------------
        Reporter:  mpickering    |                Owner:  (none)
            Type:  bug           |               Status:  patch
        Priority:  high          |            Milestone:  8.2.2
       Component:  Compiler      |              Version:  8.2.1-rc3
      Resolution:                |             Keywords:
Operating System:  Linux         |         Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:                |  Differential Rev(s):  Phab:D3897
       Wiki Page:                |
---------------------------------+----------------------------------------
Changes (by bgamari):

 * status:  new => patch
 * differential:   => Phab:D3897


Comment:

 So this is problematic: `lockPackageDb` first tries to open (and then
 exclusively lock) the lockfile as read-only to account for the possibility
 that we are opening a global package database for which we only have read
 access. However, NFS does not allow this as mentioned above.

 I believe Phab:D3897 is one possible fix.

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


More information about the ghc-tickets mailing list