Ticket #685 (new defect)

Opened 3 years ago

Last modified 15 months ago

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

Reported by: guest Owned by:
Priority: normal Milestone: cabal-install-0.16
Component: cabal-install tool Version: HEAD
Severity: normal Keywords:
Cc: Difficulty: unknown
GHC Version: Platform:

Description

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!

Change History

Changed 3 years ago by duncan

  • version changed from 1.6.0.3 to HEAD
  • component changed from Cabal library to cabal-install tool
  • summary changed from cabal install does not work in /tmp/ to cabal install does not work when /tmp/ is mounted "noexec"

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.

Changed 15 months ago by kosmikus

  • milestone set to cabal-install-0.16
Note: See TracTickets for help on using tickets.