Skip to content
This repository

cabal install does not work when /tmp/ is mounted "noexec" #677

Open
bos opened this Issue · 1 comment

1 participant

Bryan O'Sullivan
Bryan O'Sullivan
Owner
bos commented

(Imported from Trac #685, reported by guest on 2010-05-09)

Wanting to to build darcs 2.4.3, I downloaded the tarball (
http://wiki.darcs.net/Releases/2.4 ) and uncompressed it in /tmp/ to
run cabal install.
I got the following error :

cabal: Error: some packages failed to install:
darcs-2.4.3 failed during the configure step. The exception was:
ExitFailure? 127

See http://hpaste.org/fastcgi/hpaste.fcgi/view?id=25412#a25412 for a
full verbose log, but i think there is nothing informative to it.

However, if I do "rm -fr dist" and try cabal install again, darcs
build fine. Also, if I try in $HOME, cabal install works directly.

Here are the versions of the software I'm using:

cabal-install version 0.8.2
using version 1.8.0.4 of the Cabal library

ghc 6.12.1

Linux distribution: Ubuntu 10.04 (Lucid Lynx).

I hope this will help you!

Bryan O'Sullivan
Owner
bos commented

(Imported comment by @dcoutts on 2010-05-09)

The problem is very likely that /tmp is mounted noexec, see ticket #696. The log is consistent with this, the failure happens when trying to run the setup program.

We should determine if Ubuntu 10.04 is now always using a /tmp mounted "noexec" since if that is the case we will need to use a different temp directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.