[GHC] #12502: Reject wrong find utility

GHC ghc-devs at haskell.org
Thu Aug 18 19:36:33 UTC 2016


#12502: Reject wrong find utility
-------------------------------------+-------------------------------------
           Reporter:  Phyx-          |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Build System   |           Version:  8.0.1
           Keywords:  newcomer       |  Operating System:  Windows
       Architecture:                 |   Type of failure:  Building GHC
  Unknown/Multiple                   |  failed
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Currently our configure scripts try to find the correct find tool on the
 `PATH`.

 However because Windows also has a utility named `find`, depending on the
 user's configuration the Windows one may be on the path first.

 The Configure script currently rejects the tool and continues trying to
 find the correct `find` utility from `msys2`.

 However the binary distribution script doesn't get to know which find
 utility to use. So if the wrong `find` is on the path then the windows
 binary downloads will fail with a weird error.

 The find utility to use should probably be passed to the tarballs download
 script. We could just stuff it in an `Env variable` and use it in the
 script if available.

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


More information about the ghc-tickets mailing list