Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#29216 - [cabal-install] cabal sdist

Attached to Project: Arch Linux
Opened by Petr Pilar (Palmik) - Sunday, 01 April 2012, 10:33 GMT
Last edited by Thomas Dziedzic (tomd123) - Friday, 20 April 2012, 00:55 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Thomas Dziedzic (tomd123)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



When you try to run `cabal sdist`, you will get this:

Building source dist for some-library-1.0...
Preprocessing library some-library-1.0...
cabal: dist/src/sdist.-8738/some-library-1.0: does not

Similar problem was reported on OS X here:

Additional info:

$ pacman -Q ghc
ghc 7.4.1-2

$ pacman -Q cabal-install
cabal-install 0.10.4-3
This task depends upon

Closed by  Thomas Dziedzic (tomd123)
Friday, 20 April 2012, 00:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  updated cabal-install to 0.14.0 which should fix everything, reopen if this is still a problem
Comment by koral (koral) - Monday, 02 April 2012, 16:12 GMT
I confirm this issue.
Darcs version of cabal-install has a fix for this, however I'm not sure this package is supposed to provide it, we may have to wait for a stable release.
Comment by Thomas Dziedzic (tomd123) - Tuesday, 03 April 2012, 14:36 GMT
I think the only real solution to this is to either use cabal-install from darcs or bother upstream to release an official version of cabal-install that works with ghc 7.4.1.
The situation with cabal-install upstream and ghc upstream is a real mess :(