Ticket #799 (closed defect: duplicate)
./dist/setup/setup without execute bit causes cabal to exit silently with code 127
|Reported by:||rrnewton||Owned by:|
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 188.8.131.52 Using ./Setup.hs as setup script. ./dist/setup/setup clean --verbose=3 127