#13945: 'ghc-pkg update' fails due to bad file descriptor error ---------------------------------+---------------------------------------- Reporter: mpickering | Owner: bgamari Type: bug | Status: new 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: | ---------------------------------+---------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"3b784d440d4b01b4c549df7c9a3ed2058edfc780/ghc" 3b784d4/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="3b784d440d4b01b4c549df7c9a3ed2058edfc780" base: Implement file locking in terms of POSIX locks Hopefully these are more robust to NFS malfunction than BSD flock-style locks. See #13945. Test Plan: Validate via @simonpj Reviewers: austin, hvr Subscribers: rwbarton, thomie, erikd, simonpj GHC Trac Issues: #13945 Differential Revision: https://phabricator.haskell.org/D4129 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13945#comment:26> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler