Changes between Version 18 and Version 19 of Building/GettingTheSources


Ignore:
Timestamp:
Nov 8, 2007 8:11:09 PM (6 years ago)
Author:
RichardG
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/GettingTheSources

    v18 v19  
    4848   $ darcs pull -a 
    4949}}} 
    50  We've had [http://www.haskell.org/pipermail/glasgow-haskell-users/2007-November/013373.html reports] of Darcs crashing in this step with 
    51 {{{ 
    52 darcs: getCurrentDirectory: resource exhausted (Too many open files) 
    53 }}} 
    54  If this happens to you, report to `bugs@darcs.net` and work around by pulling 100 patches at a time.[[BR]][[BR]] 
     50 We've had [http://www.haskell.org/pipermail/glasgow-haskell-users/2007-November/013373.html reports] of Darcs crashing on Mac OS X in this step.  If this happens, see the section on troubleshooting. 
    5551 0. Now use the `darcs-all` script to pull patches from all the library repositories, and the testsuite repository: 
    5652{{{ 
     
    113109 
    114110See [wiki:Building/Rebuilding] for how to update your build after pulling patches. 
     111 
     112== Troubleshooting == 
     113=== Mac OS X === 
     114==== getCurrentDirectory: resource exhausted (Too many open files) ==== 
     115By default, Mac OS X limits the number of open files to 256.  This may cause problems when applying patches in step 3 of ''Getting a GHC source tree using darcs'' with darcs 1.0.9. 
     116 
     117{{{ 
     118$ darcs pull -a 
     119Pulling from "http://darcs.haskell.org/ghc"... 
     120This is the GHC darcs repository (HEAD branch) 
     121 
     122For more information, visit the GHC developer wiki at 
     123  http://hackage.haskell.org/trac/ghc 
     124********************** 
     125darcs: getCurrentDirectory: resource exhausted (Too many open files) 
     126}}} 
     127 
     128If this happens, try increasing the number of open files allowed by typing in {{{$ ulimit -n unlimited}}} and try pulling again.  If this fails, close all terminal windows, restart Terminal.app, and try again. 
     129 
     130If this still doesn't work, try pulling 100 patches at a time using the {{{darcs pull}}} command (notice the lack of the {{{-a}}} flag).  Hold down 'y' until 100 or so patches are accepted, then hit 'd' to skip the rest; repeat until all patches are applied.  If this fails, try with less than 100 patches at a time (e.g., 50). 
     131 
     132This issue has been reported as [http://bugs.darcs.net/issue560 issue 560] in the darcs bug tracking system.