Changes between Version 22 and Version 23 of Building/Troubleshooting


Ignore:
Timestamp:
Oct 8, 2009 1:43:27 PM (5 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/Troubleshooting

    v22 v23  
    66 
    77We don't expect anyone to read this page from beginning to end.  The only way you get here is by searching, so remember when adding a new entry the most important thing to do is to '''include the error message verbatim''', so searches will find it.  If a build failure is caused by a bug in GHC or the build system, please link to the ticket number so we can tell when it's safe to remove the entry and keep this page from getting too crufty. 
     8 
     9== Pulling from "simonpj@darcs.haskell.org;c:\\msys\\1.0\\home\\darcs\\ghc" == 
     10 
     11On Windows under MSYS, suppose your `_darcs/pref/defaultrepo` contains `simonpj@darcs.haskell.org:/home/darcs/ghc` (i.e. you are using an SSH connection). Then `darcs_all` will screw up:  
     12{{{ 
     13bash-3.1$ ./darcs-all pull 
     14== running darcs pull --repodir . simonpj@darcs.haskell.org:/home/darcs/ghc 
     15No remote changes to pull in! 
     16== running darcs pull --repodir utils/hsc2hs simonpj@darcs.haskell.org:/home/darcs/hsc2hs 
     17Reading inventory of repository c:/code/HEAD/utils/hsc2hs inventory 
     18No remote changes to pull in! 
     19... 
     20}}} 
     21Looks ok, but look at the defaultrepo: 
     22{{{ 
     23bash-3.1$ cat _darcs/prefs/defaultrepo 
     24simonpj@darcs.haskell.org;c:\msys\1.0\home\darcs\ghc/ghc 
     25}}} 
     26Glarp!  And indeed if you re-try the pull, bad things happen: 
     27{{{ 
     28./darcs-all pull 
     29== running darcs pull --repodir . simonpj@darcs.haskell.org;c:\msys\1.0\home\darcs\ghc/ghc 
     30No remote changes to pull in! 
     31== running darcs pull --repodir utils/hsc2hs simonpj@darcs.haskell.org;c:\msys\1.0\home\darcs\ghc/hsc2hs 
     32... 
     33}}} 
     34This problem seems hard to fix, because it's a bug in MSYS's perl.  See #3499 for a workaround. 
    835 
    936== configure: error: C++ preprocessor "/lib/cpp" fails sanity check ==