[Hackage] #799: ./dist/setup/setup without execute bit causes cabal to exit silently with code 127

Hackage cvs-ghc at haskell.org
Tue Feb 8 05:14:35 CET 2011


#799: ./dist/setup/setup without execute bit causes cabal to exit silently with
code 127
---------------------------------+------------------------------------------
  Reporter:  rrnewton            |        Owner:         
      Type:  defect              |       Status:  new    
  Priority:  normal              |    Milestone:         
 Component:  cabal-install tool  |      Version:  1.8.0.6
  Severity:  normal              |     Keywords:         
Difficulty:  unknown             |   Ghcversion:         
  Platform:                      |  
---------------------------------+------------------------------------------
 I ran into this one thanks to Dropbox.

 All my cabal commands started to fail in the same way all of a sudden (no
 output, error code 127).  A cabal clean -v3 revealed the problem and a
 chmod +x fixed it.

     $ cabal clean -v3; echo $?

     Using external setup method with build-type Custom
     Creating ./dist/setup (and its parents)
     Using Cabal library version 1.8.0.6
     Using ./Setup.hs as setup script.
     ./dist/setup/setup clean --verbose=3
     127

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/799>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list