darcs

Issue 965 pull =>openBinaryFile: permission denied (2.0.0)

Title pull =>openBinaryFile: permission denied (2.0.0)
Priority bug Status given-up
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, eivuokko, jaredj, kirby, kowey, simonmar, simonpj, thorkilnaur, tommy, wglozer
Assigned To
Topics Windows

Created on 2008-07-20.20:54:47 by simonpj, last changed 2009-10-23.23:35:37 by admin.

Files
File name Uploaded Type Edit Remove
unnamed dagit, 2008-07-20.21:07:47 text/html
Messages
msg5230 (view) Author: simonpj Date: 2008-07-20.20:54:42
Ian

|   * Generate expanded makefile rules directly, rather than using $(eval ...)
|   We used to do this with $(eval ...) and $(call ...) in the
|   Makefile, but make 3.79.1 (which is what comes with msys)
|   doesn't understand $(eval ...), so now we just stick the
|   expanded loop directly into the Makefile we generate.

I gather this patch may fix my MSYS build bug -- thank you.

Alas, Darcs strikes again.  Here's the result of darcs pull on the (very recent) tarball you sent me last week.

This is darcs 2.0.  I wish this kind of thing didn't happen.

I did a "darcs revert"; then "darcs pull" says "no patches to pull", so I think things may be ok, but it's unsettling when darcs crashes.

simon

sh-2.04$ darcs2 pull -av
Identifying repository http://darcs.haskell.org/ghc format
Identifying repository http://darcs.haskell.org/ghc inventory
Reading inventory of repository c:/simonpj/darcs/HEAD-new-igloo inventory
Pulling from "http://darcs.haskell.org/ghc"...
This is the GHC darcs repository (HEAD branch)

For more information, visit the GHC developer wiki at
  http://hackage.haskell.org/trac/ghc
**********************
We have the following new (to them) patches:
They have the following patches to pull:
Sat Jul 19 14:22:17 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  tagged Before cabalised-GHC
Wed Jul 16 16:04:41 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Get building GHC itself with Cabal more-or-less working
  Installing and bindist creation don't work, but they were already broken.
  Only tested validating with one setup.
Wed Jul 16 20:28:36 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Fix the build with GHC 6.4.2
Wed Jul 16 22:50:00 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Fix the inplace compiler finding package.conf on Windows
Wed Jul 16 23:24:57 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Fix GHC finding extra-gcc-opts on Windows
Wed Jul 16 23:27:19 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Windows fixes
Thu Jul 17 15:49:06 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Remove some duplication
Thu Jul 17 16:04:20 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Do the building and installing of hsc2hs with the stage1 compiler
Thu Jul 17 16:04:53 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Install the compiler during make install
  For now we always install stage 2
Thu Jul 17 16:07:46 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Split building the ghc package and binary into "boot" and "all" steps
  In "boot" we configure, and in "all" we do the actual building.
Thu Jul 17 20:24:02 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Fix the order in which things get built
Thu Jul 17 20:49:16 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Tweak the hsc2hs wrapper script
Thu Jul 17 23:35:43 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Fix some argument names
Fri Jul 18 12:47:53 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * More build system changes; ghc-pkg is now built with Cabal
Fri Jul 18 12:50:44 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Remove a comment
Fri Jul 18 16:34:59 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * More build system changes; hasktags is now built with Cabal
Fri Jul 18 16:39:56 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Tweak the build system for installPackage
Fri Jul 18 16:42:38 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Add a comment
Fri Jul 18 17:53:17 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Build runghc with Cabal
Fri Jul 18 18:00:47 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Build hpc with Cabal
Fri Jul 18 18:03:29 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Disable building pwd and lndir for now
Fri Jul 18 18:46:57 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Explicitly list HpcParser as a module in hpc-bin
  Cabal doesn't preprocess the .y file otherwise.
Fri Jul 18 19:04:41 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * We need to make Parser.y and Config.hs earlier
Fri Jul 18 19:47:06 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Build system tweaks
Fri Jul 18 20:34:54 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * More dependency wibbling
Fri Jul 18 22:08:36 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Change how inplace detection works, so that it also works on Windows
Fri Jul 18 23:36:56 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Some "install" and "clean" fixes
Sat Jul 19 01:26:13 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Fix ghc-pkg inplace on Windows
Sat Jul 19 12:25:44 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Put a #! line in ghc-pkg's shell wrapper
Sun Jul 20 13:09:18 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Add a WARNING pragma
Sun Jul 20 14:56:04 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Properly comment out unused pragmas
  We now say
      -- {-# SPECIALIZE ...
  rather than
      {-# -- SPECIALIZE ...
Sun Jul 20 17:41:33 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 17:56:37 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 17:58:45 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:04:21 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:06:01 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:07:08 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:11:13 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:14:24 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:15:29 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:15:54 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:17:23 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:20:10 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:20:54 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:21:14 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:21:39 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:22:22 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:22:42 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:24:01 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:26:14 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:30:17 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:31:05 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:31:17 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:31:51 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 21:32:39 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * First step for getting rid of the old -optdep flags
  They are now handled by the main flag parser, rather than having their
  own praser that runs later.

  As an added bonus, 5 global variables are also gone.
Getting and merging the following patches:
Sat Jul 19 14:22:17 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  tagged Before cabalised-GHC
Wed Jul 16 16:04:41 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Get building GHC itself with Cabal more-or-less working
  Installing and bindist creation don't work, but they were already broken.
  Only tested validating with one setup.
Wed Jul 16 20:28:36 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Fix the build with GHC 6.4.2
Wed Jul 16 22:50:00 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Fix the inplace compiler finding package.conf on Windows
Wed Jul 16 23:24:57 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Fix GHC finding extra-gcc-opts on Windows
Wed Jul 16 23:27:19 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Windows fixes
Thu Jul 17 15:49:06 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Remove some duplication
Thu Jul 17 16:04:20 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Do the building and installing of hsc2hs with the stage1 compiler
Thu Jul 17 16:04:53 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Install the compiler during make install
  For now we always install stage 2
Thu Jul 17 16:07:46 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Split building the ghc package and binary into "boot" and "all" steps
  In "boot" we configure, and in "all" we do the actual building.
Thu Jul 17 20:24:02 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Fix the order in which things get built
Thu Jul 17 20:49:16 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Tweak the hsc2hs wrapper script
Thu Jul 17 23:35:43 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Fix some argument names
Fri Jul 18 12:47:53 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * More build system changes; ghc-pkg is now built with Cabal
Fri Jul 18 12:50:44 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Remove a comment
Fri Jul 18 16:34:59 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * More build system changes; hasktags is now built with Cabal
Fri Jul 18 16:39:56 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Tweak the build system for installPackage
Fri Jul 18 16:42:38 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Add a comment
Fri Jul 18 17:53:17 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Build runghc with Cabal
Fri Jul 18 18:00:47 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Build hpc with Cabal
Fri Jul 18 18:03:29 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Disable building pwd and lndir for now
Fri Jul 18 18:46:57 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Explicitly list HpcParser as a module in hpc-bin
  Cabal doesn't preprocess the .y file otherwise.
Fri Jul 18 19:04:41 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * We need to make Parser.y and Config.hs earlier
Fri Jul 18 19:47:06 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Build system tweaks
Fri Jul 18 20:34:54 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * More dependency wibbling
Fri Jul 18 22:08:36 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Change how inplace detection works, so that it also works on Windows
Fri Jul 18 23:36:56 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Some "install" and "clean" fixes
Sat Jul 19 01:26:13 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Fix ghc-pkg inplace on Windows
Sat Jul 19 12:25:44 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Put a #! line in ghc-pkg's shell wrapper
Sun Jul 20 13:09:18 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Add a WARNING pragma
Sun Jul 20 14:56:04 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Properly comment out unused pragmas
  We now say
      -- {-# SPECIALIZE ...
  rather than
      {-# -- SPECIALIZE ...
Sun Jul 20 17:41:33 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 17:56:37 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 17:58:45 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:04:21 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:06:01 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:07:08 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:11:13 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:14:24 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:15:29 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:15:54 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:17:23 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:20:10 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:20:54 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:21:14 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:21:39 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:22:22 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:22:42 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:24:01 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:26:14 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:30:17 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:31:05 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:31:17 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Reading tentative inventory
Sun Jul 20 18:31:51 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 21:32:39 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * First step for getting rid of the old -optdep flags
  They are now handled by the main flag parser, rather than having their
  own praser that runs later.

  As an added bonus, 5 global variables are also gone.
diffing dir...
Applying to pristine... Sat Jul 19 14:22:17 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  tagged Before cabalised-GHC
Wed Jul 16 16:04:41 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Get building GHC itself with Cabal more-or-less working
  Installing and bindist creation don't work, but they were already broken.
  Only tested validating with one setup.
Wed Jul 16 20:28:36 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Fix the build with GHC 6.4.2
Wed Jul 16 22:50:00 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Fix the inplace compiler finding package.conf on Windows
Wed Jul 16 23:24:57 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Fix GHC finding extra-gcc-opts on Windows
Wed Jul 16 23:27:19 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Windows fixes
Thu Jul 17 15:49:06 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Remove some duplication
Thu Jul 17 16:04:20 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Do the building and installing of hsc2hs with the stage1 compiler
Thu Jul 17 16:04:53 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Install the compiler during make install
  For now we always install stage 2
Thu Jul 17 16:07:46 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Split building the ghc package and binary into "boot" and "all" steps
  In "boot" we configure, and in "all" we do the actual building.
Thu Jul 17 20:24:02 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Fix the order in which things get built
Thu Jul 17 20:49:16 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Tweak the hsc2hs wrapper script
Thu Jul 17 23:35:43 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Fix some argument names
Fri Jul 18 12:47:53 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * More build system changes; ghc-pkg is now built with Cabal
Fri Jul 18 12:50:44 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Remove a comment
Fri Jul 18 16:34:59 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * More build system changes; hasktags is now built with Cabal
Fri Jul 18 16:39:56 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Tweak the build system for installPackage
Fri Jul 18 16:42:38 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Add a comment
Fri Jul 18 17:53:17 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Build runghc with Cabal
Fri Jul 18 18:00:47 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Build hpc with Cabal
Fri Jul 18 18:03:29 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Disable building pwd and lndir for now
Fri Jul 18 18:46:57 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Explicitly list HpcParser as a module in hpc-bin
  Cabal doesn't preprocess the .y file otherwise.
Fri Jul 18 19:04:41 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * We need to make Parser.y and Config.hs earlier
Fri Jul 18 19:47:06 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Build system tweaks
Fri Jul 18 20:34:54 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * More dependency wibbling
Fri Jul 18 22:08:36 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Change how inplace detection works, so that it also works on Windows
Fri Jul 18 23:36:56 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Some "install" and "clean" fixes
Sat Jul 19 01:26:13 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Fix ghc-pkg inplace on Windows
Sat Jul 19 12:25:44 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Put a #! line in ghc-pkg's shell wrapper
Sun Jul 20 13:09:18 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Add a WARNING pragma
Sun Jul 20 14:56:04 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  * Properly comment out unused pragmas
  We now say
      -- {-# SPECIALIZE ...
  rather than
      {-# -- SPECIALIZE ...
Sun Jul 20 17:41:33 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 17:56:37 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 17:58:45 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:04:21 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:06:01 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:07:08 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:11:13 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:14:24 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:15:29 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:15:54 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:17:23 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:20:10 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:20:54 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:21:14 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:21:39 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:22:22 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:22:42 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:24:01 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:26:14 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:30:17 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:31:05 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:31:17 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 18:31:51 GMT Daylight Time 2008  Thomas Schilling <nominolo@googlemail.com>
  * Fix Haddock errors.
Sun Jul 20 21:32:39 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
  *
darcs failed:  ./compiler/cmm/MkZipCfgCmm.hs: openBinaryFile: permission denied (Permission denied)
Error applying patch to the working directory.

This may have left your working directory an inconsistent
but recoverable state. If you had no un-recorded changes
by using 'darcs revert' you should be able to make your
working directory consistent again.

First step for getting rid of the old -optdep flags
  They are now handled by the main flag parser, rather than having their
  own praser that runs later.

  As an added bonus, 5 global variables are also gone.
sh-2.04$ ls compiler/cmm/MkZipCfgCmm.hs
compiler/cmm/MkZipCfgCmm.hs
sh-2.04$ ls -l compiler/cmm/MkZipCfgCmm.hs
-rw-r--r--    1 simonpj  Administ     6514 Jul 17 19:53 compiler/cmm/MkZipCfgCmm.hs
sh-2.04$
msg5232 (view) Author: dagit Date: 2008-07-20.21:07:47
On Sun, Jul 20, 2008 at 1:54 PM, Simon Peyton-Jones <bugs@darcs.net> wrote:

>
> New submission from Simon Peyton-Jones <simonpj@microsoft.com>:
>
> Ian
>
> |   * Generate expanded makefile rules directly, rather than using $(eval
> ..)
> |   We used to do this with $(eval ...) and $(call ...) in the
> |   Makefile, but make 3.79.1 (which is what comes with msys)
> |   doesn't understand $(eval ...), so now we just stick the
> |   expanded loop directly into the Makefile we generate.
>
> I gather this patch may fix my MSYS build bug -- thank you.
>
> Alas, Darcs strikes again.  Here's the result of darcs pull on the (very
> recent) tarball you sent me last week.
>
> This is darcs 2.0.  I wish this kind of thing didn't happen.

I agree, and moreover regardless of the darcs version I wish this didn't
happen.

>
> I did a "darcs revert"; then "darcs pull" says "no patches to pull", so I
> think things may be ok, but it's unsettling when darcs crashes.

It wouldn't hurt to try a 'darcs check' and a 'darcs changes'.

>
> Sun Jul 20 21:32:39 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
>  *
> darcs failed:  ./compiler/cmm/MkZipCfgCmm.hs: openBinaryFile: permission
> denied (Permission denied)
> Error applying patch to the working directory.
>
> This may have left your working directory an inconsistent
> but recoverable state. If you had no un-recorded changes
> by using 'darcs revert' you should be able to make your
> working directory consistent again.
>
> First step for getting rid of the old -optdep flags
>  They are now handled by the main flag parser, rather than having their
>  own praser that runs later.
>
>  As an added bonus, 5 global variables are also gone.
> sh-2.04$ ls compiler/cmm/MkZipCfgCmm.hs
> compiler/cmm/MkZipCfgCmm.hs
> sh-2.04$ ls -l compiler/cmm/MkZipCfgCmm.hs
> -rw-r--r--    1 simonpj  Administ     6514 Jul 17 19:53
> compiler/cmm/MkZipCfgCmm.hs
> sh-2.04$

Could something like this be happening if we're not always closing files
when we're done with them?  That's really the only thing that comes to mind
as to why this doesn't seem to happen every time.

Simon, do you have an ideas what could cause this?

Thanks!
Attachments
msg5234 (view) Author: simonmar Date: 2008-07-21.08:23:57
One reason you get permission denied from openFile on Windows is when the file is already open for reading (if opening for writing) and vice versa.  We use the Windows API to enforce this on Windows, whereas on Unix we implement the locking ourselves in the RTS.

I can't really help beyond this, unless we can capture a failing testcase that I can investigate.

Cheers,
        Simon

> -----Original Message-----
> From: Jason Dagit [mailto:bugs@darcs.net]
> Sent: 20 July 2008 22:08
> To: dagit@codersbase.com; igloo@earth.li; Simon Marlow
> Subject: [issue965] Darcs 2.0 crash
>
>
> Jason Dagit <dagit@codersbase.com> added the comment:
>
> On Sun, Jul 20, 2008 at 1:54 PM, Simon Peyton-Jones <bugs@darcs.net>
> wrote:
>
> >
> > New submission from Simon Peyton-Jones <simonpj@microsoft.com>:
> >
> > Ian
> >
> > |   * Generate expanded makefile rules directly, rather than using
> $(eval
> > ..)
> > |   We used to do this with $(eval ...) and $(call ...) in the
> > |   Makefile, but make 3.79.1 (which is what comes with msys)
> > |   doesn't understand $(eval ...), so now we just stick the
> > |   expanded loop directly into the Makefile we generate.
> >
> > I gather this patch may fix my MSYS build bug -- thank you.
> >
> > Alas, Darcs strikes again.  Here's the result of darcs pull on the (very
> > recent) tarball you sent me last week.
> >
> > This is darcs 2.0.  I wish this kind of thing didn't happen.
>
> I agree, and moreover regardless of the darcs version I wish this didn't
> happen.
>
> >
> > I did a "darcs revert"; then "darcs pull" says "no patches to pull", so
> I
> > think things may be ok, but it's unsettling when darcs crashes.
>
> It wouldn't hurt to try a 'darcs check' and a 'darcs changes'.
>
> >
> > Sun Jul 20 21:32:39 GMT Daylight Time 2008  Ian Lynagh <igloo@earth.li>
> >  *
> > darcs failed:  ./compiler/cmm/MkZipCfgCmm.hs: openBinaryFile: permission
> > denied (Permission denied)
> > Error applying patch to the working directory.
> >
> > This may have left your working directory an inconsistent
> > but recoverable state. If you had no un-recorded changes
> > by using 'darcs revert' you should be able to make your
> > working directory consistent again.
> >
> > First step for getting rid of the old -optdep flags
> >  They are now handled by the main flag parser, rather than having their
> >  own praser that runs later.
> >
> >  As an added bonus, 5 global variables are also gone.
> > sh-2.04$ ls compiler/cmm/MkZipCfgCmm.hs
> > compiler/cmm/MkZipCfgCmm.hs
> > sh-2.04$ ls -l compiler/cmm/MkZipCfgCmm.hs
> > -rw-r--r--    1 simonpj  Administ     6514 Jul 17 19:53
> > compiler/cmm/MkZipCfgCmm.hs
> > sh-2.04$
>
> Could something like this be happening if we're not always closing files
> when we're done with them?  That's really the only thing that comes to
> mind
> as to why this doesn't seem to happen every time.
>
> Simon, do you have an ideas what could cause this?
>
> Thanks!
>
> ----------
> status: unread -> chatting
>
> __________________________________
> Darcs bug tracker <bugs@darcs.net>
> <http://bugs.darcs.net/issue965>
> __________________________________
msg5246 (view) Author: kowey Date: 2008-07-24.10:28:16
Simon(PJ) : if you still have that tarball around, does it happen every time?

If so, perhaps this would be a good test case for Simon(M) to look at?
msg6011 (view) Author: kowey Date: 2008-09-15.06:38:33
Speaking of failing test cases, I have found that the darcs pull.sh test was
failing (just before 2.0.3) with this error.

Here, the test script was doing something like
 darcs pull 2> err

Or
 darcs pull > out

The err file in the first case has darcs complaining that it got permission
denied trying to write to err.

In the two places it failed, if I replaced err and out by err2 and out2
respectively, the failure mysteriously vanishes.  On the other hand, if I
replace /ALL/ instances of err and out, the failure re-appears.

If you unpull this patch:
Sun Sep 14 22:14:58 BST 2008  Eric Kow <E.Y.Kow@brighton.ac.uk>
  * Really allow pull.sh test to pass on Windows.

You can reproduce this...

Simon M: does this provide any interesting clues?
msg8247 (view) Author: kowey Date: 2009-08-18.12:27:31
Simon M wrote:
> One reason you get permission denied from openFile on Windows is when the file
> is already open for reading (if opening for writing) and vice versa.  We use 
> the Windows API to enforce this on Windows, whereas on Unix we implement the
> locking ourselves in the RTS.

I wonder if all those file handle leaks that Salvatore has been closing plus
this patch from Petr:

Tue Jul 14 14:42:32 BST 2009  Petr Rockai <me@mornfall.net>
  * Use mmapFilePS in gzReadFilePS to avoid lazy bytestring readFile.
  
  It turns out that the lazy readFile does not close the filedescriptor soon
  enough in some cases and causes DeleteFile failures on win32. mmapFilePS uses
  mmap when available and falls back to strict bytestring readFile, neither of
  which causes these issues.

fixes the problem.

We never managed to reproduce the problem in the first place, so perhaps with
all the changes in darcs since 2008-07, we're best off marking this dead and
re-opening if something like this happens again.
History
Date User Action Args
2008-07-20 20:54:47simonpjcreate
2008-07-20 21:07:51dagitsetfiles: + unnamed
nosy: tommy, beschmi, dagit, igloo, simonmar, simonpj
status: unread -> unknown
messages: + msg5232
2008-07-21 08:24:02simonmarsetnosy: tommy, beschmi, dagit, igloo, simonmar, simonpj
messages: + msg5234
2008-07-23 21:19:01koweysetpriority: bug
status: unknown -> duplicate
superseder: + Darcs 2.0 crash
nosy: tommy, beschmi, dagit, igloo, simonmar, simonpj
2008-07-24 10:22:03koweylinkissue964 superseder
2008-07-24 10:23:37koweysetstatus: duplicate -> unknown
nosy: + wglozer, eivuokko, jaredj
topic: + Windows
superseder: - Darcs 2.0 crash
title: Darcs 2.0 crash -> pull =>openBinaryFile: permission denied (2.0.0)
2008-07-24 10:24:53koweysetstatus: unknown -> waiting-for
nosy: tommy, beschmi, wglozer, eivuokko, dagit, igloo, simonmar, simonpj, jaredj
2008-07-24 10:28:19koweysetnosy: + kowey
messages: + msg5246
assignedto: simonpj
2008-09-15 06:38:36koweysetstatus: waiting-for -> unknown
nosy: tommy, beschmi, kowey, wglozer, eivuokko, dagit, igloo, simonmar, simonpj, jaredj
messages: + msg6011
assignedto: simonpj ->
2009-08-06 21:09:44adminsetnosy: + dmitry.kurochkin, simon, thorkilnaur, - beschmi
2009-08-11 00:19:05adminsetnosy: - dagit
2009-08-18 12:27:34koweysetstatus: unknown -> given-up
nosy: + kirby
messages: + msg8247
2009-08-25 17:18:25adminsetnosy: + darcs-devel, - igloo
2009-08-25 18:13:37adminsetnosy: - simon
2009-08-27 14:26:44adminsetnosy: tommy, kowey, wglozer, darcs-devel, eivuokko, simonmar, simonpj, thorkilnaur, jaredj, dmitry.kurochkin, kirby
2009-10-23 22:37:10adminsetnosy: + marlowsd, - simonmar
2009-10-23 23:35:37adminsetnosy: + simonmar, - marlowsd