[GHC] #15971: Hadrian fails Shake's linter on Windows

GHC ghc-devs at haskell.org
Wed Jan 9 21:44:57 UTC 2019


#15971: Hadrian fails Shake's linter on Windows
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.8.1
       Component:  Build System      |              Version:  8.7
  (Hadrian)                          |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by snowleopard):

 Here is a simple MR: https://gitlab.haskell.org/ghc/ghc/merge_requests/99

 Neil: As you can see, I switched to the untracked version of
 `getDirectoryFiles`, because GMP object files are generated. However, this
 does not fix the Lint failure.

 I am a bit lost: I don't know how we could possibly touch these object
 files again. We unpack the archive with these objects. We then use
 `getDirectoryFiles` to get the list of objects, and need it when building
 the `integer-gmp` library.

 Do you have any ideas how we could possibly mess this up? I have a
 suspicion that this is a Lint bug, but I couldn't reproduce it on a small
 example.

 Until we figure out how to fix this, I think we'll need to drop the flag
 `--lint` when invoking Hadrian, to prevent CI bots from failing.

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


More information about the ghc-tickets mailing list