[GHC] #8283: utils/fingerprint/fingerprint.py doesn't work on Windows

GHC ghc-devs at haskell.org
Fri Sep 13 10:46:30 CEST 2013


#8283: utils/fingerprint/fingerprint.py doesn't work on Windows
-------------------------------+-------------------------------------------
        Reporter:  schyler     |            Owner:
            Type:  bug         |           Status:  patch
        Priority:  low         |        Milestone:
       Component:  Build       |          Version:  7.7
  System                       |         Keywords:
      Resolution:              |     Architecture:  Unknown/Multiple
Operating System:  Windows     |       Difficulty:  Easy (less than 1 hour)
 Type of failure:  Other       |       Blocked By:
       Test Case:              |  Related Tickets:
        Blocking:              |
-------------------------------+-------------------------------------------
Changes (by leroux):

 * priority:  normal => low
 * failure:  None/Unknown => Other


Comment:

 Just a few clarifications...

 The main problem is that shebangs won't work correctly under mingw by
 default since scripts usually invoke things like {{{#!/usr/bin/perl}}}
 whereas perl is actually located at {{{/mingw/msys/1.0/usr/bin/perl}}} or
 something similar.

 This can actually be remedied by making sure the mingw shell is mounting
 the correct directories with it's {{{/etc/fstab}}}...which is how it
 should be.

 For example, {{{mount}}} should output:
 {{{
 /c/mingw        /mingw
 /mingw/msys/1.0 /
 /mingw/msys/1.0 /usr
 }}}
 or something similar.

 An alternate solution to this is to maintain a Windows frequented
 problems/solutions.

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



More information about the ghc-tickets mailing list